]> git.ipfire.org Git - thirdparty/glibc.git/blame - ChangeLog
Define DR_LEN_8 only if __x86_64__ is defined
[thirdparty/glibc.git] / ChangeLog
CommitLineData
3553723f
L
12012-06-01 H.J. Lu <hongjiu.lu@intel.com>
2
3 [BZ #14117]
4 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
5 Define only if __x86_64__ is defined.
6
4842e4fe
JM
72012-06-01 Joseph Myers <joseph@codesourcery.com>
8
c5bfe3d5
JM
9 [BZ #14048]
10 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
11 Use int64_t for variable i.
12 * math/libm-test.inc (fmod_test): Add more tests.
13
4842e4fe
JM
14 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
15 z computation is not scheduled after fetestexcept.
16 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
17 Use math_force_eval instead of asm to ensure calculation scheduled
18 before exception test.
19 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
20 Ensure a1 + u.d computation is not scheduled after fetestexcept.
21
efb73488
AJ
222012-06-01 Aurelien Jarno <aurelien@aurel32.net>
23
24 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
25 computation is not scheduled after fetestexcept.
26
29bcce7c
L
272012-06-01 H.J. Lu <hongjiu.lu@intel.com>
28
29 [BZ #14117]
30 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
31 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
32
73a68f94
AZ
332012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34
35 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
36 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
37
67b6df78
L
382012-05-31 H.J. Lu <hongjiu.lu@intel.com>
39
edf2933a 40 [BZ #14117]
ebc64a18
L
41 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
42 <bits/wordsize.h>.
43 (__WCHAR_MIN): Support __WORDSIZE == 64.
44 (__WCHAR_MAX): Likewise.
45
edf2933a
L
46 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
47 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
48
57c6cf40
L
49 [BZ #14183]
50 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
51 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
52
67b6df78 53 [BZ #14117]
8eb6281e
L
54 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
55 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
56
aac639f4
L
57 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
58 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
59
67b6df78
L
60 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
61 Defined to 1 if __x86_64__ isn't defined.
62 (_STAT_VER_LINUX_OLD): New.
63 (st_atime): Remove duplicate.
64 (st_mtime): Likewise.
65 (st_ctime): Likewise.
66
1c2cfe81
DM
672012-05-31 David S. Miller <davem@davemloft.net>
68
69 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
70 entries.
71
5be8418c
AS
722012-06-01 Andreas Schwab <schwab@linux-m68k.org>
73
e7725326
AS
74 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
75 gen-libm-test.pl.
76
5be8418c
AS
77 [BZ #14132]
78 * elf/dl-reloc.c: Include <_itoa.h>.
79 (_dl_reloc_bad_type): Remove use of INTUSE.
80 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
81 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
82 * stdio-common/psiginfo.c (psiginfo): Likewise.
83 * stdio-common/psignal.c (psignal): Likewise.
84 * string/strsignal.c (strsignal): Likewise.
85 * include/signal.h (_sys_siglist): Declare hidden proto.
86 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
87 INTVARDEF with libc_hidden_data_def.
88 * stdio-common/itoa-udigits.c: Likewise.
89 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
90 (_itoa_lower_digits_internal): Remove declaration.
91 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
92 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
93 (_sys_sigabbrev_internal): Remove aliases.
94 (_sys_siglist): Define hidden alias.
95
507352f1
MT
962012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
97
98 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
99 bits/sysctl.h.
100
42bbb1c3
L
1012012-05-31 H.J. Lu <hongjiu.lu@intel.com>
102
103 [BZ #14117]
6bd784b6
L
104 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
105 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
106
8bca20f0
L
107 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
108 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
109 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
110 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
111 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
112 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
113
f9e890a9
L
114 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
115 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
116 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
117
471101a1
L
118 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
119 with __addr.
120 (insw): Likewise.
121 (insl): Likewise.
122 (outsb): Likewise.
123 (outsw): Likewise.
124 (outsl): Likewise.
125
6451c862
L
126 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
127 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
128 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
129
a254b8c9
L
130 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
131 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
132 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
133 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
134 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
135 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
136
b8dfdd92
L
137 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
138 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
139
578cd270
L
140 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
141 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
142
de662f5f
L
143 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
144 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
145 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
146
25653439
L
147 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
148 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
149 to ...
150 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
151
6bad24a0
L
152 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
153 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
154 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
155
42bbb1c3
L
156 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
157 for x86-64.
158 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
159
2d10d547
JM
1602012-05-31 Joseph Myers <joseph@codesourcery.com>
161
162 * math/math.h (M_El): Use two more decimal places.
163 (M_LOG2El): Likewise.
164 (M_LOG10El): Likewise.
165 (M_LN2l): Likewise.
166 (M_LN10l): Likewise.
167 (M_PIl): Likewise.
168 (M_PI_2l): Likewise.
169 (M_PI_4l): Likewise.
170 (M_1_PIl): Likewise.
171 (M_2_PIl): Likewise.
172 (M_2_SQRTPIl): Likewise.
173 (M_SQRT2l): Likewise.
174 (M_SQRT1_2l): Likewise.
175
f230c29b
DM
1762012-05-31 David S. Miller <davem@davemloft.net>
177
178 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
179 values between float registers.
180 * sysdeps/sparc/sparc64/memset.S: Likewise.
181 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
182
fed806c3
MF
1832012-05-31 Mike Frysinger <vapier@gentoo.org>
184
185 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
186 -D_FORTIFY_SOURCE=1.
187 (CPPFLAGS-tst-longjmp_chk.c): Define.
188 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
189 (CPPFLAGS-tst-longjmp_chk2.c): Define.
190 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
191 CFLAGS-tst-wchar-h.c.
192
30917259
MP
1932012-05-31 Marek Polacek <polacek@redhat.com>
194
195 [BZ #14132]
196 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
197 __endmntent_internal): Remove declaration.
198 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
199 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
200 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
201
1c58d5dc
DM
2022012-05-30 David S. Miller <davem@davemloft.net>
203
204 * sysdeps/sparc/sparc32/soft-fp/q_util.c
205 (___Q_simulate_exceptions): Use real FP ops rather than writing
206 into the %fsr.
207 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
208 Likewise.
209
7dc00e0d
L
2102012-05-30 H.J. Lu <hongjiu.lu@intel.com>
211
212 [BZ #14117]
0bd53985
L
213 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
214 * sysdeps/x86/bits/xtitypes.h: This.
215
3a257e66
L
216 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
217 * sysdeps/x86/bits/wordsize.h: This.
218
62f62904
L
219 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
220 * sysdeps/x86/bits/huge_vall.h: This.
221
404fe9d9
L
222 * sysdeps/i386/bits/select.h: Removed.
223 * sysdeps/x86_64/bits/select.h: Renamed to ...
224 * sysdeps/x86/bits/select.h: This.
225
d48d0446
L
226 * sysdeps/i386/bits/setjmp.h: Removed.
227 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
228 * sysdeps/x86/bits/setjmp.h: This.
229
7dc00e0d
L
230 * sysdeps/i386/bits/mathdef.h: Removed.
231 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
232 * sysdeps/x86/bits/mathdef.h: This.
233
03277f8f
AS
2342012-05-30 Andreas Schwab <schwab@linux-m68k.org>
235
236 [BZ #14132]
237 * include/sys/socket.h (__connect_internal)
238 (__libc_sa_len_internal): Remove declaration.
239 (__connect, __libc_sa_len): Declare hidden_proto.
240 (SA_LEN): Remove use of INTUSE.
241 * socket/connect.c: Add libc_hidden_def.
242 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
243 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
244 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
245 alias.
246 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
247 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
248 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
249 of adding _internal alias.
250
13764867
L
2512012-05-30 H.J. Lu <hongjiu.lu@intel.com>
252
253 [BZ #14117]
6bd97696
L
254 * sysdeps/i386/bits/link.h: Removed.
255 * sysdeps/i386/bits/linkmap.h: Likewise.
256 * sysdeps/x86_64/bits/link.h: Renamed to ...
257 * sysdeps/x86/bits/link.h: This.
258 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
259 * sysdeps/x86/bits/linkmap.h: This.
260
f726f0bb
L
261 * sysdeps/i386/bits/endian.h: Removed.
262 * sysdeps/x86_64/bits/endian.h: Renamed to ...
263 * sysdeps/x86/bits/endian.h: This.
264
13764867
L
265 * sysdeps/i386/bits/byteswap.h: Removed.
266 * sysdeps/i386/bits/byteswap-16.h: Likewise.
267 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
268 * sysdeps/x86/bits/byteswap.h: This.
269 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
270 * sysdeps/x86/bits/byteswap-16.h: This.
271 * sysdeps/i386/Implies: Add x86.
272 * sysdeps/x86_64/Implies: Likewise.
273
ae251b0b
DM
2742012-05-30 David S. Miller <davem@davemloft.net>
275
276 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
277 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
278 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
279 (FP_TRAPPING_EXCEPTIONS): Define.
280 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
281 (FP_TRAPPING_EXCEPTIONS): Define.
282 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
283 subnormals only when inexact has been signalled or underflow
284 exceptions are enabled.
285 (_FP_PACK_CANONICAL): Likewise.
286
d5c90867
L
2872012-05-30 H.J. Lu <hongjiu.lu@intel.com>
288
289 [BZ #14183]
290 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
291 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
292
63f1549e
RH
2932012-05-30 Richard Henderson <rth@twiddle.net>
294
8d8f2279
RH
295 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
296 with #ifndef NOT_IN_libc.
297
63f1549e
RH
298 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
299 marked to avoid plt entry.
300
0ab0291b
L
3012012-05-30 H.J. Lu <hongjiu.lu@intel.com>
302
303 [BZ #14112]
304 * Makeconfig (default-abi): New macro.
305 (abi-includes): Likewise.
306 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
307 $(abi-$(default-abi)-lib-soname) for soname if defined.
308 ($(common-objpfx)gnu/lib-names.stmp): Generate from
309 abi-variants.
310 * Makefile (installed-stubs): Likewise.
311 * include/stubs-biarch.h: Removed.
312 * scripts/lib-names.awk: Only handle one library at a time.
313 * scripts/soversions.awk: Remove WORDSIZE support.
314 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
315 entries.
316 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
317 Removed.
318 (syscall-list-default-condition): Likewise.
319 (syscall-list-default-condition): Likewise.
320 (syscall-list-includes): Likewise.
321 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
322 syscall-list-* with abi-*. Handle undefined abi-variants.
323 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
324 * sysdeps/unix/sysv/linux/i386/Implies: New file.
325 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
326 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
327 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
328 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
329 Removed.
330 (syscall-list-32-options): Likewise.
331 (syscall-list-32-condition): Likewise.
332 (syscall-list-64-options): Likewise.
333 (syscall-list-64-condition): Likewise.
334 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
335 macro.
336 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
337 Renamed to ...
338 (abi-*): This.
339 (abi-64-ld-soname): New macro.
340 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
341 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
342 Renamed to ...
343 (abi-*): This.
344 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
345 * sysdeps/x86_64/x32/shlib-versions: Likewise.
346
4da0431d
JM
3472012-05-30 Joseph Myers <joseph@codesourcery.com>
348
3a85279c
JM
349 * sysdeps/unix/sysv/linux/kernel-features.h
350 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
351 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
352 include <kernel-features.h>.
353 [!__NR_ftruncate64]: Remove conditional code.
354 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
355 [__NR_ftruncate64]: Make code unconditional.
356 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
357 * sysdeps/unix/sysv/linux/truncate64.c: Do not
358 include <kernel-features.h>.
359 [!__NR_ftruncate64]: Remove conditional code.
360 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
361 [__NR_ftruncate64]: Make code unconditional.
362 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
363 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
364 include <kernel-features.h>.
365 [!__NR_ftruncate64]: Remove conditional code.
366 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
367 [__NR_ftruncate64]: Make code unconditional.
368 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
369 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
370 include <kernel-features.h>.
371 [!__NR_ftruncate64]: Remove conditional code.
372 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
373 [__NR_ftruncate64]: Make code unconditional.
374 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
375
4da0431d
JM
376 * configure.in (libc_cv_fpie): Weaken to a compile test using
377 LIBC_TRY_CC_OPTION.
378 * configure: Regenerated.
379
11ef492c
AK
3802012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
381
382 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
383 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
384 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
385 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
386 Refreshed.
387 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
388 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
389 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
390 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
391 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
392 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
393 Refreshed.
394
d66ef399
DM
3952012-05-27 David S. Miller <davem@davemloft.net>
396
397 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
398 (___Q_zero): New.
399 (__Q_simulate_exceptions): Return void. Change to simulate
400 exceptions by writing into the %fsr.
401 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
402 (__Qp_handle_exceptions): Likewise.
403 (numbers): Delete.
404 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
405 __Qp_handle_exceptions.
406 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
407 __Qp_handle_exceptions.
408 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
409 as unused and give dummy FP_RND_NEAREST initializer.
410 (FP_INHIBIT_RESULTS): Define.
411 (___Q_simulate_exceptions): Update declaration.
412 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
413 formatting.
414 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
415 as unused and give dummy FP_RND_NEAREST initializer.
416 (__Qp_handle_exceptions): Update declaration.
417 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
418 formatting.
419
04fb54b5
TS
4202012-05-27 Thomas Schwinge <thomas@codesourcery.com>
421
422 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
423 the temporary FPU control word.
424 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
425 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
426 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
427 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
428 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
429 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
430 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
431 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
432 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
433 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
434 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
435
3f99608f
KK
4362012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
437
438 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
439 fields.
440
65a4de4e
CLT
4412012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
442
443 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
444 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
445 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
446 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
447 Likewise.
448 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
449 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
450 Likewise.
451
15749d40
UD
4522012-05-27 Ulrich Drepper <drepper@gmail.com>
453
454 * po/h.po: Update from translation team.
455
25dbcb27
AS
4562012-05-26 Andreas Schwab <schwab@linux-m68k.org>
457
3d3f8e55
AS
458 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
459
25dbcb27
AS
460 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
461 handling of denormals.
462 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
463 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
464 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
465 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
466 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
467 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
468 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
469 Likewise.
470
7ad47a80 4712012-05-26 Marek Polacek <polacek@redhat.com>
d81dcb35
MP
472
473 [BZ #14152]
474 * math/libm-test.inc (fma_test): Don't always expect underflow
475 exception.
476
9c6ea9fa
SP
4772012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
478
479 [BZ #12416]
480 * elf/tst-execstack.c: Include stackinfo.h.
481 (do_test): Adjust test case to ensure that pthread_getattr_np
482 behaviour remains the same after marking stack executable.
483
a8239222
JM
4842012-05-25 Joseph Myers <joseph@codesourcery.com>
485
486 * sysdeps/unix/sysv/linux/kernel-features.h
487 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
488 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
489 kernel-features.h.
490 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
491 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
492 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
493 kernel-features.h.
494 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
495 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
496
918b5606
L
4972012-05-25 H.J. Lu <hongjiu.lu@intel.com>
498
499 * configure.in: Define the default includes to being none.
500 * configure: Regenerated.
501
3a097cc7
RM
5022012-05-25 Roland McGrath <roland@hack.frob.com>
503
8422c9a5
RM
504 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
505 * sysdeps/x86_64/setjmp.S: Likewise.
506 * sysdeps/i386/bsd-setjmp.S: Likewise.
507 * sysdeps/i386/bsd-_setjmp.S: Likewise.
508 * sysdeps/i386/setjmp.S: Likewise.
509 * sysdeps/i386/__longjmp.S: Likewise.
510 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
511 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
512
3a097cc7
RM
513 * include/stap-probe.h: New file.
514 * configure.in: Handle --enable-systemtap.
515 * configure: Regenerated.
516 * config.h.in (USE_STAP_PROBE): New #undef.
517 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
518 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
519 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
520
21708942
JM
5212012-05-25 Joseph Myers <joseph@codesourcery.com>
522
523 [BZ #13717]
524 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
525 to 2.4.0 where earlier.
526 * sysdeps/unix/sysv/linux/configure: Regenerated.
527 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
528 <kernel-features.h>.
529 [__ASSUME_32BITUIDS]: Make code unconditional.
530 [!__ASSUME_32BITUIDS]: Remove conditional code.
531 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
532 <kernel-features.h>.
533 [__ASSUME_32BITUIDS]: Make code unconditional.
534 [!__ASSUME_32BITUIDS]: Remove conditional code.
535 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
536 [__ASSUME_32BITUIDS]: Make code unconditional.
537 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
538 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
539 <kernel-features.h>.
540 [__ASSUME_32BITUIDS]: Make code unconditional.
541 [!__ASSUME_32BITUIDS]: Remove conditional code.
542 * sysdeps/unix/sysv/linux/i386/geteuid.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/getgid.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/getgroups.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/getresgid.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/getresuid.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/getuid.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/lchown.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/msgctl.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/semctl.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/setegid.c: Do not include
579 <kernel-features.h>.
580 [__NR_setresgid] (__setresgid): Do not declare.
581 [__ASSUME_32BITUIDS]: Make code unconditional.
582 [!__ASSUME_32BITUIDS]: Remove conditional code.
583 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
584 <kernel-features.h>.
585 [__NR_setresuid] (__setresuid): Do not declare.
586 [__ASSUME_32BITUIDS]: Make code unconditional.
587 [!__ASSUME_32BITUIDS]: Remove conditional code.
588 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
589 <kernel-features.h>.
590 [__ASSUME_32BITUIDS]: Make code unconditional.
591 [!__ASSUME_32BITUIDS]: Remove conditional code.
592 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
593 <kernel-features.h>.
594 [__ASSUME_32BITUIDS]: Make code unconditional.
595 [!__ASSUME_32BITUIDS]: Remove conditional code.
596 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
597 <kernel-features.h>.
598 [__ASSUME_32BITUIDS]: Make code unconditional.
599 [!__ASSUME_32BITUIDS]: Remove conditional code.
600 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
601 <kernel-features.h>.
602 [__ASSUME_32BITUIDS]: Make code unconditional.
603 [!__ASSUME_32BITUIDS]: Remove conditional code.
604 * sysdeps/unix/sysv/linux/i386/setregid.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/i386/setresgid.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/i386/setresuid.c: Do not include
613 <kernel-features.h>.
614 [__ASSUME_32BITUIDS]: Make code unconditional.
615 [!__ASSUME_32BITUIDS]: Remove conditional code.
616 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
617 <kernel-features.h>.
618 [__ASSUME_32BITUIDS]: Make code unconditional.
619 [!__ASSUME_32BITUIDS]: Remove conditional code.
620 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
621 <kernel-features.h>.
622 [__ASSUME_32BITUIDS]: Make code unconditional.
623 [!__ASSUME_32BITUIDS]: Remove conditional code.
624 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
625 <kernel-features.h>.
626 [__ASSUME_32BITUIDS]: Make code unconditional.
627 [!__ASSUME_32BITUIDS]: Remove conditional code.
628 * sysdeps/unix/sysv/linux/kernel-features.h
629 (__ASSUME_SETRESUID_SYSCALL): Remove.
630 (__ASSUME_SETRESGID_SYSCALL): Likewise.
631 (__ASSUME_32BITUIDS): Likewise.
632 (__ASSUME_LDT_WORKS): Likewise.
633 (__ASSUME_O_DIRECTORY): Likewise.
634 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
635 architecture but not kernel version.
636 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
637 (__ASSUME_MMAP2_SYSCALL): Likewise.
638 (__ASSUME_STAT64_SYSCALL): Likewise.
639 (__ASSUME_IPC64): Likewise.
640 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
641 <kernel-features.h>.
642 [__ASSUME_32BITUIDS]: Make code unconditional.
643 [!__ASSUME_32BITUIDS]: Remove conditional code.
644 * sysdeps/unix/sysv/linux/opendir.c: Do not include
645 <kernel-features.h>.
646 [__ASSUME_O_DIRECTORY]: Make code unconditional.
647 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
648 132096]: Remove conditional code.
649 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
650 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
651 <kernel-features.h>.
652 [__ASSUME_32BITUIDS]: Make code unconditional.
653 [!__ASSUME_32BITUIDS]: Remove conditional code.
654 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
655 <kernel-features.h>.
656 [__ASSUME_32BITUIDS]: Make code unconditional.
657 [!__ASSUME_32BITUIDS]: Remove conditional code.
658 * sysdeps/unix/sysv/linux/setegid.c: Do not include
659 <kernel-features.h>.
660 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
661 unconditional.
662 (__setresgid): Do not declare.
663 [__ASSUME_32BITUIDS]: Make code unconditional.
664 [!__ASSUME_32BITUIDS]: Remove conditional code.
665 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
666 <kernel-features.h>.
667 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
668 unconditional.
669 (__setresuid): Do not declare.
670 [__ASSUME_32BITUIDS]: Make code unconditional.
671 [!__ASSUME_32BITUIDS]: Remove conditional code.
672 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
673 <kernel-features.h>.
674 [__ASSUME_32BITUIDS]: Make code unconditional.
675 [!__ASSUME_32BITUIDS]: Remove conditional code.
676 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
677 <kernel-features.h>.
678 [__ASSUME_32BITUIDS]: Make code unconditional.
679 [!__ASSUME_32BITUIDS]: Remove conditional code.
680
a386f1cc
RH
6812012-05-25 Richard Henderson <rth@twiddle.net>
682
683 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
684 dl_hwcap to ifunc resolver.
685 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
686 elf_ifunc_invoke.
687 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
688 dl_hwcap to ifunc resolver.
689 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
690
b6550497
JM
6912012-05-24 Joseph Myers <joseph@codesourcery.com>
692
693 [BZ #14153]
694 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
695 for |x| <= 2**-26, not 2**-57.
696 * math/libm-test.inc (acos_test): Do not allow spurious underflow
697 exception.
698
b0bc23a1
JL
6992012-05-24 Jeff Law <law@redhat.com>
700
701 * stdio-common/Makefile (tests): Add bug25.
702 * stdio-common/bug25.c: New test.
703
347c92e9
L
7042012-05-24 H.J. Lu <hongjiu.lu@intel.com>
705
706 [BZ #13576]
707 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
708 multiple of MALLOC_ALIGNMENT in size.
709 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
710
6bcc8b3f
JM
7112012-05-24 Joseph Myers <joseph@codesourcery.com>
712
713 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
714 Require >= 256.
715 (FILENAME_MAX): Use macro-int-constant.
716 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
717 (_IOFBF): Use macro-int-constant.
718 (_IOLBF): Likewise.
719 (_IONBF): Likewise.
720 (SEEK_CUR): Likewise.
721 (SEEK_END): Likewise.
722 (SEEK_SET): Likewise.
723 (TMP_MAX): Likewise.
724 (EOF): Use macro-int-constant. Require < 0.
725 (NULL): Use macro-constant. Require == 0.
726 (stdin): Require type to be FILE *.
727 (stdout): Likewise.
728 (stderr): Likewise.
729 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
730 macro-int-constant.
731 (EXIT_SUCCESS): Likewise.
732 (NULL): Use macro-constant. Require == 0.
733 (RAND_MAX): Use macro-int-constant.
734 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
735 [C99-based standards] (strtof): Require function.
736 [C99-based standards] (strtold): Likewise.
737 [C99-based standards] (strtoll): Likewise.
738 [C99-based standards] (strtoull): Likewise.
739 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
740 [ISO || ISO99 || ISO11] (limits.h): Likewise.
741 [ISO || ISO99 || ISO11] (math.h): Likewise.
742 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
743 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
744 [ISO || ISO99 || ISO11] (*_t): Do not allow.
745
d18ea0c5
AS
7462012-05-24 Andreas Schwab <schwab@linux-m68k.org>
747
748 [BZ #14132]
56d25bb8
AS
749 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
750 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
751 * intl/dgettext.c (DCGETTEXT): Likewise.
752 * intl/gettext.c (DCGETTEXT): Likewise.
753 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
754 * posix/regex_internal.h (gettext): Likewise.
755 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
756 Remove declaration.
757 * include/argz.h (__argz_count_internal)
758 (__argz_stringify_internal): Remove declaration.
759 (__argz_count, __argz_stringify): Declare hidden proto.
760 * intl/dcgettext.c: Remove use of INTDEF.
761 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
762 * string/argz-stringify.c: Likewise.
763 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
764 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
765 Declare hidden proto.
d18ea0c5
AS
766 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
767 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
768 Declare hidden proto.
769 * include/stdio.h (__asprintf_internal): Don't declare.
770 (__asprintf): Don't define as macro. Declare hidden proto.
771 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
772 (__fsetlocking): Declare hidden proto.
773 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
774 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
775 hidden proto.
776 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
777 (_IO_setlinebuf): Remove use of INTUSE.
778 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
779 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
780 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
781 Remove declaration.
782 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
783 (_IO_do_flush): Remove use of INTUSE.
784 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
785 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
786 (_IO_adjust_column, _IO_least_wmarker)
787 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
788 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
789 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
790 (_IO_default_doallocate, _IO_wdefault_doallocate)
791 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
792 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
793 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
794 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
795 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
796 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
797 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
798 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
799 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
800 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
801 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
802 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
803 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
804 proto.
805 (_IO_flush_all_internal, _IO_adjust_column_internal)
806 (_IO_default_uflow_internal, _IO_default_finish_internal)
807 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
808 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
809 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
810 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
811 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
812 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
813 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
814 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
815 (_IO_file_close_internal, _IO_file_close_it_internal)
816 (_IO_file_underflow_internal, _IO_file_overflow_internal)
817 (_IO_file_init_internal, _IO_file_attach_internal)
818 (_IO_file_fopen_internal, _IO_file_read_internal)
819 (_IO_file_sync_internal, _IO_file_seek_internal)
820 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
821 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
822 (_IO_str_underflow_internal, _IO_str_overflow_internal)
823 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
824 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
825 (_IO_list_all_internal, _IO_link_in_internal)
826 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
827 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
828 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
829 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
830 (_IO_do_write_internal, _IO_padn_internal)
831 (_IO_getline_info_internal, _IO_getline_internal)
832 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
833 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
834 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
835 (_IO_vfscanf_internal, _IO_vfprintf_internal)
836 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
837 (_IO_init_internal, _IO_un_link_internal): Don't declare.
838 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
839 with libc_hidden_ver, remove use of INTUSE.
840 * libio/genops.c: Likewise.
841 * libio/freopen.c: Likewise.
842 * libio/freopen64.c: Likewise.
843 * libio/iofclose.c: Likewise.
844 * libio/iofdopen.c: Likewise.
845 * libio/iofflush.c: Likewise.
846 * libio/iofflush_u.c: Likewise.
847 * libio/iofgets.c: Likewise.
848 * libio/iofgets_u.c: Likewise.
849 * libio/iofopen.c: Likewise.
850 * libio/iofopncook.c: Likewise.
851 * libio/iofread.c: Likewise.
852 * libio/iofread_u.c: Likewise.
853 * libio/ioftell.c: Likewise.
854 * libio/iofwrite.c: Likewise.
855 * libio/iogetline.c: Likewise.
856 * libio/iogets.c: Likewise.
857 * libio/iogetwline.c: Likewise.
858 * libio/iopadn.c: Likewise.
859 * libio/iopopen.c: Likewise.
860 * libio/ioseekoff.c: Likewise.
861 * libio/ioseekpos.c: Likewise.
862 * libio/iosetbuffer.c: Likewise.
863 * libio/iosetvbuf.c: Likewise.
864 * libio/ioungetc.c: Likewise.
865 * libio/ioungetwc.c: Likewise.
866 * libio/iovdprintf.c: Likewise.
867 * libio/iovsprintf.c: Likewise.
868 * libio/iovsscanf.c: Likewise.
869 * libio/memstream.c: Likewise.
870 * libio/obprintf.c: Likewise.
871 * libio/oldfileops.c: Likewise.
872 * libio/oldiofclose.c: Likewise.
873 * libio/oldiofdopen.c: Likewise.
874 * libio/oldiofopen.c: Likewise.
875 * libio/oldiopopen.c: Likewise.
876 * libio/oldstdfiles.c: Likewise.
877 * libio/putc.c: Likewise.
878 * libio/setbuf.c: Likewise.
879 * libio/setlinebuf.c: Likewise.
880 * libio/stdfiles.c: Likewise.
881 * libio/strops.c: Likewise.
882 * libio/vasprintf.c: Likewise.
883 * libio/vscanf.c: Likewise.
884 * libio/vsnprintf.c: Likewise.
885 * libio/vswprintf.c: Likewise.
886 * libio/wfiledoalloc.c: Likewise.
887 * libio/wfileops.c: Likewise.
888 * libio/wgenops.c: Likewise.
889 * libio/wmemstream.c: Likewise.
890 * libio/wstrops.c: Likewise.
891 * libio/__fpurge.c: Likewise.
892 * libio/__fsetlocking.c: Likewise.
893 * assert/assert.c: Likewise.
894 * debug/fgets_chk.c: Likewise.
895 * debug/fgets_u_chk.c: Likewise.
896 * debug/fread_chk.c: Likewise.
897 * debug/fread_u_chk.c: Likewise.
898 * debug/gets_chk.c: Likewise.
899 * debug/obprintf_chk.c: Likewise.
900 * debug/vasprintf_chk.c: Likewise.
901 * debug/vdprintf_chk.c: Likewise.
902 * debug/vsnprintf_chk.c: Likewise.
903 * debug/vsprintf_chk.c: Likewise.
904 * malloc/mtrace.c: Likewise.
905 * misc/error.c: Likewise.
906 * misc/syslog.c: Likewise.
907 * stdio-common/asprintf.c: Likewise.
908 * stdio-common/fxprintf.c: Likewise.
909 * stdio-common/getw.c: Likewise.
910 * stdio-common/isoc99_fscanf.c: Likewise.
911 * stdio-common/isoc99_scanf.c: Likewise.
912 * stdio-common/isoc99_vfscanf.c: Likewise.
913 * stdio-common/isoc99_vscanf.c: Likewise.
914 * stdio-common/isoc99_vsscanf.c: Likewise.
915 * stdio-common/printf-prs.c: Likewise.
916 * stdio-common/printf_fp.c: Likewise.
917 * stdio-common/printf_fphex.c: Likewise.
918 * stdio-common/printf_size.c: Likewise.
919 * stdio-common/putw.c: Likewise.
920 * stdio-common/scanf.c: Likewise.
921 * stdio-common/sprintf.c: Likewise.
922 * stdio-common/tmpfile.c: Likewise.
923 * stdio-common/vfprintf.c: Likewise.
924 * stdio-common/vfscanf.c: Likewise.
925 * stdlib/strfmon_l.c: Likewise.
926 * sunrpc/openchild.c: Likewise.
927 * sunrpc/xdr_stdio.c: Likewise.
928 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
929 * sysdeps/mach/hurd/tmpfile.c: Likewise.
930
d6c33fda
RM
9312012-05-24 Roland McGrath <roland@hack.frob.com>
932
c1487492
RM
933 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
934
935 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
936 in the third column, to generate for the shared library an IFUNC
937 that uses _dl_vdso_vsym.
938 * Makerules (COMPILE.c, compile-stdin.c): New variables.
939 * Makeconfig (object-suffixes-noshared): New variable.
940
941 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
942 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
943 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
944 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
945
d6c33fda
RM
946 [BZ #14132]
947 * include/sys/time.h (__gettimeofday): Remove macro.
948 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
949 * time/gettimeofday.c (__gettimeofday): Remove #undef.
950 Remove INTDEF.
951 (__gettimeofday): Add libc_hidden_def.
952 (gettimeofday): Add libc_hidden_weak.
953 * sysdeps/mach/gettimeofday.c: Likewise.
954 * sysdeps/posix/gettimeofday.c: Likewise.
955 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
956 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
957 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
958 (__gettimeofday_internal): Remove strong_alias.
959 (__gettimeofday): Add libc_hidden_def.
960 (gettimeofday): Add libc_hidden_weak.
961 * sysdeps/unix/syscalls.list (gettimeofday):
962 Remove __gettimeofday_internal alias.
963
b5a2bbe6
L
9642012-05-24 Daniel Jacobowitz <drow@false.org>
965 H.J. Lu <hongjiu.lu@intel.com>
966
967 [BZ #12495]
968 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
969 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
970 (largebin_index_32_big): New.
971 (largebin_index): Use it for 16-byte alignment.
972 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
973 correction with front_misalign.
974
cfba4fda
L
9752012-05-24 H.J. Lu <hongjiu.lu@intel.com>
976
7f907421
L
977 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
978 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
979 Likewise.
980 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
981 Likewise.
982 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
983 Likewise.
984 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
985 Likewise.
986 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
987 Likewise.
988 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
989 Likewise.
990 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
991 Likewise.
992 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
993 Likewise.
994 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
995 Likewise.
996 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
997 Likewise.
998 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
999 Likewise.
1000 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
1001 Likewise.
1002
cfba4fda
L
1003 * scripts/data/c++-types-x32-linux-gnu.data: New file.
1004 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
1005
80bad0cc
JM
10062012-05-24 Joseph Myers <joseph@codesourcery.com>
1007
7a25eb06
JM
1008 [BZ #10846]
1009 [BZ #14036]
1010 * math/libm-test.inc (exp_test): Add test from bug 14036.
1011 (pow_test): Add test from bug 10846.
1012
795405f9
JM
1013 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
1014 and other flags.
1015 (special_function): Do not include flags in test name.
1016 (parse_args): Likewise.
1017 * sysdeps/i386/fpu/libm-test-ulps: Update.
1018 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
1019 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
1020 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
1021 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1022
80bad0cc
JM
1023 * math/gen-libm-test.pl (%beautify): Add entries for underflow
1024 exceptions.
1025 * math/libm-test.inc ("Philosophy"): Update comment about
1026 exception testing.
1027 (UNDERFLOW_EXCEPTION): New macro.
1028 (UNDERFLOW_EXCEPTION_OK): Likewise.
1029 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
1030 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
1031 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
1032 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
1033 (INVALID_EXCEPTION_OK): Update value.
1034 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
1035 (OVERFLOW_EXCEPTION_OK): Likewise.
1036 (IGNORE_ZERO_INF_SIGN): Likewise.
1037 (test_exceptions): Handle underflow exceptions.
1038 (acos_test): Update for underflow exception expectations.
1039 (cexp_test): Likewise.
1040 (clog_test): Likewise.
1041 (clog10_test): Likewise.
1042 (csqrt_test): Likewise.
1043 (ctan_test): Likewise.
1044 (ctanh_test): Likewise.
1045 (exp_test): Likewise.
1046 (exp10_test): Likewise.
1047 (exp2_test): Likewise.
1048 (expm1_test): Likewise.
1049 (fma_test): Likewise.
1050 (j0_test): Likewise.
1051 (jn_test): Likewise.
1052 (nexttoward_test): Likewise.
1053 (pow_test): Likewise.
1054 (scalbn_test): Likewise.
1055 (scalbln_test): Likewise.
1056 (tan_test): Likewise.
1057 (y1_test): Likewise.
1058 * sysdeps/i386/fpu/libm-test-ulps: Update.
1059 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1060
9e0e3d0b
DM
10612012-05-23 David S. Miller <davem@davemloft.net>
1062
1063 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
1064 (__libc_sigaction): Remove unused local variables.
1065
ccd0a08f
L
10662012-05-23 H.J. Lu <hongjiu.lu@intel.com>
1067
1068 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
1069
62bdf9a6
PE
10702012-05-23 Paul Eggert <eggert@cs.ucla.edu>
1071
f8591f80
PE
1072 mktime: avoid signed integer overflow
1073 * time/mktime.c (__mktime_internal): Do not mishandle the case
1074 where diff == INT_MIN.
1075
94c7d826
PE
1076 mktime: simplify computation of average
1077 * time/mktime.c (ranged_convert): Use new time_t_avg function
1078 instead of rolling our own (probably-slower) code.
1079
ce73d683
PE
1080 mktime: do not assume signed right shift propagates sign bit
1081 * time/mktime.c (isdst_differ): New static function.
1082 (__mktime_internal): No need to normalize tm_isdst now.
1083 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
1084 tm_isdst values.
1085
72a22e59
PE
1086 mktime: merge another wrapv change from gnulib
1087 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
1088 from some compilers.
1089
68605433
PE
1090 mktime: remove incorrect attempt at unusual arithmetics
1091 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
1092 The code didn't really work on such machines anyway.
1093 (TYPE_MINIMUM): Assume two's complement.
1094 (twos_complement_arithmetic): Verify that long_int and time_t
1095 are two's complement (or unsigned, in the latter case).
1096
03cf7fe3
PE
1097 mktime: check signed shifts on long_int and time_t, too
1098 * time/mktime.c (SHR): Check that shifts work as desired
1099 on the types long_int and time_t too, as SHR is used on
1100 such types.
1101
f04dfbc2
PE
1102 mktime: do not assume 'long' is wide enough
1103 * time/mktime.c (verify): Move decl up.
1104 (long_int): New type.
1105 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
1106 to remove assumption in the code that 'long' is wide enough to
1107 store year values. This assumption is not true on x32 and on
1108 some non-glibc platforms.
1109
62bdf9a6
PE
1110 mktime: merge wrapv change from gnulib
1111 * time/mktime.c (WRAPV): New macro.
1112 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
1113 (guess_time_tm, __mktime_internal): Do not assume that signed
1114 integer overflow wraps around; modern compilers generate code
1115 where this assumption is no longer valid.
1116
5e292e4f
L
11172012-05-23 H.J. Lu <hongjiu.lu@intel.com>
1118
1119 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
1120 Replace "jmp L(pseudo_end)" with "ret".
1121 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
1122 Likewise.
1123
8caf8c87
AJ
11242012-05-23 Andreas Jaeger <aj@suse.de>
1125
1126 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
1127 * sysdeps/unix/sysv/linux/poll.c: Remove file.
1128
1a09dc56
AJ
11292012-05-23 Andreas Jaeger <aj@suse.de>
1130 Maximilian Attems <max@stro.at>
1131
1132 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
1133 New macros.
1134
1c87aba0
L
11352012-05-23 H.J. Lu <hongjiu.lu@intel.com>
1136
1137 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
1138 code so that pseudo_end is just ret and the stack pointer is
1139 correct also for static library in error case.
1140
40e45bd5
JM
11412012-05-23 Joseph Myers <joseph@codesourcery.com>
1142
c2670533
JM
1143 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
1144 move to syscalls.list.
1145 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
1146 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
1147 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
1148 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
1149
40e45bd5
JM
1150 * manual/install.texi (Running make install): Do not mention Linux
1151 kernel version for which pt_chown is not needed.
1152 (Linux): Do not mention problems with nscd with 2.0 kernels.
1153 * INSTALL: Regenerated.
1154
be08eda5
AJ
11552012-05-23 Andreas Jaeger <aj@suse.de>
1156
1157 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
1158 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
1159 macro.
1160 * sysdeps/unix/sysv/linux/s390/bits/mman.h
1161 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
1162 * sysdeps/unix/sysv/linux/sh/bits/mman.h
1163 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
1164 * sysdeps/unix/sysv/linux/i386/bits/mman.h
1165 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
1166 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
1167 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
1168 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
1169 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
1170 * sysdeps/unix/sysv/linux/bits/in.h
1171 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
1172
a6a056bb
RM
11732012-05-22 Roland McGrath <roland@hack.frob.com>
1174
1175 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
1176 (PREPARE_VERSION): Just use assert instead, it will be elided
1177 under [NDEBUG] anyway.
1178
c9009328
L
11792012-05-22 H.J. Lu <hongjiu.lu@intel.com>
1180
1181 * sysdeps/unix/sysv/linux/Makefile: Include
1182 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
cb191f23 1183 (sysdep_routines): Remove sysctl.
c9009328
L
1184 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
1185 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
1186 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
1187 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
1188 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
1189
73338355
AJ
11902012-05-22 Andreas Jaeger <aj@suse.de>
1191
1192 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
1193 that pseudo_end is just ret and the stack pointer is correct also
1194 for static library in error case.
1195
d44638b0
PP
11962012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
1197
1198 [BZ #14122]
1199 * nss/nsswitch.c (defconfig_entries): New variable.
1200 (__nss_database_lookup): Don't leak defconfig entries.
1201 (nss_parse_service_list): Don't leak on error paths.
1202 (free_database_entries): New function.
1203 (free_defconfig): New function.
1204 (free_mem): Move common code to free_database_entries.
1205
31a39bd8
L
12062012-05-22 H.J. Lu <hongjiu.lu@intel.com>
1207
da0331a8
L
1208 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
1209 Add arch_prctl.
1210 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
1211
31a39bd8
L
1212 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
1213 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
1214 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
1215 New macro.
1216 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
1217 (INTERNAL_SYSCALL_TYPES): Likewise.
1218 (LOAD_ARGS_TYPES_[1-6]): Likewise.
1219 (LOAD_REGS_TYPES_[1-6]): Likewise.
1220 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
1221 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
1222
45470df3
AZ
12232012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1224
1225 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
1226 copysignl for GLIBC_2_0.
1227 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
1228 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
1229 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
1230 logbl for GLIBC_2_0.
1231 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
1232 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
1233
98a61bcb
L
12342012-05-22 H.J. Lu <hongjiu.lu@intel.com>
1235
a4f6e481
L
1236 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
1237 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
1238
f63d5db6
L
1239 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
1240 Use "neg %eax".
1241
98a61bcb
L
1242 * time/mktime.c: Update copyright years.
1243
95770f14
PE
12442012-05-22 Paul Eggert <eggert@cs.ucla.edu>
1245
6226efbd
PE
1246 mktime: merge comment-quoting-style change from gnulib
1247 * time/mktime.c: Quote 'like this' in comments.
1248 The GNU coding standards suggest that we no longer quote `like this',
1249 as "`" and "'" are typically rendered asymmetrically nowadays.
1250 The typical gnulib style is to quote 'like this' when quoting
1251 code, and "like this" when quoting English.
1252
b99e4f78
PE
1253 * time/mktime.c (compile-command): Add "-I.".
1254
643e01e6
PE
1255 mktime: merge mktime-internal.h change from gnulib
1256 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
1257
2554247d
PE
1258 mktime: merge time_r change from gnulib
1259 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
1260
826dd0ab
PE
1261 mktime: merge DEBUG change from gnulib
1262 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
1263 case system <time.h> has a #define.
1264
bd83aabe
PE
1265 mktime: merge <sys/types.h> change from gnulib
1266 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
1267 since <time.t> is now guaranteed to define time_t.
1268
95770f14
PE
1269 mktime: merge HAVE_CONFIG_H change from gnulib
1270 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
1271
5e1a27a9
L
12722012-05-22 H.J. Lu <hongjiu.lu@intel.com>
1273
0e44a77e
L
1274 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
1275 Use "neg %eax".
1276
5e1a27a9
L
1277 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
1278 __rlim_t cast.
1279 (struct rusage): Use anonymous union to pad each field to
1280 __syscall_slong_t.
1281
46259bec
DM
12822012-05-21 David S. Miller <davem@davemloft.net>
1283
1284 * Makefules (o-iterator): Remove .s cases.
1285 (compile-command.s): Delete.
1286 (COMPILE.s): Delete.
1287 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
1288
59f0c22e
JM
12892012-05-21 Joseph Myers <joseph@codesourcery.com>
1290
1291 * configure.in (libc_cv_predef_stack_protector): Only consider
1292 "foobar" and "__stack_chk_fail" lines in libc_undefs.
1293 * configure: Regenerated.
1294
20c07380
L
12952012-05-21 H.J. Lu <hongjiu.lu@intel.com>
1296
bbb3154b
L
1297 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
1298 New macro. Use R*LP on int and pointer.
1299 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
c5b3a2c0
L
1300 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
1301 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
bbb3154b
L
1302 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
1303
20c07380
L
1304 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
1305 [__WORDSIZE_TIME64_COMPAT32] instead of
1306 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
1307 (struct utmp): Likewise.
1308 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
1309 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
1310 Renamed to ...
1311 (__WORDSIZE_TIME64_COMPAT32): This.
1312 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
1313 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
1314 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
1315 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
1316 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
1317 (__WORDSIZE_TIME64_COMPAT32): New macro.
1318
d8d1017e
AJ
13192012-05-21 Andreas Jaeger <aj@suse.de>
1320
1321 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
1322 only if [SHARED]. Add prototype for __wcschr_ia32.
1323
6c7fb145
RM
13242012-05-21 Roland McGrath <roland@hack.frob.com>
1325
1326 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
1327 of %rbp unmolested in the jmp_buf while mangling the low bits.
1328 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
1329 unmolested high bits of %rbp while demangling the low bits.
1330 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
1331
66274218
AJ
13322012-05-21 Andreas Jaeger <aj@suse.de>
1333
07c58f8f
AJ
1334 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
1335 * sunrpc/svc_simple.c: Use it for registerrpc.
1336 * sunrpc/xcrypt.c: Use it for passwd2des.
1337
66274218
AJ
1338 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
1339
61f65140
L
13402012-05-21 H.J. Lu <hongjiu.lu@intel.com>
1341
1342 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
1343 Don't define if [__SYSCALL_WORDSIZE != 32].
1344 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
1345 New macro.
1346
5fefb436
AJ
13472012-05-21 Bruno Haible <bruno@clisp.org>
1348 Andreas Jaeger <aj@suse.de>
1349
1350 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
1351 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
1352 inptr and inend for must_buffer_ch.
1353 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
1354 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
1355 * stdio-common/Makefile (tests): Remove bug15.
1356 (bug15-ENV): Remove macro.
1357 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
1358 anymore.
1359
d8e272ab
AJ
13602012-05-19 Andreas Jaeger <aj@suse.de>
1361 Roland McGrath <roland@hack.frob.com>
1362
1363 * manual/contrib.texi: Completely rewritten. It contains now an
1364 alphabetical list of contributors and their contributions.
1365
4a56a162
RH
13662012-05-21 Richard Henderson <rth@twiddle.net>
1367
1368 * misc/getauxval.c (__getauxval): Use unsigned long int.
1369 * misc/sys/auxv.h: Include <sys/cdefs.h>.
1370 (getauxval): Use unsigned long int.
1371
d024d23c
L
13722012-05-21 H.J. Lu <hongjiu.lu@intel.com>
1373
1374 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
1375
cbc00a03
RM
13762012-05-21 Roland McGrath <roland@hack.frob.com>
1377
1378 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
1379 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
1380 __alignof__ (long double).
1381
478143fa
AZ
13822012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1383
1384 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1385
c7683a6d
RH
13862012-05-20 Richard Henderson <rth@twiddle.net>
1387
1388 * misc/getauxval.c: New file.
1389 * misc/sys/auxv.h: New file.
1390 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
1391 (routines): Add getauxval.
1392 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
1393 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
1394 * elf/dl-sysdep.c (_dl_auxv): Remove.
1395 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
1396 * elf/dl-support.c (_dl_auxv): New variable.
1397 (_dl_aux_init): Initialize it.
1398 * manual/startup.texi (Auxiliary Vector): New node.
1399 * sysdeps/generic/bits/hwcap.h: New file.
1400 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
1401 * sysdeps/powerpc/sysdep.h: ... here. Include it.
1402 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
1403 * sysdeps/sparc/sysdep.h: ... here. Include it.
1404 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
1405 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
cbc00a03
RM
1406 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
1407 Update.
c7683a6d
RH
1408 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
1409 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
1410 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
1411 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
1412 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
1413 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
1414 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
1415 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
1416
a6f1845d
AZ
14172012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1418
1419 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1420
cbcbe830
DM
14212012-05-19 David S. Miller <davem@davemloft.net>
1422
1423 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1424
e0b16cc2
JM
14252012-05-19 Joseph Myers <joseph@codesourcery.com>
1426
1427 [BZ #14123]
1428 * math/s_ccosh.c: Include <float.h>
1429 (__ccosh): Avoid internal overflow calculating sinh and cosh
1430 values before multiplying by sin and cos values.
1431 * math/s_ccoshf.c: Likewise.
1432 * math/s_ccoshl.c: Likewise.
1433 * math/s_csin.c: Likewise.
1434 * math/s_csinf.c: Likewise.
1435 * math/s_csinl.c: Likewise.
1436 * math/s_csinh.c: Likewise.
1437 * math/s_csinhf.c: Likewise.
1438 * math/s_csinhl.c: Likewise.
1439 * math/libm-test.inc (ccos_test): Add more tests.
1440 (ccosh_test): Likewise.
1441 (csin_test): Likewise.
1442 (csinh_test): Likewise.
1443 * sysdeps/i386/fpu/libm-test-ulps: Update.
1444 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1445
6ad13e08
L
14462012-05-19 H.J. Lu <hongjiu.lu@intel.com>
1447
f66f0ce8
L
1448 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
1449 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
1450
6ad13e08
L
1451 * sysdeps/x86_64/x32/_itoa.h: Add comment.
1452
b1d072a7
JM
14532012-05-19 Joseph Myers <joseph@codesourcery.com>
1454
1455 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
1456 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
1457 * sysdeps/powerpc/soft-fp/Versions: Likewise.
1458 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
1459 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
1460 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
1461 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
1462 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
1463 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
1464 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
1465 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
1466 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
1467 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
1468 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
1469 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
1470 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
1471 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
1472 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
1473 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
1474 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
1475 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
1476 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
1477 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
1478 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
1479 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
1480 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
1481 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
1482 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
1483 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
1484 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
1485 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
1486
9eae47cb
AJ
14872012-05-18 Andreas Jaeger <aj@suse.de>
1488
1489 * csu/.gitignore: Delete.
1490
bb07f69f
L
14912012-05-18 H.J. Lu <hongjiu.lu@intel.com>
1492
1493 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
1494 (timex): Use __syscall_slong_t.
1495
e6bdb741
AJ
14962012-05-18 Andreas Jaeger <aj@suse.de>
1497 Carlos O'Donell <carlos_odonell@mentor.com>
1498
1499 * manual/install.texi (Configuring and compiling): Update
1500 description about files modified in the source directory.
d6c33fda 1501 * INSTALL: Regenerated.
e6bdb741 1502
1b74487e
L
15032012-05-18 H.J. Lu <hongjiu.lu@intel.com>
1504
1505 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
1506 value. Use "or" to set return value to -1.
1507 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
1508 negate return value.
1509
a88b64b9
TMQMF
15102012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
1511
1512 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
1513 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
1514 failure if the compiler has Graphite support disabled.
1515 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
1516 Likewise.
1517 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
1518 CFLAGS-memmove.c): Likewise.
1519 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
1520 Likewise.
1521
3707636e
L
15222012-05-18 H.J. Lu <hongjiu.lu@intel.com>
1523
610b8622
L
1524 * sysdeps/x86_64/x32/_itoa.h: New file.
1525
7cd195df
L
1526 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
1527 getdents system call only if kernel and user dirents have the
1528 same d_ino and d_off.
1529
94b07d20
L
1530 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
1531 LLONG_MAX != LONG_MAX.
1532 (_itoa_word): Use _ITOA_WORD_TYPE on value.
1533 (_fitoa_word): Likewise.
1534
18298070
L
1535 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
1536 years.
1537 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
1538 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
1539 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
1540
553c7ea4
L
1541 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
1542 include <bits/wordsize.h>. Check __x86_64__ instead of
1543 __WORDSIZE.
1544 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
1545 if __x86_64__ is defined. Use anonymous union on fpstate.
1546
3707636e
L
1547 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
1548 anonymous union.
1549
b53ef01a
AS
15502012-05-18 Andreas Schwab <schwab@linux-m68k.org>
1551
37fb1dc0
AS
1552 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
1553 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
1554 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
1555 Refer to _rtld_local_ro instead of _rtld_global_ro.
1556 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
1557 Likewise.
1558 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
1559 Likewise.
1560 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
1561 Likewise.
1562 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
1563 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
1564 of _rtld_global, and rtld_progname instead of _dl_argv[0].
1565
b53ef01a
AS
1566 * sysdeps/powerpc/powerpc32/dl-machine.c
1567 (__elf_machine_runtime_setup) [PROF]: Don't reference
1568 _dl_prof_resolve.
1569
7a185db2
AJ
15702012-05-18 Andreas Jaeger <aj@suse.de>
1571
1572 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
1573 function only available for GCCs before 3.4 since GCC 3.4
1574 introduced a builtin.
1575 (lrint): Likewise.
1576 (llrintf): Likewise.
1577 (llrint): Likewise.
1578 (fmaxf): Likewise.
1579 (fmax): Likewise.
1580 (fminf): Likewise.
1581 (fmin): Likewise.
1582 (rint): Likewise.
1583 (rintf): Likewise.
1584 (nearbyint): Likewise.
1585 (nearbyintf): Likewise.
1586 (ceil): Likewise.
1587 (ceilf): Likewise.
1588 (floor): Likewise.
1589 (floorf): Likewise.
1590
3e5aef87
L
15912012-05-17 H.J. Lu <hongjiu.lu@intel.com>
1592
428bd707
L
1593 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
1594 on both fields and cast pointer to __syscall_ulong_t.
1595
3e5aef87
L
1596 * bits/types.h (__fsword_t): New type.
1597 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
1598 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
1599 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
1600 (__FSWORD_T_TYPE): Likewise.
1601 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
1602 (__FSWORD_T_TYPE): Likewise.
1603 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
1604 (__FSWORD_T_TYPE): Likewise.
1605 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
1606 (__FSWORD_T_TYPE): Likewise.
1607 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
1608 __SWORD_TYPE with __fsword_t.
1609 (statfs64): Likewise.
1610
1ba7c3dc
DM
16112012-05-17 David S. Miller <davem@davemloft.net>
1612
1613 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
1614
59910343
AJ
16152012-05-17 Andreas Jaeger <aj@suse.de>
1616
1617 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
1618 warning.
1619
2e4c1e9e
L
16202012-05-17 H.J. Lu <hongjiu.lu@intel.com>
1621
1622 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
1623
de7f5ce7
AJ
16242012-05-17 Andreas Jaeger <aj@suse.de>
1625
1626 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
1627 when it is used.
1628
286abc3d
CM
16292012-05-17 Chris Metcalf <cmetcalf@tilera.com>
1630
1631 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
1632
477cc68e
L
16332012-05-17 H.J. Lu <hongjiu.lu@intel.com>
1634
1635 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
1636 * sysdeps/x86_64/tst-mallocalign1.c: New file.
1637
1a0994f5
CD
16382012-05-17 Andreas Jaeger <aj@suse.de>
1639 Carlos O'Donell <carlos_odonell@mentor.com>
1640
1641 [BZ #14059]
1642 * sysdeps/x86_64/multiarch/init-arch.h
1643 (bit_YMM_Usable): Rename to...
1644 (bit_AVX_Usable): ... this.
1645 (bit_FMA4_Usable): New macro.
1646 (bit_XMM_state): New macro.
1647 (bit_YMM_state): New macro.
1648 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
1649 [__ASSEMBLER__] (index_AVX_Usable): ... this.
1650 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
1651 (CPUID_OSXSAVE): New macro.
1652 (CPUID_AVX): New macro.
1653 (CPUID_FMA4): New macro.
1654 (index_YMM_Usable): Rename to...
1655 (index_AVX_Usable): ... this.
1656 (HAS_AVX): Use HAS_ARCH_FEATURE.
1657 (HAS_FMA4): Likewise.
1658 (HAS_YMM_USABLE): Remove.
1659 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
1660 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
1661 are present.
1662 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
1663 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
1664 * sysdeps/x86_64/multiarch/Makefile: Likewise.
1665 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
1666 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
1667
0af797de
CM
16682012-05-17 Chris Metcalf <cmetcalf@tilera.com>
1669
1670 * math/libm-test.c: Support platforms without multiple rounding modes.
1671 * math/bug-nextafter.c: Support platforms without FP exceptions.
1672 * math/bug-nexttoward.c: Likewise.
1673 * math/test-fenv.c: Likewise.
1674 * math/test-misc.c: Likewise.
1675 * stdlib/bug-getcontext.c: Likewise.
1676
e39745ff
AJ
16772012-05-17 Andreas Jaeger <aj@suse.de>
1678
1679 * manual/examples/search.c (critter_cmp): Change signature to
1680 avoid warnings.
1681 * manual/string.texi (Collation Functions): Likewise.
1682
48970aba
L
16832012-05-16 H.J. Lu <hongjiu.lu@intel.com>
1684
1685 * bits/types.h: Fold copyright years.
1686 * bits/typesizes.h: Likewise.
1687 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
1688 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
1689 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
1690 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
1691 * time/time.h: Likewise.
1692
bedee953
PP
16932012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
1694
1695 [BZ #208]
1696 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
1697 in instead of returning them. Return void.
1698 (__libc_mallinfo): Accumulate over all arenas.
1699 (__malloc_stats): Adjust for change in int_mallinfo interface.
1700
61653dfb
RM
17012012-05-16 Roland McGrath <roland@hack.frob.com>
1702
30b99d79
RM
1703 [BZ #10375]
1704 * configure.in (NM): Add AC_CHECK_TOOL for it.
1705 (libc_extra_cflags): New substituted variable.
1706 Check for -fstack-protector being used implicitly.
1707 * configure: Regenerated.
1708 * config.make.in (config-extra-cflags): New variable,
1709 gets @libc_extra_cflags@.
1710 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
1711
61653dfb
RM
1712 [BZ #10375]
1713 * configure.in: Check for _FORTIFY_SOURCE being predefined.
1714 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
1715 * configure: Regenerated.
1716 * config.make.in (CPPUNDEFS): New substituted variable.
1717 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
1718 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
1719 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
1720
661768bb
L
17212012-05-16 H.J. Lu <hongjiu.lu@intel.com>
1722
1723 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
1724 (mq_attr): Use __syscall_slong_t.
1725
d4261567
L
17262012-05-16 H.J. Lu <hongjiu.lu@intel.com>
1727
1728 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
1729 Check __x86_64__ instead of __WORDSIZE.
1730 (_STAT_VER_LINUX): Likewise.
1731 (stat): Check __x86_64__ instead of __WORDSIZE. Use
1732 __syscall_ulong_t and __syscall_slong_t.
1733 (stat64): Likewise.
1734
cf3ff365
L
17352012-05-16 H.J. Lu <hongjiu.lu@intel.com>
1736
1737 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
1738
76cf3e4d
L
17392012-05-16 H.J. Lu <hongjiu.lu@intel.com>
1740
1741 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
1742
a637753a
L
17432012-05-16 H.J. Lu <hongjiu.lu@intel.com>
1744
1745 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
1746 __syscall_ulong_t.
1747
d5e05119
L
1748 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
1749 include <bits/wordsize.h>. Check __x86_64__ instead of
1750 __WORDSIZE.
1751 (greg_t): Use "__extension__ long long int" if __x86_64__ is
1752 defined.
1753 (mcontext_t): Replace "unsigned long" with "unsigned long long".
1754
f62ee380
L
1755 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
1756 include <bits/wordsize.h>. Check __x86_64__ instead of
1757 __WORDSIZE.
1758 (user_regs_struct): Use "__extension__ unsigned long long"
1759 instead of "unsigned long" if __x86_64__ is defined.
1760 (user): Likewise. Pad after pointer field if __ILP32__ is
1761 defined.
1762
4e124ced
JM
17632012-05-16 Joseph Myers <joseph@codesourcery.com>
1764
6a3951a0
JM
1765 * configure.in (makeinfo): Require version 4.5 or later. Allow
1766 versions 5 to 9.
1767 * configure: Regenerated.
1768 * manual/install.texi (texinfo): Increase version requirement to
1769 4.5 or later.
1770 * INSTALL: Regenerated.
1771
4e124ced
JM
1772 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
1773
953ca31a
L
17742012-05-16 H.J. Lu <hongjiu.lu@intel.com>
1775
1776 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
1777
617aca05
L
1778 * sysdeps/x86_64/x32/ffs.c: New file.
1779
5762f7ae
L
1780 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
1781 __syscall_ulong_t.
1782 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
1783 defined. Use __syscall_ulong_t.
1784 (shminfo): Use __syscall_ulong_t.
1785 (shm_info): Likewise.
1786
a26b6856
L
1787 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
1788 __syscall_ulong_t.
1789
cb2b9ef7
L
1790 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
1791 <bits/wordsize.h>.
1792 (msgqnum_t): Use __syscall_ulong_t.
1793 (msglen_t): Likewise.
1794 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
1795 __syscall_ulong_t.
1796
34683bb0
L
1797 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
1798 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
1799
84a68786
L
1800 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
1801
48baa5f1
L
1802 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
1803 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
1804
180be88b
L
1805 * sysvipc/sys/msg.h (msgbuf): Replace long int with
1806 __syscall_slong_t.
1807
5e90c8ad
L
1808 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
1809 include <bits/wordsize.h>. Check __x86_64__ instead of
1810 __WORDSIZE.
1811
23dfb58b
L
1812 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
1813 "unsigned long long int" if __x86_64__ is defined.
1814 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
1815
ce5d54b0
L
1816 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
1817 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
1818 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
1819
13dc9eac
L
1820 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
1821 <stdint.h>.
1822 (GET_PC): Cast to uintptr_t first.
1823 (GET_FRAME): Likewise.
1824 (GET_STACK): Likewise.
1825
a7895d15
L
1826 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
1827 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
1828 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
1829 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
1830 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
1831 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
1832 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
1833 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
1834 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
1835 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
1836 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
1837 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
1838 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
1839 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
1840 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
1841 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
1842 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
1843 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
1844 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
1845 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
1846 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
1847 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
1848 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
1849 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
1850 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
1851 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
1852 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
1853 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
1854 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
1855
656416c9
AS
18562012-05-16 Andreas Schwab <schwab@linux-m68k.org>
1857
5bd66283
AS
1858 * Makerules (+depfiles): Also collect depfiles from .oS in
1859 $(extra-objs).
1860 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
1861 .oS, $(libnldbl-routines)).
1862
656416c9
AS
1863 * Makerules (native-compile-mkdep-flags): Define.
1864 * sunrpc/Makefile (extra-objs): Add $(addprefix
1865 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
1866 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
1867 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
1868 calling $(make-target-directory).
1869
a46f2169
L
18702012-05-15 H.J. Lu <hongjiu.lu@intel.com>
1871
1872 * bits/types.h (__snseconds_t): Removed.
1873 * time/time.h (struct timespec): Replace __snseconds_t with
1874 __syscall_slong_t.
1875 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
1876 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
1877 Likewise.
1878 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
1879 (__SNSECONDS_T_TYPE): Likewise.
1880 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
1881 (__SNSECONDS_T_TYPE): Likewise.
1882 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
1883 (__SNSECONDS_T_TYPE): Likewise.
1884
6af6528b
L
18852012-05-15 H.J. Lu <hongjiu.lu@intel.com>
1886
1887 * sysdeps/mach/hurd/bits/typesizes.h
1888 (__SYSCALL_SLONG_TYPE): New macro.
1889 (__SYSCALL_ULONG_TYPE): Likewise.
1890
de986b56
L
18912012-05-15 H.J. Lu <hongjiu.lu@intel.com>
1892
1893 * bits/types.h (__syscall_slong_t): New type.
1894 (__syscall_ulong_t): Likewise.
1895
1896 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
1897 (__SYSCALL_ULONG_TYPE): Likewise.
1898 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
1899 (__SYSCALL_SLONG_TYPE): Likewise.
1900 (__SYSCALL_ULONG_TYPE): Likewise.
1901 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
1902 (__SYSCALL_SLONG_TYPE): Likewise.
1903 (__SYSCALL_ULONG_TYPE): Likewise.
1904 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
1905 (__SYSCALL_SLONG_TYPE): Likewise.
1906 (__SYSCALL_ULONG_TYPE): Likewise.
1907
85736dc7
L
19082012-05-15 H.J. Lu <hongjiu.lu@intel.com>
1909
1910 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
1911 Add sigaltstack-offsets.sym.
1912 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
1913 <sigaltstack-offsets.h>.
1914 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
1915 longjmp_msg pointer.
1916 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
1917 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
1918 signal stack.
1919 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
1920
cc03b296
JM
19212012-05-15 Joseph Myers <joseph@codesourcery.com>
1922
a9538892
JM
1923 * elf/stackguard-macros.h: Remove file.
1924 * sysdeps/generic/stackguard-macros.h: New file.
1925 * sysdeps/i386/stackguard-macros.h: Likewise.
1926 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
1927 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
1928 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
1929 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
1930 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
1931 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
1932 * sysdeps/x86_64/stackguard-macros.h: Likewise.
1933 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
1934 <elf/stackguard-macros.h>.
1935
cc03b296
JM
1936 [BZ #14109]
1937 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
1938 __aligned__ in attribute.
1939 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
1940 (gregset_t): Likewise.
1941
93171016
L
19422012-05-15 H.J. Lu <hongjiu.lu@intel.com>
1943
1944 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
1945 * sysdeps/x86_64/64/Implies-after: Here. New file.
1946 * sysdeps/x86_64/x32/Implies-after: New file.
1947
d86813a0
L
19482012-05-15 H.J. Lu <hongjiu.lu@intel.com>
1949
1950 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
1951 and access return value for _dl_profile_fixup. Use R10_LP to
1952 load frame size.
1953
2953ec75
L
19542012-05-15 H.J. Lu <hongjiu.lu@intel.com>
1955
1956 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
1957
3b550e9e
L
19582012-05-15 H.J. Lu <hongjiu.lu@intel.com>
1959
1960 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
1961 * sysdeps/x86_64/x32/sysdep.h: New file.
1962
eda41706
L
19632012-05-15 H.J. Lu <hongjiu.lu@intel.com>
1964
1965 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
1966 * sysdeps/x86_64/setjmp.S: Likewise.
1967
9ea01d93
AZ
19682012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1969
1970 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
1971 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
1972 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
1973 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
1974 remove unused global constant.
1975
02a91938
CM
19762012-05-15 Chris Metcalf <cmetcalf@tilera.com>
1977
1978 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
1979 include of <not-cancel.h>.
1980
6540185f
RM
19812012-05-15 Roland McGrath <roland@hack.frob.com>
1982
1983 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
1984
509072a0
AJ
19852012-05-15 Jeff Law <law@redhat.com>
1986 Andreas Jaeger <aj@suse.de>
1987
1988 [BZ #13594]
1989 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
1990 out from...
1991 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
1992 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
1993 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
1994 code changing __hst_map_handle.map.
1995
ba75122d
RM
19962012-05-15 Roland McGrath <roland@hack.frob.com>
1997
1998 * configure.in (sysnames): Look for Implies-before and Implies-after
1999 files.
2000 * configure: Regenerated.
2001
890d8bd8
L
20022012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2003
2004 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
2005 8-byte data alignment with LP_SIZE alignment.
2006
f6ee6623
L
20072012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2008
2009 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
2010 into R10_LP.
2011
ea2626f6
L
20122012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2013
2014 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
2015
085f715e
L
20162012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2017
2018 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
2019 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
2020 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
2021 Likewise.
2022 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
2023
be8498fc
L
20242012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2025
2026 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
2027 (stackinfo_sub_sp): Likewise.
2028
70bc83b9
L
20292012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2030
2031 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
2032 RAX_LP.
2033
9bc0b730
L
20342012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2035
2036 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
2037 into R*_LP.
2038
6d2850e7
L
20392012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2040
2041 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
2042 sizes into R*_LP.
2043
3cb84561
L
20442012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2045
2046 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
2047
54e2ed81
L
20482012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2049
2050 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
2051 into R11_LP and load __x86_64_shared_cache_size_half into
2052 R8_LP.
2053
8a17f349
L
20542012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2055
2056 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
2057 R8_LP.
2058
777b1eea
AZ
20592012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2060
2061 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
2062 logb for POWER7.
2063 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
2064 logbf for POWER7.
2065 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
2066 logbl for POWER7.
2067 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
2068 powerpc32/power7/fpu/s_logb.c via #include.
2069 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
2070 powerpc32/power7/fpu/s_logbf.c via #include.
2071 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
2072 powerpc32/power7/fpu/s_logbl.c via #include.
2073
d20d4ac2
JM
20742012-05-15 Joseph Myers <joseph@codesourcery.com>
2075
2076 * README.libm: Remove file.
2077
6cdef1ab
L
20782012-05-14 H.J. Lu <hongjiu.lu@intel.com>
2079
2080 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
2081 count for x32. Use R*_LP and omit operand-size suffix.
2082
0b254d8f
L
20832012-05-14 H.J. Lu <hongjiu.lu@intel.com>
2084
2085 * shlib-versions: Move x86_64-.*-linux.* entries to ...
2086 * sysdeps/x86_64/64/shlib-versions: Here. New file.
2087 * sysdeps/x86_64/x32/shlib-versions: New file.
2088
ceb809dc
RM
20892012-05-14 Roland McGrath <roland@hack.frob.com>
2090
2091 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
2092 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
2093 Use _dl_fatal_printf instead.
2094
37f1abd4
JM
20952012-05-14 Joseph Myers <joseph@codesourcery.com>
2096
2097 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
2098 set if not set by the user. Do not allow for being unset.
2099 * sysdeps/unix/sysv/linux/configure: Regenerated.
2100
11de3a33
L
21012012-05-14 H.J. Lu <hongjiu.lu@intel.com>
2102
2103 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
2104 the `q' suffix from lea and replace .quad with ASM_ADDR.
2105
e02f153a
L
21062012-05-14 H.J. Lu <hongjiu.lu@intel.com>
2107
2108 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
2109 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
2110 instead of $17.
2111 (PTR_DEMANGLE): Likewise.
2112
520ae0fd
L
21132012-05-14 H.J. Lu <hongjiu.lu@intel.com>
2114
2115 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
2116 (LP_OP): Likewise.
2117 (ASM_ADDR): Likewise.
2118 (RAX_LP): Likewise.
2119 (RBP_LP): Likewise.
2120 (RBX_LP): Likewise.
2121 (RCX_LP): Likewise.
2122 (RDI_LP): Likewise.
2123 (RSI_LP): Likewise.
2124 (RSP_LP): Likewise.
2125 (R8_LP): Likewise.
2126 (R9_LP): Likewise.
2127 (R10_LP): Likewise.
2128 (R10_LP): Likewise.
2129 (R11_LP): Likewise.
2130 (R12_LP): Likewise.
2131 (R13_LP): Likewise.
2132 (R14_LP): Likewise.
2133 (R15_LP): Likewise.
2134
b985be81
L
21352012-05-14 H.J. Lu <hongjiu.lu@intel.com>
2136
2137 * sysdeps/x86_64/x32/dl-machine.h: New file.
2138
6a4888ff
AJ
21392012-05-14 Andreas Jaeger <aj@suse.de>
2140
2141 * manual/Makefile (subdir): Remove export of subdir.
2142 (all): Remove target.
2143 (.PHONY): Remove all from list.
2144 (mkinstalldirs): Remove.
2145 (.PHONY): Remove installdirs from list.
2146 ($(inst_infodir)/libc.info): Use make-target-directory.
2147 (installdirs): Remove.
2148 (subdir_%): Remove.
2149 (glibc-targets): Remove.
2150 (lib): Remove.
2151 (stubs): Remove.
2152 ($(objpfx)stubs ../po/manual.pot): Remove.
2153 ($(objpfx)stamp%): Remove.
2154 (make-target-directory): Remove.
2155 (subdir_install): Remove.
2156 (routines): Remove.
2157 (aux): Remove.
2158 (sources): Remove.
2159 (objects): Remove.
2160 (headers): Remove.
2161
2162 [BZ #13750]
2163 * manual/.gitignore: Remove, it's not needed anymore.
2164 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
2165 all files in it.
2166 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
2167 directory.
2168 (texis): Renamed to $(objpfx)texis.
2169 (texis-path): New, contains path to generated files.
2170 (chapters.%): Use texis-path for complete path, add extra argument
2171 libc-texinfo.sh.
2172 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
2173 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
2174 (summary,texi, stamp-summary): Use complete path of
2175 files. Generate files in build dir.
2176 (dir-add.texi): Build in build dir.
2177 (libm-err.texi,stamp-libm-err): Likewise.
2178 (version.texi, stamp-version): Likewise.
2179 (.%c.texi): Likewise.
2180 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
2181 (mostlyclean): Remove target.
2182 (realclean): Remove target.
2183 (generated): Add new variable with contents from mostlyclean and
2184 realclean, remove entries duplicated in common-mostlyclean, add
2185 stamp-libm-err and stamp-version.
2186 (generated-dirs): Add libc directory.
2187 ($(inst_infodir)/libc.info): Install files from build dir.
2188
2189 * manual/install.texi (Configuring and compiling): Adjust since
2190 the info files are not part of the tar ball anymore.
2191
7ac77294
AJ
21922012-05-14 Andreas Jaeger <aj@suse.de>
2193
2194 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
2195 variable.
2196
ffb7875d
JM
21972012-05-14 Joseph Myers <joseph@codesourcery.com>
2198
2199 [BZ #13717]
2200 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
2201 to 2.2.0 where earlier.
2202 * sysdeps/unix/sysv/linux/configure: Regenerated.
2203 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
2204 Remove conditional code.
2205 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
2206 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
2207 Remove conditional code.
2208 [!__NR_lchown]: Likewise.
2209 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
2210 [__NR_lchown]: Likewise.
2211 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
2212 comment referencing __ASSUME_LCHOWN_SYSCALL.
2213 * sysdeps/unix/sysv/linux/i386/sigaction.c
2214 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
2215 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
2216 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
2217 Remove conditional code.
2218 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
2219 (__protocol_available): Remove #if 0 code.
2220 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
2221 conditional code.
2222 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
2223 * sysdeps/unix/sysv/linux/kernel-features.h
2224 (__ASSUME_GETCWD_SYSCALL): Don't define.
2225 (__ASSUME_REALTIME_SIGNALS): Likewise.
2226 (__ASSUME_PREAD_SYSCALL): Likewise.
2227 (__ASSUME_PWRITE_SYSCALL): Likewise.
2228 (__ASSUME_POLL_SYSCALL): Likewise.
2229 (__ASSUME_LCHOWN_SYSCALL): Likewise.
2230 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
2231 non-SPARC.
2232 (__ASSUME_SIOCGIFNAME): Don't define.
2233 (__ASSUME_MSG_NOSIGNAL): Likewise.
2234 (__ASSUME_SENDFILE): Define unconditionally.
2235 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
2236 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
2237 conditional code.
2238 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
2239 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
2240 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
2241 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
2242 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
2243 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
2244 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
2245 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
2246 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
2247 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
2248 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
2249 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
2250 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
2251 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
2252 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
2253 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
2254 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
2255 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
2256 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
2257 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
2258 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
2259 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
2260 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
2261 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
2262 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
2263 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
2264 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
2265 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
2266 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
2267 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
2268 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
2269 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
2270 Remove conditional code.
2271 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
2272 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
2273 Remove conditional code.
2274 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
2275 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
2276 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
2277 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
2278 Remove conditional code.
2279 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
2280 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
2281 Remove conditional code.
2282 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
2283 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
2284 Remove conditional code.
2285 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
2286 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
2287 Remove conditional code.
2288 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
2289 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
2290 Remove conditional code.
2291 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
2292 * sysdeps/unix/sysv/linux/sh/pwrite64.c
2293 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
2294 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
2295 * sysdeps/unix/sysv/linux/sigaction.c
2296 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
2297 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
2298 * sysdeps/unix/sysv/linux/sigpending.c
2299 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
2300 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
2301 * sysdeps/unix/sysv/linux/sigprocmask.c
2302 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
2303 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
2304 * sysdeps/unix/sysv/linux/sigsuspend.c
2305 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
2306 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
2307 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
2308 (__libc_missing_rt_sigs): Remove.
2309 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
2310 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
2311 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
2312 Remove conditional code.
2313 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
2314 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
2315 return 1.
2316 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
2317 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
2318 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
2319 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
2320
1bfb7291
AJ
23212012-05-14 Andreas Jaeger <aj@suse.de>
2322
caae5a81
AJ
2323 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
2324 it's not used in glibc.
2325 (__coshm1): Likewise.
2326 (__acosh1p): Likewise.
2327 (__sgn): Likewise.
2328
1bfb7291
AJ
2329 * manual/string.texi (Copying and Concatenation): Add missing
2330 variable in concat example.
2331 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
2332
c044d724
L
23332012-05-14 H.J. Lu <hongjiu.lu@intel.com>
2334
144c5467 2335 [BZ #14103]
c044d724
L
2336 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
2337 __builtin_clzl with __builtin_clzll.
2338
2523c62b
L
23392012-05-14 H.J. Lu <hongjiu.lu@intel.com>
2340
2341 [BZ #14104]
2342 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
2343 libc_freeres_ptr.
2344
d7bb4c42
LD
23452012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
2346
2347 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
2348 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
2349 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
2350 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
2351
9dc4e1fb
MF
23522012-05-14 Mike Frysinger <vapier@gentoo.org>
2353
2354 * NEWS: Update ia64 info.
2355
c7df0112
AS
23562012-05-12 Andreas Schwab <schwab@linux-m68k.org>
2357
2358 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
2359 used as bcopy.
2360
dc70356c
TS
23612012-05-12 Thomas Schwinge <thomas@codesourcery.com>
2362
2363 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
2364 * sysdeps/unix/syscalls.list (dup3): Likewise.
2365 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
2366 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
2367
9fb1a21f
L
23682012-05-11 H.J. Lu <hongjiu.lu@intel.com>
2369
2370 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
2371 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
2372
4822a2a5
L
23732012-05-11 H.J. Lu <hongjiu.lu@intel.com>
2374
2375 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
2376 thread pointer.
2377 (TLS_IE): Use mov/add instead of movq/addq to load thread
2378 pointer.
2379 (TLS_GD_PREFIX): New.
2380 (TLS_GD): Use it.
2381
842b81d6
DM
23822012-05-11 David S. Miller <davem@davemloft.net>
2383
2384 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
2385 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
2386 (_FPU_SETCW): Likewise.
2387
1cf463cd
L
23882012-05-10 H.J. Lu <hongjiu.lu@intel.com>
2389
2390 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
2391 is 32-byte aligned.
2392
60cc4a18
AS
23932012-05-11 Andreas Schwab <schwab@linux-m68k.org>
2394
2395 [BZ #11837]
2396 * iconvdata/gb18030.c: Update tables.
2397 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
2398 characters specially.
2399 (BODY for TO_LOOP): Add encoding of missing ranges.
2400
febb44a4
TS
24012012-05-11 Thomas Schwinge <thomas@codesourcery.com>
2402
2403 [BZ #13673]
2404 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
2405 * sysdeps/mach/hurd/dup3.c: Likewise.
2406 * sysdeps/mach/hurd/readlinkat.c: Likewise.
2407 * sysdeps/powerpc/memmove.c:: Likewise.
2408
0a10fb9e
L
24092012-05-10 H.J. Lu <hongjiu.lu@intel.com>
2410
2411 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
2412 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
2413
df8a552f
L
24142012-05-10 H.J. Lu <hongjiu.lu@intel.com>
2415
2416 * elf/elf.h (R_X86_64_RELATIVE64): New.
2417 (R_X86_64_NUM): Updated.
2418 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
2419 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
2420 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
2421 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
2422 tst-quad1pie tst-quad2pie
2423 (modules-names): Add tst-quadmod1 tst-quadmod2.
2424 ($(objpfx)tst-quad1): New dependency.
2425 ($(objpfx)tst-quad2): Likewise.
2426 ($(objpfx)tst-quad1pie): Likewise.
2427 ($(objpfx)tst-quad2pie): Likewise.
2428 * sysdeps/x86_64/tst-quad1.c: New file.
2429 * sysdeps/x86_64/tst-quad1pie.c: New file.
2430 * sysdeps/x86_64/tst-quad2.c: Likewise.
2431 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
2432 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
2433 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
2434 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
2435 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
2436
f34d6f84
ST
24372012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
2438
f42d41d1
ST
2439 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
2440 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
2441 * streams/stropts.h (t_scalar_t): Define type.
2442
3c3571fc
ST
2443 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
2444 (_PATH_PRESERVE): Set to "/var/lib".
2445 (_PATH_RWHODIR): Set to "/var/spool/rwho".
2446
61f06bd3
ST
2447 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
2448 instead of int.
2449
918d4d71
ST
2450 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
2451 if __dir_mkfile succeeded.
2452
f34d6f84
ST
2453 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
2454 checking for _hurd_dtablesize. Unlock it right after having
2455 finished _hurd_dtable allocation.
2456
10589b4a
TS
24572012-05-10 Thomas Schwinge <thomas@schwinge.name>
2458
674cdbc7
TS
2459 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
2460 * sysdeps/mach/hurd/configure: Regenerated.
2461 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
2462 special-casing to...
2463 * sysdeps/gnu/configure.in: ... this new file.
2464 * sysdeps/unix/sysv/linux/configure: Regenerated.
2465 * sysdeps/gnu/configure: New generated file.
2466
8e41b99f
TS
2467 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
2468 for Linux: use nsec instead of usec, as well as:
2469 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
2470 members of type struct timespec.
2471 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
2472 New macros.
2473 (struct stat64): Likewise.
2474 (_STATBUF_ST_NSEC): New macro.
2475 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
2476
10589b4a
TS
2477 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
2478 __strtoul_internal rather than strtoul.
2479
63643c85
PT
24802012-05-10 Pino Toscano <toscano.pino@tiscali.it>
2481
2482 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
2483 and reject them.
2484
3faebe6a
ST
24852012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
2486
2487 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
2488 which preserves existing values.
2489 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
2490
c6474b07
PT
24912012-05-10 Pino Toscano <toscano.pino@tiscali.it>
2492
2493 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
2494 TIMEOUT values. Return EINVAL for NFDS values either negative or
2495 greater than FD_SETSIZE.
2496
1043890b
ST
24972012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
2498
2499 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
2500 allocated, call __vm_protect to finish enabling the existing space, and
2501 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
2502 allocate the remainder.
2503
37ed8b9b
PT
25042012-05-10 Pino Toscano <toscano.pino@tiscali.it>
2505
2506 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
2507 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
2508
db653660
ST
25092012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
2510
37ed8b9b
PT
2511 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
2512 sysdeps/mach/hurd/readlink.c.
b29d4053 2513
db653660
ST
2514 * posix/tst-sysconf.c (posix_options): Only use
2515 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
2516 _POSIX_SYNCHRONIZED_IO when they are defined
2517 * sysdeps/mach/hurd/bits/posix_opt.h:
2518 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
2519 (_XOPEN_REALTIME): Undefine macro.
2520 (_XOPEN_REALTIME_THREADS): Undefine macro.
2521 (_XOPEN_SHM): Undefine macro.
2522 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
2523 macro to -1.
2524 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
2525 macro to -1.
2526 (_POSIX_ASYNC_IO): Undefine macro.
2527 (_POSIX_PRIORITIZED_IO): Undefine macro.
2528 (_POSIX_SPIN_LOCKS): Define macro to -1.
2529
ee16e894
ST
2530 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
2531 SA_NODEFER, SA_RESETHAND.
2532 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
2533 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
2534 F_DUPFD_CLOEXEC.
2535
6103ae3b
TS
25362012-05-10 Thomas Schwinge <thomas@schwinge.name>
2537
2538 * elf/Makefile (pldd-modules): Define unconditionally.
2539
80b4e5f3
TS
25402012-05-10 Thomas Schwinge <thomas@schwinge.name>
2541
2542 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
2543
edadcbd6
ST
25442012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
2545
2546 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
2547 Return ENOENT when name is empty.
2548 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
2549
80694780
TS
25502012-05-10 Thomas Schwinge <thomas@schwinge.name>
2551
1792c087
TS
2552 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
2553
80694780
TS
2554 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
2555
6b645f0d
ST
25562012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
2557
80694780
TS
2558 Fix mlock in all cases except non-readable pages.
2559 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
2560 instead of VM_PROT_ALL as parameter to __vm_wire function.
66cbbebc 2561
6b645f0d
ST
2562 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
2563 (__mkdir): When path is `/', just fail with EEXIST.
2564 * sysdeps/mach/hurd/mkdirat.c: Likewise.
2565
e468f8a3
TS
25662012-05-10 Thomas Schwinge <thomas@schwinge.name>
2567
2568 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
2569 <sys/uio.h> (for writev).
2570 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
2571 and <sys/param.h> (for MIN).
2572
a4186cff
PT
25732012-05-10 Pino Toscano <toscano.pino@tiscali.it>
2574
2575 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
2576 REQUESTED_TIME. Properly set the remaining time and return EINTR
2577 if interrupted.
2578
510bbf14
TS
25792012-05-10 Thomas Schwinge <thomas@schwinge.name>
2580
2581 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
2582 Depend on against $(link-rpcuserlibs).
2583
5d5722e8
ST
25842012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
2585
a4186cff
PT
2586 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
2587 (__libc_stack_end): Do not use attribute_relro.
2588 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
2589 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
5d5722e8 2590 to libthread-provided value.
a4186cff
PT
2591 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
2592 attribute_relro.
5d5722e8 2593
37233df9
TS
25942012-05-10 Thomas Schwinge <thomas@schwinge.name>
2595
be971a2b
TS
2596 [BZ #3748]
2597 * bits/libc-lock.h (__libc_once_get): New macro.
2598 * sysdeps/mach/bits/libc-lock.h: Likewise.
2599 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
2600 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
2601 instead of using implementation details.
2602
37233df9
TS
2603 * libio/fileops.c: Unconditionally include <kernel-features.h>.
2604 * libio/freopen.c: Likewise.
2605 * libio/freopen64.c: Likewise.
2606 * misc/syslog.c: Likewise.
2607 * nscd/connections.c: Likewise.
2608 * nscd/netgroupcache.c: Likewise.
2609 * sysdeps/posix/getcwd.c: Likewise.
2610
38de94a5
RM
26112012-05-10 Roland McGrath <roland@hack.frob.com>
2612
2613 * math/w_ilogbf.c: Add #include <limits.h>.
2614
67530489
ST
26152012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
2616
a4186cff 2617 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
bbc49098
ST
2618 path instead of returning without unlocking.
2619
67530489
ST
2620 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
2621 immediate-write ioctls.
2622 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
2623
5aa3a74a
TS
26242012-05-10 Thomas Schwinge <thomas@schwinge.name>
2625
18bad2ae
TS
2626 * sysdeps/mach/hurd/i386/init-first.c (init): Use
2627 __builtin_frame_address instead of making assumptions about the
2628 location of the return address relative to DATA. Force early load of
2629 the return address.
2630 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
2631 __builtin_frame_address.
2632
5aa3a74a
TS
2633 dup3 for GNU Hurd.
2634 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
2635 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
2636 implement dup3 and do some further code clean-ups.
2637 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
2638 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
2639
ecd0de9a
ST
26402012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
2641
cd9fa985
ST
2642 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
2643
a4186cff
PT
2644 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
2645 HURD_CRITICAL_END around holding _hurd_dtable_lock.
2646 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
2647 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
2648 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
2649 d->port.lock.
802ca5a5 2650
a4186cff
PT
2651 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
2652 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
2653 when handler == SIG_ERR, not when handler != SIG_ERR.
ecd0de9a 2654
bcf55240
TS
26552012-05-10 Thomas Schwinge <thomas@schwinge.name>
2656
6960eb42
TS
2657 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
2658 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
2659 definitions.
2660
eb43375f
TS
2661 accept4 for GNU Hurd.
2662 * include/sys/socket.h (__libc_accept4): New prototype.
2663 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
2664 to implement __libc_accept4.
2665 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
2666 __libc_accept4.
2667 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
2668
bcf55240
TS
2669 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
2670 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
2671 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
2672 signal-defines.sym.
2673
6178c55b
ST
26742012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
2675
a4186cff 2676 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
6178c55b 2677
6f080c2f
TS
26782012-05-10 Thomas Schwinge <thomas@schwinge.name>
2679
2680 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
2681 assertion on O_CLOEXEC flag.
2682 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
2683 * hurd/intern-fd.c: Likewise.
2684 * hurd/port2fd.c: Likewise.
2685
bcfe3a54
ST
26862012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
2687
2688 [BZ #3906]
2689 * bits/in.h (IPV6_PKTINFO): Define new macro.
2690 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
2691
89c9aa49
AZ
26922012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2693
2694 [BZ #13954]
2695 [BZ #13955]
2696 [BZ #13956]
2697 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
2698 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
2699 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
2700 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
2701 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
2702 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
2703 * math/libm-test.inc (logb_test) : Additional logb tests.
2704
021db4be
AJ
27052012-05-09 Andreas Schwab <schwab@linux-m68k.org>
2706 Andreas Jaeger <aj@suse.de>
2707
2708 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
2709 * configure: Regenerated.
2710 * config.h.in (LINK_OBSOLETE_RPC): New macro.
2711 * config.make.in (link-obsolete-rpc): New substituted variable.
2712 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
2713 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
2714 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
2715 (shared-only-routines): Don't set it under [link-obsolete-rpc],
2716 so that libc.a contains the symbols.
2717 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
2718 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
2719 * sunrpc/auth_none.c: Likewise.
2720 * sunrpc/auth_unix.c: Likewise.
2721 * sunrpc/authdes_prot.c: Likewise.
2722 * sunrpc/authuxprot.c: Likewise.
2723 * sunrpc/clnt_gen.c: Likewise.
2724 * sunrpc/clnt_perr.c: Likewise.
2725 * sunrpc/clnt_raw.c: Likewise.
2726 * sunrpc/clnt_simp.c: Likewise.
2727 * sunrpc/clnt_tcp.c: Likewise.
2728 * sunrpc/clnt_udp.c: Likewise.
2729 * sunrpc/clnt_unix.c: Likewise.
2730 * sunrpc/des_crypt.c: Likewise.
2731 * sunrpc/des_soft.c: Likewise.
2732 * sunrpc/get_myaddr.c: Likewise.
2733 * sunrpc/key_call.c: Likewise.
2734 * sunrpc/key_prot.c: Likewise.
2735 * sunrpc/netname.c: Likewise.
2736 * sunrpc/pm_getmaps.c: Likewise.
2737 * sunrpc/pm_getport.c: Likewise.
2738 * sunrpc/pmap_clnt.c: Likewise.
2739 * sunrpc/pmap_prot.c: Likewise.
2740 * sunrpc/pmap_prot2.c: Likewise.
2741 * sunrpc/pmap_rmt.c: Likewise.
2742 * sunrpc/publickey.c: Likewise.
2743 * sunrpc/rpc_cmsg.c: Likewise.
2744 * sunrpc/rpc_common.c: Likewise.
2745 * sunrpc/rpc_dtable.c: Likewise.
2746 * sunrpc/rpc_prot.c: Likewise.
2747 * sunrpc/rpc_thread.c: Likewise.
2748 * sunrpc/rtime.c: Likewise.
2749 * sunrpc/svc.c: Likewise.
2750 * sunrpc/svc_auth.c: Likewise.
2751 * sunrpc/svc_raw.c: Likewise.
2752 * sunrpc/svc_run.c: Likewise.
2753 * sunrpc/svc_tcp.c: Likewise.
2754 * sunrpc/svc_udp.c: Likewise.
2755 * sunrpc/svc_unix.c: Likewise.
2756 * sunrpc/svcauth_des.c: Likewise.
2757 * sunrpc/xcrypt.c: Likewise.
2758 * sunrpc/xdr.c: Likewise.
2759 * sunrpc/xdr_array.c: Likewise.
2760 * sunrpc/xdr_float.c: Likewise.
2761 * sunrpc/xdr_intXX_t.c: Likewise.
2762 * sunrpc/xdr_mem.c: Likewise.
2763 * sunrpc/xdr_rec.c: Likewise.
2764 * sunrpc/xdr_ref.c: Likewise.
2765 * sunrpc/xdr_sizeof.c: Likewise.
2766 * sunrpc/xdr_stdio.c: Likewise.
2767
b5c086a2
RM
27682012-05-10 Roland McGrath <roland@hack.frob.com>
2769
2770 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
2771 change. Update copyright years.
2772
6d74dd09
JM
27732012-05-10 Joseph Myers <joseph@codesourcery.com>
2774
2775 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
2776
28e72501
MK
27772012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
2778 Joseph Myers <joseph@codesourcery.com>
2779 Paul Pluzhnikov <ppluzhnikov@google.com>
2780
2781 [BZ #14012]
2782 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
2783 requiring rpcgen.
2784 [cross-compiling] (extra-libs): Likewise.
2785 [cross-compiling] (extra-libs-others): Likewise.
2786 [cross-compiling] (librpcsvc-routines): Likewise.
2787 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
2788 [cross-compiling] (omit-deps): Likewise.
2789 (sunrpc-CPPFLAGS): New variable.
2790 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
2791 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
2792 (cross-rpcgen-objs): New variable.
2793 (extra-objs): Append $(cross-rpcgen-objs).
2794 ($(cross-rpcgen-objs)): New rule.
2795 ($(objpfx)cross-rpcgen): Likewise.
2796 (rpcgen-cmd): Define to use $(built-program-file). Expand
2797 comment.
2798 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
2799 ($(objpfx)x%.stmp): Likewise.
2800 * sunrpc/proto.h [IS_IN_build] (_): Define.
2801 [IS_IN_build] (_libc_intl_domainname): Likewise.
2802
c8c59454
L
28032012-05-10 H.J. Lu <hongjiu.lu@intel.com>
2804
2805 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
2806 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
2807 and R_X86_64_TPOFF64.
2808
6f27cd16
JM
28092012-05-10 Joseph Myers <joseph@codesourcery.com>
2810
2811 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
2812 sysdeps/unix/sysv/syscalls.list.
2813 (stime): Likewise.
2814 (utime): Likewise.
2815 * sysdeps/unix/sysv/syscalls.list: Remove file.
2816
02467e1c
PE
28172012-05-10 Paul Eggert <eggert@cs.ucla.edu>
2818
2819 [BZ #3440]
2820 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
2821 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
2822 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
2823 (__LC_IDENTIFICATION): Make these macros useful in #if
2824 expressions, as required by C99.
2825
da392631
AS
28262012-05-10 Andreas Schwab <schwab@linux-m68k.org>
2827
2828 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
2829 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
2830 after this.
2831
8115f29b
L
28322012-05-09 H.J. Lu <hongjiu.lu@intel.com>
2833
2834 * stdlib/longlong.h: Updated from GCC.
2835
bdd74070
AJ
28362012-05-09 Andreas Jaeger <aj@suse.de>
2837
edfe0dbe
AJ
2838 * nscd/nscd.c (run_modes): Make named enum, reorder so that
2839 default is first entry.
2840 (run_mode): Set type.
2841 (main): Remove informal message about syslog.
2842 (options): Fix typo.
2843
bcfe3a54
ST
2844 [BZ #14053]
2845 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
bdd74070 2846 to asm.
bcfe3a54
ST
2847 (lrint): Likewise.
2848 (llrintf): Likewise.
2849 (llrint): Likewise.
2850 (rint): Likewise.
2851 (rintf): Likewise.
2852 (nearbyint): Likewise.
2853 (nearbyintf): Likewise.
bdd74070 2854
91d8d69e
AJ
28552012-05-09 Andreas Jaeger <aj@suse.de>
2856 Pedro Alves <palves@redhat.com>
2857
2858 * nscd/nscd.c (run_mode): Use enum.
2859 (main): Cleanup coding style issue.
2860
bb90b80b
AJ
28612012-05-09 Alexandre Oliva <aoliva@redhat.com>
2862 Andreas Jaeger <aj@suse.de>
2863
bcfe3a54
ST
2864 * nscd/nscd.c (go_background): Replaced with...
2865 (run_mode): ... this.
bb90b80b 2866 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
bcfe3a54
ST
2867 (options): Add -F --foreground.
2868 (main): Implement it.
2869 (parse_opt): Parse it.
bb90b80b 2870
1a4b75a1
AJ
28712012-05-09 Andreas Jaeger <aj@suse.de>
2872
2873 [BZ #14083]
2874 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
2875 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
2876 -Wconversion warning.
2877 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
2878 Likewise.
2879
b1cc2472
JM
28802012-05-09 Joseph Myers <joseph@codesourcery.com>
2881
2882 * conform/data/locale.h-data (NULL): Use macro-constant. Require
2883 == 0.
2884 (LC_ALL): Use macro-int-constant.
2885 (LC_COLLATE): Likewise.
2886 (LC_CTYPE): Likewise.
2887 (LC_MESSAGES): Likewise.
2888 (LC_MONETARY): Likewise.
2889 (LC_NUMERIC): Likewise.
2890 (LC_TIME): Likewise.
2891 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
2892 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
2893 [ISO || ISO99 || ISO11] (*_t): Do not allow.
2894 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
2895 Specify type.
2896 [C99-based standards] (float_t): Expect type.
2897 [C99-based standards] (double_t): Expect type.
2898 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
2899 type.
2900 [C99-based standards] (HUGE_VALL): Likewise.
2901 [C99-based standards] (INFINITY): Likewise.
2902 [C99-based standards] (NAN): Likewise.
2903 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
2904 [C99-based standards] (FP_NAN): Likewise.
2905 [C99-based standards] (FP_NORMAL): Likewise.
2906 [C99-based standards] (FP_SUBNORMAL): Likewise.
2907 [C99-based standards] (FP_ZERO): Likewise.
2908 [C99-based standards] (FP_FAST_FMA): Use
2909 optional-macro-int-constant. Specify type. Require == 1.
2910 [C99-based standards] (FP_FAST_FMAF): Likewise.
2911 [C99-based standards] (FP_FAST_FMAL): Likewise.
2912 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
2913 [C99-based standards] (FP_ILOGBNAN): Likewise.
2914 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
2915 Specify type.
2916 [C99-based standards] (MATH_ERREXCEPT): Likewise.
2917 [C99-based standards] (math_errhandling): Specify type.
2918 [ISO99 || ISO11] (signgam): Do not allow.
2919 [non-C99-based standards] (copysignf): Do not allow.
2920 [non-C99-based standards] (exp2f): Likewise.
2921 [non-C99-based standards] (log2f): Likewise.
2922 [non-C99-based standards] (modff): Allow.
2923 [non-C99-based standards] (erff): Do not allow.
2924 [non-C99-based standards] (erfcf): Likewise.
2925 [non-C99-based standards] (gammaf): Likewise.
2926 [non-C99-based standards] (hypotf): Likewise.
2927 [non-C99-based standards] (j0f): Likewise.
2928 [non-C99-based standards] (j1f): Likewise.
2929 [non-C99-based standards] (jnf): Likewise.
2930 [non-C99-based standards] (lgammaf): Likewise.
2931 [non-C99-based standards] (tgammaf): Likewise.
2932 [non-C99-based standards] (y0f): Likewise.
2933 [non-C99-based standards] (y1f): Likewise.
2934 [non-C99-based standards] (ynf): Likewise.
2935 [non-C99-based standards] (isnanf): Likewise.
2936 [non-C99-based standards] (acoshf): Likewise.
2937 [non-C99-based standards] (asinhf): Likewise.
2938 [non-C99-based standards] (atanhf): Likewise.
2939 [non-C99-based standards] (cbrtf): Likewise.
2940 [non-C99-based standards] (expm1f): Likewise.
2941 [non-C99-based standards] (ilogbf): Likewise.
2942 [non-C99-based standards] (log1pf): Likewise.
2943 [non-C99-based standards] (logbf): Likewise.
2944 [non-C99-based standards] (nextafterf): Likewise.
2945 [non-C99-based standards] (remainderf): Likewise.
2946 [non-C99-based standards] (rintf): Likewise.
2947 [non-C99-based standards] (scalbf): Likewise.
2948 [non-C99-based standards] (copysignl): Likewise.
2949 [non-C99-based standards] (exp2l): Likewise.
2950 [non-C99-based standards] (log2l): Likewise.
2951 [non-C99-based standards] (modfl): Allow.
2952 [non-C99-based standards] (erfl): Do not allow.
2953 [non-C99-based standards] (erfcl): Likewise.
2954 [non-C99-based standards] (gammal): Likewise.
2955 [non-C99-based standards] (hypotl): Likewise.
2956 [non-C99-based standards] (j0l): Likewise.
2957 [non-C99-based standards] (j1l): Likewise.
2958 [non-C99-based standards] (jnl): Likewise.
2959 [non-C99-based standards] (lgammal): Likewise.
2960 [non-C99-based standards] (tgammal): Likewise.
2961 [non-C99-based standards] (y0l): Likewise.
2962 [non-C99-based standards] (y1l): Likewise.
2963 [non-C99-based standards] (ynl): Likewise.
2964 [non-C99-based standards] (isnanl): Likewise.
2965 [non-C99-based standards] (acoshl): Likewise.
2966 [non-C99-based standards] (asinhl): Likewise.
2967 [non-C99-based standards] (atanhl): Likewise.
2968 [non-C99-based standards] (cbrtl): Likewise.
2969 [non-C99-based standards] (expm1l): Likewise.
2970 [non-C99-based standards] (ilogbl): Likewise.
2971 [non-C99-based standards] (log1pl): Likewise.
2972 [non-C99-based standards] (logbl): Likewise.
2973 [non-C99-based standards] (nextafterl): Likewise.
2974 [non-C99-based standards] (remainderl): Likewise.
2975 [non-C99-based standards] (rintl): Likewise.
2976 [non-C99-based standards] (scalbl): Likewise.
2977 [ISO || ISO99 || ISO11] (*_t): Do not allow.
2978 [non-C99-based standards] (FP_*): Do not allow.
2979 [C99-based standards] (FP_*): Change to
2980 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
2981 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
2982 allow.
2983 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
2984 (SIG_ERR): Likewise.
2985 [X/Open-based standards] (SIG_HOLD): Likewise.
2986 (SIG_IGN): Likewise.
2987 (SIGABRT): Use macro-int-constant. Specify type. Require
2988 positive value.
2989 (SIGFPE): Likewise.
2990 (SIGILL): Likewise.
2991 (SIGINT): Likewise.
2992 (SIGSEGV): Likewise.
2993 (SIGTER): Likewise.
2994 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
2995 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
2996 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
2997 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
2998 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
2999 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
3000 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
3001 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
3002 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
3003 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
3004 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
3005 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
3006 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
3007 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
3008 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
3009 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
3010 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
3011 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
3012 [X/Open-based standards] (SIGTRAP): Likewise.
3013 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
3014 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
3015 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
3016 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
3017 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
3018 allow.
3019
b9f1922d
IW
30202012-05-08 Ian Wienand <ianw@vmware.com>
3021
3022 [BZ #14080]
3023 * time/tzset.c (__tzset_parse_tz): Update default rules for
3024 daylight time changes in the Energy Policy Act of 2005.
3025
1db86e88
AJ
30262012-05-09 Andreas Jaeger <aj@suse.de>
3027
3028 [BZ #13983]
3029 * elf/ldconfig.c (parse_conf): Change string to make clear that
3030 ldconfig only issued a warning if ld.so.conf does not exist.
3031
dee4a4e3
DM
30322012-05-08 David S. Miller <davem@davemloft.net>
3033
ee0db190
DM
3034 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
3035 movxtod instead of popping the value on the stack.
3036
dee4a4e3
DM
3037 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3038
6a43ec98
CD
30392012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
3040
3041 * config.h.in: Add HAVE_ARM_PCS_VFP.
3042
05c2c961
RMG
30432012-05-08 Roland Mc Grath <roland@hack.frob.com>
3044
bcfe3a54
ST
3045 [BZ #13979]
3046 * include/features.h: Warn if user requests __FORTIFY_SOURCE
3047 checking but the checks are disabled for any reason.
05c2c961 3048
4b30f61a
L
30492012-05-08 H.J. Lu <hongjiu.lu@intel.com>
3050
3051 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
3052 and ELF64_R_TYPE with ELFW(R_TYPE).
3053
eee2bc67
JM
30542012-05-08 Joseph Myers <joseph@codesourcery.com>
3055
7ea5391a
JM
3056 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
3057 (ulimit): Likewise.
3058
eee2bc67
JM
3059 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
3060 (settimeofday): Likewise.
3061
abb66a67
MF
30622012-05-08 Mike Frysinger <vapier@gentoo.org>
3063
3064 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
3065 a struct th_u2 inside the union, and move tu_block/tu_code into
3066 a new th_u3 union of tu_block/tu_code inside of that. Move
3067 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
3068 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
3069 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
3070 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
3071 (th_stuff): Change to th_u1.tu_stuff.
3072 (th_data): Define.
3073 (th_msg): Change to th_u1.th_u2.tu_data.
3074
7f18b530
DM
30752012-05-07 David S. Miller <davem@davemloft.net>
3076
05760585
DM
3077 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3078
7f18b530
DM
3079 [BZ #14074]
3080 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
3081 (SETUP_PIC_REG): Use it.
3082 (SETUP_PIC_REG_LEAF): Use it.
3083
495fd99f
JM
30842012-05-07 Joseph Myers <joseph@codesourcery.com>
3085
3086 [BZ #13885]
3087 [BZ #13923]
3088 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
3089 USE_AS_EXPM1L.
3090 (EXPL_FINITE): Likewise.
3091 (FLDLOG): Likewise.
3092 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
3093 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
3094 e_expl.S.
3095 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
3096 USE_AS_EXPM1L.
3097 (EXPL_FINITE): Likewise.
3098 (FLDLOG): Likewise.
3099 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
3100 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
3101 e_expl.S.
3102 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
3103 test of -max_value argument for long double.
3104 * sysdeps/i386/fpu/libm-test-ulps: Update.
3105 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3106
6693d694
DM
31072012-05-06 David S. Miller <davem@davemloft.net>
3108
3109 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
3110 quad soft-float symbols whose references which are compiler
3111 generated.
3112 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
3113
6c23e11c
JM
31142012-05-06 Joseph Myers <joseph@codesourcery.com>
3115
d8b82cad
JM
3116 [BZ #13884]
3117 [BZ #13914]
3118 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
3119 USE_AS_EXP10L.
3120 (EXPL_FINITE): Likewise.
3121 (FLDLOG): Likewise.
3122 (c0): Likewise.
3123 (c1): Likewise.
3124 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
3125 Adjust comments for base varying.
3126 (__expl_finite): Change alias to EXPL_FINITE.
3127 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
3128 e_expl.S.
3129 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
3130 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
3131 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
3132 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
3133 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
3134 USE_AS_EXP10L.
3135 (EXPL_FINITE): Likewise.
3136 (FLDLOG): Likewise.
3137 (c0): Likewise.
3138 (c1): Likewise.
3139 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
3140 Adjust comments for base varying.
3141 (__expl_finite): Change alias to EXPL_FINITE.
3142 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
3143 tests for bugs.
3144 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3145
6c23e11c
JM
3146 [BZ #14064]
3147 * math/libm-test.inc (check_float_internal): Correct ulp
3148 calculation for subnormal expected results.
3149
29ba805c
AJ
31502012-05-06 Andreas Jaeger <aj@suse.de>
3151
3152 * Makeconfig (+math-flags): New, set to -frounding-math.
3153 (+cflags): Add +math-flags so that all of glibc gets compiled with
3154 it.
3155
3156 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
3157
7b17aeda
JM
31582012-05-05 Joseph Myers <joseph@codesourcery.com>
3159
5779f134
JM
3160 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
3161 Disable one test.
3162
41498f4d
JM
3163 [BZ #13787]
3164 [BZ #13922]
3165 [BZ #14036]
3166 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
3167 (__ieee754_expl): Allow for and saturate large arguments.
3168 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
3169 (u_threshold): Likewise.
3170 (__exp): Call __ieee754_exp before checking for overflow and
3171 underflow.
3172 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
3173 (u_threshold): Likewise.
3174 (__expf): Call __ieee754_expf before checking for overflow and
3175 underflow.
3176 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
3177 (u_threshold): Likewise.
3178 (__expl): Call __ieee754_expl before checking for overflow and
3179 underflow.
3180 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
3181 (__ieee754_expl): Allow for and saturate large arguments.
3182 * math/libm-test.inc (exp_test): Add another test. Do not allow
3183 missing overflow exception on overflow.
3184 (expm1_test): Do not allow missing overflow exception on overflow.
3185
6698b8bf
JM
3186 * sysdeps/i386/fpu/e_expl.c: Move to ...
3187 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
3188 rather than using inline asm.
3189 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
3190 * sysdeps/x86_64/fpu/e_expl.S: Copy from
3191 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
3192
7b17aeda
JM
3193 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
3194 (nice): Likewise.
3195 (poll): Likewise.
3196 (signal): Likewise.
3197 (time): Likewise.
3198 (times): Likewise.
3199
f7c85819
JM
32002012-05-04 Joseph Myers <joseph@codesourcery.com>
3201
3202 * sysdeps/unix/syscalls.list (adjtime): Add entry from
3203 sysdeps/unix/common/syscalls.list.
3204 (fchmod): Likewise.
3205 (fchown): Likewise.
3206 (ftruncate): Likewise.
3207 (getrusage): Likewise.
3208 (gettimeofday): Likewise.
3209 (setpgid): Likewise.
3210 (setregid): Likewise.
3211 (setreuid): Likewise.
3212 (sigaction): Likewise.
3213 (truncate): Likewise.
3214 (vhangup): Likewise.
3215 * sysdeps/unix/common/syscalls.list: Remove file.
3216 * sysdeps/unix/bsd/Implies: Don't include unix/common.
3217 * sysdeps/unix/sysv/linux/Implies: Likewise.
3218
336270d0
L
32192012-05-04 H.J. Lu <hongjiu.lu@intel.com>
3220
3221 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
3222 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
3223 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
3224 Moved to ...
3225 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
3226 Here.
3227 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
3228 to ...
3229 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
3230 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
3231 to ...
3232 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
3233 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
3234 to ...
3235 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
3236 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
3237 to ...
3238 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
3239 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
3240 to ...
3241 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
3242 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
3243 to ...
3244 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
3245 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
3246 to ...
3247 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
3248 Here.
3249 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
3250 to ...
3251 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
3252 Here.
3253 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
3254 to ...
3255 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
3256 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
3257 Moved to ...
3258 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
3259 Here.
3260 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
3261 to ...
3262 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
3263
d128e450
JM
32642012-05-04 Joseph Myers <joseph@codesourcery.com>
3265
fa8ee516
JM
3266 * sysdeps/unix/common/bits/dirent.h: Remove file.
3267 * sysdeps/unix/common/bits/fcntl.h: Likewise.
3268
d128e450
JM
3269 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
3270 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
3271 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
3272 * sysdeps/unix/bsd/isatty.c: Likewise.
3273 * sysdeps/unix/bsd/tcdrain.c: Likewise.
3274 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
3275 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
3276
ff8faaf0 32772012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31dc8730 3278
62881be4 3279 [BZ #13563]
31dc8730
AZ
3280 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
3281 long double comparison inaccuracies.
3282 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
3283 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3284
6fef930c
AS
32852012-05-04 Andreas Schwab <schwab@linux-m68k.org>
3286
3287 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
3288 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
3289
8f203e6c
JM
32902012-05-04 Joseph Myers <joseph@codesourcery.com>
3291
3292 [BZ #14049]
3293 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
3294 nonzero digits before rounding a hex value.
3295 * stdlib/tst-strtod.c (tests): Add another test.
3296
5197d9c2
AK
32972012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3298
3299 * sysdeps/s390/fpu/libm-test-ulps: Update.
3300
f0c1dedf
AJ
33012012-05-03 Andreas Jaeger <aj@suse.de>
3302
3303 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
3304 does not get optimized out.
3305 (malloc_opt_barrier): New.
3306
a65ef2ae 33072012-05-03 Andreas Jaeger <aj@suse.de>
461b8e5a 3308 Roland McGrath <roland@hack.frob.com>
a65ef2ae 3309
2b942cb7 3310 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
a65ef2ae 3311 intermediate file deletion.
2b942cb7 3312 (generated): Add .symlist files.
a65ef2ae 3313
54b71e02
JM
33142012-05-03 Joseph Myers <joseph@codesourcery.com>
3315
3316 [BZ #13775]
3317 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
3318 Redirect under this condition.
3319 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
3320 [__USE_GNU] (__dprintf_chk): Not under this condition.
3321 [__USE_GNU] (__vdprintf_chk): Likewise.
3322 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
3323 under this condition.
3324 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
3325 [__USE_XOPEN2K8] (dprintf): Define under this condition.
3326 [__USE_XOPEN2K8] (vdprintf): Likewise.
3327 [__USE_GNU] (__dprintf_chk): Not under this condition.
3328 [__USE_GNU] (__vdprintf_chk): Likewise.
3329 [__USE_GNU] (dprintf): Likewise.
3330 [__USE_GNU] (vdprintf): Likewise.
3331
d3dfcc41
RM
33322012-05-03 Roland McGrath <roland@hack.frob.com>
3333
3334 * elf/Makefile (common-generated): Set this instead of generated for
3335 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
3336 $(all-built-dso)-derived lists.
3337
7ac30cc5
AJ
33382012-05-03 Andreas Jaeger <aj@suse.de>
3339
0c51e550
AJ
3340 * sysdeps/i386/fpu/libm-test-ulps: Update.
3341
7ac30cc5
AJ
3342 * FAQ: Removed.
3343 * FAQ.in: Likewise.
3344 * scripts/gen-FAQ.pl: Likewise.
3345 * manual/install.texi (Installation): Point to online location of
3346 FAQ.
3347 * Makefile (files-for-dist): Remove FAQ.
3348 (FAQ): Remove.
3349
d4c2917f
AM
33502012-05-02 Allan McRae <allan@archlinux.org>
3351
3352 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
3353 (LDFLAGS-reldepmod5.so): Likewise.
3354 (LDFLAGS-reldep6mod1.so): Likewise.
3355 (LDFLAGS-reldep6mod4.so): Likewise.
3356 (LDFLAGS-reldep8mod3.so): Likewise.
3357 (LDFLAGS-unload4mod1.so): Likewise.
3358 (LDFLAGS-unload4mod2.so): Likewise.
3359 (LDFLAGS-tst-initorder): Likewise.
3360 (LDFLAGS-tst-initordera2.so): Likewise.
3361 (LDFLAGS-tst-initordera3.so): Likewise.
3362 (LDFLAGS-tst-initordera4.so): Likewise.
3363 (LDFLAGS-tst-initorderb2.so): Likewise.
3364 (LDFLAGS-noload): Likewise.
3365 (LDFLAGS-next): Likewise.
3366 (LDFLAGS-order2mod1.so): Likewise.
3367 (LDFLAGS-order2mod2.so): Likewise.
3368 (LDFLAGS-tst-initorder2): Likewise.
3369 (LDFLAGS-tst-initorder2a.so): Likewise.
3370 (LDFLAGS-tst-initorder2b.so): Likewise.
3371 (LDFLAGS-tst-initorder2c.so): Likewise.
3372 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
3373
d77f993f
DM
33742012-05-02 David S. Miller <davem@davemloft.net>
3375
3376 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3377
171a70b4
PP
33782012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
3379
3380 [BZ #14055]
3381 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
3382
0be196ad
AJ
33832012-05-02 Andreas Jaeger <aj@suse.de>
3384
3385 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
3386 since we manipulate rounding mode.
3387 (CPPFLAGS-test-idouble.c): Likewise.
3388 (CPPFLAGS-test-ifloat.c): Likewise.
3389 (CFLAGS-test-ldouble.c): Likewise.
3390 (CFLAGS-test-double.c): Likewise.
3391 (CFLAGS-test-float.c): Likewise.
3392 (CFLAGS-test-misc.c): Likewise.
3393 (CFLAGS-test-test-fenv.c): Likewise.
3394
4f9d04aa
AZ
33952012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3396
2b942cb7
RM
3397 [BZ #2550]
3398 [BZ #2570]
3399 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
3400 comparisons to determine direction to adjust input.
4f9d04aa 3401
82a79e7d
RM
34022012-05-01 Roland McGrath <roland@hack.frob.com>
3403
f5a01ca9
RM
3404 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
3405 output to the target.
3406
90fe4186
RM
3407 * scripts/localplt.awk: New file.
3408 * elf/Makefile ($(objpfx)check-localplt): Target removed.
3409 (check-localplt-CFLAGS): Variable removed.
3410 ($(all-built-dso:=.jmprel)): New static pattern rule.
3411 (generated): Add those targets.
3412 (localplt-built-dso): New variable.
3413 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
3414
3415 * elf/check-localplt.c: File removed.
3416
82397ed6
RM
3417 * scripts/check-execstack.awk: New file.
3418 * elf/Makefile ($(objpfx)check-execstack): Target removed.
3419 (check-execstack-CFLAGS): Variable removed.
3420 ($(objpfx)check-execstack.h): Target removed.
3421 ($(objpfx)execstack-default): New target.
3422 (generated): Add that instead of check-execstack.h.
3423 ($(all-built-dso:=.phdr)): New static pattern rule.
3424 (generated): Add those targets.
3425 * elf/check-execstack.c: File removed.
3426
82a79e7d
RM
3427 * scripts/check-textrel.awk: New file.
3428 * elf/Makefile ($(objpfx)check-textrel): Target removed.
3429 (check-textrel-CFLAGS): Variable removed.
3430 (all-built-dso): Use := to define.o
3431 ($(all-built-dso:=.dyn)): New static pattern rule.
3432 (generated): Add those targets.
3433 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
3434 * config.make.in (READELF): New substituted variable.
3435 * elf/check-textrel.c: File removed.
3436
62fde54f 34372012-05-01 Joseph Myers <joseph@codesourcery.com>
ee74b9cb 3438
615605c9
JM
3439 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
3440 allow.
3441 * conform/data/ctype.h-data [C99-based standards] (isblank):
3442 Expect function.
3443 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
3444 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
3445 [ISO || ISO99 || ISO11] (*_t): Do not allow.
3446 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
3447 Specify type. Require positive value.
3448 (EILSEQ): Likewise.
3449 (ERANGE): Likewise.
3450 [ISO || POSIX] (EILSEQ): Do not expect.
3451 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
3452 Specify type. Require positive value.
3453 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
3454 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
3455 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
3456 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
3457 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
3458 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
3459 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
3460 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
3461 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
3462 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
3463 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
3464 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
3465 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
3466 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
3467 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
3468 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
3469 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
3470 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
3471 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
3472 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
3473 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
3474 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
3475 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
3476 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
3477 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
3478 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
3479 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
3480 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
3481 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
3482 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
3483 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
3484 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
3485 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
3486 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
3487 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
3488 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
3489 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
3490 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
3491 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
3492 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
3493 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
3494 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
3495 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
3496 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
3497 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
3498 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
3499 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
3500 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
3501 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
3502 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
3503 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
3504 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
3505 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
3506 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
3507 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
3508 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
3509 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
3510 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
3511 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
3512 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
3513 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
3514 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
3515 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
3516 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
3517 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
3518 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
3519 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
3520 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
3521 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
3522 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
3523 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
3524 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
3525 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
3526 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
3527 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
3528 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
3529 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
3530 Require >= 2.
3531 (FLT_ROUNDS): Expect as macro, not constant.
3532 (FLT_MANT_DIG): Use macro-int-constant.
3533 (DBL_MANT_DIG): Likewise.
3534 (LDBL_MANT_DIG): Likewise.
3535 (FLT_DIG): Likewise.
3536 (DBL_DIG): Likewise.
3537 (LDBL_DIG): Likewise.
3538 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
3539 (DBL_MIN_EXP): Likewise.
3540 (LDBL_MIN_EXP): Likewise.
3541 (FLT_MAX_EXP): Use macro-int-constant.
3542 (DBL_MAX_EXP): Likewise.
3543 (LDBL_MAX_EXP): Likewise.
3544 (FLT_MAX_10_EXP): Likewise.
3545 (DBL_MAX_10_EXP): Likewise.
3546 (LDBL_MAX_10_EXP): Likewise.
3547 (FLT_MAX): Use macro-constant.
3548 (DBL_MAX): Likewise.
3549 (LDBL_MAX): Likewise.
3550 (FLT_EPSILON): Use macro-constant. Give upper bound.
3551 (DBL_EPSILON): Likewise.
3552 (LDBL_EPSILON): Likewise.
3553 (FLT_MIN): Likewise.
3554 (DBL_MIN): Likewise.
3555 (LDBL_MIN): Likewise.
3556 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
3557 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
3558 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
3559 [ISO11] (FLT_HAS_SUBNORM): Likewise.
3560 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
3561 [ISO11] (DBL_DECIMAL_DIG): Likewise.
3562 [ISO11] (FLT_DECIMAL_DIG): Likewise.
3563 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
3564 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
3565 [ISO11] (FLT_TRUE_MIN): Likewise.
3566 [ISO11] (LDBL_TRUE_MIN): Likewise.
3567 [ISO || ISO99 || ISO11] (*_t): Do not allow.
3568 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
3569 (SCHAR_MIN): Use macro-int-constant. Specify type.
3570 (SCHAR_MAX): Likewise.
3571 (UCHAR_MAX): Likewise.
3572 (CHAR_MIN): Likewise.
3573 (CHAR_MAX): Likewise.
3574 (MB_LEN_MAX): Use macro-int-constant.
3575 (SHRT_MIN): Use macro-int-constant. Specify type.
3576 (SHRT_MAX): Likewise.
3577 (USHRT_MAX): Likewise.
3578 (INT_MAX): Likewise.
3579 (INT_MIN): Use macro-int-constant. Specify type. Make upper
3580 bound negative.
3581 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
3582 bound with "U".
3583 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
3584 bound with "L".
3585 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
3586 bound negative. Suffix upper bound with "L".
3587 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
3588 bound with "UL".
3589 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
3590 Specify type.
3591 [C99-based standards] (LLONG_MAX): Likewise.
3592 [C99-based standards] (ULLONG_MAX): Likewise.
3593 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
3594 == 0.
3595 [ISO11] (max_align_t): Require type.
3596 [ISO || ISO99 || ISO11] (*_t): Do not allow.
3597
c9140a62
JM
3598 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
3599 from $CFLAGS, without defining away __attribute__ calls.
3600 (checknamespace): Use $CFLAGS_namespace.
3601
9af0bf29
JM
3602 * conform/conformtest.pl (@keywords): Only include C99 keywords
3603 for standards based on C99 or C11.
3604
343222a2
JM
3605 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
3606 Disable tests.
3607 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
3608 UNIX98]: Likewise.
3609
661f8cf0
JM
3610 * conform/conformtest.pl: Handle "macro-int-constant" and test for
3611 usability of symbols in #if.
3612
ee74b9cb
JM
3613 * conform/conformtest.pl: If macro or constant types start
3614 "promoted:", expect the symbol to be of the following type
3615 promoted by the integer promotions.
62fde54f 3616
aafc49b3
JM
3617 * conform/conformtest.pl: Parse all "constant" and "macro" lines
3618 in one place. Also handle "macro-constant".
3619
fefdf574
JM
3620 * conform/conformtest.pl: Only accept expected macro values with
3621 "==". Parse all "macro" lines in one place.
3622 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
3623
f2d922fe
JM
3624 * conform/conformtest.pl: Handle braced types on "constant" lines
3625 instead of handling "typed-constant".
3626 * conform/data/signal.h-data: Use "constant" instead of
3627 "typed-constant".
3628
d22956c9
JM
3629 * conform/conformtest.pl: Handle "optional-" at start of lines in
3630 one place rather than duplicating several cases. Handle each
3631 format of "macro" line with initial "optional-".
3632
028e2e38
JM
3633 * conform/conformtest.pl: Only accept expected constant or
3634 optional-constant values with "==". Parse all "constant" lines in
3635 one place. Parse all "optional-constant" lines in one place.
3636 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
3637 * conform/data/fmtmsg.h-data: Likewise.
3638 * conform/data/netinet/in.h-data: Likewise.
3639 * conform/data/tar.h-data: Likewise.
3640 * conform/data/limits.h-data: Use "==" form on "constant" and
3641 "optional-constant" lines.
3642
1b8f2850
JM
3643 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
3644 Use -std=c99 for XOPEN2K.
3645 (@knownproblems): Remove.
3646 (newtoken): Don't check %isknown.
3647
a05a144b
JM
3648 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
3649 Do not expect macro.
3650 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
3651 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
3652 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
3653 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
3654 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
3655 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
3656 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
3657 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
3658 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
3659 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
3660 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
3661 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
3662 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
3663 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
3664 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
3665 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
3666 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
3667 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
3668 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
3669 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
3670 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
3671 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
3672 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
3673 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
3674 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
3675 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
3676 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
3677 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
3678 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
3679 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
3680 [XPG3] (acosh): Likewise.
3681 [XPG3] (asinh): Likewise.
3682 [XPG3] (atanh): Likewise.
3683 [XPG3] (cbrt): Likewise.
3684 [XPG3] (expm1): Likewise.
3685 [XPG3] (ilogb): Likewise.
3686 [XPG3] (log1p): Likewise.
3687 [XPG3] (logb): Likewise.
3688 [XPG3] (nextafter): Likewise.
3689 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
3690 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
3691 [XPG3] (remainder): Likewise.
3692 [XPG3] (rint): Likewise.
3693 [XPG3 || XPG4 || UNIX98] (round): Likewise.
3694 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
3695 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
3696 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
3697 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
3698 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
3699 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
3700 [UNIX98 || XOPEN2K] (scalb): Expect.
3701 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
3702 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
3703 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
3704 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
3705 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
3706 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
3707 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
3708 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
3709 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
3710 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
3711 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
3712 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
3713 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
3714 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
3715 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
3716 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
3717 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
3718 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
3719 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
3720 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
3721 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
3722 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
3723 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
3724 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
3725 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
3726 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
3727 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
3728 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
3729 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
3730 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
3731 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
3732 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
3733 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
3734 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
3735 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
3736 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
3737 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
3738 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
3739 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
3740 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
3741 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
3742 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
3743 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
3744 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
3745 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
3746 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
3747 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
3748 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
3749 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
3750 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
3751 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
3752 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
3753 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
3754 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
3755 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
3756 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
3757 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
3758 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
3759 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
3760 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
3761 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
3762 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
3763 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
3764 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
3765 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
3766 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
3767 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
3768 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
3769 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
3770 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
3771 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
3772 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
3773 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
3774 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
3775 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
3776 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
3777 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
3778 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
3779 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
3780 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
3781 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
3782 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
3783 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
3784 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
3785 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
3786 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
3787 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
3788 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
3789 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
3790 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
3791 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
3792 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
3793 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
3794 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
3795 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
3796 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
3797 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
3798 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
3799 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
3800 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
3801 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
3802 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
3803 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
3804 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
3805 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
3806 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
3807 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
3808 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
3809 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
3810 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
3811 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
3812 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
3813 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
3814 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
3815 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
3816 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
3817 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
3818 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
3819 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
3820 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
3821 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
3822 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
3823 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
3824 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
3825 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
3826 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
3827 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
3828 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
3829 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
3830 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
3831 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
3832 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
3833 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
3834 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
3835 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
3836 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
3837 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
3838
73c5ebe3
JM
3839 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
3840 _XOPEN_SOURCE_EXTENDED for XPG4.
3841
39c33b6c
JM
3842 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
3843
62fde54f
JM
3844 * Makeconfig (localtime): Remove variable.
3845 (inst_localtime-file): Likewise.
3846
0741d64c
AS
38472012-05-01 Andreas Schwab <schwab@linux-m68k.org>
3848
3849 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
3850 Update.
3851 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
3852 Update.
3853 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
3854 Update.
3855 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
3856 Update.
3857 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
3858 Update.
3859 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
3860 Update.
3861 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
3862 Update.
3863 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
3864 Update.
3865 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
3866 Update.
3867
7cb029ee
JM
38682012-05-01 Joseph Myers <joseph@codesourcery.com>
3869
3870 [BZ #2550]
3871 [BZ #2570]
3872 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
3873 comparisons to determine direction to adjust input.
3874 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
3875 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
3876 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
3877 Likewise.
3878 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
3879 Likewise.
3880 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
3881 Likewise.
3882 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
3883 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
3884 Likewise.
3885 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
3886 Likewise.
3887 * math/libm-test.inc (nexttoward_test): Add more tests.
3888
412bd966
AS
38892012-05-01 Andreas Schwab <schwab@linux-m68k.org>
3890
3891 [BZ #14040]
3892 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
3893 in version GLIBC_2.1, not GLIBC_2.0.
3894 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
3895 Likewise.
3896
9568c0c2
JM
38972012-04-30 Joseph Myers <joseph@codesourcery.com>
3898
adfbc8ac
JM
3899 [BZ #13942]
3900 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
3901 (1 - x) * (1 + x).
3902 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
3903 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
3904 * math/libm-test.inc (acos_test): Add more tests.
3905 (asin_test): Likewise.
3906 * sysdeps/i386/fpu/libm-test-ulps: Update.
3907 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3908
5ba3cc69
JM
3909 [BZ #14034]
3910 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
3911 of square root.
3912 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
3913 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
3914 * math/libm-test.inc (acos_test_tonearest): New function.
3915 (acos_test_towardzero): Likewise.
3916 (acos_test_downward): Likewise.
3917 (acos_test_upward): Likewise.
3918 (asin_test_tonearest): Likewise.
3919 (asin_test_towardzero): Likewise.
3920 (asin_test_downward): Likewise.
3921 (asin_test_upward): Likewise.
3922 (main): Call the new functions.
3923 * sysdeps/i386/fpu/libm-test-ulps: Update.
3924 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3925
9568c0c2
JM
3926 [BZ #13884]
3927 [BZ #13924]
3928 * math/e_exp10.c: Include <float.h>.
3929 (__ieee754_exp10): Handle underflow here rather than multiplying
3930 large negative argument by M_LN10.
3931 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
3932 of __ieee754_expf.
3933 * math/e_exp10l.c: Include <float.h>.
3934 (__ieee754_exp10l): Handle underflow here rather than multiplying
3935 large negative argument by M_LN10l.
3936 * math/libm-test.inc (exp10_test): Add another test. Do not allow
3937 spurious overflow exception on underflow.
3938
5ac3ea17
MP
39392012-04-29 Marek Polacek <polacek@redhat.com>
3940
3941 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
3942 (__fortify_function): New macro.
3943 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
3944 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
3945 __extern_always_inline.
3946 * libio/bits/stdio2.h: Likewise.
3947 * libio/bits/stdio.h: Likewise.
3948 * string/string.h: Likewise.
3949 * string/bits/string3.h: Likewise.
3950 * include/stdio.h: Likewise.
3951 * stdlib/bits/stdlib.h: Likewise.
3952 * stdlib/stdlib.h: Likewise.
3953 * rt/bits/mqueue2.h: Likewise.
3954 * rt/mqueue.h: Likewise.
3955 * posix/bits/unistd.h: Likewise.
3956 * posix/unistd.h: Likewise.
3957 * io/bits/poll2.h: Likewise.
3958 * io/bits/fcntl2.h: Likewise.
3959 * io/fcntl.h: Likewise.
3960 * io/sys/poll.h: Likewise.
3961 * misc/bits/syslog.h: Likewise.
3962 * misc/bits/syslog-ldbl.h: Likewise.
3963 * misc/sys/syslog.h: Likewise.
3964 * socket/bits/socket2.h: Likewise.
3965 * socket/sys/socket.h: Likewise.
3966 * debug/tst-chk1.c: Likewise.
3967 * wcsmbs/bits/wchar2.h: Likewise.
3968 * wcsmbs/bits/wchar-ldbl.h: Likewise.
3969 * wcsmbs/wchar.h: Likewise.
3970
ecf0ebfb
AJ
39712012-04-29 Andreas Jaeger <aj@suse.de>
3972
3973 * Makerules (tests): Remove enable-check-abi protection.
3974 (check-abi-warn): Remove.
3975 (check-abi-%): Remove check-abi-warn usage.
3976
3977 * configure.in: Remove check-abi configure option.
3978 * configure: Regenerated.
3979 * config.make.in (enable-check-abi): Remove.
3980
6d5c57fa
AS
39812012-04-28 Andreas Schwab <schwab@linux-m68k.org>
3982
24c5d07e 3983 [BZ #14033]
ded5180a
AS
3984 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
3985 double functions to double *_finite functions.
3986
7e0d315d
AS
3987 [BZ #13941]
3988 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
3989 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
3990 LDBL_MIN_EXP.
3991 * stdio-common/Makefile (tests): Add tst-sprintf3.
3992 * stdio-common/tst-sprintf3.c: New file.
3993
6d5c57fa
AS
3994 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
3995 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
3996
0749ff8b
JM
39972012-04-28 Joseph Myers <joseph@codesourcery.com>
3998
3999 * conform/conformtest.pl: Remove duplicate typed-constant
4000 handling.
4001
8dbd5d7b
DM
40022012-04-28 David S. Miller <davem@davemloft.net>
4003
4004 * Makerules (%.abilist): Add vpath on sysdep_dirs.
4005 (check-abi-%): Remove AWK script prerequisite and explicit
4006 abilist directory.
4007 (check-abi): Rewrite to just diff the symlist with the abilist.
4008 (config-tls, config-abi-config): Delete, no longer used.
4009 (update-abi-%): Remove AWK script and explicit abilist directory.
4010 (update-abi): Rewrite to simply compare and conditionally copy the
4011 symlist and the sysdep abilist file. Remove update-abi-config
4012 checks.
4013 * abilist/ld.abilist: Remove.
4014 * abilist/libBrokenLocale.abilist: Remove.
4015 * abilist/libanl.abilist: Remove.
4016 * abilist/libcrypt.abilist: Remove.
4017 * abilist/libdl.abilist: Remove.
4018 * abilist/librt.abilist: Remove.
4019 * abilist/libthread_db.abilist: Remove.
4020 * abilist/libutil.abilist: Remove.
4021 * scripts/extract-abilist.awk: Remove.
4022 * scripts/merge-abilist.awk: Remove.
4023 * sysdeps/generic/libcidn.abilist: New file.
4024 * sysdeps/generic/libnss_compat.abilist: New file.
4025 * sysdeps/generic/libnss_db.abilist: New file.
4026 * sysdeps/generic/libnss_dns.abilist: New file.
4027 * sysdeps/generic/libnss_files.abilist: New file.
4028 * sysdeps/generic/libnss_hesiod.abilist: New file.
4029 * sysdeps/generic/libnss_nis.abilist: New file.
4030 * sysdeps/generic/libnss_nisplus.abilist: New file.
4031 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
4032 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
4033 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
4034 file.
4035 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
4036 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
4037 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
4038 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
4039 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
4040 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
4041 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
4042 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
4043 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
4044 file.
4045 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
4046 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
4047 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
4048 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
4049 file.
4050 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
4051 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
4052 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
4053 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
4054 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
4055 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
4056 file.
4057 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
4058 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
4059 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
4060 file.
4061 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
4062 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
4063 New file.
4064 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
4065 New file.
4066 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
4067 New file.
4068 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
4069 New file.
4070 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
4071 New file.
4072 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
4073 New file.
4074 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
4075 New file.
4076 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
4077 New file.
4078 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
4079 New file.
4080 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
4081 New file.
4082 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
4083 New file.
4084 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
4085 New file.
4086 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
4087 New file.
4088 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
4089 file.
4090 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
4091 New file.
4092 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
4093 New file.
4094 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
4095 file.
4096 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
4097 New file.
4098 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
4099 New file.
4100 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
4101 file.
4102 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
4103 New file.
4104 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
4105 New file.
4106 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
4107 New file.
4108 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
4109 New file.
4110 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
4111 New file.
4112 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
4113 New file.
4114 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
4115 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
4116 file.
4117 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
4118 New file.
4119 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
4120 file.
4121 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
4122 file.
4123 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
4124 file.
4125 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
4126 file.
4127 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
4128 file.
4129 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
4130 New file.
4131 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
4132 file.
4133 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
4134 file.
4135 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
4136 New file.
4137 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
4138 file.
4139 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
4140 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
4141 file.
4142 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
4143 New file.
4144 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
4145 file.
4146 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
4147 file.
4148 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
4149 file.
4150 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
4151 file.
4152 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
4153 file.
4154 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
4155 New file.
4156 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
4157 file.
4158 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
4159 file.
4160 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
4161 New file.
4162 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
4163 file.
4164 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
4165 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
4166 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
4167 file.
4168 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
4169 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
4170 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
4171 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
4172 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
4173 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
4174 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
4175 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
4176 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
4177 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
4178 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
4179 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
4180 file.
4181 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
4182 New file.
4183 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
4184 file.
4185 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
4186 file.
4187 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
4188 file.
4189 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
4190 file.
4191 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
4192 file.
4193 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
4194 New file.
4195 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
4196 New file.
4197 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
4198 file.
4199 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
4200 New file.
4201 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
4202 file.
4203 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
4204 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
4205 file.
4206 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
4207 New file.
4208 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
4209 file.
4210 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
4211 file.
4212 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
4213 file.
4214 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
4215 file.
4216 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
4217 file.
4218 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
4219 New file.
4220 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
4221 New file.
4222 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
4223 file.
4224 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
4225 New file.
4226 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
4227 file.
4228
41d73a1b
JM
42292012-04-28 Joseph Myers <joseph@codesourcery.com>
4230
4231 * conform/conformtest.pl: Fix typo in handling typed-constant from
4232 allow-header.
4233
28aeeda4
JM
42342012-04-27 Joseph Myers <joseph@codesourcery.com>
4235
adae8f5e
JM
4236 * README: Cut down references to pre-2.6 Linux kernels and
4237 Linuxthreads. Update lists of configurations in libc and ports
4238 and sort alphabetically. Say "or newer" with Linux kernel version
4239 requirements.
4240
28aeeda4
JM
4241 * config.h.in [IS_IN_build]: Allow compiling without optimization.
4242
a462cb63
RA
42432012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
4244
4245 [BZ #887]
4246 * math/libm-test.inc (logb_test_downward): New test to expose
4247 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
4248 rounding mode.
4249
6ad3493e
JM
42502012-04-27 Joseph Myers <joseph@codesourcery.com>
4251
4252 [BZ #14027]
4253 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
4254 to be done.
4255 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
4256 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
4257
2ce4f015
JM
42582012-04-26 Joseph Myers <joseph@codesourcery.com>
4259
5aeb141a
JM
4260 * sysdeps/unix/i386/brk.S: Remove file.
4261 * sysdeps/unix/i386/dl-brk.S: Likewise.
4262 * sysdeps/unix/i386/pipe.S: Likewise.
4263 * sysdeps/unix/i386/sigreturn.S: Likewise.
4264 * sysdeps/unix/i386/syscall.S: Likewise.
4265 * sysdeps/unix/i386/vfork.S: Likewise.
4266 * sysdeps/unix/i386/wait.S: Likewise.
4267
7143acae
JM
4268 * sysdeps/unix/common/tcsendbrk.c: Move to ...
4269 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
4270
2ce4f015
JM
4271 * configure.in (arm*-none*): Do not allow without
4272 --enable-hacker-mode.
4273 (netbsd*): Remove case setting base_os.
4274 (386bsd*): Likewise.
4275 (freebsd*): Likewise.
4276 (bsdi*): Likewise.
4277 (osf*): Likewise.
4278 (sunos*): Likewise.
4279 (ultrix*): Likewise.
4280 (newsos*): Likewise.
4281 (dynix*): Likewise.
4282 (*bsd*): Likewise.
4283 (sysv*): Likewise.
4284 (isc*): Likewise.
4285 (esix*): Likewise.
4286 (sco*): Likewise.
4287 (minix*): Likewise.
4288 (irix4*): Likewise.
4289 (irix6*): Likewise.
4290 (solaris[2-9]*): Likewise.
4291 (none): Likewise.
4292 * configure: Regenerated.
4293
0ac229c8
AZ
42942012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4295
4296 [BZ #11521]
4297 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
4298 overflow or cancellation in calculating denominator.
4299 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
4300 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
4301 down expression to avoid unexpected rounding in newer GCCs.
4302 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
4303
33f244f4
DM
43042012-04-26 David S. Miller <davem@davemloft.net>
4305
4306 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
4307 long-double compat symbols.
4308 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
4309 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
4310 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
4311 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
4312 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
4313 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
4314 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
4315 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
4316 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
4317 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
4318 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
4319 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
4320 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
4321
cfa1f3e8
DM
43222012-04-25 David S. Miller <davem@davemloft.net>
4323
4324 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
4325 HWCAP_* values only after the memory barriers have been defined.
4326 (atomic_full_barrier): Define.
4327 (atomic_read_barrier): Define.
4328 (atomic_write_barrier): Define.
4329
6e236b92
SP
43302012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
4331
4332 * shlib-versions: Add libgcc_s version information.
4333 * sysdeps/generic/libgcc_s.h: Remove.
4334 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
4335 libgcc_s.h.
4336 * sysdeps/gnu/unwind-resume.c: Likewise.
4337 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
4338
aab39a09
DM
43392012-04-25 David S. Miller <davem@davemloft.net>
4340
4341 * sysdeps/unix/sparc/brk.S: Delete.
4342 * sysdeps/unix/sparc/dl-brk.S: Delete.
4343 * sysdeps/unix/sparc/pipe.S: Delete.
4344 * sysdeps/unix/sparc/sysdep.S: Delete.
4345 * sysdeps/unix/sparc/sysdep.h: Delete.
4346 * sysdeps/unix/sparc/vfork.S: Delete.
4347 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
4348 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
4349 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
4350 ret_ERRVAL, r0, r1, MOVE): Define.
4351 (JUMPTARGET): Remove.
4352 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
4353 sysdeps/unix/sparc/sysdep.h
4354 (ENTRY, END): Remove.
4355 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
4356
a3cc4f48
JM
43572012-04-25 Joseph Myers <joseph@codesourcery.com>
4358
2ed8cda2
JM
4359 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
4360 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
4361 -DIS_IN_build.
4362
35d76d59
JM
4363 * timezone/README: Update upstream location and email address for
4364 tzcode and tzdata.
4365 * timezone/zdump.c: Update from tzcode 2012b.
4366 * timezone/zic.c: Likewise.
4367
a3cc4f48
JM
4368 * configure.in (libc_cv_as_needed): Remove test.
4369 * configure: Regenerated.
4370 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
4371 conditional definition.
4372 [$(have-as-needed) != yes] (no-as-needed): Likewise.
4373 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
4374 * config.make.in (have-as-needed): Remove variable.
4375
ceab42c3
SP
43762012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
4377 Paul Pluzhnikov <ppluzhnikov@google.com>
4378
4379 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
4380 strings correctly.
4381
3ce2865f
CLT
43822012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
4383
4384 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
4385 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
4386 * sysdeps/sh/strlen.S: Likewise.
4387
f37e0d68
JM
43882012-04-24 Joseph Myers <joseph@codesourcery.com>
4389
ae186e9a
JM
4390 * sysdeps/unix/fork.S: Remove file.
4391 * sysdeps/unix/i386/fork.S: Likewise.
4392 * sysdeps/unix/sparc/fork.S: Likewise.
4393
b96914af
JM
4394 * sysdeps/unix/system.c: Remove file.
4395 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
4396
f37e0d68
JM
4397 * sysdeps/unix/getegid.S: Remove file.
4398 * sysdeps/unix/geteuid.S: Likewise.
4399
87ef29ca
RM
44002012-04-24 Roland McGrath <roland@hack.frob.com>
4401
83bcd236
RM
4402 * scripts/check-localplt.awk: New file.
4403 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
4404 of diff.
4405 * scripts/data/localplt-generic.data: Add a comment.
4406
87ef29ca
RM
4407 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
4408 NODE when __dir_mkfile failed.
4409 * sysdeps/mach/hurd/symlinkat.c: Likewise.
4410 Reported by Ludovic Courtès <ludo@gnu.org>.
4411
e5a6e567
AJ
44122012-04-24 Andreas Jaeger <aj@suse.de>
4413
4414 * Makerules (common-clean): Also remove gen-as-const-headers
4415 files.
4416
c1820385
JM
44172012-04-24 Joseph Myers <joseph@codesourcery.com>
4418
4419 * Makerules (native-compile): Do not change working directory for
4420 build. Use $(OUTPUT_OPTION) in command.
4421 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
4422
94e02fc4
AZ
44232012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4424
4425 [BZ #13886]
4426 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
4427 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
4428 * math/libm-test.inc (floor_test): Add more tests.
4429 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
4430
3a533ca3
JM
44312012-04-24 Joseph Myers <joseph@codesourcery.com>
4432
940ab4b3
JM
4433 * sysdeps/unix/getdents.c: Remove file.
4434 * sysdeps/unix/sysv/getdents.c: Likewise.
4435 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
4436
90e037bd
JM
4437 * sysdeps/unix/syscalls.list (madvise): Add syscall from
4438 sysdeps/unix/mman/syscalls.list.
4439 (mmap): Likewise.
4440 (mprotect): Likewise.
4441 (msync): Likewise.
4442 (munmap): Likewise.
4443 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
4444 * sysdeps/unix/mman/syscalls.list: Remove.
4445 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
4446
3a533ca3
JM
4447 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
4448 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
4449 * configure: Regenerated.
4450 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
4451 $(libgcc_s_suffix).
4452 * config.make.in (libgcc_s_suffix): Remove variable.
4453
1ad743de
JM
44542012-04-23 Joseph Myers <joseph@codesourcery.com>
4455
4ad451e2
JM
4456 * sysdeps/unix/sysv/gethostname.c: Move to ...
4457 * sysdeps/posix/gethostname.c: ... here.
4458
5e37ce39
JM
4459 * sysdeps/unix/execve.S: Remove file.
4460
1ad743de
JM
4461 * sysdeps/unix/_exit.S: Remove file.
4462
4e681b5b
AJ
44632012-04-23 Andreas Jaeger <aj@suse.de>
4464
4465 [BZ #13739]
4466 * manual/Makefile: Remove make dist support, there's no
4467 need for a stand-alone documentation tar ball.
4468 (TEXI2DVI): Define always, it's not in Makeconfig.
4469 (dist): Removed.
4470 (tar-it): Removed.
4471 (edition): Removed.
4472 (glibc-doc-$(edition).tar): Removed
4473 (%.Z): Removed.
4474 (%.gz): Removed.
4475 (%.uu): Removed.
4476 (ETAGS): Remove, it's in Makeconfig.
4477 (move-if-change): Remove, it's in Makeconfig.
4478
c0baea34
PE
44792013-04-23 Paul Eggert <eggert@cs.ucla.edu>
4480
4481 [BZ #13970]
4482 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
4483 (strtod, strtof, strtold, strtol, strtoul, strtoq)
4484 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
4485 (strtod_l, strtof_l, strtold_l): Remove __wur.
4486 It is not necessarily an error to ignore strtol's return value.
4487 One can reliably look at the stored endptr to decide whether
4488 the number had valid syntax.
4489
7c0616fa
AJ
44902012-04-21 Andreas Jaeger <aj@suse.de>
4491
803cb6b7 4492 [BZ #13739]
7c0616fa
AJ
4493 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
4494
b0fe253f
JM
44952012-04-21 Joseph Myers <joseph@codesourcery.com>
4496
4497 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
4498 * sysdeps/unix/sysv/Versions: Remove file.
4499
8280f22d
MT
45002012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
4501
4502 [BZ #13927]
4503 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4504
75ce411f 45052012-04-21 Nick Alcock <nick.alcock@oracle.com>
b8e33728
N
4506
4507 [BZ #7064]
4508 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
4509 version from __vm86.
4510
097d59fa
JM
45112012-04-20 Joseph Myers <joseph@codesourcery.com>
4512
a90f3bcb
JM
4513 * sysdeps/unix/common/lxstat.c: Remove file.
4514 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
4515
edc7ea78
JM
4516 * sysdeps/unix/sysv/Makefile: Remove file.
4517
cb78c221
JM
4518 * sysdeps/unix/sysv/direct.h: Remove file.
4519
efa6a45f
JM
4520 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
4521 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
4522 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
4523 * sysdeps/unix/sysv/bits/signum.h: Likewise.
4524 * sysdeps/unix/sysv/bits/stat.h: Likewise.
4525 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
4526 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
4527
9c9f2d0c
JM
4528 * sysdeps/unix/sysv/setrlimit.c: Remove file.
4529
4541c83b
JM
4530 * sysdeps/unix/xmknod.c: Remove file.
4531 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
4532
f5d153a0
JM
4533 * sysdeps/unix/sysv/settimeofday.c: Remove file.
4534
aa746595
JM
4535 * sysdeps/unix/sysv/i386/time.S: Remove file.
4536
cce5905e
JM
4537 * sysdeps/unix/fxstat.c: Remove file.
4538 * sysdeps/unix/xstat.c: Likewise.
4539 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
4540
37fa3841
JM
4541 * sysdeps/unix/sysv/sigaction.c: Remove file.
4542
ff1962a3
JM
4543 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
4544 (sysdep_headers): Remove variable.
4545 [termio.h not in sysdep_headers] (generated): Likewise.
4546 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
4547 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
4548 * sysdeps/unix/sysv/tcdrain.c: Likewise.
4549 * sysdeps/unix/sysv/tcflow.c: Likewise.
4550 * sysdeps/unix/sysv/tcflush.c: Likewise.
4551 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
4552 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
4553 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
4554 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
4555 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
4556
e7740d31
JM
4557 * sysdeps/unix/siglist.c: Remove file.
4558
ee06f18b
JM
4559 * sysdeps/unix/getppid.S: Remove file.
4560
097d59fa
JM
4561 * sysdeps/unix/mkdir.c: Remove file.
4562 * sysdeps/unix/rmdir.c: Likewise.
4563
ff3d51ec
AS
45642012-04-19 Andreas Schwab <schwab@linux-m68k.org>
4565
4566 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
4567 ERR_MAX value.
4568 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
4569 errlist-compat value.
4570
50f81fd7
DM
45712012-04-18 David S. Miller <davem@davemloft.net>
4572
4573 * sysdeps/generic/memcopy.h (reg_char): Delete.
4574 * debug/strcat_chk.c: Use char, not reg_char.
4575 * debug/strcpy_chk.c: Likewise.
4576 * debug/strncat_chk.c: Likewise.
4577 * debug/strncpy_chk.c: Likewise.
4578 * string/memchr.c: Likewise.
4579 * string/memrchr.c: Likewise.
4580 * string/rawmemchr.c: Likewise.
4581 * string/strcat.c: Likewise.
4582 * string/strchr.c: Likewise.
4583 * string/strchrnul.c: Likewise.
4584 * string/strcmp.c: Likewise.
4585 * string/strcpy.c: Likewise.
4586 * string/strncat.c: Likewise.
4587 * string/strncmp.c: Likewise.
4588 * string/strncpy.c: Likewise.
4589
8ff41c46
WS
45902012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
4591
4592 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
4593 __builtin_memcopy is called when src and dest ranges are known to not
4594 overlap.
4595
6b652f46
WS
45962012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
4597
4598 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
4599 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
4600 fwd_align_merge macro call.
4601 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
4602 bwd_align_merge macro call.
4603 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
4604
b282631e
WS
46052012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
4606
4607 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
4608 bwd_align_merge macros.
4609 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
4610 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
4611 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
4612
95aa737c
DM
46132012-04-18 David S. Miller <davem@davemloft.net>
4614
4615 * sysdeps/sparc/sparc64/memcopy.h: Delete.
4616
7a99a614
AJ
46172012-04-18 Andreas Jaeger <aj@suse.de>
4618
4619 [BZ# 6794]
4620 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
4621 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
4622 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
4623
4624 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
4625 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
4626 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
4627
4628 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
4629 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
4630 Adjust for changed ldbl-128 files.
4631
4632 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
4633 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
4634 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
4635
e5270c23
DM
46362012-04-17 David S. Miller <davem@davemloft.net>
4637
4638 * sysdeps/sparc/sparc32/memcopy.h: Delete.
4639
fb5e92c9
AS
46402012-04-17 Andreas Schwab <schwab@linux-m68k.org>
4641
4642 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
4643 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
4644 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
4645 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
4646 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
4647 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
4648
76da7265
AZ
46492012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4650
4651 [BZ #6794]
4652 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
4653 * math/libm-test.inc: Add ilogb errno and exception tests.
4654 * math/w_ilogb.c: New file: ilogb wrapper.
4655 * math/w_ilogbf.c: New file: ilogbf wrapper.
4656 * math/w_ilogbl.c: New file: ilogbl wrapper.
4657 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
4658 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
4659 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
4660 exception being thrown with 0.0 as argument.
4661 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
4662 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
4663 exception being thrown with 0.0 as argument.
4664 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
4665 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
4666 exception being thrown with 0.0 as argument.
4667 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
4668 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
4669 exception being thrown with 0.0 as argument.
4670 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
4671 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
7a99a614 4672 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
76da7265
AZ
4673 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
4674 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
4675 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
4676 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
4677 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
4678 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
4679
0396e69d
PB
46802012-04-17 Petr Baudis <pasky@ucw.cz>
4681
4682 * include/sys/uio.h: Change __vector to __iovec to avoid clash
4683 with altivec.
4684
750b5926
MP
46852012-04-16 Marek Polacek <polacek@redhat.com>
4686
4687 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
4688
751728a1
MP
46892012-04-16 Marek Polacek <polacek@redhat.com>
4690
4691 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
4692 operands of fdivp instruction.
4693
34a27407
L
46942012-04-13 H.J. Lu <hongjiu.lu@intel.com>
4695
4696 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
4697 * elf/tst-auditmod3b.c: Likewise.
4698 * elf/tst-auditmod4b.c: Likewise.
4699 * elf/tst-auditmod5b.c: Likewise.
4700 * elf/tst-auditmod6b.c: Likewise.
4701 * elf/tst-auditmod6c.c: Likewise.
4702 * elf/tst-auditmod7b.c: Likewise.
4703 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
4704 * sysdeps/x86_64/preconfigure.in: Likewise.
4705 * sysdeps/x86_64/preconfigure: Regenerated.
4706
7e73e17d
L
47072012-04-13 H.J. Lu <hongjiu.lu@intel.com>
4708
4709 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
4710 __ILP32__.
4711
c7a6ab72
AB
47122012-04-13 Antoine Balestrat <merkil33@gmail.com>
4713
4714 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
4715 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
4716
a9e8e0e0
CL
47172012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
4718
4719 [BZ #13973]
4720 * locale/iso-639.def: Fix gl language name. Spotted by
4721 Yaron Shahrabani.
4722
ec98af7d
RM
47232012-04-12 Roland McGrath <roland@hack.frob.com>
4724
4725 [BZ #2074]
4726 * libio/libio.h (__io_write_fn): Update comment.
4727
247c3ede
PB
47282012-04-12 Petr Baudis <pasky@ucw.cz>
4729
4730 [BZ #2074]
4731 * stdio.texi (Hook Functions): The user provided writer function
4732 is not allowed to return -1.
4733
55939d6d
DM
47342012-04-11 David S. Miller <davem@davemloft.net>
4735
4736 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4737
90020f5a
MF
47382012-04-11 Mike Frysinger <vapier@gentoo.org>
4739
4740 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
4741 Add a leading slash to rtkaio.
4742
288f9098
JM
47432012-04-11 Jim Meyering <meyering@redhat.com>
4744
90020f5a
MF
4745 [BZ #11959]
4746 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
4747 It is not necessarily an error to ignore fwrite's return
4748 value. One can reliably use ferror to test for errors after
4749 the fact.
288f9098 4750
4be2b570
L
47512012-04-10 H.J. Lu <hongjiu.lu@intel.com>
4752
4753 * bits/types.h (__snseconds_t): New type.
4754 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
4755
4756 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
4757 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
4758 (__SNSECONDS_T_TYPE): Likewise.
4759 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
4760 (__SNSECONDS_T_TYPE): Likewise.
4761 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
4762 (__SNSECONDS_T_TYPE): Likewise.
4763
288f9098 47642012-04-10 Andreas Jaeger <aj@suse.de>
4cfd8026
AJ
4765
4766 [BZ #2636]
4767 * manual/time.texi (Processor Time): Return type of times is
4768 elapsed real time since an arbitrary point in the past.
4769 (CPU Time): Move CLK_TCK from here...
4770 (Processor Time): ...to here. Correct description.
4771 * manual/conf.texi (Constants for Sysconf): Correct description of
4772 _SC_CLK_TCK.
4773
d7dd4413
DM
47742012-04-10 David S. Miller <davem@davemloft.net>
4775
4776 [BZ #13967]
4777 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
4778 where the is a gap between DT_REL(A) and DT_JMPREL.
4779
b46068fc
L
47802012-04-10 H.J. Lu <hongjiu.lu@intel.com>
4781
4782 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
4783 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
4784 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
4785
73d65cc3
SP
47862012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
4787
4788 * elf/dl-support.c (_dl_inhibit_cache): New variable.
4789 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
4790 (dl_main): Handle --inhibit-cache.
4791 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
4792 _dl_inhibit_cache.
4793 * elf/dl-load.c (_dl_map_object): Use it.
4794 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
4795
bcc8d661
JM
47962012-04-09 Joseph Myers <joseph@codesourcery.com>
4797
8f9a2fae
JM
4798 [BZ #13872]
4799 * sysdeps/i386/fpu/e_powl.S (p78): New object.
4800 (__ieee754_powl): Saturate large exponents rather than testing for
4801 overflow of y*log2(x).
4802 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
4803 * math/libm-test.inc (pow_test): Do not permit spurious overflow
4804 exceptions.
4805
bcc8d661
JM
4806 [BZ #11521]
4807 * math/s_ctan.c: Include <float.h>.
4808 (__ctan): Avoid internal overflow or cancellation in calculating
4809 denominator.
4810 * math/s_ctanf.c: Likewise.
4811 * math/s_ctanl.c: Likewise.
4812 * math/s_ctanh.c: Likewise.
4813 * math/s_ctanhf.c: Likewise.
4814 * math/s_ctanhl.c: Likewise.
4815 * math/libm-test.inc (ctan_test): Add more tests.
4816 (ctanh_test): Likewise.
4817 * sysdeps/i386/fpu/libm-test-ulps: Update.
4818 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4819
823fbbb4
AJ
48202012-04-09 Andreas Jaeger <aj@suse.de>
4821
03879793
AJ
4822 [BZ #6894]
4823 * manual/filesys.texi (Directory Entries): Mention that d_namlen
4824 is an optional BSD extension.
4825
823fbbb4
AJ
4826 [BZ #10254]
4827 * manual/stdio.texi (Opening Streams): Document additional fopen
4828 parameters.
4829
8de131cb
RM
48302012-04-09 Roland McGrath <roland@hack.frob.com>
4831
4832 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
4833 %eax without telling the compiler.
4834
c0ed9d7d
CD
48352012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
4836
4837 [BZ # 13963]
4838 * manual/install.texi: Use sourceware.org.
4839
c483f6b4
JM
48402012-04-09 Joseph Myers <joseph@codesourcery.com>
4841
d7dd9453
JM
4842 [BZ #13873]
4843 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
4844 (__ieee754_pow): Generate overflow and underflow using huge*huge
4845 and tiny*tiny rather than just returning constant infinity or zero
4846 for large exponents.
4847 * math/libm-test.inc (pow_test): Require overflow exceptions for
4848 applicable cases of large exponents.
4849
c483f6b4
JM
4850 [BZ #706]
4851 * sysdeps/i386/fpu/e_pow.S (p10): New object.
4852 (__ieee754_pow): Use iterative multiplication algorithm only for
4853 integer exponents with absolute value below 1024. Check for odd
4854 integer exponents when using algorithm for real exponents.
4855 * math/libm-test.inc (pow_test): Add more tests.
4856 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4857
d2de7579
JM
48582012-04-08 Joseph Myers <joseph@codesourcery.com>
4859
4860 [BZ #13705]
4861 * math/libm-test.inc (exp_test): Do not allow overflow exception
4862 on underflow test.
4863
f77f1232
AJ
48642012-04-08 Aurelien Jarno <aurelien@aurel32.net>
4865
4866 [BZ #13705]
4867 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
4868 instead of __kernel_standard_f.
4869
3884932b
MF
48702012-04-08 Mike Frysinger <vapier@gentoo.org>
4871
4872 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
4873 * sysdeps/x86_64/memset_chk.S: Likewise.
4874
54472e9c
AJ
48752012-04-08 Andreas Jaeger <aj@suse.de>
4876
6ab0fbfc
AJ
4877 [BZ #10153]
4878 * manual/startup.texi (Environment Access): Describe return value
4879 for putenv and setenv.
4880
61efba8c
AJ
4881 [BZ #6895]
4882 * manual/filesys.texi (Directory Entries): Add description for
4883 DT_LNK.
4884
95c3f29a
AJ
4885 [BZ #6890]
4886 * manual/filesys.texi (Directory Entries): Clarify that it's file
4887 system not operating system in the description of DT_UNKNOWN.
4888
54472e9c
AJ
4889 [BZ #6578]
4890 * manual/syslog.texi (closelog): Fix reference, it's openlog.
4891
624254b1
SC
48922012-04-08 Stephen Compall <s11@member.fsf.org>
4893
4894 [BZ #6649]
4895 * manual/llio.texi (Opening and Closing Files): Add cross
4896 reference to explain mode argument.
4897
1e4920e0
MF
48982012-04-07 Mike Frysinger <vapier@gentoo.org>
4899
4900 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
4901 * sysdeps/x86_64/memset_chk.S: Likewise.
4902
5ed848f3
DM
49032012-04-07 David S. Miller <davem@davemloft.net>
4904
4905 * elf/elf.h (R_SPARC_WDISP10): Define.
4906 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
4907 R_SPARC_SIZE32.
4908 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
4909 R_SPARC_SIZE64 and R_SPARC_H34.
4910
96154cd8
CD
49112012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
4912
4913 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
4914 conditions and remove no longer applicable assertion.
4915
9904dc47
L
49162012-04-06 H.J. Lu <hongjiu.lu@intel.com>
4917
4918 * bits/byteswap.h: Include <features.h>.
4919 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
4920 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
4921
f8887d0a
L
49222012-04-06 H.J. Lu <hongjiu.lu@intel.com>
4923
4924 * bits/byteswap.h (__bswap_16): Removed.
4925 Include <bits/byteswap-16.h> to get __bswap_16.
4926 * sysdeps/i386/bits/byteswap.h: Likewise.
4927 * sysdeps/s390/bits/byteswap.h: Likewise.
4928 * sysdeps/x86_64/bits/byteswap.h: Likewise.
4929 * bits/byteswap-16.h: New file.
4930 * sysdeps/i386/bits/byteswap-16.h: Likewise.
4931 * sysdeps/s390/bits/byteswap-16.h: Likewise.
4932 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
4933 * string/Makefile (headers): Add bits/byteswap-16.h.
4934
62470f60
PP
49352012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
4936
4937 [BZ #13895]
4938 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
4939 extra indirection.
4940 * nss/Makefile (tests-static, tests): Add tst-nss-static.
4941 * nss/tst-nss-static.c: New.
4942
4dad7bab
RM
49432012-04-06 Robert Millan <rmh@gnu.org>
4944
4945 [BZ #6486]
4946 * manual/llio.texi (File Position Primitive): lseek
4947 refers to WHENCE when it really means OFFSET.
4948
e9142a17
AJ
49492012-04-06 Andreas Jaeger <aj@suse.de>
4950
2c040eff
AJ
4951 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
4952 strncmp declarations.
4953
e9142a17
AJ
4954 * abilist/libc.abilist: Add __poll and __ppoll.
4955
ff9f1c5f
DM
49562012-04-05 David S. Miller <davem@davemloft.net>
4957
dcd2ae90
DM
4958 * scripts/check-local-headers.sh: Accept a host triplet in the
4959 path matched by the exclude regexp.
4960
993eb054
DM
4961 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
4962 definition.
4963 * sysdeps/powerpc/powerpc32/dl-machine.h
4964 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
4965 * sysdeps/s390/s390-32/dl-machine.h
4966 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
4967 * sysdeps/sparc/sparc32/dl-machine.h
4968 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
4969 * sysdeps/sparc/sparc64/dl-machine.h
4970 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
4971
ff9f1c5f
DM
4972 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
4973 lazy binding.
48e2e132 4974 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
ff9f1c5f
DM
4975 undefined symbol errors.
4976
48e2e132 4977 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
ff9f1c5f
DM
4978 DT_NEEDED entries.
4979
e80d6f94
MM
49802012-04-05 Michael Matz <matz@suse.de>
4981
4982 [BZ #13592]
4983 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
4984
349fa79f
AJ
49852012-04-05 Andreas Jaeger <aj@suse.de>
4986
4987 [BZ #13908]
4988 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
4989 comment.
4990
f402708f
KK
49912012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
4992
4993 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
4994 which ROUND is no valid rounding mode.
4995
2ecccfc9
KK
49962012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
4997
4998 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
4999 read again.
5000 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
5001
8a53f50f
KK
50022012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
5003
5004 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
5005 an exception using FPU order intentionally.
5006
50072012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
5008
5009 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
5010 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
5011 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
5012 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
5013
d653abb7
SJ
50142012-04-05 Simon Josefsson <simon@josefsson.org>
5015
5016 [BZ #12340]
5017 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
5018 EINVAL when BUFLEN is too smal.
5019
c3b1bf7d
TS
50202012-04-05 Thomas Schwinge <thomas@codesourcery.com>
5021
5022 [BZ #13553]
5023 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
5024 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
5025
b1aa60f3
AJ
50262012-04-03 Andreas Jaeger <aj@suse.de>
5027
c3b1bf7d 5028 [BZ #13938]
67f60a26
AJ
5029 * manual/setjmp.texi (System V contexts): Fix sentence.
5030
b1aa60f3
AJ
5031 [BZ #13926]
5032 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
5033 New macro for this case.
5034 [!__GNUC__] (__bswap_64): New inline function for this case.
5035 * sysdeps/x86_64/bits/byteswap.h: Likewise.
5036 * bits/byteswap.h: Likewise.
5037 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
5038 ull, guard with __GLIBC_HAVE_LONG_LONG.
5039
5040 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
5041 __GLIBC_HAVE_LONG_LONG.
5042
5043 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
5044 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
5045
39c59c35
TMQMF
50462012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
5047
5048 [BZ #13691]
5049 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
5050 inptr and inend, rather than using last_ch.
5051
135ffda8
DM
50522012-04-02 David S. Miller <davem@davemloft.net>
5053
5054 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
5055 * stdio-common/printf-parse.h (read_int): Change return type to
5056 'int', return -1 on INT_MAX overflow.
5057 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
5058 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
5059 overflows INT_MAX. Check for overflow of in-format-string precision
5060 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
5061 SIZE_MAX not INT_MAX for integer overflow test.
5062 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
5063 skip the construct in the format string but do not record anything.
5064 * stdio-common/bug22.c: Adjust to test both width/prevision
5065 INT_MAX overflow as well as total length INT_MAX overflow. Check
5066 explicitly for proper errno values.
5067
228c019e
TS
50682012-04-02 Thomas Schwinge <thomas@codesourcery.com>
5069
302cadd3
TS
5070 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
5071 CHAR_MAX.
5072 * string/test-strcmp.c [! WIDE]: Likewise.
5073 * time/tst-mktime2.c: Likewise for INT_MAX.
5074 * string/test-string.h: #include <sys/param.h> for MIN.
5075
228c019e
TS
5076 * csu/init-first.c (__libc_init_first): Call __ctype_init.
5077 * sysdeps/i386/init-first.c (init): Likewise.
5078 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
5079 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
5080 * sysdeps/sh/init-first.c (init): Likewise.
5081
cfa633f5
UD
50822012-04-01 Ulrich Drepper <drepper@gmail.com>
5083
5084 * po/ru.po: Update from translation team.
d1635ef8 5085 * po/vi.po: Likewise.
cfa633f5 5086
6cd0a5ea
SP
50872012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
5088
5089 * resolv/nss_dns/dns-host.c: Merge copyright years.
5090
4b43400f
LD
50912012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
5092
5093 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
5094 Optimize memcpy with prefetch if
5095 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
5096 src, dst pointers have unequal 16 byte alignments.
5097
48c41d04
SP
50982012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
5099
5100 [BZ #13928]
5101 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
5102 from a CNAME entry and return the minimum ttl for the query.
5103 (gaih_getanswer_slice): Likewise.
5104
b8dc394d
JL
51052012-03-30 Jeff Law <law@redhat.com>
5106
5107 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
5108 due to long keys.
5109 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
5110 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
5111
2f5a5ed0
JL
5112 * resolv/nss_dns/dns-host.c: Update copyright year.
5113
1d39e359
UD
51142012-03-30 Ulrich Drepper <drepper@gmail.com>
5115
c030f70c 5116 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8e6d1083 5117 requests to save a system call. Fix check that all bytes are sent.
c030f70c 5118
1d39e359
UD
5119 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
5120 comments for sendmmsg.
5121
51222012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
e64d2de5
TMQMF
5123
5124 [BZ #13691]
5125 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
5126 with only 1 character between 0x0041 and 0x01b0.
5127 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
5128 * wcsmbs/tst-mbsnrtowcs.c: New file.
5129
20fde227
DM
51302012-03-29 David S. Miller <davem@davemloft.net>
5131
5132 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
5133 small copies by hand.
5134
984a4237
JL
51352012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
5136
5137 [BZ #13761]
5138 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
5139 _nss_compat_initgroups_dyn): Fall back to malloc/free
5140 for large group memberships.
5141
18c9d62b
DM
51422012-03-28 David S. Miller <davem@davemloft.net>
5143
88d85d4f
DM
5144 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
5145 that branches into memcpy.
5146 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
5147 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
5148 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
5149 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
5150 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
5151 bits.
5152 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
5153 implementation too.
5154 * sysdeps/sparc/mempcpy.S: New file.
5155
e5aa83e1
DM
5156 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
5157 the IFUNC routine in the libc case.
5158 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
5159
88570753
DM
5160 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
5161 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
5162 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
5163 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
5164 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
5165 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
5166 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
5167 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
5168
249d7567
DM
5169 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
5170 loop to 256 bytes instead of 64 bytes and fix test signedness.
5171
18c9d62b
DM
5172 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
5173 * sysdeps/sparc/sparc32/Makefile: rather than here...
5174 * sysdeps/sparc/sparc64/Makefile: and here.
5175
05f3d1f6
UD
51762012-03-28 Ulrich Drepper <drepper@gmail.com>
5177
5178 * malloc/mallocbug.c: Avoid warnings about unused variables.
5179
86ae07a8
JL
51802012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
5181
5182 [BZ #13760]
5183 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
5184 in the right place. Discard and retry query if response is
5185 larger than input buffer size.
5186
41bf21a1
JM
51872012-03-28 Joseph Myers <joseph@codesourcery.com>
5188
d6270972
JM
5189 [BZ #369]
5190 [BZ #2678]
5191 [BZ #3866]
5192 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
5193 x for large integer exponent.
5194 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
5195 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
5196 sign of result as needed afterwards.
5197 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
5198 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
5199 result for underflowing pow the same as for overflow.
5200 (__kernel_standard_l): Handle powl overflow and underflow here
5201 rather than calling __kernel_standard.
5202 * math/libm-test.inc (pow_test): Add more tests.
5203
414fca03 5204 [BZ #3868]
41bf21a1
JM
5205 [BZ #13879]
5206 [BZ #13910]
5207 [BZ #13911]
5208 [BZ #13912]
5209 [BZ #13913]
5210 [BZ #13915]
5211 [BZ #13916]
5212 [BZ #13917]
5213 [BZ #13918]
5214 [BZ #13919]
5215 [BZ #13920]
5216 [BZ #13921]
5217 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
5218 * sysdeps/ieee754/k_standard.c: Include <float.h>.
5219 (__kernel_standard_l): New function.
5220 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
5221 __kernel_standard.
5222 * math/w_acosl.c (__acosl): Likewise.
5223 * math/w_asinl.c (__asinl): Likewise.
5224 * math/w_atan2l.c (__atan2l): Likewise.
5225 * math/w_atanhl.c (__atanhl): Likewise.
5226 * math/w_coshl.c (__coshl): Likewise.
5227 * math/w_exp10l.c (__exp10l): Likewise.
5228 * math/w_exp2l.c (__exp2l): Likewise.
5229 * math/w_fmodl.c (__fmodl): Likewise.
5230 * math/w_hypotl.c (__hypotl): Likewise.
5231 * math/w_j0l.c (__j0l, __y0l): Likewise.
5232 * math/w_j1l.c (__j1l, __y1l): Likewise.
5233 * math/w_jnl.c (__jnl, __ynl): Likewise.
5234 * math/w_lgammal.c (__lgammal): Likewise.
5235 * math/w_log10l.c (__log10l): Likewise.
5236 * math/w_log2l.c (__log2l): Likewise.
5237 * math/w_logl.c (__logl): Likewise.
5238 * math/w_powl.c (__powl): Likewise.
5239 * math/w_remainderl.c (__remainderl): Likewise.
5240 * math/w_scalbl.c (sysv_scalbl): Likewise.
5241 * math/w_sinhl.c (__sinhl): Likewise.
5242 * math/w_sqrtl.c (__sqrtl): Likewise.
5243 * math/w_tgammal.c (__tgammal): Likewise.
5244 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
5245 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
5246 * math/libm-test.inc (acos_test): Add more tests.
5247 (acosh_test): Likewise.
5248 (asin_test): Likewise.
5249 (atanh_test): Likewise.
5250 (exp_test): Likewise.
5251 (exp10_test): Likewise.
5252 (exp2_test): Likewise.
5253 (expm1_test): Likewise.
5254 (lgamma_test): Likewise.
5255 (log_test): Likewise.
5256 (log10_test): Likewise.
5257 (log1p_test): Likewise.
5258 (log2_test): Likewise.
5259 (pow_test): Do not allow some spurious overflow exceptions.
5260 (sqrt_test): Add more tests.
5261 (tgamma_test): Likewise.
5262 (y0_test): Likewise.
5263 (y1_test): Likewise.
5264 (yn_test): Likewise.
5265
dd62fda6
AB
52662012-03-27 Anton Blanchard <anton@samba.org>
5267
5268 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
5269 MAP_HUGETLB.
5270 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
5271 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
5272 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
5273
1e3cdfda
AJ
52742012-03-27 David S. Miller <davem@davemloft.net>
5275
b855ab85
DM
5276 * conform/Makefile: Run run-conformtest.sh using $(BASH).
5277
1e3cdfda
AJ
5278 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
5279 have-as-vis3 check.
5280
52812012-03-27 Andreas Jaeger <aj@suse.de>
5282
5283 * sysdeps/x86_64/elf/configure.in: Moved to ...
5284 * sysdeps/x86_64/configure.in: ... here.
5285 * sysdeps/x86_64/elf/start.S: Moved to ...
5286 * sysdeps/x86_64/start.S: ... here.
5287 * sysdeps/x86_64/elf/configure: Delete.
5288
5289 * sysdeps/x86_64/configure.in: Merge contents from
5290 sysdeps/i386/configure.in (without i686 check).
5291
5292 * sysdeps/i386/elf/Versions: Merge into ...
5293 * sysdeps/i386/Versions: ... this.
5294 * sysdeps/i386/elf/Versions: Delete file.
5295 * sysdeps/i386/elf/start.S: Moved to ...
5296 * sysdeps/i386/start.S: ...here.
5297 * sysdeps/i386/elf/configure.in: Merge into...
5298 * sysdeps/i386/configure.in: ...here.
5299 * sysdeps/i386/elf/configure.in: Delete file.
5300 * sysdeps/i386/elf/configure: Delete file.
5301
5302 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
5303 * debug/backtracesyms.c: ... here.
5304 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
5305 * debug/backtracesymsfd.c: ... here.
5306 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
5307 * sysdeps/generic/ifunc-sel.h: ... here.
5308
5309 * sysdeps/unix/i386/start.c: Delete file.
5310 * sysdeps/unix/sparc/start.c: Delete file.
5311 * sysdeps/unix/start.c: Delete file.
5312
5313 * sysdeps/sh/elf/configure.in: Moved to ...
5314 * sysdeps/sh/configure.in: ... here.
5315 * sysdeps/sh/elf/start.S: Moved to ...
5316 * sysdeps/sh/start.S: ... here.
5317 * sysdeps/sh/elf/configure: Delete file.
5318
5319 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
5320 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
5321 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
5322 * sysdeps/powerpc/powerpc64/entry.h: ... here.
5323 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
5324 * sysdeps/powerpc/powerpc64/start.S: here.
5325 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
5326 * sysdeps/powerpc/powerpc64/Makefile: ... this.
5327 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
5328 * sysdeps/powerpc/powerpc64/configure.in: ... this.
5329 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
5330
5331 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
5332 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
5333 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
5334 * sysdeps/powerpc/powerpc32/start.S: ... here.
5335 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
5336 * sysdeps/powerpc/powerpc32/configure.in: ... this.
5337 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
5338
5339 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
5340 * sysdeps/powerpc/ifunc-sel.h: ... here.
5341 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
5342 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
5343
5344 * sysdeps/sparc/elf/configure.in: Moved to ...
5345 * sysdeps/sparc/configure.in: ... here.
5346 * sysdeps/sparc/elf/configure: Delete file.
5347 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
5348 * sysdeps/sparc/sparc32/start.S: ... here.
5349 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
5350 * sysdeps/sparc/sparc64/start.S: ... here.
5351 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
5352 * sysdeps/sparc/sparc32/Makefile: ... this.
5353 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
5354 * sysdeps/sparc/sparc64/Makefile: ... this.
5355
5356 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
5357 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
5358 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
5359 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
5360 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
5361 * sysdeps/s390/s390-32/setjmp.S: ... here.
5362 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
5363 * sysdeps/s390/s390-32/configure.in: ... here.
5364 * sysdeps/s390/s390-32/elf/configure: Delete file.
5365 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
5366 * sysdeps/s390/s390-32/start.S: ... here.
5367
5368 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
5369 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
5370 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
5371 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
5372 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
5373 * sysdeps/s390/s390-64/setjmp.S: ... here.
5374 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
5375 * sysdeps/s390/s390-64/configure.in: ... here
5376 * sysdeps/s390/s390-64/elf/configure: Delete file.
5377 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
5378 * sysdeps/s390/s390-64/start.S: ... here.
5379 * sysdeps/s390/s390-64/elf/configure: Delete.
5380
5381 * configure.in: Remove support for elf directories in sysdeps.
5382
5383 * configure: Regenerated.
5384 * sysdeps/i386/configure: Regenerated.
5385 * sysdeps/powerpc/powerpc32/configure: Regenerated.
5386 * sysdeps/powerpc/powerpc64/configure: Regenerated.
5387 * sysdeps/s390/s390-32/configure: Regenerated.
5388 * sysdeps/s390/s390-64/configure: Regenerated.
5389 * sysdeps/sh/configure: Regenerated.
5390 * sysdeps/sparc/configure: Regenerated.
5391 * sysdeps/x86_64/configure: Regenerated.
5392
a3f61311
AS
53932012-03-26 Andreas Schwab <schwab@linux-m68k.org>
5394
c876e002
AS
5395 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5396
a3f61311
AS
5397 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
5398 denormal result into account.
5399
ac4c54f0
RM
54002012-03-25 Roland McGrath <roland@hack.frob.com>
5401
5402 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
5403 Reported by Allan McRae <allan@archlinux.org>.
5404
6a9b9c02
JL
54052012-03-23 Jeff Law <law@redhat.com>
5406
5407 * nss/getnssent.c (__nss_getent): Fix typo.
5408
4c42a0c1
DM
54092012-03-23 David S. Miller <davem@davemloft.net>
5410
5411 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5412
1532c7ac
L
54132012-03-23 H.J. Lu <hongjiu.lu@intel.com>
5414
5415 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
5416 to pad to uint64_t for each field.
5417 (dl_tls_index): Replace unsigned long with uint64_t.
5418
3ff42526
PP
54192012-03-23 Daniel Jacobowitz <dmj@google.com>
5420 Paul Pluzhnikov <ppluzhnikov@google.com>
5421
5422 [BZ #6528]
5423 * grp/Makefile (otherlibs): Don't set it.
5424 * inet/Makefile (otherlibs): Likewise.
5425 * login/Makefile (otherlibs): Likewise.
5426 * nscd/Makefile (otherlibs): Likewise.
5427 * posix/Makefile (otherlibs): Likewise.
5428 * pwd/Makefile (otherlibs): Likewise.
5429 * rt/Makefile (otherlibs): Likewise.
5430 * sunrpc/Makefile (otherlibs): Likewise.
5431 * nss/Makefile (otherlibs): Likewise.
5432 Add libnss_files to routines and static-only-routines.
5433 ($(objpfx)getent): Remove rule.
5434 * resolv/Makefile: Add libnss_dns and libresolv to routines and
5435 static-only-routines.
5436
7c69cd14
JM
54372012-03-22 Joseph Myers <joseph@codesourcery.com>
5438
5439 [BZ #13892]
5440 * math/s_cexp.c: Include <float.h>.
5441 (__cexp): Handle exp result overflowing not necessarily
5442 overflowing both real and imaginary parts of result.
5443 * math/s_cexpf.c: Likewise.
5444 * math/s_cexpl.c: Likewise.
5445 * math/libm-test.inc (cexp_test): Add more tests.
5446 * sysdeps/i386/fpu/libm-test-ulps: Update.
5447 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5448
81b035fe
L
54492012-03-22 H.J. Lu <hongjiu.lu@intel.com>
5450
5451 * include/link.h (ELFW): New macro.
5452 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
5453 Replace ELF64_R_TYPE with ELFW(R_TYPE).
5454
1da7940c
L
54552012-03-22 H.J. Lu <hongjiu.lu@intel.com>
5456
5457 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
5458 with uint64_t.
5459
b749dbb9
L
54602012-03-22 H.J. Lu <hongjiu.lu@intel.com>
5461
5462 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
5463 declaration.
5464 (struct La_x32_retval): Likewise.
5465
2ff87f3f
L
54662012-03-22 H.J. Lu <hongjiu.lu@intel.com>
5467
5468 * sysdeps/x86_64/preconfigure.in: New file.
5469 * sysdeps/x86_64/preconfigure: New generated file.
5470
c0df8e69
JM
54712012-03-22 Joseph Myers <joseph@codesourcery.com>
5472
48e44791
JM
5473 [BZ #13824]
5474 * math/e_exp2l.c: Include <float.h>.
5475 (__ieee754_exp2l): Handle overflow and underflow cases
5476 separately. Only pass fractional part of argument to
5477 __ieee754_expl.
5478 * math/libm-test.inc (exp2_test): Add more tests.
5479
c0df8e69
JM
5480 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
5481 negating x to take absolute value.
5482 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
5483 Likewise.
5484 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
5485 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
5486 Likewise.
5487 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
5488 computing low part if x was negated.
5489 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
5490
c8e43ba7
L
54912012-03-21 H.J. Lu <hongjiu.lu@intel.com>
5492
5493 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
5494 la_x32_gnu_pltexit.
5495 (pltexit): Cast int_retval to ptrdiff_t.
5496 * elf/tst-auditmod3b.c: Likewise.
5497 * elf/tst-auditmod4b.c: Likewise.
5498 * elf/tst-auditmod5b.c: Likewise.
5499 * elf/tst-auditmod6b.c: Likewise.
5500 * elf/tst-auditmod6c.c: Likewise.
5501 * elf/tst-auditmod7b.c: Likewise.
5502
5503 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
5504 and x32_gnu_pltexit.
5505
5506 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
5507 __ELF_NATIVE_CLASS.
5508 (La_x32_regs): New macro.
5509 (La_x32_retval): Likewise.
5510 (la_x32_gnu_pltenter): New function prototype.
5511 (la_x32_gnu_pltexit): Likewise.
5512
7998fa78
AS
55132012-03-21 Andreas Schwab <schwab@linux-m68k.org>
5514
dcb33988
AS
5515 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
5516 exponent.
5517
233fc563
AS
5518 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5519
7998fa78
AS
5520 * configure.in (libc_cv_cc_nofma): Check for option to disable
5521 generation of FMA instructions.
5522 * configure: Regenerate.
5523 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
5524 * sysdeps/ieee754/dbl-64/Makefile: New file.
5525 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
5526 Remove brandred-fma4.
5527 (CFLAGS-brandred-fma4.c): Remove.
5528 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
5529 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
5530 define.
5531 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
5532 define.
5533
8e95c99a
L
55342012-03-21 H.J. Lu <hongjiu.lu@intel.com>
5535
5536 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
5537 LLONG_MAX != LONG_MAX.
5538 (_itoa_word): Use _ITOA_WORD_TYPE on value.
5539 (_fitoa_word): Likewise.
5540 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
5541 LLONG_MAX != LONG_MAX.
5542 * stdio-common/_itowa.h: Include <_itoa.h>.
5543 (_itowa_word): Use _ITOA_WORD_TYPE on value.
5544 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
5545 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
5546 only if not defined.
5547 (_ITOA_WORD_TYPE): Likewise.
5548 (_itoa_word): Use _ITOA_WORD_TYPE on value.
5549 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
5550
6f4db457
DM
55512012-03-21 David S. Miller <davem@davemloft.net>
5552
5553 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5554
7785fe5a
L
55552012-03-21 H.J. Lu <hongjiu.lu@intel.com>
5556
5557 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
5558 of x86_64 when setting libc_cv_slibdir, libdir and
5559 libc_cv_localedir.
5560 * sysdeps/unix/sysv/linux/configure: Regenerated.
5561
4535cd55
JM
55622012-03-21 Joseph Myers <joseph@codesourcery.com>
5563
5564 * manual/lang.texi (Old Varargs): Remove section.
5565 (How Variadic): Update menu.
5566 (va_start): Do not mention varargs.h.
5567
17228132
TS
55682012-03-21 Thomas Schwinge <thomas@codesourcery.com>
5569 Joseph Myers <joseph@codesourcery.com>
5570
5571 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
5572 link test.
5573 * configure: Regenerated.
5574
8149f976
TS
55752012-03-21 Thomas Schwinge <thomas@codesourcery.com>
5576
05f3d1f6
UD
5577 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
5578 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
5579 conformtest.pl
8149f976 5580
1a4ac776
JM
55812012-03-21 Joseph Myers <joseph@codesourcery.com>
5582
be22ce65
JM
5583 * NOTES: Remove.
5584 * Makefile (files-for-dist): Remove NOTES.
5585 (NOTES): Remove rule.
5586 * README: Don't refer to NOTES.
5587 * manual/creature.texi: Don't include macros.texi.
5588 * manual/intro.texi (creature.texi): Remove comment referring to
5589 NOTES.
5590
40b601fb
JM
5591 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
5592 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
5593 * configure: Regenerated.
5594 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
5595 LIBC_TRY_CC_OPTION.
5596 (libc_cv_as_i686): Likewise.
5597 (libc_cv_cc_avx): Likewise.
5598 (libc_cv_cc_sse2avx): Likewise.
5599 (libc_cv_cc_fma4): Likewise.
5600 (libc_cv_cc_novzeroupper): Likewise.
5601 * sysdeps/i386/configure: Regenerated.
5602
1a4ac776
JM
5603 [BZ #13883]
5604 * sysdeps/i386/fpu/s_cexp.S: Remove.
5605 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
5606 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
5607 * math/libm-test.inc (cexp_test): Add more tests.
5608 * sysdeps/i386/fpu/libm-test-ulps: Update.
5609 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5610
a458e7fe
AM
56112012-03-21 Allan McRae <allan@archlinux.org>
5612
5613 * timezone/Makefile: Do not install iso3166.tab and zone.tab
5614
0cb7efc5
JM
56152012-03-21 Joseph Myers <joseph@codesourcery.com>
5616
5617 [BZ #13871]
5618 * math/w_exp2.c: Do not include <float.h>.
5619 (o_threshold, u_threshold): Remove.
5620 (__exp2): Calculate result before checking finiteness and calling
5621 __kernel_standard.
5622 * math/w_exp2f.c: Likewise.
5623 * math/w_exp2l.c: Likewise.
5624 * math/libm-test.inc (exp2_test): Require overflow exception for
5625 1e6 input.
2460d3aa
JM
5626
5627 [BZ #3866]
5628 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
5629 range of signed 64-bit integers before using fistpll. Remove
5630 checks for whether integers fit in mantissa bits.
5631 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
5632 the range of signed 32-bit integers before using fistpl. Remove
5633 checks for whether integers fit in mantissa bits.
5634 * sysdeps/i386/fpu/e_powl.S (p64): New object.
5635 (__ieee754_powl): Test for y outside the range of signed 64-bit
5636 integers before using fistpll. Reduce 64-bit values to 63-bit
5637 ones as needed.
5638 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
5639 divide-by-zero is raised for zero to large negative powers.
5640 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
5641 (__ieee754_powl): Test for y outside the range of signed 64-bit
5642 integers before using fistpll. Reduce 64-bit values to 63-bit
5643 ones as needed.
5644 * math/libm-test.inc (pow_test): Add more tests.
5645
eb96ffb0
L
56462012-03-20 H.J. Lu <hongjiu.lu@intel.com>
5647
5648 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
5649 <stdio-common/_itoa.h>.
5650 * debug/segfault.c: Likewise.
5651 * elf/dl-cache.c: Likewise.
5652 * elf/dl-minimal.c: Likewise.
5653 * elf/dl-misc.c: Likewise.
5654 * elf/dl-sysdep.c: Likewise.
5655 * elf/dl-version.c: Likewise.
5656 * elf/rtld.c: Likewise.
5657 * hurd/hurdsock.c: Likewise.
5658 * hurd/lookup-retry.c: Likewise.
5659 * malloc/malloc.c: Likewise.
5660 * malloc/mtrace.c: Likewise.
5661 * nscd/nscd_getgr_r.c: Likewise.
5662 * nscd/nscd_getpw_r.c: Likewise.
5663 * nscd/nscd_getserv_r.c: Likewise.
5664 * posix/getopt_init.c: Likewise.
5665 * posix/wordexp.c: Likewise.
5666 * stdio-common/_itoa.c: Likewise.
5667 * stdio-common/printf_fphex.c: Likewise.
5668 * stdio-common/vfprintf.c: Likewise.
5669 * string/_strerror.c: Likewise.
5670 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
5671 * sysdeps/i386/i686/hp-timing.h: Likewise.
5672 * sysdeps/mach/_strerror.c: Likewise.
5673 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
5674 * sysdeps/mach/hurd/sethostid.c: Likewise.
5675 * sysdeps/mach/hurd/xmknodat.c: Likewise.
5676 * sysdeps/mach/xpg-strerror.c: Likewise.
5677 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
5678 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
5679 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
5680 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
5681 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
5682 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
5683 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
5684 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
5685 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
5686 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
5687 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
5688 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
5689 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
5690 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
5691 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
5692 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
5693 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
5694 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
5695 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
5696 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
5697 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
5698
5699 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
5700
5701 * stdio-common/_itoa.h: Moved to ...
5702 * sysdeps/generic/_itoa.h: Here.
5703
5704 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
5705
5706 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
5707 instead of "_itoa.h" and "_itowa.h".
5708 * stdio-common/vfprintf.: Likewise.
5709
d1af992d
L
57102012-03-20 H.J. Lu <hongjiu.lu@intel.com>
5711
5712 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
5713 <bits/wordsize.h>.
5714 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
5715 (__signbit): Likwise.
5716 (llrintf): Likwise.
5717 (llrint): Likwise.
5718
114883e0
L
57192012-03-20 H.J. Lu <hongjiu.lu@intel.com>
5720
5721 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
5722 __WORDSIZE != 64.
5723
c135cc1b
JM
57242012-03-20 Joseph Myers <joseph@codesourcery.com>
5725
5726 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
5727 OVERFLOW_EXCEPTION_OK.
5728 * math/libm-test.inc ("Philosophy"): Update comment about
5729 exception testing.
5730 (OVERFLOW_EXCEPTION): Define.
5731 (OVERFLOW_EXCEPTION_OK): Likewise.
5732 (INVALID_EXCEPTION_OK): Renumber.
5733 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
5734 (IGNORE_ZERO_INF_SIGN): Likewise.
5735 (test_exceptions): Handle FE_OVERFLOW.
5736 (exp10_test): Expect overflow exceptions.
5737 (exp2_test): Likewise.
5738 (expm1_test): Likewise.
5739 (nextafter_test): Likewise.
5740 (pow_test): Likewise.
5741 (scalbn_test): Likewise.
5742 (scalbln_test): Likewise.
5743
95443d88
L
57442012-03-19 H.J. Lu <hongjiu.lu@intel.com>
5745
5746 * sysdeps/x86_64/bits/atomic.h
5747 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
5748 64bit integer.
5749 (atomic_exchange_acq): Likewise.
5750 (__arch_exchange_and_add_body): Likewise.
5751 (__arch_add_body): Likewise.
5752 (atomic_add_negative): Likewise.
5753 (atomic_add_zero): Likewise.
5754
490df6c4
L
57552012-03-19 H.J. Lu <hongjiu.lu@intel.com>
5756
c2722551 5757 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
5758 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
5759
5e52b189
L
57602012-03-19 H.J. Lu <hongjiu.lu@intel.com>
5761
5762 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
5763 Check __x86_64__ instead of __WORDSIZE.
5764
a9879d4c
L
57652012-03-19 H.J. Lu <hongjiu.lu@intel.com>
5766
5767 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
5768
5df98260
DM
57692012-03-19 David S. Miller <davem@davemloft.net>
5770
e1497744
DM
5771 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5772
5df98260
DM
5773 * sysdeps/sparc/fpu/fenv_private.h: New file.
5774 * sysdeps/sparc/fpu/math_private.h: Use it.
5775 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
5776 Remove.
5777 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
5778 (libc_feholdexcept_setroundl): Remove.
5779 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
5780 Remove.
5781 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
5782 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
5783
b4c35121
L
57842012-03-19 H.J. Lu <hongjiu.lu@intel.com>
5785
5786 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
5787 int64_t instead of long int.
5788 (INSERT_WORDS64): Likwise.
5789
56965fd7
L
57902012-03-19 H.J. Lu <hongjiu.lu@intel.com>
5791
5792 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
5793 _Unwind_GetCFA return to _Unwind_Ptr first.
5794
83d1aec8
JM
57952012-03-19 Joseph Myers <joseph@codesourcery.com>
5796
1897ad44
JM
5797 [BZ #13629]
5798 * math/s_clog.c: Include <float.h>.
5799 (__clog): Scale large or subnormal inputs.
5800 * math/s_clogf.c: Likewise.
5801 * math/s_clogl.c: Likewise.
5802 * math/s_clog10.c: Include <float.h>.
5803 (M_LOG10_2): Define.
5804 (__clog10): Scale large or subnormal inputs.
5805 * math/s_clog10f.c: Likewise.
5806 * math/s_clog10l.c: Likewise.
5807 * math/libm-test.inc (clog_test): Add more tests.
5808 (clog10_test): Likewise.
5809 * sysdeps/i386/fpu/libm-test-ulps: Update.
5810 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5811
7726d6a9
JM
5812 [BZ #11451]
5813 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
5814 x and y.
5815 * math/libm-test.inc (atan2_test): Add another test.
5816
83d1aec8
JM
5817 * Makerules (common-objdir-compile): Remove.
5818 * sysdeps/unix/Makefile (config-generated): Do not add
5819 $(unix-generated) to variable.
5820 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
5821 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
5822 Remove rule.
5823 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
5824 Likewise.
5825 [generic bits/local_lim.h] (before-compile): Do not append to
5826 variable.
5827 [generic bits/local_lim.h] (common-generated): Likewise.
5828 [generic sys/param.h] (before-compile): Do not append to variable.
5829 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
5830 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
5831 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
5832 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
5833 include.
5834 [generic sys/param.h] (sys/param.h-includes): Remove variable.
5835 [generic sys/param.h] (sys/param.h-includes): Remove rule.
5836 [generic sys/param.h] ($(addprefix
5837 $(common-objpfx),$(sys/param.h-includes))): Likewise.
5838 [generic sys/param.h] (common-generated): Do not append to
5839 variable.
5840 [generic sys/param.h] (sysdep_headers): Likewise.
5841 [generic bits/errno.h] (before-compile): Do not append to
5842 variable.
5843 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
5844 rule.
5845 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
5846 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
5847 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
5848 [generic bits/errno.h] (common-generated): Do not append to
5849 variable.
5850 [generic bits/ioctls.h] (before-compile): Do not append to
5851 variable.
5852 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
5853 rule.
5854 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
5855 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
5856 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
5857 rule.
5858 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
5859 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
5860 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
5861 [generic bits/ioctls.h] (common-generated): Do not append to
5862 variable.
5863 [generic sys/syscall.h] (syscall.h): Remove variable.
5864 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
5865 rule.
5866 [generic sys/syscall.h] (before-compile): Do not append to
5867 variable.
5868 [generic sys/syscall.h] (common-generated): Likewise.
5869 * sysdeps/unix/errnos-tmpl.c: Remove file.
5870 * sysdeps/unix/errnos.awk: Likewise.
5871 * sysdeps/unix/ioctls-tmpl.c: Likewise.
5872 * sysdeps/unix/ioctls.awk: Likewise.
5873 * sysdeps/unix/mk-local_lim.c: Likewise.
5874 * sysdeps/unix/snarf-ioctls: Likewise.
5875
4851a949
RH
58762012-03-19 Richard Henderson <rth@twiddle.net>
5877
bd37f2ee
RH
5878 * sysdeps/i386/fpu/fenv_private.h: New file.
5879 * sysdeps/i386/fpu/math_private.h: Use it.
5880 (math_opt_barrier, math_force_eval): Remove.
5881 (libc_feholdexcept_setround_53bit): Remove.
5882 (libc_feupdateenv_53bit): Remove.
5883 * sysdeps/x86_64/fpu/math_private.h: Likewise.
5884 (math_opt_barrier, math_force_eval): Remove.
5885 (libc_feholdexcept): Remove.
5886 (libc_feholdexcept_setround): Remove.
5887 (libc_fetestexcept, libc_fesetenv): Remove.
5888 (libc_feupdateenv_test): Remove.
5889 (libc_feupdateenv, libc_feholdsetround): Remove.
5890 (libc_feresetround): Remove.
5891
d0adc922
RH
5892 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
5893 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
5894
0fe0f1f8
RH
5895 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
5896 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
5897 (libc_feupdateenv_testl): New.
5898 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
5899 (libc_feupdateenv_testf): New.
5900 (libc_feupdateenv): Use libc_feupdateenv_test.
5901 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
5902 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
5903
eb92c487
RH
5904 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
5905 (libc_feholdsetroundf, libc_feholdsetroundl): New.
5906 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
5907 (libc_feresetround_noex): New.
5908 (libc_feresetround_noexf): New.
5909 (libc_feresetround_noexl): New.
5910 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
5911 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
5912 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
5913 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
5914 SET_RESTORE_ROUND.
5915 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
5916 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
5917 (__cos): Likewise.
5918 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
5919 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
5920 SET_RESTORE_ROUND_NOEX.
5921 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
5922 SET_RESTORE_ROUND_NOEXF.
5923 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
5924 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
5925 (libc_feholdsetroundf): New.
5926 (libc_feresetround, libc_feresetroundf): New.
5927
7d2e8012
RH
5928 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
5929 (libc_feholdexcept_setround_53bit): Convert from macro to function.
5930 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
5931
b4dabbb4
RH
5932 * sysdeps/generic/math_private.h: Include <fenv.h>.
5933 (default_libc_feholdexcept): New.
5934 (default_libc_feholdexcept_setround): New.
5935 (default_libc_fesetenv, default_libc_feupdateenv): New.
5936 (libc_feholdexcept): Only define if undefined.
5937 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
5938 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
5939 (libc_feholdexcept_setroundl): Likewise.
5940 (libc_feholdexcept_setround_53bit): Likewise.
5941 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
5942 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
5943 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
5944 (libc_feupdateenv_53bit): Likewise.
5945 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
5946 (libc_feholdexcept): Convert from macro to inline function.
5947 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
5948 (libc_fesetenv, libc_feupdateenv): Likewise.
5949
4851a949
RH
5950 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
5951 not previously defined.
5952 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
5953 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
5954 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
5955 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
5956 * sysdeps/ieee754/flt-32/math_private.h: New file.
5957 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
5958 math_private.h below SET_FLOAT_WORD.
5959 (__isnan, __isinf_ns, __finite): Remove.
5960 (__isnanf, __isinf_nsf, __finitef): Remove.
5961
e79d442e
AS
59622012-03-18 Andreas Schwab <schwab@linux-m68k.org>
5963
5964 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5965
90b80344
DM
59662012-03-17 David S. Miller <davem@davemloft.net>
5967
5968 [BZ #6471]
5969 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
5970 for 2.16.
5971
edc21804
DM
59722012-03-16 David S. Miller <davem@davemloft.net>
5973
77e927af
DM
5974 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
5975 warnings.
5976
374976dd
DM
5977 [BZ #6471]
5978 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
5979 properly.
5980 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
5981 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
5982 sysdep_routines when subdir is sysvipc.
5983 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
5984 __getshmlba helper.
5985
edc21804
DM
5986 * sysdeps/sparc/fpu/libm-test/ulps: Update.
5987
473c3ef3
L
59882012-03-16 H.J. Lu <hongjiu.lu@intel.com>
5989
5990 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
5991 [__LP64__].
5992
eb0f39b6
L
59932012-03-16 H.J. Lu <hongjiu.lu@intel.com>
5994
5995 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
5996 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
5997 (__lround): Renamed to ...
5998 (__llround): This. Replace long int with long long int.
5999 Define lround functions as aliases of llround functions.
6000 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
6001
6b6cd74b
L
60022012-03-16 H.J. Lu <hongjiu.lu@intel.com>
6003
6004 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
6005 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
6006 adresses to uintptr_t. Replace "long int" and "unsigned long
6007 int" with "greg_t" on va_arg.
6008
f1a77b01
L
60092012-03-16 H.J. Lu <hongjiu.lu@intel.com>
6010
6011 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
6012 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
6013
6014 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
6015 Move e_machine check before EI_CLASS check. Handle x32
6016 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
6017 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
6018 SKIP_EM_IA_64 and include
6019 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
6020
6021 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
6022 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
6023 (add_system_dir): New macro.
6024
6025 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
6026 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
6027
11b90b9f
JM
60282012-03-16 Joseph Myers <joseph@codesourcery.com>
6029
c36e1d23
JM
6030 [BZ #2551]
6031 [BZ #2552]
6032 [BZ #2553]
6033 [BZ #2554]
6034 [BZ #2562]
6035 [BZ #2563]
6036 [BZ #2565]
6037 [BZ #2566]
6038 [BZ #2576]
6039 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
6040 (y0): Likewise.
6041 * math/w_j0f.c (j0f): Likewise.
6042 (y0f): Likewise.
6043 * math/w_j0l.c (__j0l): Likewise.
6044 (__y0l): Likewise.
6045 * math/w_j1.c (j1): Likewise.
6046 (y1): Likewise.
6047 * math/w_j1f.c (j1f): Likewise.
6048 (y1f): Likewise.
6049 * math/w_j1l.c (__j1l): Likewise.
6050 (__y1l): Likewise.
6051 * math/w_jn.c (jn): Likewise.
6052 (yn): Likewise.
6053 * math/w_jnf.c (jnf): Likewise.
6054 (ynf): Likewise.
6055 * math/w_jnl.c (__jnl): Likewise.
6056 (__ynl): Likewise.
6057 * math/libm-test.inc (j0_test): Add more tests.
6058 (j1_test): Likewise.
6059 (jn_test): Likewise. Add trailing semicolon to existing test.
6060 (y0_test): Likewise.
6061 (y1_test): Likewise.
6062 * sysdeps/i386/fpu/libm-test-ulps: Update.
6063 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6064
11b90b9f
JM
6065 [BZ #13851]
6066 [BZ #13854]
6067 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
6068 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
6069 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
6070 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
6071 (__tanl): Set errno for infinite argument.
6072 * sysdeps/i386/fpu/mptan.c: Remove.
6073 * sysdeps/i386/fpu/s_tan.S: Likewise.
6074 * sysdeps/i386/fpu/s_tanl.S: Likewise.
6075 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
6076 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
6077 * math/libm-test.inc (tan_test): Add more tests and enable more
6078 tests for double and long double.
6079 * sysdeps/i386/fpu/libm-test-ulps: Update.
6080 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6081
6a1bd2a1
JK
60822012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
6083
6084 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
6085 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
6086
10a803e0
RM
60872012-03-16 Roland McGrath <roland@hack.frob.com>
6088
6089 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
6090 * configure.in: Use it for both main tree and add-ons.
6091 * configure: Regenerated.
6092
f196c7f7
L
60932012-03-16 H.J. Lu <hongjiu.lu@intel.com>
6094
6095 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
6096
8848d99d
JM
60972012-03-16 Joseph Myers <joseph@codesourcery.com>
6098
96cbe7f4
JM
6099 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
6100 in comment.
6101
8848d99d
JM
6102 [BZ #13851]
6103 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
6104 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
6105 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
6106 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
6107 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
6108 infinite argument.
6109 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
6110 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
6111 != 0 for prec == 2.
6112 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
6113 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
6114 * sysdeps/i386/fpu/s_cosl.S: Likewise.
6115 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
6116 * sysdeps/i386/fpu/s_sinl.S: Likewise.
6117 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
6118 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
6119 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
6120 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
6121 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
6122 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
6123 * math/libm-test.inc (cos_test): Add more tests and enable more
6124 tests for long double.
6125 (sin_test): Likewise.
6126 (sincos_test): Likewise.
6127 * sysdeps/i386/fpu/libm-test-ulps: Update.
6128 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6129
dd7f4703
DM
61302012-03-16 David S. Miller <davem@davemloft.net>
6131
6132 * sysdeps/sparc/fpu/math_private.h: New file.
6133
006f1daa
DM
61342012-03-15 David S. Miller <davem@davemloft.net>
6135
c0c83bc8
DM
6136 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
6137 file.
e6a62e18 6138 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
6139 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
6140 file.
e6a62e18
DM
6141 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
6142 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
6143 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
6144 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
6145 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
6146 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
6147 sysdep routines.
6148 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
6149
88cb87d9
DM
6150 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
6151 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
6152
006f1daa 6153 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
6154 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
6155 sparc-ifunc.h
006f1daa 6156 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
6157 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
6158 Likewise.
6159 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
6160 Likewise.
006f1daa
DM
6161 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
6162 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
6163 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
6164 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
6165 Likewise.
006f1daa
DM
6166 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
6167 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
6168 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
6169 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
6170 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
6171 Likewise.
6172 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
6173 Likewise.
006f1daa
DM
6174 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
6175 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
6176 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
6177 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
6178 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
6179 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
6180 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
6181 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
6182 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
6183 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
6184 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
6185 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
6186 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
6187 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
6188 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
6189 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
6190 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
6191 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
6192 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
6193 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
6194 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
6195 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
6196 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
6197 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
6198
11e0098e
AS
61992012-03-15 Andreas Schwab <schwab@linux-m68k.org>
6200
6201 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
6202 scaling.
6203 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6204
e85b09d0
AJ
62052012-03-15 Andreas Jaeger <aj@suse.de>
6206
6207 [BZ #13852]
6208 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
6209 ieee754/flt-32 implementation for sin, cos and sincos.
6210 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
6211 * sysdeps/i386/fpu/s_cosf.S: Likewise.
6212 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
6213 * sysdeps/i386/fpu/s_sinf.S: Likewise.
6214 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
6215 ieee754/flt-32 implementation for tan.
6216
6217 * math/libm-test.inc (cos_test): Enable some large input tests for
6218 float as well
6219 (sin_test): Likewise.
6220 (sincos_test): Likewise.
6221 (tan_test): Add tests for large input.
6222
6223 * sysdeps/i386/fpu/libm-test-ulps: Update.
6224
81c64153
AJ
62252012-03-15 Andreas Jaeger <aj@suse.de>
6226
6227 [BZ #13658]
6228 * math/libm-test.inc (cos_test): Add more test cases.
6229 (sin_test): Likewise.
6230 (sincos_test): Likewise.
6231
7bbfa5c6
AJ
62322012-03-15 Andreas Jaeger <aj@suse.de>
6233
6234 [BZ #13837]
6235 * math/libm-test.inc (cos_test): Add a test case for large input
6236 value.
6237 (sin_test): Likewise.
6238 (sincos_test): Likewise.
6239
62402012-03-15 Andreas Jaeger <aj@suse.de>,
6241 Joseph Myers <joseph@codesourcery.com>
6242
6243 [BZ #13658]
0671f479 6244 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
6245 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
6246 * sysdeps/i386/fpu/branred.c: Likewise.
6247 * sysdeps/i386/fpu/dosincos.c: Likewise.
6248 * sysdeps/i386/fpu/mpa.c: Likewise.
6249 * sysdeps/i386/fpu/s_cos.S: Likewise.
6250 * sysdeps/i386/fpu/s_sin.S: Likewise.
6251 * sysdeps/i386/fpu/s_sincos.S: Likewise.
6252 * sysdeps/i386/fpu/sincos32.c: Likewise.
6253
6254 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
6255 Define.
6256 (libc_feupdateenv_53bit): Define.
6257 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
6258 Define.
6259 (libc_feupdateenv_53bit): Define.
6260
6261 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
6262 53 bit (without extend i386 double precision).
6263
6264 * math/libm-test.inc (sincos_test): Add tests for large input.
6265 (sin): Likewise.
6266 (cos): Likewise.
6267
6268 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
6269
9cad04ea
AS
62702012-03-15 Andreas Schwab <schwab@linux-m68k.org>
6271
6272 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6273
f7062b9a
DM
62742012-03-15 David S. Miller <davem@davemloft.net>
6275
6276 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
6277 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
6278 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
6279 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
6280 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
6281 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
6282 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
6283 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
6284 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
6285 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
6286 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
6287 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
6288 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
6289 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
6290 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
6291 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
6292 file.
f7062b9a 6293 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
6294 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
6295 file.
f7062b9a 6296 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
6297 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
6298 file.
f7062b9a 6299 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
6300 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
6301 file.
f7062b9a
DM
6302 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
6303 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
6304 fmin/fmax sysdep routines.
6305 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
6306
7bd951ff
DM
63072012-03-14 David S. Miller <davem@davemloft.net>
6308
559398ab
DM
6309 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
6310 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
6311 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
6312 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
6313 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
6314 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
6315 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
6316 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
6317 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
6318 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
6319 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
6320 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
6321 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
6322 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
6323 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
6324 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
6325 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
6326 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
6327 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
6328 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
6329 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
6330 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
6331 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
6332 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
6333 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
6334 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
6335 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
6336 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
6337 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
6338 routines.
6339 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
6340 file.
559398ab 6341 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
6342 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
6343 file.
559398ab 6344 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
6345 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
6346 file.
559398ab 6347 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
6348 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
6349 file.
559398ab 6350 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
6351 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
6352 file.
559398ab 6353 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
6354 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
6355 file.
6356 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
6357 file.
6358 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
6359 file.
6360 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
6361 file.
6362 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
6363 New file.
6364 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
6365 file.
6366 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
6367 file.
559398ab 6368 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
6369 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
6370 file.
559398ab 6371 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
6372 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
6373 file.
559398ab 6374 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
6375 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
6376 file.
559398ab 6377 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
6378 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
6379 VIS3 routines.
559398ab
DM
6380
6381 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
6382 New file.
6383
5a1c1e32
DM
6384 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6385
eae47a36
DM
6386 * sysdeps/sparc/configure.in: New file.
6387 * sysdeps/sparc/configure: Generate.
6388 * configure.in (libc_cv_sparc_as_vis3): Substitute.
6389 * configure: Regenerate.
6390 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
6391 * config.make.in (have-as-vis3): New.
6392 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
6393 available use -Av9d instead of -Av9a.
6394 * sysdeps/sparc/sparc64/Makefile: Likewise.
6395 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
6396 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
6397 New file.
6398 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
6399 file.
6400 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
6401 New file.
6402 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
6403 file.
eae47a36
DM
6404 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
6405 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
6406 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
6407 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
6408 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
6409
c0c83bc8
DM
6410 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
6411 fzeros/fnegs to load 0x80000000 into a float register instead of
6412 using the stack.
7bd951ff
DM
6413 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
6414
bd951ccb
JM
64152012-03-14 Joseph Myers <joseph@codesourcery.com>
6416
6417 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
6418 bits/syscall.h.
6419 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
6420 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
6421 ($(inst_includedir)/bits/syscall.h): Remove rule.
6422 ($(objpfx)bits/syscall.d): Include instead of
6423 $(objpfx)syscall-list.d.
6424 (generated): Change syscall-list.h and syscall-list.d to
6425 bits/syscall.h and bits/syscall.d.
6426
bb4e6db2
RM
64272012-03-14 Roland McGrath <roland@hack.frob.com>
6428
6429 [BZ #13846]
6430 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
6431
aa4a2ae1
JM
64322012-03-14 Joseph Myers <joseph@codesourcery.com>
6433
e456826d
JM
6434 [BZ #13841]
6435 * math/s_csqrt.c: Include <float.h>.
6436 (__csqrt): Scale large or subnormal inputs.
6437 * math/s_csqrtf.c: Likewise.
6438 * math/s_csqrtl.c: Likewise.
6439 * math/libm-test.inc (csqrt_test): Add more tests.
6440 * sysdeps/i386/fpu/libm-test-ulps: Update.
6441 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6442
aa4a2ae1
JM
6443 [BZ #13840]
6444 * math/libm-test.inc (hypot_test): Add more tests.
6445
7c10fd35
DM
64462012-03-13 David S. Miller <davem@davemloft.net>
6447
6448 [BZ #13840]
6449 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
6450 double-precision for the calculation instead of scaling.
6451
f453b98b
JM
64522012-03-13 Joseph Myers <joseph@codesourcery.com>
6453
6454 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
6455 manipulate bits before adding and subtracting TWO52[sx].
6456 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
6457 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
6458 Likewise.
6459 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
6460
09a3453f
DM
64612012-03-13 David S. Miller <davem@davemloft.net>
6462
8e59da90
DM
6463 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
6464 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
6465 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
6466 rtld-global-offsets.h
6467 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
6468
2a8ab7f2
DM
6469 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
6470 large parameters.
6471
10f62770
DM
6472 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
6473
5f0bdb18
DM
6474 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
6475 'err' in the ifdef scope in which it is actually used.
6476
09a3453f
DM
6477 * nss/nss_db/db-init.c: Include string.h
6478
b4b2eb5e
DM
64792012-03-12 David S. Miller <davem@davemloft.net>
6480
98bb2f1c
DM
6481 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
6482 masking out of the most significant byte of random value used.
6483 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
6484 Fix coding style in previous change.
6485
b4b2eb5e
DM
6486 * sysdeps/unix/sysv/linux/kernel-features.h
6487 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
6488 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
6489 expression.
6490 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
6491 later.
6492
6e226b09
DM
64932012-03-11 David S. Miller <davem@davemloft.net>
6494
a1bcbd40
DM
6495 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
6496 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
6497 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
6498 for 'resultvar' otherwise things get truncated on 64-bit.
6499
cb9d6174
DM
6500 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
6501 Fix masking out of the most significant byte of random value used.
6502
6e226b09
DM
6503 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6504
058c132d
AS
65052012-03-10 Andreas Schwab <schwab@linux-m68k.org>
6506
6507 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6508
2d2cd515
DM
65092012-03-09 David S. Miller <davem@davemloft.net>
6510
6511 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
6512 variables with appropriate CPP guards.
6513 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
6514 frame pointer, not the stack pointer. Correct layout comments. Fix test
6515 on resulting framesize and the management of the outregs buffer for pltexit.
6516 Preserve floating point return values across _dl_call_pltexit call.
6517 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
6518 framesize and the management of the outregs buffer for pltexit.
6519 Preserve floating point return values across _dl_call_pltexit
6520 call.
6521 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
6522 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
6523 (print_exit): Fix format string for return register value.
6524
9a07f9d0
JM
65252012-03-10 Joseph Myers <joseph@codesourcery.com>
6526
6527 * sunrpc/Makefile (others): Add rpcgen.
6528 ($(objpfx)rpcgen): Remove special build rule and dependency on
6529 libc.
6530 * sunrpc/rpcgen.c: New file.
6531
547b5e30
PE
65322012-03-09 Paul Eggert <eggert@cs.ucla.edu>
6533
c524201a
PE
6534 [BZ #13673]
6535 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
6536 * stdio-common/bug-vfprintf-nargs.c: Likewise.
6537 * sysdeps/i386/crti.S: Likewise.
6538 * sysdeps/i386/crtn.S: Likewise.
6539 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
6540 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
6541 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
6542 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
6543 * sysdeps/sh/crti.S: Likewise.
6544 * sysdeps/sh/crtn.S: Likewise.
6545 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
6546
7b6235f2
PE
6547 [BZ #13673]
6548 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
6549 with URL.
6550 * locale/programs/locfile-kw.gperf: Likewise.
6551 * locale/programs/charmap-kw.h: Regenerated.
6552 * locale/programs/locfile-kw.h: Likewise.
6553
547b5e30
PE
6554 [BZ #13673]
6555 * intl/plural.y: Replace FSF snail mail address with URL.
6556 * intl/plural.c: Regenerated.
6557
5f0a5dae
RH
65582012-03-09 Richard Henderson <rth@twiddle.net>
6559
6560 * include/math_private.h: Remove file.
6561 * math/math_private.h: Move file ...
6562 * sysdeps/generic/math_private.h: ... here.
6563
b8c03620
RH
6564 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
6565 * sysdeps/powerpc/fpu/math_private.h: Likewise.
6566 * sysdeps/x86_64/fpu/math_private.h: Likewise.
6567
4e234f5d 6568 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
6569 and <math_private.h>.
6570 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
6571 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
6572 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
6573 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
6574 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
6575 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
6576 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
6577 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
6578 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
6579 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
6580 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
6581 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
6582 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
6583 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
6584 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
6585 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
6586 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
6587 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
6588 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
6589 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
6590 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
6591 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
6592 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
6593 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
6594 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
6595 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
6596 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
6597 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
6598 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
6599 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
6600 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
6601 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
6602 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
6603 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
6604 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
6605 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
6606 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
6607 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
6608 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
6609 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
6610 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
6611 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
6612 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
6613 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
6614 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
6615 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
6616 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
6617 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
6618 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
6619 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
6620 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
6621 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
6622 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
6623 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
6624 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
6625 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
6626 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
6627 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
6628 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
6629 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
6630 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
6631 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
6632 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
6633 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
6634 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
6635 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
6636 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
6637 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
6638 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
6639 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
6640 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
6641 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
6642 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
6643 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
6644 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
6645 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
6646 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
6647 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
6648 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
6649 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
6650 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
6651 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
6652 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
6653 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
6654 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
6655 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
6656 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
6657 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
6658 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
6659 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
6660 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
6661 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
6662 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
6663 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
6664 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
6665 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
6666 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
6667 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
6668 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
6669 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
6670 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
6671 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
6672 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
6673 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
6674 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
6675 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
6676 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
6677 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
6678 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
6679 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
6680 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
6681 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
6682 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
6683 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
6684 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
6685 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
6686 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
6687 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
6688 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
6689 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
6690 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
6691 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
6692 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
6693 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
6694 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
6695 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
6696 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
6697 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
6698 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
6699 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
6700 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
6701 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
6702 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
6703 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
6704 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
6705 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
6706 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
6707 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
6708 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
6709 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
6710 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
6711 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
6712 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
6713 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
6714 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
6715 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
6716 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
6717 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
6718 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
6719 * sysdeps/ieee754/k_standard.c: Likewise.
6720 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
6721 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
6722 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
6723 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
6724 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
6725 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
6726 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
6727 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
6728 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
6729 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
6730 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
6731 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
6732 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
6733 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
6734 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
6735 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
6736 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
6737 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
6738 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
6739 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
6740 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
6741 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
6742 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
6743 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
6744 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
6745 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
6746 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
6747 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
6748 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
6749 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
6750 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
6751 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
6752 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
6753 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
6754 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
6755 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
6756 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
6757 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
6758 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
6759 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
6760 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
6761 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
6762 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
6763 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
6764 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
6765 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
6766 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
6767 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
6768 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
6769 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
6770 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
6771 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
6772 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
6773 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
6774 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
6775 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
6776 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
6777 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
6778 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
6779 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
6780 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
6781 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
6782 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
6783 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
6784 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
6785 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
6786 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
6787 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
6788 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
6789 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
6790 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
6791 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
6792 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
6793 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
6794 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
6795 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
6796 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
6797 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
6798 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
6799 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
6800 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
6801 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
6802 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
6803 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
6804 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
6805 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
6806 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
6807 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
6808 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
6809 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
6810 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
6811 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
6812 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
6813 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
6814 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
6815 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
6816 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
6817 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
6818 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
6819 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
6820 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
6821 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
6822 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
6823 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
6824 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
6825 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
6826 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
6827 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
6828 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
6829 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
6830 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
6831 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
6832 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
6833 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
6834 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
6835 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
6836 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
6837 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
6838 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
6839 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
6840 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
6841 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
6842 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
6843 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
6844 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
6845 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
6846 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
6847 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
6848 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
6849 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
6850 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
6851 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
6852 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
6853 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
6854 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
6855 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
6856 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
6857 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
6858 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
6859 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
6860 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
6861 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
6862 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
6863 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
6864 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
6865 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
6866 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
6867 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
6868 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
6869 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
6870 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
6871 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
6872 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
6873 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
6874 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
6875 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
6876 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
6877 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
6878 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
6879 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
6880 * sysdeps/ieee754/s_lib_version.c: Likewise.
6881 * sysdeps/ieee754/s_matherr.c: Likewise.
6882 * sysdeps/ieee754/s_signgam.c: Likewise.
6883 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
6884 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
6885 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
6886 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
6887 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
6888 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
6889 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
6890 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
6891 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
6892 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
6893 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
6894 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
6895 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
6896 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
6897 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
6898 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
6899 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
6900 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
6901 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
6902 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
6903 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 6904
1991fa03
JM
69052012-03-09 Joseph Myers <joseph@codesourcery.com>
6906
6907 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
6908 * sunrpc/rpc_main.c: Likewise.
6909 * sunrpc/rpc_svcout.c: Likewise.
6910
60d6f5a6
DM
69112012-03-09 David S. Miller <davem@davemloft.net>
6912
6913 * include/math_private.h: New file.
6914
4962050e
JM
69152012-03-09 Joseph Myers <joseph@codesourcery.com>
6916
02a6f887
JM
6917 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
6918 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
6919 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
6920 from <bits/socket_type.h>.
6921 (enum __socket_type): Don't define here.
6922 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
6923 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
6924 bits/socket_type.h.
6925
c6e013c1
JM
6926 [BZ #13566]
6927 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
6928 checking __USE_GNU.
6929
4962050e
JM
6930 * Makerules ($(inst_includedir)/%.h): New rule.
6931 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
6932 (install-others): Remove variable setting.
6933 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
6934
38842f45
RH
69352012-03-08 Richard Henderson <rth@twiddle.net>
6936
67bb6da6
RH
6937 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
6938 from macro to inline function; merge with the
6939 !__LIBC_INTERNAL_MATH_INLINES version.
6940 (__ieee754_sqrtf): Likewise.
6941
15194b4b
RH
6942 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
6943 to inline function.
6944 (__rintf, __floor, __floorf): Likewise.
6945
64e21ede
RH
6946 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
6947 macro to inline function.
6948 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
6949
38842f45
RH
6950 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
6951 not <math/math_private.h>.
6952
c64bf5fe
DM
69532012-03-08 David S. Miller <davem@davemloft.net>
6954
6955 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
6956 copyright year.
6957 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
6958
82d86f28
TS
69592012-03-08 Thomas Schwinge <thomas@codesourcery.com>
6960
6961 * resolv/gai_misc.c (handle_requests): Fix struct timespec
6962 normalization.
6963 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
6964 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
6965
aea5d727
UD
69662012-03-08 Ulrich Drepper <drepper@gmail.com>
6967
6968 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
6969 be defined individually, they must be defined as a block. Define
6970 S for printing a string instead of hidint the different by using a
6971 macro for adding the 'l'.
6972 * stdio-common/tst-fphex-wide.c: Adjust.
6973
70bca0a3
MP
69742012-03-07 Marek Polacek <polacek@redhat.com>
6975
6976 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
6977
65b81130
MP
69782012-03-08 Marek Polacek <polacek@redhat.com>
6979
6980 [BZ #13806]
6981 * stdio-common/Makefile (tests): Add tst-fphex-wide.
6982 * stdio-common/tst-fphex.c: Define a few macros to make the
6983 test reusable. Use them.
6984 * stdio-common/tst-fphex-wide.c: New file.
6985
07037eeb
JM
69862012-03-08 Joseph Myers <joseph@codesourcery.com>
6987
a7a93d50
JM
6988 [BZ #6911]
6989 * manual/macros.texi (gnusystems): New macro.
6990 (nongnusystems): Likewise.
6991 (gnulinuxhurdsystems): Likewise.
6992 (gnuhurdsystems): Likewise..
6993 (gnulinuxsystems): Likewise.
6994 * manual/charset.texi: Use new macros or @theglibc{} to refer to
6995 variants of the GNU system, not "GNU system".
6996 * manual/conf.texi: Likewise.
6997 * manual/errno.texi: Likewise. Update example of errno macro
6998 expansion.
6999 * manual/filesys.texi: Likewise.
7000 (getumask): Document as specific to GNU/Hurd.
7001 * manual/install.texi: Likewise. Reword some references to
7002 GNU/Linux.
7003 * manual/intro.texi: Likewise.
7004 * manual/io.texi: Likewise.
7005 (File Name Portability): Detail which constraints are inapplicable
7006 to all GNU systems and which are only inapplicable to GNU/Hurd.
7007 * manual/job.texi: Likewise.
7008 * manual/llio.texi: Likewise.
7009 (O_NOCTTY): Document as present on GNU/Linux.
7010 * manual/maint.texi: Likewise.
7011 * manual/memory.texi: Likewise.
7012 * manual/pattern.texi: Likewise.
7013 * manual/pipe.texi: Likewise.
7014 * manual/process.texi: Likewise.
7015 * manual/resource.texi: Likewise.
7016 (RUSAGE_CHILDREN): Remove statement about specifying a particular
7017 child on GNU/Hurd.
7018 * manual/setjmp.texi: Likewise.
7019 * manual/signal.texi: Likewise.
7020 * manual/startup.texi: Likewise.
7021 * manual/stdio.texi: Likewise.
7022 * manual/terminal.texi: Likewise.
7023 (ONLCR): Document as POSIX.
7024 (OXTABS): Document availability on GNU/Linux as XTABS.
7025 (ONOEOT): Document availability separately from other bits.
7026 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
7027 * manual/time.texi: Likewise.
7028 * manual/users.texi: Likewise.
7029 * INSTALL: Regenerated.
7030 * sysdeps/gnu/errlist.c: Regenerated.
7031
07037eeb
JM
7032 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
7033 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
7034 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
7035 puts.
7036 * configure: Regenerated.
7037
d1d3431a
JM
70382012-03-07 Joseph Myers <joseph@codesourcery.com>
7039
af6a1e37
JM
7040 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
7041 default includes instead of AC_HEADER_CHECK.
7042 * sysdeps/i386/configure: Regenerated.
7043
d1d3431a
JM
7044 [BZ #10716]
7045 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
7046 * math/s_cacoshf.c (__cacoshf): Likewise.
7047 * math/s_cacoshl.c (__cacoshl): Likewise.
7048 * math/s_casinh.c (__casinh): Set signs of result from argument.
7049 * math/s_casinhf.c (__casinhf): Likewise.
7050 * math/s_casinhl.c (__casinhl): Likewise.
7051 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
7052 (casinh_test): Add more tests.
7053 * sysdeps/i386/fpu/libm-test-ulps: Update.
7054 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7055
482ff4da
UD
70562012-03-07 Ulrich Drepper <drepper@gmail.com>
7057
872fda05
UD
7058 * po/zh_TW.po: Update from translation team.
7059
a4300c7a
UD
7060 * login/Makefile (distribute): Remove variable.
7061 * catgets/Makefile: Likewise.
7062 * mach/Makefile: Likewise.
7063 * malloc/Makefile: Likewise.
7064 * misc/Makefile: Likewise.
7065 * iconv/Makefile: Likewise.
7066 * nscd/Makefile: Likewise.
7067 * hurd/Makefile: Likewise.
7068 * manual/Makefile: Likewise.
7069 * locale/Makefile: Likewise.
7070 * intl/Makefile: Likewise.
7071 * conform/Makefile: Likewise.
7072 * nss/Makefile: Likewise.
7073 * time/Makefile: Likewise.
7074 * soft-fp/Makefile: Likewise.
7075 * dirent/Makefile: Likewise.
7076 * gmon/Makefile: Likewise.
7077 * po/Makefile: Likewise.
7078 * rt/Makefile: Likewise.
7079 * socket/Makefile: Likewise.
7080 * math/Makefile: Likewise.
7081 * signal/Makefile: Likewise.
7082 * debug/Makefile: Likewise.
7083 * elf/Makefile: Likewise.
7084 * timezone/Makefile: Likewise.
7085 * stdlib/Makefile: Likewise.
7086 * iconvdata/Makefile: Likewise.
7087 * sunrpc/Makefile: Likewise.
7088 * io/Makefile: Likewise.
7089 * argp/Makefile: Likewise.
7090 * inet/Makefile: Likewise.
7091 * hesiod/Makefile: Likewise.
7092 * grp/Makefile: Likewise.
7093 * csu/Makefile: Likewise.
7094 * wctype/Makefile: Likewise.
7095 * crypt/Makefile: Likewise.
7096 * libio/Makefile: Likewise.
7097 * string/Makefile: Likewise.
7098 * nis/Makefile: Likewise.
7099 * resolv/Makefile: Likewise.
7100 * stdio-common/Makefile: Likewise.
7101 * wcsmbs/Makefile: Likewise.
7102 * dlfcn/Makefile: Likewise.
7103 * posix/Makefile: Likewise.
7104
3b7c4e74 7105 [BZ #6959]
482ff4da
UD
7106 * timezone/Makefile: Don't install timezone files, just the programs
7107 and scripts.
7108
f72ed77d
UD
71092012-03-06 Ulrich Drepper <drepper@gmail.com>
7110
a000466f
UD
7111 * nss/databases.def: Add missing gshadow entry.
7112
f72ed77d
UD
7113 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
7114
a53b7a4e
MP
71152012-03-06 Marek Polacek <polacek@redhat.com>
7116
7117 [BZ #13726]
7118 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
7119 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
7120 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
7121 * stdio-common/tst-long-dbl-fphex.c: New file.
7122
e9258400
DM
71232012-03-06 David S. Miller <davem@davemloft.net>
7124
7125 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
7126 (set_obp_int): New function.
7127 (get_obp_int): New function.
7128 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
7129 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
7130 Avoid unused variable warnings on 'val' and use builtin_expect.
7131 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
7132 __builtin_expect.
e9258400
DM
7133 (INLINE_CLONE_SYSCALL): Likewise.
7134
3bd2c723
DM
71352012-03-05 David S. Miller <davem@davemloft.net>
7136
7137 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7138
bbb78d03
AS
71392012-03-05 Andreas Schwab <schwab@linux-m68k.org>
7140
884c5db4
AS
7141 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7142
bbb78d03
AS
7143 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
7144 only for |x| >= 40.
7145 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
7146
1c9f702a 71472012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
7148
7149 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
7150 Replace gettimeofday with __vdso_gettimeofday.
7151
7be16f82
RM
7152 * sysdeps/unix/sysv/linux/x86_64/init-first.c
7153 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
7154 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
7155
7156 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
7157 time with __vdso_time.
7158
ed58a00f
JM
71592012-03-05 Joseph Myers <joseph@codesourcery.com>
7160
7161 * manual/lang.texi (size_t): Note types to which size_t may be
7162 equivalent with the GNU C Library, but do not describe when
7163 differences between them are significant.
7164
30ee4ced
AJ
71652012-03-05 Andreas Jaeger <aj@suse.de>
7166
7167 * sysdeps/i386/fpu/libm-test-ulps: Update.
7168
b7cd39e8
JM
71692012-03-05 Joseph Myers <joseph@codesourcery.com>
7170
7171 [BZ #3976]
7172 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
7173 (__ieee754_pow): Save and restore rounding mode and use
7174 round-to-nearest for main computations.
7175 * math/libm-test.inc (pow_test_tonearest): New function.
7176 (pow_test_towardzero): Likewise.
7177 (pow_test_downward): Likewise.
7178 (pow_test_upward): Likewise.
7179 (main): Call the new functions.
7180 * sysdeps/i386/fpu/libm-test-ulps: Update.
7181 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
7182
7183 [BZ #3976]
7184 * math/libm-test.inc (cosh_test_tonearest): New function.
7185 (cosh_test_towardzero): Likewise.
7186 (cosh_test_downward): Likewise.
7187 (cosh_test_upward): Likewise.
7188 (sinh_test_tonearest): Likewise.
7189 (sinh_test_towardzero): Likewise.
7190 (sinh_test_downward): Likewise.
7191 (sinh_test_upward): Likewise.
7192 (main): Call the new functions.
7193 * sysdeps/i386/fpu/libm-test-ulps: Update.
7194 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7195
6c6a98c9
TV
71962012-03-05 Tom de Vries <tom@codesourcery.com>
7197
7198 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
7199 default stack guard is set in last bytes.
7200 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
7201
21bb2d2e 72022012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 7203
21bb2d2e 7204 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 7205
21bb2d2e
AJ
7206 [BZ #13656]
7207 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
7208 possibly allocate from heap instead of stack.
7209 * stdio-common/bug-vfprintf-nargs.c: New file.
7210 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 7211
c6922934
AS
72122012-03-03 Andreas Schwab <schwab@linux-m68k.org>
7213
7214 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7215
bc957d53
MP
72162012-03-03 Marek Polacek <polacek@redhat.com>
7217
7218 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
7219 * math/math_private.h: Likewise.
7220 * stdlib/tst-strtod.c: Likewise.
7221 * sysdeps/i386/i486/bits/atomic.h: Likewise.
7222 * sysdeps/x86_64/bits/atomic.h: Likewise.
7223
6358490d
DM
72242012-03-02 David S. Miller <davem@davemloft.net>
7225
7226 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
7227 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
7228 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
7229 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
7230 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
7231 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
7232 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
7233 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
7234
01ae168d
RM
72352012-03-02 Roland McGrath <roland@hack.frob.com>
7236
d9a17c07
RM
7237 [BZ #13792]
7238 * manual/examples/README: New file, says the example source files
7239 can be used under GPL>=2.
7240 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
7241 line containing just "*/".
7242 * manual/examples/add.c: Add copyright header (GPL>=2).
7243 * manual/examples/argp-ex1.c: Likewise.
7244 * manual/examples/argp-ex2.c: Likewise.
7245 * manual/examples/argp-ex3.c: Likewise.
7246 * manual/examples/argp-ex4.c: Likewise.
7247 * manual/examples/atexit.c: Likewise.
7248 * manual/examples/db.c: Likewise.
7249 * manual/examples/dir.c: Likewise.
7250 * manual/examples/dir2.c: Likewise.
7251 * manual/examples/execinfo.c: Likewise.
7252 * manual/examples/filecli.c: Likewise.
7253 * manual/examples/filesrv.c: Likewise.
7254 * manual/examples/fmtmsgexpl.c: Likewise.
7255 * manual/examples/genpass.c: Likewise.
7256 * manual/examples/inetcli.c: Likewise.
7257 * manual/examples/inetsrv.c: Likewise.
7258 * manual/examples/isockad.c: Likewise.
7259 * manual/examples/longopt.c: Likewise.
7260 * manual/examples/memopen.c: Likewise.
7261 * manual/examples/memstrm.c: Likewise.
7262 * manual/examples/mkfsock.c: Likewise.
7263 * manual/examples/mkisock.c: Likewise.
7264 * manual/examples/mygetpass.c: Likewise.
7265 * manual/examples/pipe.c: Likewise.
7266 * manual/examples/popen.c: Likewise.
7267 * manual/examples/rprintf.c: Likewise.
7268 * manual/examples/search.c: Likewise.
7269 * manual/examples/select.c: Likewise.
7270 * manual/examples/setjmp.c: Likewise.
7271 * manual/examples/sigh1.c: Likewise.
7272 * manual/examples/sigusr.c: Likewise.
7273 * manual/examples/stpcpy.c: Likewise.
7274 * manual/examples/strdupa.c: Likewise.
7275 * manual/examples/strftim.c: Likewise.
7276 * manual/examples/strncat.c: Likewise.
7277 * manual/examples/subopt.c: Likewise.
7278 * manual/examples/swapcontext.c: Likewise.
7279 * manual/examples/termios.c: Likewise.
7280 * manual/examples/testopt.c: Likewise.
7281 * manual/examples/testpass.c: Likewise.
7282 * manual/examples/timeval_subtract.c: Likewise.
7283
01ae168d
RM
7284 [BZ #13792]
7285 * manual/time.texi (Elapsed Time): Move timeval_subtract example
7286 function to ...
7287 * manual/timeval_subtract.c.texi: ... here, new file.
7288
49efa33d
DM
72892012-03-02 David S. Miller <davem@davemloft.net>
7290
7291 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
7292
28afd92d
JM
72932012-03-02 Joseph Myers <joseph@codesourcery.com>
7294
804360ed
JM
7295 [BZ #3976]
7296 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
7297 (__sin): Save and restore rounding mode and use round-to-nearest
7298 for all computations.
7299 (__cos): Save and restore rounding mode and use round-to-nearest
7300 for all computations.
7301 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
7302 <fenv.h>.
7303 (tan): Save and restore rounding mode and use round-to-nearest for
7304 all computations.
7305 * math/libm-test.inc (cos_test_tonearest): New function.
7306 (cos_test_towardzero): Likewise.
7307 (cos_test_downward): Likewise.
7308 (cos_test_upward): Likewise.
7309 (sin_test_tonearest): Likewise.
7310 (sin_test_towardzero): Likewise.
7311 (sin_test_downward): Likewise.
7312 (sin_test_upward): Likewise.
7313 (tan_test_tonearest): Likewise.
7314 (tan_test_towardzero): Likewise.
7315 (tan_test_downward): Likewise.
7316 (tan_test_upward): Likewise.
7317 (main): Call the new functions.
7318 * sysdeps/i386/fpu/libm-test-ulps: Update.
7319 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7320
a6d06d7b
JM
7321 [BZ #10135]
7322 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
7323 small n, then large n, before computing and testing k+n.
7324 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
7325 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
7326 Likewise.
7327 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
7328 Likewise.
7329 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
7330 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
7331 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
7332 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
7333 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
7334 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
7335 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
7336 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
7337 * math/libm-test.inc (scalbn_test): Add more tests.
7338 (scalbln_test): Likewise.
7339
07e12bb3
JM
7340 * manual/filesys.texi (mode_t): Describe constraints on size and
7341 signedness, not exact equivalence to a particular type.
7342 (ino_t): Likewise.
7343 (ino64_t): Likewise.
7344 (dev_t): Likewise.
7345 (nlink_t): Likewise.
7346 (blkcnt_t): Likewise.
7347 (blkcnt64_t): Likewise.
7348 * manual/llio.texi (off_t): Likewise.
7349
28afd92d
JM
7350 [BZ #3976]
7351 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
7352 (__ieee754_exp): Save and restore rounding mode and use
7353 round-to-nearest for all computations.
7354 * math/libm-test.inc (exp_test_tonearest): New function.
7355 (exp_test_towardzero): Likewise.
7356 (exp_test_downward): Likewise.
7357 (exp_test_upward): Likewise.
7358 (main): Call the new functions.
7359 * sysdeps/i386/fpu/libm-test-ulps: Update.
7360 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7361
b1eeb65d
CD
73622012-03-01 Chris Demetriou <cgd@google.com>
7363
7364 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
7365 have predictable order.
7366
53362a4b
DM
73672012-03-01 David S. Miller <davem@davemloft.net>
7368
3c969083
DM
7369 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
7370
759707de
DM
7371 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
7372 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
7373 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
7374 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
7375
dfdb8ff2
DM
7376 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
7377 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
7378 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
7379 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
7380 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
7381 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
7382 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
7383 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
7384 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
7385
ead89f96
DM
7386 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7387
7f66bd07
DM
7388 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
7389 * sysdeps/sparc/fpu/libm-test-ulps: to here.
7390 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
7391
53362a4b
DM
7392 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
7393 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
7394 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
7395 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
7396 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
7397 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
7398 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
7399 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
7400 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
7401 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
7402 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
7403 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
7404 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
7405 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
7406 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
7407 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
7408 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
7409 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
7410 * sysdeps/sparc/elf/configure: Regenerated.
7411
7b1902cb
JM
74122012-03-01 Joseph Myers <joseph@codesourcery.com>
7413
bec039bc
JM
7414 * configure.in (AS, LD): Require binutils 2.20 or later.
7415 * configure: Regenerated.
7416 * manual/install.texi (Tools for Compilation): Give binutils 2.20
7417 as required minimum version.
7418 * INSTALL: Regenerated.
7419
7b1902cb
JM
7420 [BZ #2541]
7421 [BZ #4108]
7422 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
7423 before squaring exponent.
7424 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
7425 bottom long double and 27 bits of top long double before squaring
7426 exponent.
7427 * math/libm-test.inc (erfc_test): Add more tests.
7428 * sysdeps/i386/fpu/libm-test-ulps: Update.
7429 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
7430 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7431
f775c276
KT
74322012-03-01 Kai Tietz <ktietz@redhat.com>
7433
7434 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
7435 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
7436 containing bit-fields.
7437 * soft-fp/extended.h (_FP_UNION_E): Likewise.
7438 * soft-fp/single.h (_FP_UNION_S): Likewise.
7439 * soft-fp/double.h (_FP_UNION_D): Likewise.
7440
5b8a4d4a
JM
74412012-02-29 Joseph Myers <joseph@codesourcery.com>
7442
0bab47b6
JM
7443 [BZ #13786]
7444 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
7445 not include ../strcmp.S.
7446 [USE_AS_STRNCASECMP_L]: Likewise.
7447 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
7448 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
7449 * sysdeps/i386/i686/multiarch/strncase_l-c.c
7450 (__strncasecmp_l_ia32): Define as alias to
7451 __strncasecmp_l_nonascii.
7452
0fcad3e2
JM
7453 [BZ #5794]
7454 * math/libm-test.inc (expm1_test): Add test for bug 5794.
7455 * sysdeps/i386/fpu/libm-test-ulps: Update.
7456 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7457
5b8a4d4a
JM
7458 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
7459 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7460
8fdceb2e
JL
74612012-02-29 Jeff Law <law@redhat.com>
7462
7463 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
7464 out of bounds read.
7465
1f393a11
MP
74662012-02-29 Marek Polacek <polacek@redhat.com>
7467
7468 [BZ #13706]
7469 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
7470 * elf/Makefile: Add rules to run tst-unused-dep.out.
7471
8847f037
DM
74722012-02-28 David S. Miller <davem@davemloft.net>
7473
7474 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
7475 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
7476 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
7477 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
7478 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
7479 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
7480
169d7f11
JM
74812012-02-29 Joseph Myers <joseph@codesourcery.com>
7482
7483 * math/libm-test.inc (llround_test): Move one test from
7484 lround_test. Use TEST_f_L in moved test.
7485 (lround_test): Move misplaced test to llround_test. Add testcase
7486 from bug 2561.
7487
39adf059
UD
74882012-02-28 Ulrich Drepper <drepper@gmail.com>
7489
7490 * sysdeps/x86_64/fpu/e_expf.S: New file.
7491 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
7492
71b5d1c5
SB
74932012-02-28 Stanislav Brabec <sbrabec@suse.cz>
7494
7495 [BZ #13637]
7496 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
7497 of remain_len that may cause incomplete multi-byte character and
7498 false match.
7499 * posix/bug-regex33.c: New file.
7500 * posix/Makefile (tests): Add bug-regex33.
7501
1f77f049
JM
75022012-02-28 Joseph Myers <joseph@codesourcery.com>
7503
7504 * manual/macros.texi: New file.
7505 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
7506 * manual/libc.texinfo: Include macros.texi.
7507 * manual/creatute.texi: Likewise.
7508 * manual/install.texi: Likewise.
7509 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
7510 @glibcadj{} in references to the GNU C Library.
7511 * manual/charset.texi: Likewise.
7512 * manual/conf.texi: Likewise.
7513 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
7514 when not using those macros.
7515 * manual/creature.texi: Likewise.
7516 * manual/crypt.texi: Likewise.
7517 * manual/errno.texi: Likewise.
7518 * manual/filesys.texi: Likewise.
7519 * manual/header.texi: Likewise.
7520 * manual/install.texi: Likewise.
7521 * manual/intro.texi: Likewise.
7522 * manual/io.texi: Likewise.
7523 * manual/job.texi: Likewise.
7524 * manual/lang.texi: Likewise.
7525 * manual/libc.texiinfo: Likewise.
7526 * manual/llio.texi: Likewise.
7527 * manual/locale.texi: Likewise.
7528 * manual/maint.texi: Likewise.
7529 * manual/math.texi: Likewise.
7530 * manual/memory.texi: Likewise.
7531 * manual/message.texi: Likewise.
7532 * manual/nss.texi: Likewise.
7533 * manual/pattern.texi: Likewise.
7534 * manual/process.texi: Likewise.
7535 * manual/resource.texi: Likewise.
7536 * manual/search.texi: Likewise.
7537 * manual/setjmp.texi: Likewise.
7538 * manual/signal.texi: Likewise.
7539 * manual/socket.texi: Likewise.
7540 * manual/startup.texi: Likewise.
7541 * manual/stdio.texi: Likewise.
7542 * manual/string.texi: Likewise.
7543 * manual/sysinfo.texi: Likewise.
7544 * manual/syslog.texi: Likewise.
7545 * manual/terminal.texi: Likewise.
7546 * manual/time.texi: Likewise.
7547 * manual/users.texi: Likewise.
7548 * INSTALL: Regenerated.
7549 * NOTES: Regenerated.
d40c5d54 7550 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 7551
450bf206
AS
75522012-02-28 Andreas Schwab <schwab@linux-m68k.org>
7553
7554 * include/dirent.h: Include <dirstream.h> before
7555 <dirent/dirent.h>.
7556
741a235b
DM
75572012-02-28 David S. Miller <davem@davemloft.net>
7558
7559 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
7560 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
7561 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
7562 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
7563
d6b5aa58
DM
75642012-02-27 David S. Miller <davem@davemloft.net>
7565
1aff59a3
DM
7566 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
7567 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
7568 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
7569 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
7570
d6b5aa58
DM
7571 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
7572 frame pointer instead of stack pointer relative arg slot.
7573 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
7574 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
7575 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
7576
433f48bf
CD
75772012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
7578
7579 [BZ #3992]
7580 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
7581
d674b76d
DM
75822012-02-27 David S. Miller <davem@davemloft.net>
7583
7584 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
7585 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
7586 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
7587 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
7588 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
7589 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
7590 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
7591 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
7592
0e7727f7
JM
75932012-02-27 Joseph Myers <joseph@codesourcery.com>
7594
7595 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
7596 later. Allow versions 5-9.
43be4ca2 7597 * configure: Regenerated.
0e7727f7
JM
7598 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
7599 required minimum version and 4.6 as recommended version. Do not
7600 mention bugs in GCC 2.7 and 2.8.
43be4ca2 7601 * INSTALL: Regenerated.
0e7727f7 7602
a78bc654
DM
76032012-02-27 David S. Miller <davem@davemloft.net>
7604
428d5830
DM
7605 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
7606 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
7607 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
7608 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
7609 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
7610 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
7611 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
7612 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
7613
a78bc654
DM
7614 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
7615 manipulate bits before adding and subtracting TWO112[sx].
7616 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
7617
4579f81c
RM
76182012-02-27 Roland McGrath <roland@hack.frob.com>
7619
36c8acb4
RM
7620 [BZ #13775]
7621 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
7622 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
7623 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
7624 being in POSIX, because they are in 1003.1-2008.
7625
84ad622b
RM
7626 * rt/tst-aio.c: Include <fcntl.h>.
7627 * rt/tst-aio7.c: Likewise.
7628 * rt/tst-aio64.c: Likewise.
7629
4579f81c
RM
7630 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
7631
abd923db
JM
76322012-02-27 Joseph Myers <joseph@codesourcery.com>
7633
7634 * manual/install.texi (--with-headers): Describe headers as
7635 interface headers, not private headers.
7636 (Specific advice for GNU/Linux systems): Describe use of headers
7637 from "make headers_install", not private headers from older
7638 kernels.
43be4ca2 7639 * INSTALL: Regenerated.
abd923db
JM
7640 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
7641 Change to 2.6.19.
7642 * sysdeps/unix/sysv/linux/configure: Regenerated.
7643
6664049b
JM
7644 * manual/llio.texi (fclean): Remove documentation.
7645
bb8b6697
JM
7646 * manual/Makefile (libc-texi-generated): New variable. Include
7647 version.texi.
7648 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
7649 $(libc-texi-generated), not duplicated list of files.
7650 (version.texi, stamp-version): New rules.
7651 (realclean): Remove $(libc-texi-generated), not individual files
7652 from that list. Do not remove dir-add.texinfo.
7653 * manual/libc.texinfo: Comment out uses of edition numbers and
7654 references to printed manual. Remove last-updated dates.
7655 (EDITION): Comment out.
7656 (ISBN): Likewise.
7657 (VERSION, UPDATED): Remove.
7658 (version.texi): Include.
7659
12e5c3b9
AS
76602012-02-27 Andreas Schwab <schwab@linux-m68k.org>
7661
7662 * sysdeps/posix/spawni.c: Include <signal.h>.
7663 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
7664 * sysdeps/pthread/aio_fsync.c: Likewise.
7665
4efeffc1 76662012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 7667
ba63ba08
UD
7668 * conform/Makefile (tests): Run only when not cross-compiling and
7669 when fast-check is not defined.
7670
d94a4670
UD
7671 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
7672 * conform/data/limits.h-data: Fixes for POSIX2008.
7673 * conform/run-conformtest.sh: Run all tests.
7674 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
7675 headers.
7676 * include/bits/dlfcn.h: Likewise.
7677 * include/langinfo.h: Likewise.
7678 * include/monetary.h: Likewise.
7679 * include/sys/poll.h: Likewise.
7680
7681 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
7682 for __USE_GNU.
7683 * posix/spawn.h: Define __need_sigset_t.
7684 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
7685 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
7686 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
7687 to get sigevent_t only.
7688 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
7689 only for __USE_GNU.
7690 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
7691 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
7692 process_vm_writev only for __USE_GNU.
7693 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
7694
7695 * conform/Makefile: For now ignore errors from run-conformtest.
7696 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
7697 POSIX to avoid namespace pollution. Don't prepend headers.
7698 * conform/data/aio.h-data: Fixes for POSIX testing.
7699 * conform/data/fcntl.h-data: Likewise.
7700 * conform/data/glob.h-data: Likewise.
7701 * conform/data/grp.h-data: Likewise.
7702 * conform/data/pthread.h-data: Likewise.
7703 * conform/data/pwd.h-data: Likewise.
7704 * conform/data/signal.h-data: Likewise.
7705 * conform/data/spawn.h-data: Likewise.
7706 * conform/data/stdio.h-data: Likewise.
7707 * conform/data/stdlib.h-data: Likewise.
7708 * conform/data/stropts.h-data: Likewise.
7709 * conform/data/sys/mman.h-data: Likewise.
7710 * conform/data/sys/stat.h-data: Likewise.
7711 * conform/data/sys/types.h-data: Likewise.
7712 * conform/data/sys/wait.h-data: Likewise.
7713 * conform/data/time.h-data: Likewise.
7714 * conform/data/unistd.h-data: Likewise.
7715 * conform/data/utime.h-data: Likewise.
7716
7717 * io/sys/stat.h: fchmod was always in POSIX.
7718 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
7719 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
7720 * rt/aio.h: Define __need_timespec before including <time.h>.
7721 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
7722 struct. Add forward declaration of pthread_attr_t and use it in
7723 sigevent.
7724 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
7725 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
7726 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
7727 always remove CLK_TCK definition.
7728
c20105c3
AS
77292012-02-26 Andreas Schwab <schwab@linux-m68k.org>
7730
7731 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
7732
7a270350
UD
77332012-02-25 Ulrich Drepper <drepper@gmail.com>
7734
31341567
UD
7735 * conform/run-conformtest.sh: New file.
7736 * conform/Makefile: Run run-conformtest for tests.
7737 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
7738 support.
7739
7740 * conform/data/uchar.h-data: New file.
7741 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
7742 * conform/data/arpa/inet.h-data: Likewise.
7743 * conform/data/assert.h-data: Likewise.
7744 * conform/data/complex.h-data: Likewise.
7745 * conform/data/cpio.h-data: Likewise.
7746 * conform/data/ctype.h-data: Likewise.
7747 * conform/data/dirent.h-data: Likewise.
7748 * conform/data/dlfcn.h-data: Likewise.
7749 * conform/data/errno.h-data: Likewise.
7750 * conform/data/fcntl.h-data: Likewise.
7751 * conform/data/float.h-data: Likewise.
7752 * conform/data/fmtmsg.h-data: Likewise.
7753 * conform/data/fnmatch.h-data: Likewise.
7754 * conform/data/ftw.h-data: Likewise.
7755 * conform/data/glob.h-data: Likewise.
7756 * conform/data/grp.h-data: Likewise.
7757 * conform/data/iconv.h-data: Likewise.
7758 * conform/data/inttypes.h-data: Likewise.
7759 * conform/data/langinfo.h-data: Likewise.
7760 * conform/data/libgen.h-data: Likewise.
7761 * conform/data/limits.h-data: Likewise.
7762 * conform/data/locale.h-data: Likewise.
7763 * conform/data/math.h-data: Likewise.
7764 * conform/data/monetary.h-data: Likewise.
7765 * conform/data/mqueue.h-data: Likewise.
7766 * conform/data/ndbm.h-data: Likewise.
7767 * conform/data/net/if.h-data: Likewise.
7768 * conform/data/netdb.h-data: Likewise.
7769 * conform/data/netinet/in.h-data: Likewise.
7770 * conform/data/nl_types.h-data: Likewise.
7771 * conform/data/poll.h-data: Likewise.
7772 * conform/data/pthread.h-data: Likewise.
7773 * conform/data/pwd.h-data: Likewise.
7774 * conform/data/regex.h-data: Likewise.
7775 * conform/data/sched.h-data: Likewise.
7776 * conform/data/search.h-data: Likewise.
7777 * conform/data/semaphore.h-data: Likewise.
7778 * conform/data/setjmp.h-data: Likewise.
7779 * conform/data/signal.h-data: Likewise.
7780 * conform/data/spawn.h-data: Likewise.
7781 * conform/data/stdarg.h-data: Likewise.
7782 * conform/data/stdio.h-data: Likewise.
7783 * conform/data/stdlib.h-data: Likewise.
7784 * conform/data/string.h-data: Likewise.
7785 * conform/data/strings.h-data: Likewise.
7786 * conform/data/stropts.h-data: Likewise.
7787 * conform/data/sys/ipc.h-data: Likewise.
7788 * conform/data/sys/mman.h-data: Likewise.
7789 * conform/data/sys/msg.h-data: Likewise.
7790 * conform/data/sys/resource.h-data: Likewise.
7791 * conform/data/sys/select.h-data: Likewise.
7792 * conform/data/sys/sem.h-data: Likewise.
7793 * conform/data/sys/shm.h-data: Likewise.
7794 * conform/data/sys/socket.h-data: Likewise.
7795 * conform/data/sys/stat.h-data: Likewise.
7796 * conform/data/sys/statvfs.h-data: Likewise.
7797 * conform/data/sys/time.h-data: Likewise.
7798 * conform/data/sys/timeb.h-data: Likewise.
7799 * conform/data/sys/times.h-data: Likewise.
7800 * conform/data/sys/types.h-data: Likewise.
7801 * conform/data/sys/uio.h-data: Likewise.
7802 * conform/data/sys/un.h-data: Likewise.
7803 * conform/data/sys/utsname.h-data: Likewise.
7804 * conform/data/sys/wait.h-data: Likewise.
7805 * conform/data/syslog.h-data: Likewise.
7806 * conform/data/tar.h-data: Likewise.
7807 * conform/data/termios.h-data: Likewise.
7808 * conform/data/utime.h-data: Likewise.
7809 * conform/data/utmpx.h-data: Likewise.
7810 * conform/data/varargs.h-data: Likewise.
7811 * conform/data/wchar.h-data: Likewise.
7812 * conform/data/wctype.h-data: Likewise.
7813 * conform/data/wordexp.h-data: Likewise.
7814
7815 * include/stropts.h: New file.
7816 * include/uchar.h: New file.
7817 * include/aio.h: Changes to allow conformtest.pl to use the headers.
7818 * include/assert.h: Likewise.
7819 * include/ctype.h: Likewise.
7820 * include/dirent.h: Likewise.
7821 * include/dlfcn.h: Likewise.
7822 * include/fcntl.h: Likewise.
7823 * include/fnmatch.h: Likewise.
7824 * include/glob.h: Likewise.
7825 * include/grp.h: Likewise.
7826 * include/libio.h: Likewise.
7827 * include/locale.h: Likewise.
7828 * include/math.h: Likewise.
7829 * include/net/if.h: Likewise.
7830 * include/netdb.h: Likewise.
7831 * include/netinet/in.h: Likewise.
7832 * include/pthread.h: Likewise.
7833 * include/pwd.h: Likewise.
7834 * include/regex.h: Likewise.
7835 * include/sched.h: Likewise.
7836 * include/search.h: Likewise.
7837 * include/setjmp.h: Likewise.
7838 * include/signal.h: Likewise.
7839 * include/stdio.h: Likewise.
7840 * include/stdlib.h: Likewise.
7841 * include/string.h: Likewise.
7842 * include/sys/cdefs.h: Likewise.
7843 * include/sys/mman.h: Likewise.
7844 * include/sys/msg.h: Likewise.
7845 * include/sys/resource.h: Likewise.
7846 * include/sys/select.h: Likewise.
7847 * include/sys/socket.h: Likewise.
7848 * include/sys/stat.h: Likewise.
7849 * include/sys/statvfs.h: Likewise.
7850 * include/sys/time.h: Likewise.
7851 * include/sys/times.h: Likewise.
7852 * include/sys/uio.h: Likewise.
7853 * include/sys/utsname.h: Likewise.
7854 * include/sys/wait.h: Likewise.
7855 * include/termios.h: Likewise.
7856 * include/time.h: Likewise.
7857 * include/ulimit.h: Likewise.
7858 * include/unistd.h: Likewise.
7859 * include/utime.h: Likewise.
7860 * include/wchar.h: Likewise.
7861 * include/wctype.h: Likewise.
7862 * include/wordexp.h: Likewise.
7863
7864 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
7865
7a270350
UD
7866 * time/time.h: TIME_UTC must be a macro.
7867 Make timespec_get available for ISO C11 only as well.
7868
7724defc
UD
78692012-02-24 Ulrich Drepper <drepper@gmail.com>
7870
7871 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
7872 Reported by Peng Haitao <penght@cn.fujitsu.com>.
7873
6b1d1d46
JM
78742012-02-24 Joseph Myers <joseph@codesourcery.com>
7875
7876 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 7877
0f8bbd69
JM
78782012-02-24 Joseph Myers <joseph@codesourcery.com>
7879
7880 * manual/texinfo.tex: Update to version 2012-01-19.16.
7881
66ab80bc
JM
78822012-02-24 Joseph Myers <joseph@codesourcery.com>
7883
7884 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
7885
74981cc5
RM
78862012-02-24 Roland McGrath <roland@hack.frob.com>
7887
ee968201
RM
7888 [BZ #13738]
7889 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
7890 * manual/fdl-1.3.texi: New file.
7891 * manual/fdl-1.1.texi: File removed.
7892
74981cc5
RM
7893 [BZ #13738]
7894 * manual/libc.texinfo (FDL_VERSION): New @set.
7895 Use it for mention of FDL in cover text.
7896 (Documentation License): Use it in @include file name.
7897
7bb764bc
JM
78982012-02-22 Joseph Myers <joseph@codesourcery.com>
7899 Roland McGrath <roland@hack.frob.com>
7900
7901 [BZ #5461]
7902 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
7903 not LONG_LONG_MAX and LONG_LONG_MIN.
7904 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
7905 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
7906 name.
7907 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
7908
6cbeae47
JM
79092012-02-22 Joseph Myers <joseph@codesourcery.com>
7910
7911 [BZ #2547]
7912 [BZ #11365]
7913 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
7914 manipulate bits before adding and subtracting TWO23[sx].
7915 * math/libm-test.inc (nearbyint_test): Add more tests.
7916
fe45ce09
JM
79172012-02-22 Joseph Myers <joseph@codesourcery.com>
7918
7919 [BZ #2548]
7920 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
7921 bits before adding and subtracting TWO23[sx].
7922 * math/libm-test.inc (rint_test): Add more tests.
7923 (rint_test_tonearest): Likewise.
7924 (rint_test_towardzero): Likewise.
7925 (rint_test_downward): Likewise.
7926 (rint_test_upward: Likewise.
7927
ff3b3d82
JM
79282012-02-22 Joseph Myers <joseph@codesourcery.com>
7929
7930 [BZ #10110]
7931 * include/stdc-predef.h: New file. Extracted from features.h.
7932 * include/features.h: Include stdc-predef.h.
7933 * Makefile (headers): Add stdc-predef.h.
7934 * CONFORMANCE (Compiler limitations): Update.
7935
ef0aab35
JM
79362012-02-22 Joseph Myers <joseph@codesourcery.com>
7937
7938 * manual/libc.texinfo (VERSION, UPDATED): Revert.
7939
58639409
DM
79402012-02-21 David S. Miller <davem@davemloft.net>
7941
7942 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
7943 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
7944
c0e70b25
DM
79452012-02-20 David S. Miller <davem@davemloft.net>
7946
7947 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
7948 using a normal save/restore sequence, rather than allocating a
7949 dummy stack frame just to store a frame pointer and restore.
7950 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
7951
fb06851d
JM
79522012-02-21 Joseph Myers <joseph@codesourcery.com>
7953
7954 * manual/install.texi: Fix stray word in line-wrapped comment.
7955
7a8b71c3
DM
79562012-02-20 David S. Miller <davem@davemloft.net>
7957
d510c123
DM
7958 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
7959 both binutils and gcc support GOTDATA.
7960
0722d7c2
DM
7961 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
7962 "rd %pc" in the PIC register setup sequences.
7963
3d2b3019
DM
7964 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
7965 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
7966 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
7967 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
7968 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
7969 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
7970 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
7971 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
7972 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
7973 (SYSCALL_ERROR_HANDLER): Likewise.
7974 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
7975 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
7976 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
7977 (SYSCALL_ERROR_HANDLER): Likewise.
7978
c80098a9
DM
7979 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
7980 (HAVE_GCC_GOTDATA): New.
7981 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
7982 relocation support in both binutils and gcc.
7983 * sysdeps/sparc/elf/configure: Regenerate.
7984
3a2545a0
DM
7985 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
7986 * sysdeps/sparc/sparc32/elf/configure: Delete.
7987 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
7988 * sysdeps/sparc/sparc64/elf/configure: Delete.
7989 * sysdeps/sparc/elf/configure.in: New file.
7990 * sysdeps/sparc/elf/configure: Generate.
7991
7a8b71c3
DM
7992 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
7993 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
7994 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
7995 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
7996 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
7997
f1e86fca
JM
79982012-02-21 Joseph Myers <joseph@codesourcery.com>
7999
8000 * manual/install.texi: Do not mention specific glibc version
8001 numbers.
8002 * manual/libc.texinfo (VERSION, UPDATED): Update.
8003 (@copying): Use @copyright{} and range of years.
8004
0e7dfaef
JM
80052012-02-21 Joseph Myers <joseph@codesourcery.com>
8006
8007 [BZ #13695]
8008 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
8009 [crti.S not in sysdirs] (generated): Do not append.
8010 [crti.S not in sysdirs] (omit-deps): Likewise.
8011 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
8012 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
8013 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
8014 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
8015 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
8016 Likewise.
8017 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
8018 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
8019 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
8020 * csu/defs.awk: Remove file.
8021 * sysdeps/generic/initfini.c: Likewise.
8022 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
8023 variable.
8024 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
8025 Likewise.
8026
599af3ca
JM
80272012-02-20 Joseph Myers <joseph@codesourcery.com>
8028
8029 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
8030 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
8031 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
8032 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
8033 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
8034 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
8035 <bits/epoll.h>.
8036 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
8037 (__EPOLL_PACKED): Define to empty if not defined by
8038 <bits/epoll.h>.
8039 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
8040 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
8041 bits/epoll.h.
8042
0e499750
JM
80432012-02-20 Joseph Myers <joseph@codesourcery.com>
8044
8045 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
8046 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
8047 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
8048 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
8049 <bits/timerfd.h>.
8050 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
8051 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
8052 bits/timerfd.h.
8053
5ad91f6e
JM
80542012-02-20 Joseph Myers <joseph@codesourcery.com>
8055
8056 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
8057 in C locale.
8058 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
8059 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
8060 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
8061 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8062
06b99b02
AJ
80632012-02-20 Aurelien Jarno <aurelien@aurel32.net>
8064
8065 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
8066 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
8067
7638c0fd
AS
80682012-02-19 Andreas Schwab <schwab@linux-m68k.org>
8069
8070 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
8071 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
8072 defined.
8073 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
8074 Likewise.
8075 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
8076 entry for 2.16.
8077
92221550
AJ
80782012-02-19 Aurelien Jarno <aurelien@aurel32.net>
8079
8080 * math/w_acos.c: Use non-signaling floating-point comparisons.
8081 * math/w_acosf.c: Likewise.
8082 * math/w_acosh.c: Likewise.
8083 * math/w_acoshf.c: Likewise.
8084 * math/w_acoshl.c: Likewise.
8085 * math/w_acosl.c: Likewise.
8086 * math/w_asin.c: Likewise.
8087 * math/w_asinf.c: Likewise.
8088 * math/w_asinl.c: Likewise.
8089 * math/w_atanh.c: Likewise.
8090 * math/w_atanhf.c: Likewise.
8091 * math/w_atanhl.c: Likewise.
8092 * math/w_exp2.c: Likewise.
8093 * math/w_exp2f.c: Likewise.
8094 * math/w_exp2l.c: Likewise.
8095 * math/w_j0.c: Likewise.
8096 * math/w_j0f.c: Likewise.
8097 * math/w_j0l.c: Likewise.
8098 * math/w_j1.c: Likewise.
8099 * math/w_j1f.c: Likewise.
8100 * math/w_j1l.c: Likewise.
8101 * math/w_jn.c: Likewise.
8102 * math/w_jnf.c: Likewise.
8103 * math/w_log.c: Likewise.
8104 * math/w_log10.c: Likewise.
8105 * math/w_log10f.c: Likewise.
8106 * math/w_log10l.c: Likewise.
8107 * math/w_log2.c: Likewise.
8108 * math/w_log2f.c: Likewise.
8109 * math/w_log2l.c: Likewise.
8110 * math/w_logf.c: Likewise.
8111 * math/w_logl.c: Likewise.
8112 * math/w_sqrt.c: Likewise.
8113 * math/w_sqrtf.c: Likewise.
8114 * math/w_sqrtl.c: Likewise.
8115 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
8116 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
8117 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
8118 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
8119 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
8120
ebaf36eb
JM
81212012-02-19 Joseph Myers <joseph@codesourcery.com>
8122
8123 [BZ #9739]
8124 * manual/string.texi (strnlen): Use correct parameter name in
8125 equivalent expression.
8126
71c254a6
JM
81272012-02-19 Joseph Myers <joseph@codesourcery.com>
8128
8129 [BZ #11174]
8130 * manual/users.texi (seteuid): Consistently use neweuid for
8131 argument name.
8132
16d2c631
JM
81332012-02-19 Joseph Myers <joseph@codesourcery.com>
8134
8135 [BZ #13704]
8136 * manual/nss.texi (Services in the NSS configuration): Correct
8137 list of services in example configuration file.
8138
cd837b09
NB
81392012-02-19 Nick Bowler <nbowler@draconx.ca>
8140
8141 [BZ #11322]
8142 * manual/arith.texi: Remove statements about negative zero
8143 behaving identically to zero.
8144
02c4bbad
JM
81452012-02-18 Joseph Myers <joseph@codesourcery.com>
8146
8147 [BZ #5993]
8148 * manual/install.texi: Do not document upgrading from libc5.
8149
366842e7
JM
81502012-02-18 Joseph Myers <joseph@codesourcery.com>
8151
8152 [BZ #4596]
8153 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
8154
dd54084d
DM
81552012-02-18 David S. Miller <davem@davemloft.net>
8156
8157 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
8158 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
8159 %o7 across the call.
8160 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
8161 instead.
8162 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
8163 SETUP_PIC_REG_LEAF.
8164 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
8165 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
8166 * sysdeps/sparc/crtn.S: Likewise.
8167
2bcc53a3
UD
81682012-02-17 Ulrich Drepper <drepper@gmail.com>
8169
8170 * aout/Makefile: Remove.
8171
09c093b5
RK
81722012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
8173
8174 [BZ #13058]
8175 * manual/examples/argp-ex1.c (main): Format definition in GNU
8176 style.
8177 * manual/examples/argp-ex2.c (main): Likewise.
8178 * manual/examples/argp-ex3.c (main): Likewise.
8179 * manual/examples/argp-ex4.c (main): Likewise.
8180 * manual/examples/longopt.c (main): Use new-style prototype
8181 definition.
8182 * manual/examples/strncat.c (main): Specify return type and use
8183 (void) for arguments.
8184 * manual/examples/subopt.c (main): Use char **argv argument.
8185
2ee633a2
JM
81862012-02-17 Joseph Myers <joseph@codesourcery.com>
8187
8188 [BZ #5077]
8189 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
8190 rounding modes.
8191
0520adde
FB
81922012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
8193
8194 [BZ #6907]
8195 * manual/string.texi (strchr): Change when strchrnul is
8196 recommended.
8197
3f4081cd
DGM
81982012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
8199
8200 [BZ #174]
8201 * manual/locale.texi (setlocale): Document LOCPATH.
8202
d1b10e78
JM
82032012-02-17 Joseph Myers <joseph@codesourcery.com>
8204
8205 [BZ #10210]
8206 * manual/process.texi (execle): Move @dots{} before last argument.
8207
79c6869c
PB
82082012-02-17 Paul Bolle <pebolle@tiscali.nl>
8209
8210 [BZ #12047]
8211 * manual/charset.texi (Generic Charset Conversion): Fix typo
8212 (LC_TYPE -> LC_CTYPE).
8213
cc6e48bc
NB
82142012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
8215
8216 [BZ #5805]
8217 * manual/arith.texi (scalbn): Use @var{} on parameter names.
8218 (scalbnf): Likewise.
8219 (scalbnl): Likewise.
8220 (scalbln): Likewise.
8221 (scalblnf): Likewise.
8222 (scalblnl): Likewise.
8223 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
8224 (vwarnx): Likewise.
8225 (verr): Likewise.
8226 (verrx): Likewise.
8227 * manual/filesys.texi (telldir): Use braces around return type.
8228 * manual/llio.texi (mmap): Add space after comma.
8229 (mmap64): Likewise.
8230 * manual/math.texi (jn): Use @var{} on parameter names.
8231 (jnf): Likewise.
8232 (jnl): Likewise.
8233 (yn): Likewise.
8234 (ynf): Likewise.
8235 (ynl): Likewise.
8236 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
8237 line.
8238 * manual/resource.texi (ulimit): Use @dots{} instead of literal
8239 "...".
8240 (sched_get_priority_min): Remove semicolon on @deftypefun line.
8241 (sched_get_priority_max): Likewise.
8242 * manual/signal.texi (sigvec): Add space after comma.
8243 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
8244 names.
8245 (if_indextoname): Likewise.
8246 (if_freenameindex): Likewise.
8247 (sendto): Use ',' instead of '.' in prototype.
8248 * manual/startup.texi (syscall): Use @dots{} instead of literal
8249 "...".
8250 * manual/stdio.texi (__fpending): Separate initial words of
8251 paragraph from @deftypefun line.
8252 * manual/syslog.texi (syslog): Use @dots{} instead of literal
8253 "...".
8254 (vsyslog): Use @var{} on parameter names.
8255 * manual/terminal.texi (stty): Use @var{} on parameter names.
8256 * manual/users.texi (getutmp): Use @var{} on parameter names.
8257 (getutmpx): Likewise.
8258
5b23062f
JM
82592012-02-17 Joseph Myers <joseph@codesourcery.com>
8260
8261 [BZ #6884]
8262 * manual/stdio.texi (fopen): Fix typos in description of
8263 ",ccs=STRING".
8264
8dee4833
AJ
82652012-02-17 Aurelien Jarno <aurelien@aurel32.net>
8266
8267 [BZ #4026]
8268 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
8269 get clock_id definition.
8270
9078ce93
TS
82712012-02-17 Thomas Schwinge <thomas@schwinge.name>
8272
8273 [BZ #4822]
8274 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
8275 (madvise): Cast every argument to void on its own.
8276
3835c55f
JM
82772012-02-17 Joseph Myers <joseph@codesourcery.com>
8278
8279 [BZ #9902]
8280 * manual/startup.texi (Exit Status): Fix typo.
8281
35c47e37
JM
82822012-02-17 Joseph Myers <joseph@codesourcery.com>
8283
8284 [BZ #10140]
8285 * manual/examples/argp-ex1.c: Include <stdlib.h>.
8286 * manual/examples/argp-ex2.c: Likewise.
8287 * manual/examples/argp-ex3.c: Likewise.
8288
e3b69ca7
RH
82892012-02-16 Richard Henderson <rth@redhat.com>
8290
8291 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
8292 * sysdeps/s390/s390-32/initfini.c: Remove.
8293 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
8294 * sysdeps/s390/s390-64/initfini.c: Remove.
8295
df83af67
KK
82962012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
8297
8298 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
8299 compiler output for sysdeps/generic/initfini.c.
8300 * sysdeps/sh/elf/initfini.c: Remove file.
8301
f63f3380
DM
83022012-02-16 David S. Miller <davem@davemloft.net>
8303
fb59b3a4
DM
8304 [BZ #11494]
8305 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
8306
f63f3380
DM
8307 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
8308 * sysdeps/sparc/crti.S: New file.
8309 * sysdeps/sparc/crtn.S: New file.
8310 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
8311 * sysdeps/sparc/sparc64/Makefile: Likewise.
8312
df6a4a4a
MF
83132012-02-15 Mike Frysinger <vapier@gentoo.org>
8314
6dd8f3dc 8315 [BZ #3335]
df6a4a4a
MF
8316 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
8317
1cac7236
RM
83182012-02-15 Roland McGrath <roland@hack.frob.com>
8319
d2c736f8
RM
8320 [BZ #4822]
8321 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
8322
1cac7236
RM
8323 * mach/devstream.c (cookie_io_functions_t): Macro removed.
8324 (write, read, close): Likewise.
8325 Patch by Aurelien Jarno <aurelien@aurel32.net>.
8326
8e475601
JM
83272012-02-15 Joseph Myers <joseph@codesourcery.com>
8328
8329 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
8330 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
8331 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
8332 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
8333 <bits/signalfd.h>.
8334 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
8335 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
8336 bits/signalfd.h.
8337
ed656b40
MP
83382012-02-14 Marek Polacek <polacek@redhat.com>
8339
8340 * sysdeps/x86_64/crti.S: New file.
8341 * sysdeps/x86_64/crtn.S: New file.
8342 * sysdeps/x86_64/elf/initfini.c: Remove file.
8343
2a979d3a
JM
83442012-02-13 Joseph Myers <joseph@codesourcery.com>
8345
8346 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
8347 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
8348 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
8349 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
8350 <bits/inotify.h>.
8351 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
8352 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
8353 bits/inotify.h.
8354
2a418ac3
JM
83552012-02-13 Joseph Myers <joseph@codesourcery.com>
8356
8357 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
8358 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
8359 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
8360 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
8361 <bits/eventfd.h>.
8362 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
8363 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
8364 bits/eventfd.h.
8365
fb779be7
TS
83662012-02-10 Thomas Schwinge <thomas@codesourcery.com>
8367
e19e83c5
RM
8368 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
8369 __feraiseexcept instead of feraiseexcept.
7c35ffed 8370
fb779be7
TS
8371 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
8372 nanosleep invocations.
8373 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
8374 strings, and add error checking for a nanosleep invocations.
8375
59ba27a6
PE
83762012-02-09 Paul Eggert <eggert@cs.ucla.edu>
8377
8378 Replace FSF snail mail address with URLs, as per GNU coding standards.
8379 Most of the snail mail addresses were wrong anyway, and omitting
8380 them makes the source code easier to maintain. Almost all of the
8381 changes are to license notices and to locale LC_IDENTIFICATION
8382 addresses, except for this one:
8383 * manual/libc.texinfo: In "Published by", give the FSF's URL,
8384 not its snail mail address.
8385
57b957eb
RH
83862012-02-09 Richard Henderson <rth@twiddle.net>
8387
af850b1c
RH
8388 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
8389 of kernel-features.h.
8390
57b957eb
RH
8391 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
8392
6b73181a
MP
83932012-02-08 Marek Polacek <polacek@redhat.com>
8394
8395 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
8396 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
8397 * sysdeps/gnu/_G_config.h: Likewise.
8398 * sysdeps/generic/_G_config.h: Likewise.
8399
26ecc33a
AS
84002012-02-08 Andreas Schwab <schwab@linux-m68k.org>
8401
6c6dbc63
AS
8402 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
8403 tests.
8404 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8405
e216c012
AS
8406 * sysdeps/powerpc/powerpc32/crti.S: New file.
8407 * sysdeps/powerpc/powerpc32/crtn.S: New file.
8408 * sysdeps/powerpc/powerpc64/crti.S: New file.
8409 * sysdeps/powerpc/powerpc64/crtn.S: New file.
8410
26ecc33a
AS
8411 * Makeconfig (have-initfini): Don't set.
8412 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
8413 * configure.in (nopic_initfini): Don't substitute.
8414 * config.h.in (HAVE_INITFINI): Don't #undef.
8415 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
8416 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
8417
3add8e13
JM
84182012-02-08 Joseph Myers <joseph@codesourcery.com>
8419
8420 Support crti.S and crtn.S provided directly by architectures.
8421 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
8422 [crti.S in sysdirs] (omit-deps): Likewise.
8423 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
8424 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
8425 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
8426 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
8427 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
8428 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
8429 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
8430 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
8431 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
8432 compiler output for sysdeps/generic/initfini.c.
8433 * sysdeps/i386/elf/Makefile: Remove file.
8434 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
8435
a22f12b4
MP
84362012-02-07 Marek Polacek <polacek@redhat.com>
8437
8438 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
8439 * sysdeps/gnu/_G_config.h: Likewise.
8440 * sysdeps/mach/hurd/_G_config.h: Likewise.
8441
148cf100
MP
84422012-02-07 Marek Polacek <polacek@redhat.com>
8443
8444 * math/Makefile (tests): Add tst-CMPLX2.
8445 * math/tst-CMPLX2.c: New file.
8446
cfdc0dd7
AS
84472012-02-07 Andreas Schwab <schwab@linux-m68k.org>
8448
84ba42c4
AS
8449 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
8450
cfdc0dd7
AS
8451 * math/libm-test.inc (jn_test): Add missing L suffix.
8452
622c86f4
MP
84532012-02-06 Marek Polacek <polacek@redhat.com>
8454
8455 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
8456 * sysdeps/i386/fpu/e_powf.S: Likewise.
8457 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
8458 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
8459 * sysdeps/i386/fpu/e_acosh.S: Likewise.
8460 * sysdeps/i386/fpu/e_pow.S: Likewise.
8461 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
8462 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
8463 * sysdeps/i386/fpu/s_expm1.S: Likewise.
8464 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
8465 * sysdeps/i386/fpu/e_log2.S: Likewise.
8466 * sysdeps/i386/fpu/e_log2l.S: Likewise.
8467 * sysdeps/i386/fpu/e_scalb.S: Likewise.
8468 * sysdeps/i386/fpu/e_powl.S: Likewise.
8469 * sysdeps/i386/fpu/s_log1p.S: Likewise.
8470 * sysdeps/i386/fpu/e_log10f.S: Likewise.
8471 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
8472 * sysdeps/i386/fpu/e_logl.S: Likewise.
8473 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
8474 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
8475 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
8476 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
8477 * sysdeps/i386/fpu/e_log2f.S: Likewise.
8478 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
8479 * sysdeps/i386/fpu/e_log.S: Likewise.
8480 * sysdeps/i386/fpu/s_cexp.S: Likewise.
8481 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
8482 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
8483 * sysdeps/i386/fpu/e_logf.S: Likewise.
8484 * sysdeps/i386/fpu/e_log10l.S: Likewise.
8485 * sysdeps/i386/fpu/e_atanh.S: Likewise.
8486 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
8487 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
8488 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
8489 * sysdeps/i386/fpu/e_log10.S: Likewise.
8490 * sysdeps/i386/fpu/s_frexp.S: Likewise.
8491 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
8492 * sysdeps/i386/fpu/s_asinh.S: Likewise.
8493 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
8494 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
8495 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
8496 * sysdeps/i386/asm-syntax.h: Likewise.
8497 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
8498 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
8499 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
8500 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
8501 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
8502 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
8503 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
8504 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
8505 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
8506 * sysdeps/powerpc/sysdep.h: Likewise.
8507 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
8508 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
8509
d4a54ac6
JM
85102012-02-06 Joseph Myers <joseph@codesourcery.com>
8511
8512 [BZ #411]
8513 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
8514
314054ea
JM
85152012-02-06 Joseph Myers <joseph@codesourcery.com>
8516
8517 * sysdeps/i386/sysdep.h: Include <features.h>.
8518 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
8519 version.
8520
d8e0ca50
JM
85212012-02-05 Joseph Myers <joseph@codesourcery.com>
8522
8523 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
8524 Define.
8525 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
8526 LOAD_PIC_REG_STR.
8527
b1da7dd9
JM
85282012-02-03 Joseph Myers <joseph@codesourcery.com>
8529
8530 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
8531 (SETUP_PIC_REG): Use GET_PC_THUNK.
8532 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
8533 macro.
8534
9a1d9254
JM
85352012-02-03 Joseph Myers <joseph@codesourcery.com>
8536
8537 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
8538 for non-PIC compilation.
8539 (SETUP_PIC_REG): Add .p2align directive.
8540 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
8541 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
8542 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
8543 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
8544 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
8545 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
8546 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
8547 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
8548 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
8549 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
8550 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
8551 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
8552 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
8553 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
8554 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
8555 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
8556 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
8557 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
8558 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
8559 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
8560 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
8561 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
8562 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
8563 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
8564 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
8565 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
8566 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
8567 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
8568 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
8569 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
8570 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
8571 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
8572 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
8573 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
8574 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
8575 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
8576 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
8577 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
8578 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
8579 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
8580 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
8581
65dc3b75
JM
85822012-02-03 Joseph Myers <joseph@codesourcery.com>
8583
8584 * math/tst-CMPLX.c: Include <stdio.h>.
8585
d55bf177
JM
85862012-01-31 Joseph Myers <joseph@codesourcery.com>
8587
8588 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
8589 float.
8590 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
8591 * sysdeps/sparc/bits/mathdef.h: Likewise.
8592
69db4f8f
MP
85932012-01-31 Marek Polacek <polacek@redhat.com>
8594
8595 * libio/libio.h: Don't define _PARAMS.
8596 * locale/programs/config.h: Don't define PARAMS.
8597 * stdlib/strtol_l.c: Likewise.
8598 (__strtol_l): Remove PARAMS from the prototype.
8599
41b81892
UD
86002012-01-31 Ulrich Drepper <drepper@gmail.com>
8601
3b49edc0
UD
8602 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
8603 names. Just use the correct names. Remove unnecessary wrapper
8604 functions.
8605 * malloc/arena.c: Likewise.
8606 * malloc/hooks.c: Likewise.
8607
41b81892
UD
8608 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
8609 ARENA_TEST says not to. Simplify test for creation of a new arena.
8610 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
8611
27a25b6e
UD
86122012-01-30 Ulrich Drepper <drepper@gmail.com>
8613
8614 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
8615 into tail calls.
8616 (update_get_addr): New function.
8617 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
8618 GET_ADDR_MODULE parameter.
8619
c8a89e7d
JM
86202012-01-30 Joseph Myers <joseph@codesourcery.com>
8621
8622 * crypt/cert.c: Remove __STDC__ conditionals.
8623 * crypt/crypt-entry.c: Likewise.
8624 * crypt/crypt_util.c: Likewise.
8625 * libio/filedoalloc.c: Likewise.
8626 * libio/fileops.c: Likewise.
8627 * libio/genops.c: Likewise.
8628 * libio/iofclose.c: Likewise.
8629 * libio/iofdopen.c: Likewise.
8630 * libio/iofopen.c: Likewise.
8631 * libio/iofopen64.c: Likewise.
8632 * libio/iogetdelim.c: Likewise.
8633 * libio/iopopen.c: Likewise.
8634 * libio/obprintf.c: Likewise.
8635 * libio/oldfileops.c: Likewise.
8636 * libio/oldiofclose.c: Likewise.
8637 * libio/oldiofdopen.c: Likewise.
8638 * libio/oldiofopen.c: Likewise.
8639 * libio/oldiopopen.c: Likewise.
8640 * libio/wfiledoalloc.c: Likewise.
8641 * libio/wgenops.c: Likewise.
8642 * locale/programs/xmalloc.c: Likewise.
8643 * misc/syslog.c: Likewise.
8644 * stdio-common/xbug.c: Likewise.
8645 * string/memchr.c: Likewise.
8646 * string/memcmp.c: Likewise.
8647 * string/memrchr.c: Likewise.
8648 * string/rawmemchr.c: Likewise.
8649 * sysdeps/posix/getcwd.c: Likewise.
8650 * time/strftime_l.c: Likewise.
8651
3b100462
JM
86522012-01-30 Joseph Myers <joseph@codesourcery.com>
8653
8654 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
8655 * config.make.in (config-cflags-sse2avx): Define.
8656 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
8657 Fix typo.
8658
607998af
CM
86592012-01-29 Chris Metcalf <cmetcalf@tilera.com>
8660
8661 * scripts/config.guess: Update from upstream config git repository.
8662 * scripts/config.sub: Likewise.
8663
3601428f
CM
86642012-01-28 Chris Metcalf <cmetcalf@tilera.com>
8665
3ac8b282
CM
8666 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
8667 (EM_NUM): Update.
8668 (R_TILEPRO_*, R_TILEGX_*): New macros.
8669
e034841e
CM
8670 * scripts/firstversions.awk: Fix bug in version range handling.
8671
540d7568
CM
8672 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
8673
3601428f
CM
8674 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
8675
463de862
CM
8676 * include/sys/epoll.h: New file.
8677 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
8678 libc_hidden_def.
8679
73139a76
UD
86802012-01-28 Ulrich Drepper <drepper@gmail.com>
8681
96bc5b45
UD
8682 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
8683 Avoid unnecessary __WORDSIZE == 64 test.
8684 (fmaxf): Use VEX format if possible.
8685 (fmax): Likewise.
8686 (fminf): Likewise.
8687 (fmin): Likewise.
8688
56f6f6a2
UD
8689 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
8690 * math/math_private.h: Remove libc_fegetround* and
8691 libc_fesetround*.
8692 * sysdeps/i386/configure.in: Check for -msse2avx.
8693 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
8694 also if SSE2AVX is defined.
8695 Remove libc_fegetround* and libc_fesetround*.
8696 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
8697 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
8698 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
8699 of HAS_YMM_USABLE.
8700 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
8701 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
8702 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
8703 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
8704 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
8705
73139a76
UD
8706 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
8707
d73f93a4
AZ
87082012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8709
8710 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
8711 size is not set.
8712 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
8713
6ee65ed6
UD
87142012-01-27 Ulrich Drepper <drepper@gmail.com>
8715
8716 [BZ #13618]
8717 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
8718 relocation.
8719 * Makeconfig (libm): Define.
8720 * elf/Makefile: Add rules to build and run tst-relsort1.
8721 * elf/tst-relsort1.c: New file.
8722 * elf/tst-relsort1mod1.c: New file.
8723 * elf/tst-relsort1mod2.c: New file.
8724
8db21882
JM
87252012-01-27 Joseph Myers <joseph@codesourcery.com>
8726
8727 * math/s_ldexp.c: Remove __STDC__ conditionals.
8728 * math/s_ldexpf.c: Likewise.
8729 * math/s_ldexpl.c: Likewise.
8730 * math/s_nextafter.c: Likewise.
8731 * math/s_nexttowardf.c: Likewise.
8732 * math/s_significand.c: Likewise.
8733 * math/s_significandf.c: Likewise.
8734 * math/s_significandl.c: Likewise.
8735 * math/w_jnl.c: Likewise.
8736 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
8737 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
8738 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
8739 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
8740 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
8741 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
8742 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
8743 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
8744 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
8745 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
8746 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
8747 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
8748 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
8749 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
8750 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
8751 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
8752 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
8753 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
8754 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
8755 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
8756 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
8757 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
8758 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
8759 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
8760 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
8761 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
8762 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
8763 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
8764 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
8765 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
8766 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
8767 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
8768 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
8769 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
8770 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
8771 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
8772 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
8773 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
8774 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
8775 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
8776 * sysdeps/ieee754/k_standard.c: Likewise.
8777 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
8778 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
8779 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
8780 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
8781 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
8782 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
8783 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
8784 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
8785 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
8786 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
8787 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
8788 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
8789 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
8790 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
8791 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
8792 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
8793 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
8794 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
8795 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
8796 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
8797 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
8798 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
8799 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
8800 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
8801 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
8802 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
8803 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
8804 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
8805 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
8806 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
8807 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
8808 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
8809 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
8810 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
8811 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
8812 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
8813 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
8814 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
8815 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
8816 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
8817 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
8818 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
8819 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
8820 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
8821 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
8822 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
8823 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
8824 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
8825 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
8826 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
8827 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
8828 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
8829 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
8830 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
8831 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
8832 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
8833 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
8834 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
8835 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
8836 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
8837 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
8838 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
8839 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
8840 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
8841 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
8842 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
8843 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
8844 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
8845 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
8846 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
8847 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
8848 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
8849 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
8850 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
8851 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
8852 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
8853 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
8854 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
8855 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
8856 * sysdeps/ieee754/s_matherr.c: Likewise.
8857 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
8858 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
8859 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
8860 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
8861
965a54a4
JM
88622012-01-26 Joseph Myers <joseph@codesourcery.com>
8863
8864 * crypt/md5.h: Remove __STDC__ conditionals.
8865 * libio/libioP.h: Likewise.
8866 * locale/programs/config.h: Likewise.
8867 * sysdeps/generic/sysdep.h: Likewise.
8868 * sysdeps/i386/asm-syntax.h: Likewise.
8869 * sysdeps/s390/asm-syntax.h: Likewise.
8870 * sysdeps/unix/sysdep.h: Likewise.
8871 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
8872 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
8873
7071ad79
JM
88742012-01-26 Joseph Myers <joseph@codesourcery.com>
8875
8876 * libio/libio.h: Remove __STDC__ conditionals.
8877 * malloc/obstack.h: Likewise.
8878 * math/complex.h: Likewise.
8879 * math/math.h: Likewise.
8880 * sysdeps/generic/_G_config.h: Likewise.
8881 * sysdeps/gnu/_G_config.h: Likewise.
8882 * sysdeps/mach/hurd/_G_config.h: Likewise.
8883 * sysdeps/powerpc/bits/mathdef.h: Likewise.
8884 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
8885 * sysdeps/sparc/bits/mathdef.h: Likewise.
8886
afc5ed09
UD
88872012-01-26 Ulrich Drepper <drepper@gmail.com>
8888
8889 [BZ #13583]
8890 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 8891 Clean up HAS_* macros.
afc5ed09 8892 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
8893 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
8894 possible.
8895 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
8896 HAS_AVX.
8897 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
8898 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
8899 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
8900 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
8901 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 8902
bdb6de1d
JM
89032012-01-25 Joseph Myers <joseph@codesourcery.com>
8904
8905 * elf/tst-unique3.cc (gets): Remove declaration.
8906 * elf/tst-unique3lib.cc (gets): Likewise.
8907 * elf/tst-unique3lib2.cc (gets): Likewise.
8908 * elf/tst-unique4.cc (gets): Likewise.
8909
b15549e6
UD
89102012-01-24 Ulrich Drepper <drepper@gmail.com>
8911
8912 * include/stdio.h: Add C++ protection. Add gets declarations and
8913 definitions.
8914 * debug/tst-chk1.c: Don't declare gets here.
8915 * stdio-common/tst-gets.c: Likewise.
8916
a037381f
JM
89172012-01-24 Joseph Myers <joseph@codesourcery.com>
8918
8919 * posix/glob: Remove directory.
8920
f1d4aa75
JM
89212012-01-24 Joseph Myers <joseph@codesourcery.com>
8922
8923 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
8924
81c0c964
PT
89252012-01-22 Pino Toscano <toscano.pino@tiscali.it>
8926
8927 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
8928 of the non-standard EPFNOSUPPORT.
8929
0ea698ae
ST
89302011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
8931
8932 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
8933 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
8934 ANYWHERE set to 1 only on KERN_NO_SPACE error.
8935
d220b117
UD
89362012-01-21 Ulrich Drepper <drepper@gmail.com>
8937
8938 * wcsmbs/uchar.h: Test __STDC_VERSION__.
8939
3e1aa84e
UD
89402012-01-20 Ulrich Drepper <drepper@gmail.com>
8941
8942 * nscd/aicache.c (addhstaiX): Do not cache negative results of
8943 transient errors.
8944 * nscd/grpcache.c (cache_addgr): Likewise.
8945 * nscd/hstcache.c (cache_addhst): Likewise.
8946 * nscd/initgrcache.c (addinitgroupsX): Likewise.
8947 * nscd/pwdcache.c (cache_addpw): Likewise.
8948 * nscd/servicescache.c (cache_addserv): Likewise.
8949
400aa020
UD
89502012-01-16 Ulrich Drepper <drepper@gmail.com>
8951
d77e7869
UD
8952 * malloc/malloc.c: Various cleanups.
8953 * malloc/hooks.c: Likewise.
8954
400aa020
UD
8955 * stdlib/Makefile (tests): Add bug-fmtmsg1.
8956 * stdlib/bug-fmtmsg1.c: New file.
8957
8958 * stdlib/fmtmsg.c (init): Add missing unlock.
8959 Patch by Peng Haitao <penght@cn.fujitsu.com>.
8960
e0a309cf
MP
89612012-01-12 Marek Polacek <polacek@redhat.com>
8962
8963 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
8964 and _GNU_SOURCE.
8965
929d11c7
WS
89662012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
8967
8968 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
8969 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
8970 macro to ensure uniqueness of label name.
8971 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
8972 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
8973
41d0e869
UD
89742012-01-11 Ulrich Drepper <drepper@gmail.com>
8975
0cc5ed3b
UD
8976 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
8977
41d0e869
UD
8978 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
8979 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
8980 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
8981 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
8982
a47a831a
UD
89832012-01-10 Ulrich Drepper <drepper@gmail.com>
8984
daa891c0
UD
8985 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
8986
8987 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
8988 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
8989 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
8990
e58ef0f2
UD
8991 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
8992
a47a831a 8993 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
8994 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
8995 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 8996 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
8997
8998 * math/bits/math-finite.h: Add ldexp support.
8999
a0bfc9c7
MP
90002012-01-10 Marek Polacek <polacek@redhat.com>
9001
9002 * locale/programs/localedef.h (show_archive_content): Add noreturn
9003 attribute.
9004
d6e97a1d
UD
90052012-01-09 Ulrich Drepper <drepper@gmail.com>
9006
9007 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
9008
d5835c26
UD
90092012-01-08 Ulrich Drepper <drepper@gmail.com>
9010
e5f484c6
UD
9011 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
9012
d5835c26
UD
9013 * io/Makefile (headers): Add bits/poll2.h.
9014
d1f741e9
WS
90152011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
9016
9017 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
9018 typo #include statement.
9019
ec09c1c4
UD
90202012-01-08 Ulrich Drepper <drepper@gmail.com>
9021
9022 * include/sys/cdefs.h: Define __attribute_alloc_size.
9023 * catgets/gencat.c: Add alloc_size attribute and apply consistently
9024 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
9025 * elf/pldd.c: Likewise.
9026 * iconv/iconv_charmap.c: Likewise.
9027 * iconv/iconvconfig.c: Likewise.
9028 * iconv/strtab.c: Likewise.
9029 * locale/programs/locale.c: Likewise.
9030 * locale/programs/localedef.h: Likewise.
9031 * locale/programs/simple-hash.c: Likewise.
9032 * nscd/nscd.h: Likewise.
9033 * nss/makedb.c: Likewise.
9034 * sysdeps/generic/ldconfig.h: Likewise.
9035 * locale/programs/localedef.c: Remove xmalloc prototype.
9036 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
9037
20b38e03
PP
90382012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
9039
9040 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
9041 appropriate.
9042
a0da5fe1
UD
90432012-01-08 Ulrich Drepper <drepper@gmail.com>
9044
1d5a644a 9045 * math/Makefile (tests): Add tst-CMPLX.
669704fd 9046 * math/tst-CMPLX.c: New file.
1d5a644a 9047
8784a6db
UD
9048 * math/complex.h (CMPLXL): Fix typo.
9049
d9a216c0
UD
9050 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
9051 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
9052 GLIBC_2.16.
9053 * debug/tst-chk1.c: Add poll and ppoll tests.
9054 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
9055 * include/sys/poll.h: Add hidden proto for ppoll.
9056 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
9057 * sysdeps/mach/hurd/ppoll.c: Likewise.
9058 * io/ppoll.c: Likewise.
9059 * debug/poll_chk.c: New file.
9060 * debug/ppoll_chk.c: New file.
9061 * include/bits/poll2.h: New file.
9062 * io/bits/poll2.h: New file.
9063
ac097f5c
UD
9064 [BZ #1350]
9065 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
9066
2119dcfa
UD
9067 * configure.in: static is always set to yes. Remove.
9068 * config.make.in: Don't set build-static.
9069 * Makeconfig: Remove use of build-static.
9070 * dlfcn/Makefile: Likewise.
9071 * elf/Makefile: Likewise.
9072 * math/Makefile: Likewise.
9073 * misc/Makefile: Likewise.
9074 * nptl/Makefile: Likewise.
9075 * sysdeps/mach/hurd/Makefile: Likewise.
9076
121766a9
UD
9077 * configure.in: PWD_P is not used anymore.
9078 * config.make.in: Remove PWD_P entry.
9079
51a1d39c 9080 * configure.in: Remove last remnants of RANLIB.
8720d066 9081 No need to check for signed size_t anymore.
215f4bdc
UD
9082 Don't set libc_commonpagesize and libc_relro_required here for Alpha
9083 and IA-64.
3857022a 9084 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
9085 * aclocal.m4: Likewise.
9086
d3ed7225
UD
9087 * wcsmbs/mbrtoc16.c: Implement using towc function.
9088 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
9089 * wcsmbs/wcsmbsload.c: Likewise.
9090 * iconv/gconv_simple.c: Likewise.
9091 * iconv/gconv_int.h: Likewise.
9092 * iconv/gconv_builtin.h: Likewise.
9093 * iconv/iconv_prog.c: Remove CHAR16 handling.
9094
9095 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
9096
9097 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
9098
a0da5fe1
UD
9099 * configure.in: Remove --with-elf and --enable-bounded options.
9100 Dont set base_machine for ia64. More non-ELF conditions removed.
9101 Remove testing and setting of leading underscore information.
9102 * config.make.in (build-bounded): Set to no.
9103 * config.h.in: Remove NO_UNDERSCORES entry.
9104 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
9105 them.
9106 * csu/start.c: Remove !NO_UNDERSCORE code.
9107 * locale/localeinfo.h: Likewise.
9108 * sysdeps/generic/machine-gmon.h: Likewise.
9109 * sysdeps/generic/sysdep.h: Likewise.
9110 * sysdeps/i386/sysdep.h: Likewise.
9111 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
9112 * sysdeps/mach/sysdep.h: Likewise.
9113 * sysdeps/s390/s390-32/sysdep.h: Likewise.
9114 * sysdeps/s390/s390-64/sysdep.h: Likewise.
9115 * sysdeps/sh/sysdep.h: Likewise.
9116 * sysdeps/sparc/sparc32/alloca.S: Likewise.
9117 * sysdeps/unix/i386/sysdep.S: Likewise.
9118 * sysdeps/unix/sparc/start.c: Likewise.
9119 * sysdeps/unix/sparc/sysdep.S: Likewise.
9120 * sysdeps/unix/sparc/sysdep.h: Likewise.
9121 * sysdeps/unix/start.c: Likewise.
9122 * sysdeps/unix/x86_64/sysdep.S: Likewise.
9123 * sysdeps/x86_64/sysdep.h: Likewise.
9124
df78418a
UD
91252012-01-07 Ulrich Drepper <drepper@gmail.com>
9126
a784e502
UD
9127 [BZ #13553]
9128 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
9129 for non-gcc.
9130 * argp/argp-fmtstream.h: Use const instead __const.
9131 * argp/argp.h: Likewise.
9132 * assert/assert.h: Likewise.
9133 * bits/fenv.h: Likewise.
9134 * bits/sched.h: Likewise.
9135 * bits/sigset.h: Likewise.
9136 * bits/sigthread.h: Likewise.
9137 * catgets/nl_types.h: Likewise.
9138 * conform/data/pthread.h-data: Likewise.
9139 * crypt/crypt-private.h: Likewise.
9140 * crypt/crypt.h: Likewise.
9141 * crypt/crypt_util.c: Likewise.
9142 * ctype/ctype.h: Likewise.
9143 * debug/execinfo.h: Likewise.
9144 * debug/mbsnrtowcs_chk.c: Likewise.
9145 * debug/mbsrtowcs_chk.c: Likewise.
9146 * debug/wcsnrtombs_chk.c: Likewise.
9147 * debug/wcsrtombs_chk.c: Likewise.
9148 * debug/wcstombs_chk.c: Likewise.
9149 * dirent/dirent.h: Likewise.
9150 * dlfcn/dlfcn.h: Likewise.
9151 * elf/neededtest4.c: Likewise.
9152 * grp/grp.h: Likewise.
9153 * gshadow/gshadow.h: Likewise.
9154 * iconv/gconv.h: Likewise.
9155 * iconv/gconv_int.h: Likewise.
9156 * iconv/gconv_simple.c: Likewise.
9157 * iconv/iconv.h: Likewise.
9158 * iconv/loop.c: Likewise.
9159 * iconv/skeleton.c: Likewise.
9160 * include/aio.h: Likewise.
9161 * include/aliases.h: Likewise.
9162 * include/argz.h: Likewise.
9163 * include/arpa/inet.h: Likewise.
9164 * include/assert.h: Likewise.
9165 * include/dirent.h: Likewise.
9166 * include/dlfcn.h: Likewise.
9167 * include/execinfo.h: Likewise.
9168 * include/fcntl.h: Likewise.
9169 * include/fenv.h: Likewise.
9170 * include/glob.h: Likewise.
9171 * include/grp.h: Likewise.
9172 * include/libintl.h: Likewise.
9173 * include/mntent.h: Likewise.
9174 * include/netdb.h: Likewise.
9175 * include/pwd.h: Likewise.
9176 * include/rpc/netdb.h: Likewise.
9177 * include/sched.h: Likewise.
9178 * include/search.h: Likewise.
9179 * include/shadow.h: Likewise.
9180 * include/signal.h: Likewise.
9181 * include/stdio.h: Likewise.
9182 * include/stdlib.h: Likewise.
9183 * include/string.h: Likewise.
9184 * include/sys/socket.h: Likewise.
9185 * include/sys/stat.h: Likewise.
9186 * include/sys/statfs.h: Likewise.
9187 * include/sys/statvfs.h: Likewise.
9188 * include/sys/syslog.h: Likewise.
9189 * include/sys/time.h: Likewise.
9190 * include/sys/uio.h: Likewise.
9191 * include/time.h: Likewise.
9192 * include/unistd.h: Likewise.
9193 * include/utmp.h: Likewise.
9194 * include/wchar.h: Likewise.
9195 * include/wctype.h: Likewise.
9196 * inet/aliases.h: Likewise.
9197 * inet/arpa/inet.h: Likewise.
9198 * inet/netinet/ether.h: Likewise.
9199 * inet/netinet/in.h: Likewise.
9200 * intl/libintl.h: Likewise.
9201 * io/bits/fcntl2.h: Likewise.
9202 * io/fcntl.h: Likewise.
9203 * io/ftw.h: Likewise.
9204 * io/sys/poll.h: Likewise.
9205 * io/sys/stat.h: Likewise.
9206 * io/sys/statfs.h: Likewise.
9207 * io/sys/statvfs.h: Likewise.
9208 * io/utime.h: Likewise.
9209 * libio/bits/stdio.h: Likewise.
9210 * libio/bits/stdio2.h: Likewise.
9211 * libio/libio.h: Likewise.
9212 * libio/libioP.h: Likewise.
9213 * libio/stdio.h: Likewise.
9214 * locale/lc-ctype.c: Likewise.
9215 * locale/locale.h: Likewise.
9216 * login/utmp.h: Likewise.
9217 * malloc/arena.c: Likewise.
9218 * malloc/malloc.c: Likewise.
9219 * malloc/malloc.h: Likewise.
9220 * malloc/mcheck.c: Likewise.
9221 * malloc/mtrace.c: Likewise.
9222 * math/bits/mathcalls.h: Likewise.
9223 * math/fenv.h: Likewise.
9224 * math/math_private.h: Likewise.
9225 * misc/bits/error.h: Likewise.
9226 * misc/bits/syslog.h: Likewise.
9227 * misc/err.h: Likewise.
9228 * misc/error.h: Likewise.
9229 * misc/fstab.h: Likewise.
9230 * misc/mntent.h: Likewise.
9231 * misc/regexp.h: Likewise.
9232 * misc/search.h: Likewise.
9233 * misc/sgtty.h: Likewise.
9234 * misc/sys/mman.h: Likewise.
9235 * misc/sys/syslog.h: Likewise.
9236 * misc/sys/uio.h: Likewise.
9237 * misc/sys/xattr.h: Likewise.
9238 * misc/ttyent.h: Likewise.
9239 * nis/rpcsvc/ypclnt.h: Likewise.
9240 * nss/nss.h: Likewise.
9241 * posix/bits/unistd.h: Likewise.
9242 * posix/fnmatch.h: Likewise.
9243 * posix/glob.h: Likewise.
9244 * posix/sched.h: Likewise.
9245 * posix/spawn.h: Likewise.
9246 * posix/sys/wait.h: Likewise.
9247 * posix/unistd.h: Likewise.
9248 * posix/wordexp.h: Likewise.
9249 * pwd/pwd.h: Likewise.
9250 * resolv/netdb.h: Likewise.
9251 * resource/sys/resource.h: Likewise.
9252 * rt/aio.h: Likewise.
9253 * rt/bits/mqueue2.h: Likewise.
9254 * rt/mqueue.h: Likewise.
9255 * shadow/shadow.h: Likewise.
9256 * signal/signal.h: Likewise.
9257 * socket/send.c: Likewise.
9258 * socket/sendto.c: Likewise.
9259 * socket/sys/socket.h: Likewise.
9260 * stdio-common/printf.h: Likewise.
9261 * stdlib/bits/stdlib.h: Likewise.
9262 * stdlib/fmtmsg.h: Likewise.
9263 * stdlib/monetary.h: Likewise.
9264 * stdlib/stdlib.h: Likewise.
9265 * stdlib/ucontext.h: Likewise.
9266 * streams/stropts.h: Likewise.
9267 * string/argz.h: Likewise.
9268 * string/bits/string2.h: Likewise.
9269 * string/string.h: Likewise.
9270 * string/strings.h: Likewise.
9271 * sunrpc/rpc/auth.h: Likewise.
9272 * sunrpc/rpc/auth_des.h: Likewise.
9273 * sunrpc/rpc/clnt.h: Likewise.
9274 * sunrpc/rpc/netdb.h: Likewise.
9275 * sunrpc/rpc/pmap_clnt.h: Likewise.
9276 * sunrpc/rpc/xdr.h: Likewise.
9277 * sysdeps/generic/inttypes.h: Likewise.
9278 * sysdeps/generic/net/if.h: Likewise.
9279 * sysdeps/generic/sys/swap.h: Likewise.
9280 * sysdeps/gnu/net/if.h: Likewise.
9281 * sysdeps/gnu/utmpx.h: Likewise.
9282 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
9283 * sysdeps/i386/i486/bits/string.h: Likewise.
9284 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
9285 * sysdeps/s390/bits/string.h: Likewise.
9286 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
9287 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
9288 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
9289 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
9290 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
9291 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
9292 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
9293 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
9294 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
9295 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
9296 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
9297 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
9298 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
9299 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
9300 * sysdeps/unix/sysv/linux/readv.c: Likewise.
9301 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
9302 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
9303 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
9304 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
9305 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
9306 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
9307 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
9308 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
9309 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
9310 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
9311 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
9312 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
9313 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
9314 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
9315 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
9316 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
9317 * sysvipc/sys/ipc.h: Likewise.
9318 * sysvipc/sys/msg.h: Likewise.
9319 * sysvipc/sys/sem.h: Likewise.
9320 * sysvipc/sys/shm.h: Likewise.
9321 * termios/termios.h: Likewise.
9322 * time/sys/time.h: Likewise.
9323 * time/time.h: Likewise.
9324 * wcsmbs/bits/wchar2.h: Likewise.
9325 * wcsmbs/uchar.h: Likewise.
9326 * wcsmbs/wchar.h: Likewise.
9327 * wctype/wctype.h: Likewise.
9328
0269750c
UD
9329 [BZ #13551]
9330 * Makeconfig: Remove all but ELF support including AIX support.
9331 * Makerules: Likewise.
9332 * config.h.in: Likewise.
9333 * config.make.in: Likewise.
9334 * configure: Likewise.
9335 * configure.in: Likewise.
9336 * csu/Makefile: Likewise.
9337 * csu/version.c: Likewise.
9338 * debug/Makefile: Likewise.
9339 * dlfcn/Makefile: Likewise.
9340 * elf/Makefile: Likewise.
9341 * extra-lib.mk: Likewise.
9342 * iconv/Makefile: Likewise.
9343 * include/libc-symbols.h: Likewise.
9344 * include/shlib-compat.h: Likewise.
9345 * resolv/Makefile: Likewise.
9346 * resolv/res_libc.c: Likewise.
9347 * rt/Makefile: Likewise.
9348 * sysdeps/i386/asm-syntax.h: Likewise.
9349 * sysdeps/i386/sysdep.h: Likewise.
9350 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
9351 * sysdeps/mach/sysdep.h: Likewise.
9352 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
9353 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
9354 * sysdeps/s390/asm-syntax.h: Likewise.
9355 * sysdeps/s390/s390-32/sysdep.h: Likewise.
9356 * sysdeps/s390/s390-64/sysdep.h: Likewise.
9357 * sysdeps/sh/sysdep.h: Likewise.
9358 * sysdeps/unix/sparc/sysdep.h: Likewise.
9359 * sysdeps/wordsize-32/divdi3.c: Likewise.
9360 * sysdeps/x86_64/sysdep.h: Likewise.
9361
00bbd29b
UD
9362 * argp/Versions: Remove _argp_unlock_xxx.
9363
9364 [BZ #13559]
9365 * abilist/ld.abilist: Update. Adjust for removal of tls option.
9366 * abilist/libBrokenLocale.abilist: Likewise.
9367 * abilist/libanl.abilist: Likewise.
9368 * abilist/libc.abilist: Likewise.
9369 * abilist/libcrypt.abilist: Likewise.
9370 * abilist/libdl.abilist: Likewise.
9371 * abilist/libm.abilist: Likewise.
9372 * abilist/libnsl.abilist: Likewise.
9373 * abilist/libpthread.abilist: Likewise.
9374 * abilist/libresolv.abilist: Likewise.
9375 * abilist/librt.abilist: Likewise.
9376 * abilist/libthread_db.abilist: Likewise.
9377 * abilist/libutil.abilist: Likewise.
9378 * abilist/libnss_db.abilist: New file.
9379
9380 * scripts/abilist.awk: Add support for indirect functions.
9381
a2693a0e
UD
9382 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
9383
3f05895f
UD
9384 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
9385
ecb6fb48
UD
9386 * shlib-versions: Remove entries for ports architectures.
9387
664f8cb9
UD
9388 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
9389 files in ports.
9390 * elf/stackguard-macros.h: Remove support for IA-64.
9391 * elf/tst-auditmod1.c: Likewise.
9392 * sysdeps/generic/ldsodefs.h: Likewise.
9393
7ae81d88
UD
9394 * sysdeps/unix/sysv/linux/configure.in: Ports should define
9395 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
9396 configure files.
9397
bdeba135
UD
9398 [BZ #13552]
9399 * configure.in: Remove --enable-omitfp support.
9400 * FAQ.in: Adjust.
9401 * config.make.in: Likewise.
9402 * Makeconfig: Likewise.
9403 * manual/install.texi: Likewise.
9404
d75a0a62
UD
9405 In case anyone cares, the IA-64 architecture could move to ports.
9406 * sysdeps/ia64/*: Removed.
9407 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 9408 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 9409
dcc9756b
UD
9410 [BZ #13555]
9411 * configure.in: Remove entries for unsupported architectures.
9412
d3761ebc 9413 [BZ #13533]
9954432e
UD
9414 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
9415 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
9416 routines.
9417 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
9418 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
9419 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
9420 fall back to using wcrtomb.
9421 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
9422 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
9423 renaming.
9424 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
9425 * wcsmbs/tst-c16c32-1.c: New file.
9426
9427 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
9428 local variable.
9429
c3a87236
UD
9430 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
9431
28926a1b
UD
9432 * elf/tst-unique3.cc: Add explicit declaration of gets.
9433 * elf/tst-unique3lib.cc: Likewise.
9434 * elf/tst-unique3lib2.cc: Likewise.
9435 * elf/tst-unique4.cc: Likewise.
9436
df78418a
UD
9437 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
9438
8ecd6b2a
JM
94392012-01-06 Joseph Myers <joseph@codesourcery.com>
9440
9441 [BZ #13566]
9442 * assert/assert.h (static_assert): Don't define for C++.
9443 * libio/stdio.h (gets): Do declare for C++ <= C++11.
9444 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
9445
9f115170
UD
94462012-01-03 Ulrich Drepper <drepper@gmail.com>
9447
5e0d0300
UD
9448 * iconv/loop.c (single loop): Fix assertion in storing of
9449 remaining bytes.
9450
9f115170
UD
9451 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
9452
81fb02b0
UD
94532012-01-01 Ulrich Drepper <drepper@gmail.com>
9454
9455 * posix/getconf.c: Update copyright year.
9456 * nss/getent.c: Likewise.
a316c1f6 9457 * nss/makedb.c: Likewise.
81fb02b0
UD
9458 * iconv/iconvconfig.c: Likewise.
9459 * iconv/iconv_prog.c: Likewise.
9460 * elf/ldconfig.c: Likewise.
a316c1f6
UD
9461 * elf/pldd.c: Likewise.
9462 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
9463 * catgets/gencat.c: Likewise.
9464 * csu/version.c: Likewise.
9465 * elf/ldd.bash.in: Likewise.
9466 * elf/sprof.c (print_version): Likewise.
9467 * locale/programs/locale.c: Likewise.
9468 * locale/programs/localedef.c: Likewise.
a316c1f6 9469 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
9470 * nscd/nscd.c (print_version): Likewise.
9471 * debug/xtrace.sh: Likewise.
9472 * malloc/memusage.sh: Likewise.
9473 * malloc/mtrace.pl: Likewise.
9474 * debug/catchsegv.sh: Likewise.
9475
2ba92745
JJ
94762011-12-30 Jakub Jelinek <jakub@redhat.com>
9477
9478 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
9479 pure attribute.
9480
dadebdae
UD
94812011-12-24 Ulrich Drepper <drepper@gmail.com>
9482
d3761ebc 9483 [BZ #13533]
db6af3eb
UD
9484 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
9485 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
9486 transformations.
9487 * iconv/gconv_int.h: Likewise.
9488 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
9489 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
9490 from libc for GLIBC_2.16.
9491 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
9492 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
9493 * wcsmbs/uchar.h: Really define mbstate_t.
9494 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
9495 * wcsmbs/c16rtomb.c: New file.
9496 * wcsmbs/mbrtoc16.c: New file.
9497 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
9498 for C/POSIX locale.
9499 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
9500 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
9501
dadebdae
UD
9502 * wcsmbs/wchar.h: Add missing __restrict.
9503
67371b56
UD
95042011-12-23 Ulrich Drepper <drepper@gmail.com>
9505
74033a25
UD
9506 [BZ #13532]
9507 * time/Makefile (routines): Add timespec_get.
9508 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
9509 * time/time.h: Define TIME_UTC and declare timespec_get. Define
9510 timespec for ISO C11.
9511 * time/timespec_get.c: New file.
9512 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
9513 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
9514
380d7e87
UD
9515 [BZ #13531]
9516 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
9517 * stdlib/stdlib.h: Declare aligned_alloc.
9518 * Versions.def: Add GLIBC_2.16 for libc.
9519 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
9520
4e9e7a35
UD
9521 [BZ 13527]
9522 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
9523 ISO C11.
9524
380d7e87 9525 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
9526 code.
9527
03a71829
UD
9528 [BZ #13528]
9529 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
9530
839e283e
UD
9531 [BZ #13529]
9532 * assert/assert.h (static_assert): Define.
9533
ce5294e2 9534 * version.h: Update for 2.16 development version.
90fa7312 9535
8d44e150 9536 [BZ #13526]
d7809905
UD
9537 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
9538 _ISOC11_SOURCE.
9539
c0da14cd
UD
9540 * version.h (RELEASE): Bump for 2.15 release.
9541 * include/features.h (__GLIBC_MINOR__): Bump to 15.
9542
530a3249
MP
9543 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
9544 Patch by Marek Polacek <mpolacek@redhat.com>.
9545
67371b56
UD
9546 * bits/byteswap.h: Protect long long constants with __extension__.
9547 * sysdeps/i386/bits/byteswap.h: Likewise.
9548 * sysdeps/ia64/bits/byteswap.h: Likewise.
9549 * sysdeps/s390/bits/byteswap.h: Likewise.
9550 * sysdeps/x86_64/bits/byteswap.h: Likewise.
9551
15db4de1
LD
95522011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9553
9554 [BZ #13540]
bbe315ea
LD
9555 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
9556 destination buffer.
15db4de1
LD
9557 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
9558
2b2596b1
MP
95592011-12-23 Marek Polacek <polacek@redhat.com>
9560
9561 * elf/dl-addr.c (determine_info): Add inline keyword.
9562 * elf/tst-auditmod4b.c (check_avx): Likewise.
9563 * elf/tst-auditmod6b.c (check_avx): Likewise.
9564 * elf/tst-auditmod6c.c (check_avx): Likewise.
9565 * elf/tst-auditmod7b.c (check_avx): Likewise.
9566
70c6c246
UD
95672011-12-23 Ulrich Drepper <drepper@gmail.com>
9568
9569 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
9570 !__SSE_MATH__.
9571
c044cf14
LD
95722011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9573
15db4de1 9574 [BZ #13540]
c044cf14
LD
9575 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
9576 processing for last bytes.
9577
6b13d9d9
BH
95782011-08-06 Bruno Haible <bruno@clisp.org>
9579
d455f537
BH
9580 [BZ #13061]
9581 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
9582 U+0385, not to U+1FEE.
9583
6b13d9d9
BH
9584 [BZ #13062]
9585 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
9586 entry for U+00A5 U+0301.
9587
db910efd
UD
95882011-12-22 Ulrich Drepper <drepper@gmail.com>
9589
27deeafc
UD
9590 [BZ #13166]
9591 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
9592 buffer for the output is too small.
9593
aed9d171
UD
9594 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
9595 optimization.
9596
db910efd
UD
9597 [BZ #13185]
9598 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
9599 SSE flags if possible.
9600
2bd779ae
LD
96012011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9602
e7f9dac3 9603 [BZ #13540]
2bd779ae
LD
9604 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
9605 processing for last bytes.
9606
154bfc16
JM
96072011-12-22 Joseph Myers <joseph@codesourcery.com>
9608
9609 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
9610 (syscall-list-default-options, syscall-list-default-condition)
9611 (syscall-list-includes): Define.
9612 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
9613 list of ABIs and options and #if conditions for each ABI. Do not
9614 handle common syscalls between ABIs specially.
9615 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
9616 Remove.
9617 (syscall-list-variants, syscall-list-32bit-options)
9618 (syscall-list-32bit-condition, syscall-list-64bit-options)
9619 (syscall-list-64bit-condition): Define.
9620 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
9621 (syscall-list-variants, syscall-list-32bit-options)
9622 (syscall-list-32bit-condition, syscall-list-64bit-options)
9623 (syscall-list-64bit-condition): Define.
9624 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
9625 Remove.
9626 (syscall-list-variants, syscall-list-32bit-options)
9627 (syscall-list-32bit-condition, syscall-list-64bit-options)
9628 (syscall-list-64bit-condition): Define.
9629 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
9630 Remove.
9631 (syscall-list-variants, syscall-list-32bit-options)
9632 (syscall-list-32bit-condition, syscall-list-64bit-options)
9633 (syscall-list-64bit-condition): Define.
9634
21eaf3a5
UD
96352011-12-22 Ulrich Drepper <drepper@gmail.com>
9636
16c6f992
UD
9637 * locale/iso-639.def: Add brx entry.
9638
41043168
UD
9639 [BZ #13328]
9640 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
9641 Proposed by Mariusz_Cukr <marcukr@op.pl>.
9642
21eaf3a5
UD
9643 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
9644 __feraiseexcept_renamed.
9645
e3a851a2
UD
96462011-12-21 Ulrich Drepper <drepper@gmail.com>
9647
4920765e
UD
9648 [BZ #13538]
9649 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
9650 EPOLLET with unsigned values.
9651 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
9652 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
9653
e3a851a2
UD
9654 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
9655 to large cancellation.
9656 * math/s_cacoshf.c: Likewise.
9657 * math/s_cacoshl.c: Likewise.
9658
b27e24b8
RK
96592011-11-18 Richard B. Kreckel <kreckel@ginac.de>
9660
9661 [BZ #13305]
aebefeee 9662 [BZ #12786]
b27e24b8
RK
9663 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
9664 * math/s_cacoshf.c: Likewise.
9665 * math/s_cacoshl.c: Likewise.
9666
ee190f67
UD
96672011-12-21 Ulrich Drepper <drepper@gmail.com>
9668
9669 [BZ #13439]
9670 * iconv/gconv.h: Define __GCONV_SWAP.
9671 * iconvdata/unicode.c: The swap bit must be stored in __flags.
9672 * iconvdata/utf-16.c: Likewise.
9673 * iconvdata/utf-32.c: Likewise.
9674
707f25df
AS
96752011-12-21 Andreas Schwab <schwab@linux-m68k.org>
9676
9677 [BZ #13524]
9678 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
9679 numerator after shifting it by one limb.
9680
d2daaa1e
RÁE
96812011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
9682
9683 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
9684 under [__USE_EXTERN_INLINES].
9685
a4647e72
UD
96862011-12-17 Ulrich Drepper <drepper@gmail.com>
9687
9688 [BZ #13446]
9689 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
9690
f0b264f1
AZ
96912011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9692
9693 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
9694 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
9695 optimized code.
9696 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
9697 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
9698 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
9699 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
9700 for strncasecmp/strncasecmp_l compilation.
9701 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
9702 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
9703
8ef4f244
MP
97042011-12-08 Marek Polacek <mpolacek@redhat.com>
9705
9706 [BZ #13484]
9707 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
9708 of __asm__.
9709
97ac2654
UD
97102011-12-17 Ulrich Drepper <drepper@gmail.com>
9711
9712 [BZ #13506]
9713 * time/tzfile.c (__tzfile_read): Check values from file header.
9714
91d2a845
WS
97152011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
9716
9717 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
9718 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
9719 * powerpc/powerpc32/dl-start.S: Likewise.
9720 * powerpc/powerpc32/elf/start.S: Likewise.
9721 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
9722 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
9723 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
9724 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
9725 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
9726 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
9727 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
9728 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
9729 * powerpc/powerpc32/fpu/s_round.S: Likewise.
9730 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
9731 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
9732 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
9733 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
9734 * powerpc/powerpc32/memset.S: Likewise.
9735 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
9736 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
9737 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
9738 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
9739 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
9740 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
9741 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
9742 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
9743 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
9744 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
9745 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
9746 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
9747 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
9748
a1267ba1
AZ
97492011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9750
9751 * math/libm-test.inc: Added more nearbyint tests.
9752 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
9753 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
9754 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
9755 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
9756
ad8ac1bd
RL
97572011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
9758
9759 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
9760 FD_CLOEXEC.
9761
1d3e4b61
UD
97622011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9763
9764 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
9765 Add wcscpy-ssse3 wcscpy-c.
9766 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
9767 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
9768 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
9769 * sysdeps/x86_64/wcschr.S: New file.
9770 * sysdeps/x86_64/wcsrchr.S: New file.
9771 * string/test-strcmp.c: Remove checking of wcscmp function for
9772 wrong alignments.
9773 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
9774 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
9775 wcsrchr-sse2 wcsrchr-c.
9776 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
9777 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
9778 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
9779 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
9780 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
9781 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
9782 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
9783 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
9784 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
9785 * wcsmbc/wcschr.c (WCSCHR): New macro.
9786
5b330a2d
UD
97872011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9788
9789 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
9790 * wcsmbs/test-wcsrchr.c: New file.
9791 * string/test-strrchr.c: Add wcsrchr support.
9792 (WIDE): New macro.
9793 * wcsmbs/test-wcscpy.c: New file.
9794 * string/test-strcpy.c: Add wcscpy support.
9795 (WIDE): New macro.
26428b7c 9796
f039c043
UD
97972011-12-10 Ulrich Drepper <drepper@gmail.com>
9798
9799 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
9800 the inner loop.
9801
850fb039
AS
98022011-12-06 Andreas Schwab <schwab@linux-m68k.org>
9803
9804 [BZ #13472]
9805 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
9806
4efbd5cb
UD
98072011-12-04 Ulrich Drepper <drepper@gmail.com>
9808
52ff5dd0 9809 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 9810 Minor optimizations.
52ff5dd0 9811
4efbd5cb
UD
9812 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
9813 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
9814 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
9815
8a426e12
UD
98162011-12-03 Ulrich Drepper <drepper@gmail.com>
9817
aff2453d
UD
9818 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
9819 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
9820 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
9821 for gcc to avoid warnings.
9822 * inet/Makefile (tests): Add tst-checks.
9823 * inet/tst-checks.c: New file.
9824
9825 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
9826 warning.
9827
9828 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
9829 __wmemcmp_sse2.
9830
9831 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
9832 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
9833
8a426e12
UD
9834 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
9835
9bea3473
UD
98362011-12-02 Ulrich Drepper <drepper@gmail.com>
9837
3a965496
UD
9838 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
9839 problem.
9840
9bea3473
UD
9841 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
9842
f101631b
UD
98432011-11-29 Joseph Myers <joseph@codesourcery.com>
9844
9845 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
9846 conditional on GCC version.
9847 (__arch_compare_and_exchange_val_8_acq)
9848 (__arch_compare_and_exchange_val_16_acq)
9849 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
9850 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
9851 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
9852
a98275aa
UD
98532011-12-02 Joseph Myers <joseph@codesourcery.com>
9854
9855 * sysdeps/sh/backtrace.c: New file.
9856
d4cc29a2
AS
98572011-12-02 Andreas Schwab <schwab@redhat.com>
9858
9859 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
9860 parenthesis.
9861
6257af2d
AS
98622011-12-01 Andreas Schwab <schwab@redhat.com>
9863
9864 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
9865 falling back to utime.
9866
b5f44c1a
AS
98672011-11-30 Andreas Schwab <schwab@redhat.com>
9868
9869 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
9870 expectations for float.
9871
f3a6cc0a
AS
98722011-11-29 Andreas Schwab <schwab@redhat.com>
9873
9874 * locale/weight.h (findidx): Add parameter len.
9875 * locale/weightwc.h (findidx): Likewise.
9876 * posix/fnmatch_loop.c (FCT): Adjust caller.
9877 * posix/regcomp.c (build_equiv_class): Likewise.
9878 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
9879 * posix/regexec.c (check_node_accept_bytes): Likewise.
9880 * string/strcoll_l.c (STRCOLL): Likewise.
9881 * string/strxfrm_l.c (STRXFRM): Likewise.
9882
9d65ea3a
UD
98832011-11-17 Ulrich Drepper <drepper@gmail.com>
9884
9885 * Makefile.in: Remove CVSOPT handling.
9886 * configure.in: Remove use of AC_REVISION.
9887 * iconvdata/Makefile (distribute): No need to filter out CVS.
9888 * scripts/list-sources.sh: Remove CVS, subversion and monotone
9889 handling.
9890
5583a086
AS
98912011-11-16 Andreas Schwab <schwab@redhat.com>
9892
9893 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
9894 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
9895 [USE_AS_STRNCASECMP_L]: Likewise.
9896 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
9897 NO_TLS_DIRECT_SEG_REFS.
9898 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
9899 Fix argument offsets for non-PIC.
9900 [USE_AS_STRNCASECMP_L]: Likewise.
9901 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
9902 NO_TLS_DIRECT_SEG_REFS.
9903
d62a8200
UD
99042011-11-15 Ulrich Drepper <drepper@gmail.com>
9905
9d65ea3a 9906 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
9907 O_CLOEXEC.
9908 * locale/loadlocale.c (_nl_load_locale): Likewise.
9909
09f93bd3
AS
99102011-11-15 Andreas Schwab <schwab@redhat.com>
9911
446514f9
AS
9912 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
9913 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
9914 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
9915 (SYSCALL_GETTIME): Set errno on error.
9916
09f93bd3
AS
9917 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
9918 count references to noai6ai_cached.
9919
312be3f9
UD
99202011-11-15 Ulrich Drepper <drepper@gmail.com>
9921
9922 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
9923
9924 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
9925 FD_CLOEXEC for /proc/self/maps.
9926
9927 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
9928 FD_CLOEXEC for /proc/meminfo.
9929
9930 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
9931 gai.conf.
9932
9933 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
9934 FD_CLOEXEC for given file.
9935
9936 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
9937
9938 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
9939 FD_CLOEXEC for /etc/hosts.
9940 (_gethtent): Likewise.
9941
9942 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
9943
9944 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
9945 cancellation and set FD_CLOEXEC for /etc/netgroup.
9946
9947 * nss/nss_files/files-key.c (search): Don't allow cancellation when
9948 reading /etc/publickey.
9949
9950 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
9951 allow cancellation when reading /etc/group.
9952
9953 * nss/nss_files/files-alias.c (internal_setent): Don't allow
9954 cancellation.
9955 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
9956
9957 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
9958 when using data file.
9959
9960 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
9961
9962 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
9963 (write_nis_obj): Use "c" and "e" in fopen.
9964
9965 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
9966
9967 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
9968
9969 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
9970
9971 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
9972
9973 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
9974 locale.alias.
9975
9976 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
9977
9978 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
9979
9980 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
9981
9982 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
9983 file parsing and set FD_CLOEXEC.
9984
82af0fa8
UD
99852011-11-14 Ulrich Drepper <drepper@gmail.com>
9986
9987 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
9988
a5fb313c
AS
99892011-11-14 Andreas Schwab <schwab@redhat.com>
9990
9991 * malloc/arena.c (arena_get2): Don't call reused_arena when
9992 _int_new_arena failed.
9993
6abf3465
UD
99942011-11-14 Ulrich Drepper <drepper@gmail.com>
9995
9996 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
9997 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
9998 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
9999 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
10000 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
10001 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
10002 to compile strcasecmp and strncasecmp.
10003 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
10004 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
10005
10006 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
10007
76e3966e
UD
100082011-11-13 Ulrich Drepper <drepper@gmail.com>
10009
10010 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
10011 locale-defines.sym to gen-as-const-headers.
10012 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
10013 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
10014 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
10015 to compile strcasecmp and strncasecmp.
10016 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
10017 strcasecmp_l and strncasecmp_l.
10018 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
10019 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
10020 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
10021 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
10022 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
10023 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
10024 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
10025 * sysdeps/i386/i686/multiarch/strncase.S: New file.
10026 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
10027 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
10028 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
10029
ab26144e
UD
100302011-11-12 Ulrich Drepper <drepper@gmail.com>
10031
7edb22ef
UD
10032 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
10033 result of SYSDEP_GETTIME_CPU to retval.
10034 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
10035 parameter list to macro. Remove trailing semicolon. Adjust users.
10036
9694fc44
UD
10037 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
10038 variable.
10039
8ad89ef8
UD
10040 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
10041 mantissa words.
10042 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
10043
0c822ef9
UD
10044 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
10045 from unused variable.
10046
874e0564
UD
10047 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
10048 DWARF definitions.
10049 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
10050 for assembling.
10051
3a2edc79
UD
10052 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
10053 over namespaces.
10054
f3c2577f
UD
10055 * sunrpc/rpc_prot.c (rejected): Fix case value.
10056
294ce126
UD
10057 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
10058 unsigned long long int to avoid warnings in shift.
10059
5e2b63c6
UD
10060 * posix/regex_internal.c (re_string_reconstruct): Actually use result
10061 of use of trans.
10062 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
10063 variable tmp.
10064
e7f4b08e
UD
10065 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
10066 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
10067 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
10068
ab26144e
UD
10069 * nis/nis_table.c (nis_list): Use variable of correct type for
10070 result of __follow_path call.
10071
8a6d5255
AZ
100722011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10073
10074 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
10075 of math functions ceil, trunc, floor, round, and sqrt, when
10076 avaliable on the platform.
10077 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
10078 name clash.
10079 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
10080 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
10081 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
10082
aaddc98c
MP
100832011-10-30 Marek Polacek <mpolacek@redhat.com>
10084
10085 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
10086 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
10087
95b7042b
RM
100882011-11-11 Roland McGrath <roland@hack.frob.com>
10089
10090 * include/unistd.h: Fix __readlink return type.
10091 Reported by Chris Metcalf <cmetcalf@tilera.com>.
10092
57769839
UD
100932011-11-11 Ulrich Drepper <drepper@gmail.com>
10094
10095 * stdlib/ucontext.h: Undo last change for makecontext.
10096
edc5984d
AS
100972011-11-11 Andreas Schwab <schwab@redhat.com>
10098
98591e58
AS
10099 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
10100
edc5984d
AS
10101 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
10102 * setjmp/setjmp.h: Mark functions as non-leaf.
10103 * setjmp/bits/setjmp2.h: Likewise.
10104 * stdlib/ucontext.h: Likewise.
10105
77cdc054
AS
101062011-11-10 Andreas Schwab <schwab@redhat.com>
10107
10108 * malloc/arena.c (_int_new_arena): Don't increment narenas.
10109 (reused_arena): Don't check arena limit.
10110 (arena_get2): Atomically check arena limit.
10111
fe72eebd
UD
101122011-11-08 Ulrich Drepper <drepper@gmail.com>
10113
5f078c32
UD
10114 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
10115 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
10116
fe72eebd
UD
10117 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
10118 instructions.
10119
ae1bc2fa
AS
101202011-11-07 Andreas Schwab <schwab@redhat.com>
10121
7583a88d
AS
10122 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
10123 handler when locking.
10124
ae1bc2fa
AS
10125 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
10126 Fix size of allocated buffer.
10127
10fb0bfa
AS
101282011-11-04 Andreas Schwab <schwab@redhat.com>
10129
998832a4
AS
10130 [BZ #10103]
10131 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
10132 declarations for long double functions.
10133 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
10134
10fb0bfa
AS
10135 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
10136
3d7ba52b
AS
101372011-11-03 Andreas Schwab <schwab@redhat.com>
10138
a9ae54a1
AS
10139 * nscd/nscd.c (main): Don't start AVC thread until credentials are
10140 installed.
10141
3d7ba52b
AS
10142 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
10143 is disabled.
10144
bc8db248
ST
101452011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
10146
10147 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
10148
45b96dd6
AS
101492011-11-01 Andreas Schwab <schwab@linux-m68k.org>
10150
647776f6
AS
10151 * include/alloca.h (stackinfo_alloca_round): Define.
10152 (extend_alloca): Use it.
10153 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
10154 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
10155 here.
10156
d91a8b93
AS
10157 * scripts/check-local-headers.sh: Ignore libaudit.h.
10158
45b96dd6
AS
10159 * nscd/Makefile (extra-objs): Make recursively expanded.
10160
432d41ce
UD
101612011-11-01 Ulrich Drepper <drepper@gmail.com>
10162
34372fc6
UD
10163 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
10164 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
10165
fadb59f8
UD
10166 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
10167 * posix/tst-rfc3484-2.c: Likewise.
10168 * posix/tst-rfc3484-3.c: Likewise.
10169
78239589
UD
10170 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
10171 process_vm_writev.
10172 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
10173 process_vm_writev.
10174 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
10175 process_vm_writev from libc using GLIBC_2.15 version.
10176
432d41ce
UD
10177 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
10178
02f9c6cf
PP
101792011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
10180
10181 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
10182 stack usage.
10183
3a2c0242
UD
101842011-10-31 Ulrich Drepper <drepper@gmail.com>
10185
f4ec4833
UD
10186 [BZ #13367]
10187 * nss/getent.c (initgroups_keys): Show error message in case no group
10188 names are given.
10189
3a2c0242
UD
10190 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
10191 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
10192 __bump_nl_timestamp.
10193 * nscd/connections (nscd_init): When host database is served open
10194 netlink socket and request notification about configuration changes.
10195 (main_loop_poll): Track netlink file descriptor and bump timestamp
10196 in case data becomes available.
10197 (main_loop_epoll): Likewise.
10198 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
10199 (database_pers_head): Add extra_data fileds.
10200 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
10201 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
10202 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
10203 Adjust caller.
10204 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
10205 in6ai data, call __free_in6ai.
10206 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
10207 Add -DHAVE_NETLINK.
10208 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
10209 interface information. Reuse previous data if netlink timestamp
10210 is not changed.
10211 (__bump_nl_timestamp): New function.
10212 (__free_in6ai): New function.
10213
636064eb
UD
102142011-10-30 Ulrich Drepper <drepper@gmail.com>
10215
10216 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
10217 close_not_cancel_no_status here.
10218 (__check_pf): Reorganize code a bit to not call close twice if OOM.
10219
9beb2334
UD
102202011-10-29 Ulrich Drepper <drepper@gmail.com>
10221
6ef76f3b
UD
10222 [BZ #13276]
10223 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
10224 return value.
10225
0ffc4f3e 10226 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
10227 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
10228 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
10229
cb95113e
UD
102302011-07-03 Andreas Jaeger <aj@suse.de>
10231
10232 [BZ #10709]
10233 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
10234 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
10235 * math/libm-test.inc (sin_test): Add test case.
10236
a1b560ff
UD
102372011-10-29 Ulrich Drepper <drepper@gmail.com>
10238
c9aaface
UD
10239 [BZ #13337]
10240 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
10241 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
10242
d272e7f1
UD
10243 * elf/chroot_canon.c (chroot_canon): Cleanups.
10244
1bc33071
UD
10245 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
10246
1760874d
TJ
10247 [BZ #13335]
10248 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
10249 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
10250
51d91b18
UD
10251 * string/test-strchr.c: Make usable for strchrnul testing.
10252 * string/test-strchrnul.c: New file.
10253 * string/Makefile (strop-tests): Add strchrnul.
10254
a1b560ff 10255 * po/it.po: Update from translation team.
b611fb81 10256 * po/es.po: Likewise.
a1b560ff 10257
a5b81e1f
UD
102582011-10-28 Ulrich Drepper <drepper@gmail.com>
10259
fd52bc6d
UD
10260 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
10261 the three constants needed as parameters. Drop the others.
10262 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
10263 __m128i_strloadu_tolower.
52e4b9eb
UD
10264 Create and initialize variable zero and use it in all the places
10265 where _mm_setzero_si128 was used.
fd52bc6d 10266
a5b81e1f
UD
10267 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
10268 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
10269 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
10270 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
10271 anymore.
10272 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
10273 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
10274 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
10275 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
10276 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
10277 __mpranred, __mptan.
10278 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
10279 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
10280 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
10281 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
10282 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
10283 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
10284 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
10285 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
10286 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
10287
b4343346
AS
102882011-10-28 Andreas Schwab <schwab@redhat.com>
10289
0c92d8a8
AS
10290 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
10291 redefine if SHARED.
10292 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
10293
b4343346
AS
10294 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
10295 wide char related routines to wcsmbs subdir.
10296
3871f58f
AS
102972011-10-27 Andreas Schwab <schwab@redhat.com>
10298
10299 [BZ #13344]
10300 * misc/sys/cdefs.h (__THROWNL): Define.
10301 * posix/unistd.h: Use __THREADNL instead of __THREAD
10302 for memory synchronization functions.
10303
94d44d9f
RM
103042011-10-26 Roland McGrath <roland@hack.frob.com>
10305
21b64b15 10306 [BZ #13349]
94d44d9f
RM
10307 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
10308 doesn't exist.
10309 * manual/stdio.texi (Obstack Streams): Node removed.
10310
f6ce9294
AS
103112011-10-26 Andreas Schwab <schwab@redhat.com>
10312
80479147
AS
10313 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
10314 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
10315 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
10316
f6ce9294
AS
10317 * math/math_private.h (math_force_eval): Allow non-addressable
10318 arguments.
10319 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
10320
618280a1
UD
103212011-10-25 Ulrich Drepper <drepper@gmail.com>
10322
e0016b11
UD
10323 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
10324 file is not needed.
10325
10326 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
10327 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
10328 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
10329 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
10330 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
10331 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
10332 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
10333 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
10334 Add AVX variants.
10335 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
10336 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
10337 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
10338 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
10339 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
10340 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
10341 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
10342 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
10343 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
10344 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
10345 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
10346 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
10347 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
10348 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
10349 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
10350 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
10351 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
10352 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
10353 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
10354
10355 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
10356 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
10357
618280a1
UD
10358 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
10359 place. Use VEX encoding when compiling for AVX.
10360
37822576
AS
103612011-10-25 Andreas Schwab <schwab@redhat.com>
10362
1f1e1947
AS
10363 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
10364 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
10365
37822576
AS
10366 * string/test-strchr.c (do_test): Don't generate NUL bytes.
10367
31ea014d
UD
103682011-10-25 Ulrich Drepper <drepper@gmail.com>
10369
d7826aa1 10370 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 10371 useless if() expression.
d7826aa1
UD
10372 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
10373 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
10374 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
10375 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
10376 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
10377 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
10378 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
10379 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
10380 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
10381 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
10382 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
10383 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
10384 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
10385 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
10386 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
10387 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
10388 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
10389 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
10390 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
10391
31ea014d
UD
10392 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
10393
16437fec
AS
103942011-10-25 Andreas Schwab <schwab@redhat.com>
10395
10396 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
10397 condition.
10398 * elf/dl-fini.c (_dl_sort_fini): Likewise.
10399
31d3cc00
UD
104002011-10-25 Ulrich Drepper <drepper@gmail.com>
10401
10402 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
10403 .text section. Avoid duplicate constants.
10404 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
10405 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
10406 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
10407 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
10408 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
10409 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
10410 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
10411 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
10412 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
10413 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
10414 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
10415 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
10416 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
10417 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
10418 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
10419 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
10420 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
10421 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
10422 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
10423 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
10424 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
10425 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
10426 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
10427 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
10428 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
10429 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
10430 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
10431 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
10432 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
10433 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
10434 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
10435 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
10436 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
10437 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
10438 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
10439 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
10440 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
10441 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
10442 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
10443 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
10444 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
10445 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
10446 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
10447 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
10448 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
10449
58985aa9
UD
104502011-10-24 Ulrich Drepper <drepper@gmail.com>
10451
202c9deb
UD
10452 * sysdeps/x86_64/dla.h: Move to ...
10453 * sysdeps/x86_64/fpu/dla.h: ...here.
10454 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
10455 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 10456
af968f62
UD
10457 * config.make.in: Add have-mfma4 entry.
10458 * configure.in: Substitute libc_cv_cc_fma4.
10459 * math/Makefile (dbl-only-routines): Add sincostab.
10460 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
10461 Use __sincostab not sincos.
10462 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
10463 name is a macro.
10464 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
10465 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
10466 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
10467 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
10468 using __copysign.
10469 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
10470 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
10471 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
10472 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
10473 and __inv.
10474 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
10475 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
10476 __copysign.
10477 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
10478 define aliases when function name is a macro.
10479 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
10480 sysdeps/ieee754/dbl-64/sincos.tbl.
10481 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
10482 fma4-enabled routines.
10483 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
10484 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
10485 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
10486 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
10487 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
10488 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
10489 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
10490 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
10491 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
10492 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
10493 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
10494 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
10495 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
10496 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
10497 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
10498 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
10499 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
10500 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
10501 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
10502 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
10503 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
10504 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
10505 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
10506 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
10507 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
10508 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
10509 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
10510 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
10511 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
10512 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
10513
58985aa9
UD
10514 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
10515 rename.
10516 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
10517 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
10518 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
10519 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
10520 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
10521 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
10522 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
10523 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
10524
a201fbcf
AS
105252011-10-24 Andreas Schwab <schwab@redhat.com>
10526
10527 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
10528
fc2ee42a
LD
105292011-10-23 Ulrich Drepper <drepper@gmail.com>
10530
bb3129bd
UD
10531 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
10532
0275fff8
UD
10533 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
10534 prediction.
10535 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
10536
2fa2ae85
UD
10537 * string/strnlen.c: Don't define STRNLEN, reverse logic.
10538 Remove unused variable magic_bits.
10539 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
10540
fc2ee42a
LD
10541 * string/strnlen.c: Define and use STRNLEN macro.
10542 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
10543 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
10544 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
10545 * wcsmbs/wcslen.c: Define and use WCSLEN.
10546 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
10547 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
10548 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
10549 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
10550 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
10551 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
10552 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
10553
ce7dd29f
LD
105542011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10555
10556 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
10557 strnlen-sse2-no-bsf.
10558 Rename strlen-no-bsf to strlen-sse2-no-bsf.
10559 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
10560 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
10561 Add strnlen support.
10562 (USE_AS_STRNLEN): New macro.
10563 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
10564 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
10565 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
10566 * sysdeps/x86_64/wcslen.S: New file.
10567
979c70a3
MZ
105682011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
10569
10570 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
10571 XMM-moves are used for copying on small sizes.
10572
2d09f82f
LD
105732011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10574
10575 * wcsmbs/Makefile (strop-tests): Add wcschr.
10576 * wcsmbs/test-wcschr.c: New file.
10577 * string/test-strchr.c: Update.
10578 Add wcschr support.
10579 (WIDE): New macro.
10580
619fccca
LD
105812011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10582
2d09f82f 10583 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
10584 * wcsmbs/test-wcslen.c: New file.
10585 * string/test-strlen.c: Update.
10586 Add wcslen support.
10587 (WIDE): New macro.
10588
09f699ea
UD
105892011-10-23 Ulrich Drepper <drepper@gmail.com>
10590
10591 * po/it.po: Update from translation team.
10592
95584d3b
LD
105932011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10594
10595 * sysdeps/x86_64/wcscmp.S: Update.
10596 Fix wrong comparison semantics.
10597 wcscmp shall use signed comparison not unsigned.
10598 Don't use substraction to avoid overflow bug.
10599 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
10600 * wcsmbc/wcscmp.c: Likewise.
10601 * string/test-strcmp.c: Likewise.
10602 Add new tests to check cases with negative values.
10603
c8b3296b
UD
106042011-10-23 Ulrich Drepper <drepper@gmail.com>
10605
10606 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
10607 * sysdeps/x86_64/dla.h: ...here. New file.
10608 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
10609 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
10610 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
10611 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
10612 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
10613 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
10614 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
10615 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
10616 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
10617
246ad57a
AS
106182011-10-23 Andreas Schwab <schwab@linux-m68k.org>
10619
10620 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
10621 __ynl_finite aliases.
10622
a1a87169
UD
106232011-10-22 Ulrich Drepper <drepper@gmail.com>
10624
0d355eb7
UD
10625 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10626
a1a87169
UD
10627 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
10628 define DLA_FMA.
10629 [DLA_FMA] (EMULV): Use DLA_FMA.
10630 [DLA_FMA] (MUL12): Use EMULV.
10631 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
10632 that are not needed.
10633 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
10634 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
10635 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
10636 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
10637 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
10638 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
10639 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
10640
ee2aafe0
AS
106412011-10-22 Andreas Schwab <schwab@linux-m68k.org>
10642
10643 * math/s_nan.c: Undef __nan.
10644 * math/s_nanf.c: Undef __nanf.
10645 * math/s_nanl.c: Undef __nanl.
10646 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
10647 "math_private.h".
10648
bc62c2fb
UD
106492011-10-22 Ulrich Drepper <drepper@gmail.com>
10650
77425c63
UD
10651 * math/s_catan.c: Add branch predictions.
10652 * math/s_catanf.c: Likewise.
10653 * math/s_catanh.c: Likewise.
10654 * math/s_catanhf.c: Likewise.
10655 * math/s_catanhl.c: Likewise.
10656 * math/s_catanl.c: Likewise.
10657 * math/s_cexp.c: Likewise.
10658 * math/s_cexpf.c: Likewise.
10659 * math/s_cexpl.c: Likewise.
10660 * math/s_clog.c: Likewise.
10661 * math/s_clog10.c: Likewise.
10662 * math/s_clog10f.c: Likewise.
10663 * math/s_clog10l.c: Likewise.
10664 * math/s_clogf.c: Likewise.
10665 * math/s_clogl.c: Likewise.
10666 * math/s_csqrt.c: Likewise.
10667 * math/s_csqrtf.c: Likewise.
10668 * math/s_csqrtl.c: Likewise.
10669 * math/s_ctanf.c: Likewise.
10670 * math/s_ctanh.c: Likewise.
10671 * math/s_ctanhf.c: Likewise.
10672 * math/s_ctanhl.c: Likewise.
10673 * math/s_ctanl.c: Likewise.
10674
bc62c2fb
UD
10675 * math/math_private.h: Define __nan, __nanf, __nanl.
10676 * math/s_cacosh.c: Include <math_private.h>.
10677 * math/s_cacoshl.c: Likewise.
10678 * math/s_casinh.c: Likewise.
10679 * math/s_casinhf.c: Likewise.
10680 * math/s_casinhl.c: Likewise.
10681 * math/s_ccos.c: Rely entire on ccosh.
10682 * math/s_ccosf.c: Rely entire on ccoshf.
10683 * math/s_ccosl.c: Rely entirely on ccoshl.
10684 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
10685 Remove tests for FE_INVALID.
10686 * math/s_ccoshf.c: Likewise.
10687 * math/s_ccoshl.c: Likewise.
10688 * math/s_csin.c: Likewise.
10689 * math/s_csinf.c: Likewise.
10690 * math/s_csinh.c Likewise.
10691 * math/s_csinhf.c: Likewise.
10692 * math/s_csinhl.c: Likewise.
10693 * math/s_csinl.c: Likewise.
10694 * math/s_ctan.c: Likewise.
10695 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
10696 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
10697 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
10698
8ec250a4
UD
106992011-10-21 Ulrich Drepper <drepper@gmail.com>
10700
c196fed8
UD
10701 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
10702 compilation problems.
10703
8ec250a4
UD
10704 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
10705 __builtin_expect.
10706
8d4f46c6
UD
107072011-10-20 Ulrich Drepper <drepper@gmail.com>
10708
ed72b654
UD
10709 * sysdeps/i386/configure.in: Test for -mfma4 option.
10710 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
10711 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
10712 COMMON_CPUID_INDEX_80000001.
10713 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
10714 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
10715 use it if FMA3 is not supported.
10716 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
10717
8d4f46c6
UD
10718 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
10719 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
10720
d45c60c2
AS
107212011-10-20 Andreas Schwab <schwab@redhat.com>
10722
10723 [BZ #12892]
10724 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
10725 it would create a cycle with a link time dependency.
10726
d9a4d2ab
UD
107272011-10-19 Ulrich Drepper <drepper@gmail.com>
10728
855d1560
UD
10729 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
10730 instruction.
10731 * string/Makefile (strop-tests): Add rawmemchr.
10732 * string/test-rawmemchr.c: New file.
10733
d9a4d2ab
UD
10734 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
10735 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
10736 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
10737 when compiling str{,n}casecmp and when AVX is available. Hook up
10738 new optimized code in initializers.
10739
8f3b1ffe
AS
107402011-10-19 Andreas Schwab <schwab@redhat.com>
10741
10742 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
10743 __feraiseexcept instead of feraiseexcept.
10744
d38f1dba
UD
107452011-10-18 Ulrich Drepper <drepper@gmail.com>
10746
d9a8d0ab
UD
10747 * math/math_private.h: Define defaults for libc_fetestexcept and
10748 libc_feupdateenv.
10749 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
10750 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
10751 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
10752 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
10753 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
10754 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
10755 libc_fetestexcept and libc_feupdateenv.
10756
4855e3dd
UD
10757 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
10758 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
10759 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
10760 * sysdeps/x86_64/fpu/math_private.h: Define special version of
10761 libc_feholdexcept_setround.
10762
581d30e3
UD
10763 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
10764 Add s_nearbyint-c and s_nearbyintf-c.
10765 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
10766 nearbyintf inlines.
10767 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
10768 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
10769 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
10770 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
10771
d38f1dba
UD
10772 * math/math_private.h: Define defaults for libc_fegetround,
10773 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
10774 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
10775 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
10776 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
10777 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
10778 standard functions.
10779 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
10780 Remove comments and hacks for old compiler versions.
10781 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
10782 libc_fegetround, libc_fesetround, libc_feholdexcept, and
10783 libc_feholdexceptl.
10784
caa6c9d8
AS
107852011-10-18 Andreas Schwab <schwab@redhat.com>
10786
10787 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
10788 (__feraiseexcept_renamed): Add __NTH.
10789 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
10790 namespace violations.
10791
97c066e6
UD
107922011-10-17 Ulrich Drepper <drepper@gmail.com>
10793
99ce7b04
UD
10794 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
10795
1004d182
UD
10796 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
10797
228a984d
UD
10798 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
10799 recently added interfaces.
10800 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
10801
c8553a6a
UD
10802 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
10803 about macro parameter expansion.
10804
ed22dcf6
UD
10805 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
10806 __NO_MATH_INLINES is defined. Cleanups.
10807
10808 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
10809 and __floorf is target has SSE4.1.
10810 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
10811 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
10812 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
10813 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
10814
b171c137
UD
10815 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
10816 name.
10817 (floorf): Likewise.
10818
97c066e6
UD
10819 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
10820
629f62ef
AS
108212011-10-17 Andreas Schwab <schwab@redhat.com>
10822
49a43d80
AS
10823 * misc/sys/cdefs.h: Fix last change.
10824
629f62ef
AS
10825 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
10826 database lookup.
10827
e453f6cd
UD
108282011-10-16 Ulrich Drepper <drepper@gmail.com>
10829
aa78043a
UD
10830 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
10831
ad0f5cad
UD
10832 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
10833 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
10834 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
10835 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
10836 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
10837 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
10838 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
10839 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
10840 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
10841 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
10842 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
10843 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
10844 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
10845 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
10846 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
10847 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
10848 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
10849 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
10850 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
10851 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
10852 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
10853 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
10854
10855 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
10856 ceil, ceilf, floor, floorf.
10857
10858 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
10859 Perform IRELATIVE relocations last.
10860
e453f6cd
UD
10861 * elf/do-rel.h: Add another parameter nrelative, replacing the
10862 local variable with the same name. Change name of the function
10863 to end in Rel or Rela (uppercase).
10864 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
10865 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
10866 elf_dynamic_do_##reloc function.
10867
fd5bdc09
UD
108682011-10-15 Ulrich Drepper <drepper@gmail.com>
10869
79b195b5
UD
10870 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
10871 is sufficient, at least on modern CPUs.
10872
d4a28569
UD
10873 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
10874
b61099b5
UD
10875 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
10876 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
10877
bcf01e6d
UD
10878 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
10879 __expl_finite.
10880 * math/bits/math-finite.h: Add entries for exp.
10881 * math/e_expl.c: Add __*_finite alias.
10882 * sysdeps/i386/fpu/e_exp.S: Likewise.
10883 * sysdeps/i386/fpu/e_expf.S: Likewise.
10884 * sysdeps/i386/fpu/e_expl.c: Likewise.
10885 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
10886 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
10887 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
10888 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
10889 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
10890 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
10891 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
10892
ba1a0d59
UD
10893 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
10894 is sufficient, at least on modern CPUs.
10895
fd5bdc09
UD
10896 * ctype/ctype-info.c (__ctype_init): Define.
10897 * include/ctype.h (__ctype_init): Declare.
10898 (__ctype_b_loc): The variable is always initialized.
10899 (__ctype_toupper_loc): Likewise.
10900 (__ctype_tolower_loc): Likewise.
10901 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
10902 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
10903
7872cfb0
AS
109042011-10-15 Andreas Schwab <schwab@linux-m68k.org>
10905
b468825a
AS
10906 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
10907
7872cfb0
AS
10908 * configure.in: Also look in $cxxmachine/include for C++ system
10909 headers.
10910
be13f7bf
LD
109112011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10912
10913 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
10914 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
10915 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
10916 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
10917 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
10918 (USE_AS_WMEMCMP): New macro.
10919 Fixing indents.
10920 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
10921 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
10922 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
10923 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
10924 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
10925 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
10926 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
10927 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
10928 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
10929 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
10930 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
10931 (USE_AS_WMEMCMP): New macro.
10932 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
10933 * sysdeps/string/test-memcmp.c: Update.
10934 Fix simple_wmemcmp.
10935 Add new tests.
10936 * wcsmbs/wmemcmp.c: Update.
10937 (WMEMCMP): New macro.
10938 Fix overflow bug.
10939
556a2007
AJ
109402011-10-12 Andreas Jaeger <aj@suse.de>
10941
10942 [BZ #13268]
10943 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
10944
538faaa7
UD
109452011-10-15 Ulrich Drepper <drepper@gmail.com>
10946
ab6737ff
UD
10947 * libio/iofwide.c (do_length): Avoid warning.
10948
538faaa7
UD
10949 * ctype/ctype.h (__isctype_f): Add missing __THROW.
10950
396a21b1
UD
109512011-10-14 Ulrich Drepper <drepper@gmail.com>
10952
cdf2901f
UD
10953 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
10954
38ad40ce
UD
10955 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
10956 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
10957 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
10958 * sysdeps/i386/i686/fpu/e_log.S: New file.
10959 * sysdeps/i386/i686/fpu/e_logf.S: New file.
10960 * sysdeps/i386/i686/fpu/e_logl.S: New file.
10961
396a21b1
UD
10962 * ctype/ctype.h: Add support for inlined isXXX functions when
10963 compiling C++ code.
10964
6b1f68c9
AS
109652011-10-14 Andreas Schwab <schwab@redhat.com>
10966
349290c0
AS
10967 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
10968
6b1f68c9
AS
10969 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
10970
f2282d42
RM
109712011-10-13 Roland McGrath <roland@hack.frob.com>
10972
10973 [BZ #13291]
10974 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
10975
5298ffa8
AS
109762011-10-13 Andreas Schwab <schwab@redhat.com>
10977
714fad23
AS
10978 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
10979 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
10980 feraiseexcept.
10981
81dcc7fb
AS
10982 * sysdeps/x86_64/memrchr.S: Check for zero size.
10983
5298ffa8
AS
10984 * string/stratcliff.c: Add memrchr tests.
10985
951fbcec
LD
109862011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10987
10988 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
10989 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
10990 rawmemchr-sse2 rawmemchr-sse2-bsf.
10991 * sysdeps/i386/i686/multiarch/memchr.S: New file.
10992 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
10993 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
10994 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
10995 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
10996 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
10997 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
10998 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
10999 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
11000 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
11001 * string/memrchr.c (MEMRCHR): New macro.
11002
0ac5ae23
UD
110032011-10-12 Ulrich Drepper <drepper@gmail.com>
11004
11005 Add integration with gcc's -ffinite-math-only and optimize wrapper
11006 functions in libm.
11007 * Versions.def: Define GLIBC_2.15 version for libm.
11008 * math/Makefile (headers): Add bits/math-finite.h.
11009 * math/bits/math-finite.h: New file.
11010 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
11011 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
11012 * math/e_acoshl.c: Add __*_finite alias.
11013 * math/e_acosl.c: Likewise.
11014 * math/e_asinl.c: Likewise.
11015 * math/e_atan2l.c: Likewise.
11016 * math/e_atanhl.c: Likewise.
11017 * math/e_coshl.c: Likewise.
11018 * math/e_exp10.c: Likewise.
11019 * math/e_exp10f.c: Likewise.
11020 * math/e_exp10l.c: Likewise.
11021 * math/e_exp2l.c: Likewise.
11022 * math/e_fmodl.c: Likewise.
11023 * math/e_gammal_r.c: Likewise.
11024 * math/e_hypotl.c: Likewise.
11025 * math/e_j0l.c: Likewise.
11026 * math/e_j1l.c: Likewise.
11027 * math/e_jnl.c: Likewise.
11028 * math/e_lgammal_r.c: Likewise.
11029 * math/e_log10l.c: Likewise.
11030 * math/e_log2l.c: Likewise.
11031 * math/e_logl.c: Likewise.
11032 * math/e_powl.c: Likewise.
11033 * math/e_sinhl.c: Likewise.
11034 * math/e_sqrtl.c: Likewise.
11035 * math/e_scalb.c: Completely rewritten and optimized.
11036 * math/e_scalbf.c: Likewise.
11037 * math/e_scalbl.c: Likewise.
11038 * math/w_acos.c: Likewise.
11039 * math/w_acosf.c: Likewise.
11040 * math/w_acosl.c: Likewise.
11041 * math/w_acosh.c: Likewise.
11042 * math/w_acoshf.c: Likewise.
11043 * math/w_acoshl.c: Likewise.
11044 * math/w_asin.c: Likewise.
11045 * math/w_asinf.c: Likewise.
11046 * math/w_asinl.c: Likewise.
11047 * math/w_atan2.c: Likewise.
11048 * math/w_atan2f.c: Likewise.
11049 * math/w_atan2l.c: Likewise.
11050 * math/w_atanh.c: Likewise.
11051 * math/w_atanhf.c: Likewise.
11052 * math/w_atanhl.c: Likewise.
11053 * math/w_exp10.c: Likewise.
11054 * math/w_exp10f.c: Likewise.
11055 * math/w_exp10l.c: Likewise.
11056 * math/w_fmod.c: Likewise.
11057 * math/w_fmodf.c: Likewise.
11058 * math/w_fmodl.c: Likewise.
11059 * math/w_j0.c: Likewise.
11060 * math/w_j0f.c: Likewise.
11061 * math/w_j0l.c: Likewise.
11062 * math/w_j1.c: Likewise.
11063 * math/w_j1f.c: Likewise.
11064 * math/w_j1l.c: Likewise.
11065 * math/w_jn.c: Likewise.
11066 * math/w_jnf.c: Likewise.
11067 * math/w_log.c: Likewise.
11068 * math/w_logf.c: Likewise.
11069 * math/w_logl.c: Likewise.
11070 * math/w_log10.c: Likewise.
11071 * math/w_log10f.c: Likewise.
11072 * math/w_log10l.c: Likewise.
11073 * math/w_log2.c: Likewise.
11074 * math/w_log2f.c: Likewise.
11075 * math/w_log2l.c: Likewise.
11076 * math/w_pow.c: Likewise.
11077 * math/w_powf.c: Likewise.
11078 * math/w_powl.c: Likewise.
11079 * math/w_remainder.c: Likewise.
11080 * math/w_remainderf.c: Likewise.
11081 * math/w_remainderl.c: Likewise.
11082 * math/w_scalb.c: Likewise.
11083 * math/w_scalbf.c: Likewise.
11084 * math/w_scalbl.c: Likewise.
11085 * math/w_sqrt.c: Likewise.
11086 * math/w_sqrtf.c: Likewise.
11087 * math/w_sqrtl.c: Likewise.
11088 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
11089 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
11090 used.
11091 * math/math_private.h: Declare __kernel_standard_f.
11092 * math/w_cosh.c: Remove cruft and optimize a bit.
11093 * math/w_coshf.c: Likewise.
11094 * math/w_coshl.c: Likewise.
11095 * math/w_exp2.c: Likewise.
11096 * math/w_exp2f.c: Likewise.
11097 * math/w_exp2l.c: Likewise.
11098 * math/w_hypot.c: Likewise.
11099 * math/w_hypotf.c: Likewise.
11100 * math/w_hypotl.c: Likewise.
11101 * math/w_lgamma.c: Likewise.
11102 * math/w_lgamma_r.c: Likewise.
11103 * math/w_lgammaf.c: Likewise.
11104 * math/w_lgammaf_r.c: Likewise.
11105 * math/w_lgammal.c: Likewise.
11106 * math/w_lgammal_r.c: Likewise.
11107 * math/w_sinh.c: Likewise.
11108 * math/w_sinhf.c: Likewise.
11109 * math/w_sinhl.c: Likewise.
11110 * math/w_tgamma.c: Likewise.
11111 * math/w_tgammaf.c: Likewise.
11112 * math/w_tgammal.c: Likewise.
11113 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
11114 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
11115 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
11116 Minor optimizations. Pretty printing. Remove cruft.
11117 * sysdeps/i386/fpu/e_acosf.S: Likewise.
11118 * sysdeps/i386/fpu/e_acosh.S: Likewise.
11119 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
11120 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
11121 * sysdeps/i386/fpu/e_acosl.c: Likewise.
11122 * sysdeps/i386/fpu/e_asin.S: Likewise.
11123 * sysdeps/i386/fpu/e_asinf.S: Likewise.
11124 * sysdeps/i386/fpu/e_atan2.S: Likewise.
11125 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
11126 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
11127 * sysdeps/i386/fpu/e_atanh.S: Likewise.
11128 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
11129 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
11130 * sysdeps/i386/fpu/e_exp10.S: Likewise.
11131 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
11132 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
11133 * sysdeps/i386/fpu/e_exp2.S: Likewise.
11134 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
11135 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
11136 * sysdeps/i386/fpu/e_fmod.S: Likewise.
11137 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
11138 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
11139 * sysdeps/i386/fpu/e_hypot.S: Likewise.
11140 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
11141 * sysdeps/i386/fpu/e_log.S: Likewise.
11142 * sysdeps/i386/fpu/e_log10.S: Likewise.
11143 * sysdeps/i386/fpu/e_log10f.S: Likewise.
11144 * sysdeps/i386/fpu/e_log10l.S: Likewise.
11145 * sysdeps/i386/fpu/e_log2.S: Likewise.
11146 * sysdeps/i386/fpu/e_log2f.S: Likewise.
11147 * sysdeps/i386/fpu/e_log2l.S: Likewise.
11148 * sysdeps/i386/fpu/e_logf.S: Likewise.
11149 * sysdeps/i386/fpu/e_logl.S: Likewise.
11150 * sysdeps/i386/fpu/e_pow.S: Likewise.
11151 * sysdeps/i386/fpu/e_powf.S: Likewise.
11152 * sysdeps/i386/fpu/e_powl.S: Likewise.
11153 * sysdeps/i386/fpu/e_remainder.S: Likewise.
11154 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
11155 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
11156 * sysdeps/i386/fpu/e_scalb.S: Likewise.
11157 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
11158 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
11159 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
11160 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
11161 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
11162 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
11163 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
11164 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
11165 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
11166 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
11167 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
11168 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
11169 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
11170 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
11171 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
11172 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
11173 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
11174 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
11175 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
11176 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
11177 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
11178 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
11179 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
11180 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
11181 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
11182 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
11183 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
11184 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
11185 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
11186 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
11187 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
11188 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
11189 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
11190 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
11191 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
11192 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
11193 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
11194 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
11195 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
11196 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
11197 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
11198 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
11199 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
11200 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
11201 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
11202 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
11203 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
11204 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
11205 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
11206 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
11207 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
11208 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
11209 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
11210 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
11211 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
11212 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
11213 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
11214 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
11215 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
11216 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
11217 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
11218 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
11219 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
11220 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
11221 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
11222 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
11223 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
11224 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
11225 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
11226 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
11227 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
11228 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
11229 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
11230 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
11231 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
11232 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
11233 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
11234 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
11235 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
11236 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
11237 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
11238 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
11239 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
11240 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
11241 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
11242 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
11243 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
11244 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
11245 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
11246 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
11247 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
11248 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
11249 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
11250 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
11251 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
11252 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
11253 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
11254 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
11255 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
11256 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
11257 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
11258 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
11259 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
11260 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
11261 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
11262 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
11263 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
11264 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
11265 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
11266 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
11267 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
11268 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
11269 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
11270 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
11271 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
11272 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
11273 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
11274 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
11275 (__isnanf): Likewise.
11276 (__isinf_ns): Likewise.
11277 (__isinf_nsf): Likewise.
11278 (__finite): Likewise.
11279 (__finitef): Likewise.
11280 (__ieee754_sqrt): Define as macro.
11281 (__ieee754_sqrtf): Define as macro.
11282 (__ieee754_sqrtl): Define as macro.
11283 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
11284 inlined copy.
11285 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
11286 __FINITE_MATH_ONLY__ consistent.
11287 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
11288
12cc2fcd
AS
112892011-10-10 Andreas Schwab <schwab@linux-m68k.org>
11290
a843a204
AS
11291 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
11292 of rawmemchr.
11293
12cc2fcd
AS
11294 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
11295
c853acd5
UD
112962011-10-09 Ulrich Drepper <drepper@gmail.com>
11297
11298 * po/ja.po: Update from translation team.
11299
c658d255
RM
113002011-10-08 Roland McGrath <roland@hack.frob.com>
11301
110946e4
RM
11302 * locale/programs/locarchive.c (prepare_address_space): New function.
11303 (create_archive, enlarge_archive, open_archive): Use it.
11304
50604220
RM
11305 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
11306 inside [SHARED], where it is used.
11307
c658d255
RM
11308 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
11309
11310 * nss/getent.c (netgroup_keys): Remove unused variable.
11311 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
11312
6a621eb7
UD
113132011-10-08 Ulrich Drepper <drepper@gmail.com>
11314
7edb55ce
UD
11315 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
11316 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
11317 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
11318 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
11319 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
11320 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
11321 * math/Makefile (libm-calls): Add s_isinf_ns.
11322 * math/divtc3.c: Use __isinf_nsl instead of isinf.
11323 * math/multc3.c: Likewise.
11324 * math/s_casin.c: Likewise.
11325 * math/s_casinf.c: Likewise.
11326 * math/s_casinl.c: Likewise.
11327 * math/s_ccos.c: Likewise.
11328 * math/s_ccosf.c: Likewise.
11329 * math/s_ccosl.c: Likewise.
11330 * math/s_ctan.c: Likewise.
11331 * math/s_ctanf.c: Likewise.
11332 * math/s_ctanh.c: Likewise.
11333 * math/s_ctanhf.c: Likewise.
11334 * math/s_ctanhl.c: Likewise.
11335 * math/s_ctanl.c: Likewise.
11336 * math/w_fmod.c: Likewise.
11337 * math/w_fmodf.c: Likewise.
11338 * math/w_fmodl.c: Likewise.
11339 * math/w_remainder.c: Likewise.
11340 * math/w_remainderf.c: Likewise.
11341 * math/w_remainderl.c: Likewise.
11342 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
11343 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
11344 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
11345 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
11346 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
11347 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
11348 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
11349 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
11350
187da0ae
UD
11351 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
11352 of the number.
11353 * stdio-common/printf_fphex.c: Likewise.
11354 * stdio-common/printf_size.c: Likewise.
11355
9277c064
UD
11356 * math/e_exp10.c: Include math_private.h using <...> not "...".
11357 * math/e_exp10f.c: Likewise.
11358 * math/e_exp10l.c: Likewise.
11359 * math/e_exp2l.c: Likewise.
11360 * math/e_j0l.c: Likewise.
11361 * math/e_j1l.c: Likewise.
11362 * math/e_jnl.c: Likewise.
11363 * math/e_lgammal_r.c: Likewise.
11364 * math/e_rem_pio2l.c: Likewise.
11365 * math/e_scalb.c: Likewise.
11366 * math/e_scalbf.c: Likewise.
11367 * math/e_scalbl.c: Likewise.
11368 * math/k_cosl.c: Likewise.
11369 * math/k_sinl.c: Likewise.
11370 * math/k_tanl.c: Likewise.
11371 * math/s_cacoshf.c: Likewise.
11372 * math/s_catan.c: Likewise.
11373 * math/s_catanf.c: Likewise.
11374 * math/s_catanh.c: Likewise.
11375 * math/s_catanhf.c: Likewise.
11376 * math/s_catanhl.c: Likewise.
11377 * math/s_catanl.c: Likewise.
11378 * math/s_ccosh.c: Likewise.
11379 * math/s_ccoshf.c: Likewise.
11380 * math/s_ccoshl.c: Likewise.
11381 * math/s_cexp.c: Likewise.
11382 * math/s_cexpf.c: Likewise.
11383 * math/s_cexpl.c: Likewise.
11384 * math/s_clog.c: Likewise.
11385 * math/s_clog10.c: Likewise.
11386 * math/s_clog10f.c: Likewise.
11387 * math/s_clog10l.c: Likewise.
11388 * math/s_clogf.c: Likewise.
11389 * math/s_clogl.c: Likewise.
11390 * math/s_csin.c: Likewise.
11391 * math/s_csinf.c: Likewise.
11392 * math/s_csinh.c: Likewise.
11393 * math/s_csinhf.c: Likewise.
11394 * math/s_csinhl.c: Likewise.
11395 * math/s_csinl.c: Likewise.
11396 * math/s_csqrt.c: Likewise.
11397 * math/s_csqrtf.c: Likewise.
11398 * math/s_csqrtl.c: Likewise.
11399 * math/s_ctan.c: Likewise.
11400 * math/s_ctanf.c: Likewise.
11401 * math/s_ctanh.c: Likewise.
11402 * math/s_ctanhf.c: Likewise.
11403 * math/s_ctanhl.c: Likewise.
11404 * math/s_ctanl.c: Likewise.
11405 * math/s_ldexp.c: Likewise.
11406 * math/s_ldexpf.c: Likewise.
11407 * math/s_ldexpl.c: Likewise.
11408 * math/s_significand.c: Likewise.
11409 * math/s_significandf.c: Likewise.
11410 * math/s_significandl.c: Likewise.
11411 * math/w_acos.c: Likewise.
11412 * math/w_acosf.c: Likewise.
11413 * math/w_acosh.c: Likewise.
11414 * math/w_acoshf.c: Likewise.
11415 * math/w_acoshl.c: Likewise.
11416 * math/w_acosl.c: Likewise.
11417 * math/w_asin.c: Likewise.
11418 * math/w_asinf.c: Likewise.
11419 * math/w_asinl.c: Likewise.
11420 * math/w_atan2.c: Likewise.
11421 * math/w_atan2f.c: Likewise.
11422 * math/w_atan2l.c: Likewise.
11423 * math/w_atanh.c: Likewise.
11424 * math/w_atanhf.c: Likewise.
11425 * math/w_atanhl.c: Likewise.
11426 * math/w_cosh.c: Likewise.
11427 * math/w_coshf.c: Likewise.
11428 * math/w_coshl.c: Likewise.
11429 * math/w_dremf.c: Likewise.
11430 * math/w_exp10.c: Likewise.
11431 * math/w_exp10f.c: Likewise.
11432 * math/w_exp10l.c: Likewise.
11433 * math/w_exp2.c: Likewise.
11434 * math/w_exp2f.c: Likewise.
11435 * math/w_fmod.c: Likewise.
11436 * math/w_fmodf.c: Likewise.
11437 * math/w_fmodl.c: Likewise.
11438 * math/w_hypot.c: Likewise.
11439 * math/w_hypotf.c: Likewise.
11440 * math/w_hypotl.c: Likewise.
11441 * math/w_j0.c: Likewise.
11442 * math/w_j0f.c: Likewise.
11443 * math/w_j0l.c: Likewise.
11444 * math/w_j1.c: Likewise.
11445 * math/w_j1f.c: Likewise.
11446 * math/w_j1l.c: Likewise.
11447 * math/w_jn.c: Likewise.
11448 * math/w_jnf.c: Likewise.
11449 * math/w_jnl.c: Likewise.
11450 * math/w_lgamma.c: Likewise.
11451 * math/w_lgamma_r.c: Likewise.
11452 * math/w_lgammaf.c: Likewise.
11453 * math/w_lgammaf_r.c: Likewise.
11454 * math/w_lgammal.c: Likewise.
11455 * math/w_lgammal_r.c: Likewise.
11456 * math/w_log.c: Likewise.
11457 * math/w_log10.c: Likewise.
11458 * math/w_log10f.c: Likewise.
11459 * math/w_log10l.c: Likewise.
11460 * math/w_log2.c: Likewise.
11461 * math/w_log2f.c: Likewise.
11462 * math/w_log2l.c: Likewise.
11463 * math/w_logf.c: Likewise.
11464 * math/w_logl.c: Likewise.
11465 * math/w_pow.c: Likewise.
11466 * math/w_powf.c: Likewise.
11467 * math/w_powl.c: Likewise.
11468 * math/w_remainder.c: Likewise.
11469 * math/w_remainderf.c: Likewise.
11470 * math/w_remainderl.c: Likewise.
11471 * math/w_scalb.c: Likewise.
11472 * math/w_scalbf.c: Likewise.
11473 * math/w_scalbl.c: Likewise.
11474 * math/w_sinh.c: Likewise.
11475 * math/w_sinhf.c: Likewise.
11476 * math/w_sinhl.c: Likewise.
11477 * math/w_sqrt.c: Likewise.
11478 * math/w_sqrtf.c: Likewise.
11479 * math/w_sqrtl.c: Likewise.
11480 * math/w_tgamma.c: Likewise.
11481 * math/w_tgammaf.c: Likewise.
11482 * math/w_tgammal.c: Likewise.
11483
6a621eb7
UD
11484 * po/ja.po: Update from translation team.
11485
bf582445
AJ
114862011-09-29 Andreas Jaeger <aj@suse.de>
11487
f9efbf3a
AJ
11488 [BZ #13179]
11489 * sunrpc/netname.c (netname2host): Fix logic.
11490
bf582445
AJ
11491 [BZ #6779]
11492 [BZ #6783]
11493 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
11494 correctly.
11495 * math/w_remainder.c (__remainder): Likewise.
11496 * math/w_remainderf.c (__remainderf): Likewise.
11497 * math/libm-test.inc (remainder_test): Add test cases.
11498
48693bea
AK
114992011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11500
11501 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
11502 sdiv_qrnnd.
11503
42622229
LD
115042011-10-07 Ulrich Drepper <drepper@gmail.com>
11505
11506 * string/test-memcmp.c: Avoid unncessary #defines.
11507 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
11508
093ecf92
LD
115092011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
11510
11511 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
11512 Use new sse2 version for core i3 - i7 as it's faster
11513 than sse42 version.
11514 (bit_Prefer_PMINUB_for_stringop): New.
11515 * sysdeps/x86_64/rawmemchr.S: Update.
11516 Replace with faster SSE2 version.
11517 * sysdeps/x86_64/memrchr.S: New file.
11518 * sysdeps/x86_64/memchr.S: Update.
11519 Replace with faster SSE2 version.
11520
fde56e5c
MP
115212011-09-12 Marek Polacek <mpolacek@redhat.com>
11522
11523 * elf/dl-load.c (lose): Add cast to avoid warning.
11524
21fd49a9
UD
115252011-10-07 Ulrich Drepper <drepper@gmail.com>
11526
5a06e643
UD
11527 * po/ca.po: Update from translation team.
11528
684ae515
UD
11529 * inet/getnetgrent_r.c: Hook up nscd.
11530 * nscd/Makefile (routines): Add nscd_netgroup.
11531 (nscd-modules): Add netgroupcache.
11532 (CFLAGS-netgroupcache.c): Define.
11533 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
11534 (cache_search): Add const to second parameter.
11535 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
11536 INNETGR.
11537 (dbs): Add netgrdb entry.
11538 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
11539 (verify_persistent_db): Handle netgrdb.
11540 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
11541 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
11542 GETFDNETGR.
11543 (netgroup_response_header): Define.
11544 (innetgroup_response_header): Define.
11545 (datahead): Add netgroup_response_header and innetgroup_response_header
11546 elements.
11547 * nscd/nscd.conf: Add entries for netgroup cache.
11548 * nscd/nscd.h (dbtype): Add netgrdb.
11549 (_PATH_NSCD_NETGROUP_DB): Define.
11550 (netgroup_iov_disabled): Declare.
11551 (xmalloc, xcalloc, xrealloc): Move declarations here.
11552 (cache_search): Adjust prototype.
11553 Add netgroup-related prototypes.
11554 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
11555 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
11556 (__nscd_innetgr): Declare.
11557 * nscd/selinux.c (perms): Use access_vector_t as element type and
11558 add netgroup-related initializers.
11559 * nscd/netgroupcache.c: New file.
11560 * nscd/nscd_netgroup.c: New file.
11561 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
11562 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
11563 For four parameters use innetgr.
11564 * nss/nss_files/files-init.c: Add definition and callback for netgr.
11565 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
11566 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
11567 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
11568
21fd49a9
UD
11569 * nscd/connections.c (register_traced_file): Don't register file
11570 for disabled databases.
11571
054c0457
UD
115722011-10-06 Ulrich Drepper <drepper@gmail.com>
11573
32b63198
UD
11574 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
11575
054c0457
UD
11576 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
11577 from tree and freeing node.
11578
64031225
JO
115792011-09-25 Jiri Olsa <jolsa@redhat.com>
11580
11581 * nss/nsswitch.c (__nss_database_lookup): Handle
11582 nss_parse_service_list out of memory case.
11583
0490345c
JO
115842011-09-15 Jiri Olsa <jolsa@redhat.com>
11585
11586 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
11587 out of memory case.
11588
3a62d00d
AS
115892011-10-04 Andreas Schwab <schwab@redhat.com>
11590
11591 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
11592 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
11593 pass it down.
11594 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
11595 elf_machine_rela, elf_machine_lazy_rel.
11596 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
11597 (ELF_DYNAMIC_DO_REL): Likewise.
11598 (ELF_DYNAMIC_DO_RELA): Likewise.
11599 (ELF_DYNAMIC_RELOCATE): Likewise.
11600 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
11601 to ELF_DYNAMIC_DO_REL.
11602 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
11603 (dl_main): In trace mode always set __RTLD_NOIFUNC.
11604 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
11605 elf_machine_rela.
11606 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
11607 skip_ifunc, don't call ifunc function if non-zero.
11608 (elf_machine_rela): Likewise.
11609 (elf_machine_lazy_rel): Likewise.
11610 (elf_machine_lazy_rela): Likewise.
11611 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
11612 (elf_machine_lazy_rel): Likewise.
11613 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
11614 Likewise.
11615 (elf_machine_lazy_rel): Likewise.
11616 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
11617 Likewise.
11618 (elf_machine_lazy_rel): Likewise.
11619 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
11620 (elf_machine_lazy_rel): Likewise.
11621 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
11622 (elf_machine_lazy_rel): Likewise.
11623 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
11624 (elf_machine_lazy_rel): Likewise.
11625 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
11626 (elf_machine_lazy_rel): Likewise.
11627 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
11628 (elf_machine_lazy_rel): Likewise.
11629 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
11630 (elf_machine_lazy_rel): Likewise.
11631
68577918
UD
116322011-09-28 Ulrich Drepper <drepper@gmail.com>
11633
11634 * nss/nss_files/files-init.c (_nss_files_init): Use static
11635 initialization for all the *_traced_file variables.
11636
68822d74
AS
116372011-09-28 Andreas Schwab <schwab@redhat.com>
11638
11639 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
11640
2056100b
RM
116412011-09-27 Roland McGrath <roland@hack.frob.com>
11642
11643 [BZ #13226]
11644 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
11645
32c76b63
AS
116462011-09-27 Andreas Schwab <schwab@redhat.com>
11647
11648 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
11649 Reread the line before reparsing it.
11650
bf972c9d
AS
116512011-09-26 Andreas Schwab <schwab@redhat.com>
11652
11653 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
11654
e057a1b5
JM
116552011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
11656 Maxim Kuvyrkov <maxim@codesourcery.com>
11657 Joseph Myers <joseph@codesourcery.com>
11658
11659 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
11660 if needed for __stack_chk_guard.
11661
bc7e1c36
RM
116622011-09-19 Roland McGrath <roland@hack.frob.com>
11663
ecb1482f
RM
11664 * sysdeps/posix/spawni.c (script_execute): Always define it.
11665 It will be optimized away if unused.
11666 (maybe_script_execute): New function.
11667 (__spawni): Call it.
11668
bc7e1c36
RM
11669 * Makerules: Don't include tls.make.
11670 (config-tls): Always set to thread.
11671 * tls.make.c: File removed.
11672
1c3b002b
MF
116732011-09-19 Mike Frysinger <vapier@gentoo.org>
11674
11675 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
11676 * config.make.in (CPPFLAGS-config): New substituted variable.
11677
2840865d
UD
116782011-09-15 Ulrich Drepper <drepper@gmail.com>
11679
88738eb6
UD
11680 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
11681
cbf645a6 11682 [BZ #13192]
2840865d
UD
11683 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
11684 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
11685
b402e91a
RM
116862011-09-15 Roland McGrath <roland@hack.frob.com>
11687
11688 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
11689 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
11690 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
11691 (CALL_FAIL): Likewise.
11692 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
11693 (CALL_FAIL): Macro removed.
11694 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
11695
4c1a1f71
UD
116962011-09-15 Ulrich Drepper <drepper@gmail.com>
11697
11698 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
11699 for __FINITE_MATH_ONLY__ == 1.
11700
edc121be
AS
117012011-09-15 Andreas Schwab <schwab@redhat.com>
11702
11703 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
11704 __ieee754_sqrt instead of sqrt.
11705 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
11706 __ieee754_sqrtf instead of sqrtf.
11707 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
11708 __floorf instead of floorf.
11709 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
11710 __floorf, __truncf instead of floorf, truncf.
11711
cd205654
UD
117122011-09-14 Ulrich Drepper <drepper@gmail.com>
11713
ee4d0315
UD
11714 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
11715
cd205654
UD
11716 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
11717 __extern_always_inline.
11718 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
11719 32-bit.
11720
48b67d71
AS
117212011-09-14 Andreas Schwab <schwab@redhat.com>
11722
11723 * elf/rtld.c (dl_main): Also relocate in dependency order when
11724 doing symbol dependency testing.
11725
1ae12c75
AS
117262011-09-13 Andreas Schwab <schwab@linux-m68k.org>
11727
11728 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
11729 Always define `refsym'.
11730
995a80df
AS
117312011-09-13 Andreas Schwab <schwab@redhat.com>
11732
e529793b
AS
11733 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
11734 (__FD_ELT): Renamed from __FDELT.
11735 * misc/bits/select2.h (__FD_ELT): Likewise.
11736 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
11737 __FD_MASK instead of __FDELT, __FDMASK.
11738 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
11739 Likewise.
11740 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
11741 Likewise.
11742
52d4fef8
AS
11743 * elf/Makefile (gen-ldd): Fix pattern.
11744
995a80df
AS
11745 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
11746 (init_tls): Likewise.
11747
8682f8b0
UD
117482011-09-12 Ulrich Drepper <drepper@gmail.com>
11749
11750 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
11751
de82006d
AS
117522011-09-12 Andreas Schwab <schwab@redhat.com>
11753
a7c8e6a1
AS
11754 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
11755 `struct cmsghdr *' instead of `void *'.
11756 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
11757 Likewise.
11758
0f31fe77
AS
117592011-09-11 Andreas Schwab <schwab@linux-m68k.org>
11760
11761 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
11762 if non-absolute.
11763 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
11764 ldd_rewrite_script.
0f31fe77 11765
32b4c839
UD
117662011-09-11 Ulrich Drepper <drepper@gmail.com>
11767
83cd1420
UD
11768 * configure.in: Remove --with-tls option.
11769 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
11770 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
11771 out in case it is missing.
11772 * sysdeps/ia64/elf/configure.in: Likewise.
11773 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
11774 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
11775 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
11776 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
11777 * sysdeps/sh/elf/configure.in: Likewise.
11778 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
11779 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
11780 * sysdeps/x86_64/elf/configure.in: Likewise.
11781 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
11782 * sysdeps/mach/hurd/tls.h: Likewise.
11783
633f745d
UD
11784 [BZ #13067]
11785 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
11786
f318beb8
UD
11787 [BZ #13090]
11788 * configure.in: Fix use of AC_INIT.
11789
32b4c839
UD
11790 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
11791
3ce1f295
UD
117922011-09-10 Ulrich Drepper <drepper@gmail.com>
11793
bb016596
UD
11794 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
11795 __set_errno.
8e58439c
UD
11796 * malloc/hooks.c: Likewise.
11797
aebae053 11798 [BZ #11929]
02d46fc4
UD
11799 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
11800 variables statically.
11801 (narenas): Initialize.
11802 (list_lock): Initialize.
bb016596
UD
11803 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
11804 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
11805 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
11806 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
11807 Add initializers to main_arena and mp_.
11808 (malloc_state): Remove pagesize member. Change all users to use
11809 GLRO(dl_pagesize).
11810
11811 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
11812 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
11813 is always initialized.
11814
22a89187
UD
11815 * malloc/malloc.c: Removed unused configurations and dead code.
11816 * malloc/arena.c: Likewise.
11817 * malloc/hooks.c: Likewise.
02d46fc4 11818 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 11819
d063d164
UD
11820 * include/tls.h: Removed. USE___THREAD must always be defined.
11821 * bits/libc-tsd.h: Don't handle !USE___THREAD.
11822 * elf/dl-libc.c: Likewise.
11823 * elf/dl-tsd.c: Likewise.
11824 * include/errno.h: Likewise.
11825 * include/netdb.h: Likewise.
11826 * include/resolv.h: Likewise.
11827 * inet/herrno-loc.c: Likewise.
11828 * inet/herrno.c: Likewise.
11829 * malloc/arena.c: Likewise.
11830 * malloc/hooks.c: Likewise.
11831 * malloc/malloc.c: Likewise.
11832 * resolv/res-state.c: Likewise.
11833 * resolv/res_libc.c: Likewise.
11834 * sysdeps/i386/dl-machine.h: Likewise.
11835 * sysdeps/ia64/dl-machine.h: Likewise.
11836 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
11837 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
11838 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
11839 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
11840 * sysdeps/sh/dl-machine.h: Likewise.
11841 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
11842 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
11843 * sysdeps/unix/i386/sysdep.S: Likewise.
11844 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
11845 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
11846 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
11847 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
11848 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
11849 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
11850 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
11851 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
11852 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
11853 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
11854 * sysdeps/unix/x86_64/sysdep.S: Likewise.
11855 * sysdeps/x86_64/dl-machine.h: Likewise.
11856 * tls.make.c: Likewise.
11857
3ce1f295
UD
11858 * configure.in: Remove --with-__thread option. Make tests for
11859 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
11860 tls_model attribute fail if no support is available. Remove
11861 USE_IN_LIBIO.
11862 * Makeconfig: Adjust for dropped configure option. All features are
11863 now mandatory.
11864 * Makerules: Likewise.
11865 * Versions.def: Likewise.
11866 * argp/argp-fmtstream.c: Likewise.
11867 * argp/argp-fmtstream.h: Likewise.
11868 * argp/argp-help.c: Likewise.
11869 * assert/assert.c: Likewise.
11870 * config.h.in: Likewise.
11871 * config.make.in: Likewise.
11872 * configure: Likewise.
11873 * configure.in: Likewise.
11874 * csu/Versions: Likewise.
11875 * csu/init.c: Likewise.
11876 * elf/tst-audit2.c: Likewise.
11877 * elf/tst-tls10.c: Likewise.
11878 * elf/tst-tls10.h: Likewise.
11879 * elf/tst-tls11.c: Likewise.
11880 * elf/tst-tls12.c: Likewise.
11881 * elf/tst-tls14.c: Likewise.
11882 * elf/tst-tlsmod11.c: Likewise.
11883 * elf/tst-tlsmod12.c: Likewise.
11884 * elf/tst-tlsmod13.c: Likewise.
11885 * elf/tst-tlsmod13a.c: Likewise.
11886 * elf/tst-tlsmod14a.c: Likewise.
11887 * elf/tst-tlsmod15b.c: Likewise.
11888 * elf/tst-tlsmod16a.c: Likewise.
11889 * elf/tst-tlsmod16b.c: Likewise.
11890 * elf/tst-tlsmod7.c: Likewise.
11891 * elf/tst-tlsmod8.c: Likewise.
11892 * elf/tst-tlsmod9.c: Likewise.
11893 * gmon/gmon.c: Likewise.
11894 * grp/fgetgrent_r.c: Likewise.
11895 * grp/putgrent.c: Likewise.
11896 * hurd/fopenport.c: Likewise.
11897 * include/libc-symbols.h: Likewise.
11898 * include/tls.h: Likewise.
11899 * intl/gettextP.h: Likewise.
11900 * intl/loadinfo.h: Likewise.
11901 * locale/global-locale.c: Likewise.
11902 * locale/localeinfo.h: Likewise.
11903 * mach/devstream.c: Likewise.
11904 * malloc/arena.c: Likewise.
11905 * malloc/set-freeres.c: Likewise.
11906 * misc/err.c: Likewise.
11907 * misc/getttyent.c: Likewise.
11908 * misc/mntent_r.c: Likewise.
11909 * posix/getopt.c: Likewise.
11910 * posix/wordexp.c: Likewise.
11911 * pwd/fgetpwent_r.c: Likewise.
11912 * resolv/Versions: Likewise.
11913 * resolv/res_hconf.c: Likewise.
11914 * shadow/fgetspent_r.c: Likewise.
11915 * shadow/putspent.c: Likewise.
11916 * stdio-common/printf_fphex.c: Likewise.
11917 * stdio-common/tmpfile.c: Likewise.
11918 * stdlib/abort.c: Likewise.
11919 * stdlib/fmtmsg.c: Likewise.
11920 * sunrpc/auth_unix.c: Likewise.
11921 * sunrpc/clnt_perr.c: Likewise.
11922 * sunrpc/clnt_tcp.c: Likewise.
11923 * sunrpc/clnt_udp.c: Likewise.
11924 * sunrpc/clnt_unix.c: Likewise.
11925 * sunrpc/openchild.c: Likewise.
11926 * sunrpc/svc_simple.c: Likewise.
11927 * sunrpc/svc_tcp.c: Likewise.
11928 * sunrpc/svc_udp.c: Likewise.
11929 * sunrpc/svc_unix.c: Likewise.
11930 * sunrpc/xdr.c: Likewise.
11931 * sunrpc/xdr_array.c: Likewise.
11932 * sunrpc/xdr_rec.c: Likewise.
11933 * sunrpc/xdr_ref.c: Likewise.
11934 * sunrpc/xdr_stdio.c: Likewise.
11935
1248c1c4
PB
119362011-09-09 Ulrich Drepper <drepper@gmail.com>
11937
11938 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
11939
119402011-07-03 Andreas Jaeger <aj@suse.de>
11941
11942 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
11943 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
11944 regenerate with gen-libm-tests.pl.
11945
119462010-05-12 Petr Baudis <pasky@suse.cz>
11947
11948 [BZ #11589]
11949 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
11950 around j0() zero points by switching to j1().
11951 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
11952 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
11953 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
11954 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
11955
f22e1074
UD
119562011-09-09 Ulrich Drepper <drepper@gmail.com>
11957
f19009c1
UD
11958 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
11959 instead of 0.
11960 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
11961 instead of 0. .
11962 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
11963 Patch in part by Pavel Roskin <proski@gnu.org>.
11964
3f8cc204
UD
11965 [BZ #13138]
11966 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
11967 realloc.
11968 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
11969 Free memory block if necessary.
11970
f22e1074
UD
11971 [BZ #12847]
11972 * libio/genops.c (INTDEF): For string streams the _lock pointer can
11973 be NULL. Don't lock in this case.
11974
0a2349f9
RM
119752011-09-09 Roland McGrath <roland@hack.frob.com>
11976
11977 * elf/elf.h (ELFOSABI_GNU): New macro.
11978 (ELFOSABI_LINUX): Define to that.
11979
f3cdd467
DZ
119802011-07-29 Denis Zaitceff <zaitceff@gmail.com>
11981
11982 * string/strncat.c (strncat): Undef the symbol in case it has been
11983 defined in bits/string.h.
11984
74718d13
UD
119852011-09-09 Ulrich Drepper <drepper@gmail.com>
11986
633e9e0f
UD
11987 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
11988
0a2349f9 11989 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
11990 link map.
11991
f9924780
AJ
119922011-08-17 Andreas Jaeger <aj@suse.de>
11993
11994 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
11995
7f5517aa
PP
119962011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
11997 Ian Lance Taylor <iant@google.com>
11998
11999 * math/libm-test.inc (lround_test): New testcase.
12000 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
12001
762011fe
UD
120022011-09-08 Ulrich Drepper <drepper@gmail.com>
12003
92963737
UD
12004 * Makefile: Remove support for automatic cvs check-ins.
12005 * Makerules: Likewise.
12006 * config.make.in: Likewise.
12007 * configure.in: Likewise.
12008 * intl/Makefile: Likewise.
12009 * locale/Makefile: Likewise.
12010 * po/Makefile: Likewise.
12011 * posix/Makefile: Likewise.
12012 * sysdeps/gnu/Makefile: Likewise.
12013 * sysdeps/mach/hurd/Makefile: Likewise.
12014 * sysdeps/sparc/sparc32/Makefile: Likewise.
12015
b0727fd8
JS
12016 [BZ #13118]
12017 * posix/Makefile (bug-regex32-ENV): Define.
12018 Patch by John Stanley <jpsinthemix@verizon.net>.
12019
a0f33f99
UD
12020 * misc/Makefile (headers): Add bits/select2.h.
12021 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
12022 * misc/bits/select2.h: New file.
12023 * include/bits/select2.h: New file.
12024 * debug/Makefile (routines): Add fdelt_chk.
12025 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
12026 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
12027 FD_ISSET.
12028 * debug/fdelt_chk.c: New file.
12029
762011fe
UD
12030 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
12031 * wcsmbs/test-wmemcmp.c: Likewise.
12032 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 12033 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
12034
120352011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12036
12037 * string/Makefile (strop-tests): Add memcmp.
12038 * string/test-wmemcmp.c: New file.
12039 * string/test-memcmp.c: Add wmemcmp support.
12040
7f513ec8
RM
120412011-09-08 Roland McGrath <roland@hack.frob.com>
12042
0442afb4
RM
12043 [BZ #13153]
12044 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
12045 2011-07-19 change.
12046
7f513ec8
RM
12047 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
12048 garbage value in a __mach_port_mod_refs call in the cases of the
12049 task-self and thread-self ports.
12050
a12b2239
ST
120512011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
12052
12053 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
12054
610f9ab4
AS
120552011-09-08 Andreas Schwab <schwab@redhat.com>
12056
7f513ec8 12057 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 12058
48882a1a
LD
120592011-09-07 Ulrich Drepper <drepper@gmail.com>
12060
b49865be
UD
12061 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
12062
fdc86bc9
UD
12063 * elf/dl-libc.c (dlerror_run): Pass back error code from
12064 dl_catch_error.
12065
c966526a
UD
12066 [BZ #13123]
12067 * elf/dl-load.c (lose): Free l_origin if it is valid.
12068
48882a1a
LD
12069 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
12070 names.
12071 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
12072 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
12073 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
12074 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
12075 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
12076 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
12077
77a2a8b4
AZ
120782011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12079
12080 * sysdeps/powerpc/fpu/e_hypot.c: New file.
12081 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
12082 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
12083 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
12084 * sysdeps/powerpc/fpu/k_cosf.c: New file.
12085 * sysdeps/powerpc/fpu/k_sinf.c: New file.
12086 * sysdeps/powerpc/fpu/s_cosf.c: New file.
12087 * sysdeps/powerpc/fpu/s_sinf.c: New file.
12088 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
12089 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
12090
24f579d8
AM
120912011-08-15 Alan Modra <amodra@gmail.com>
12092
12093 [BZ #13092]
12094 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
12095 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
12096 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
12097 ppc_mcount to static-only-routines.
12098 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
12099 __mcount_internal.
12100 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
12101 __mcount_internal with usual JUMPTARGET. Remove useless nop.
12102
3d4837df
UD
121032011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
12104
12105 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
12106 for finite and infinity parameters.
12107
22700377
WS
121082011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
12109
12110 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
12111 and add nop instructions for throughput optimization.
12112 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
12113
5025581e
WS
121142011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
12115
12116 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
12117 aligned copy for power7 with vector-scalar instructions.
12118 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
12119
08a300c9
L
121202011-07-24 H.J. Lu <hongjiu.lu@intel.com>
12121
12122 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
12123 AVX check.
12124
59178ef9
AS
121252011-09-07 Andreas Schwab <schwab@redhat.com>
12126
12127 [BZ #13144]
12128 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
12129 last change.
12130
e38ba7ab
UD
121312011-09-07 Ulrich Drepper <drepper@gmail.com>
12132
12133 * sysdeps/unix/sysv/linux/x86_64/init-first.c
12134 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
12135 syscall wrapper around clock_gettime in __vdso_clock_gettime.
12136 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
12137 clock_gettime.
12138
d53a73ac
UD
121392011-09-06 Ulrich Drepper <drepper@gmail.com>
12140
fc8bffcc
UD
12141 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
12142 Forgot to demangle the pointer.
12143
ceaa0c5d
UD
12144 * sysdeps/i386/sysdep.h: Define atom_text_section.
12145 * sysdeps/x86_64/sysdep.h: Likewise.
12146 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
12147 section with atom_text_section.
12148 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
12149 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
12150 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
12151 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
12152 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
12153
a77d3c17
UD
12154 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
12155 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
12156 already be defined. Change to take two parameters and don't assign
12157 result to variable. Adjust all users.
12158 Define INTERNAL_GETTIME if not already defined.
12159 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
12160 call.
12161 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
12162 HAVE_CLOCK_GETTIME_VSYSCALL.
12163 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
12164
d53a73ac
UD
12165 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
12166 gettimeofday vsyscall, just use time.
12167
a8f84144
AS
121682011-09-06 Andreas Schwab <schwab@redhat.com>
12169
12170 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
12171 <errno.h>.
12172
ef606249
UD
121732011-09-06 Ulrich Drepper <drepper@gmail.com>
12174
12175 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
12176 syscall on x86-64.
12177 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
12178 syscall.
12179 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
12180 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
12181 syscall if possible.
12182
6585cb60
UD
121832011-09-05 Ulrich Drepper <drepper@gmail.com>
12184
12185 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
12186 e_ident. Don't pass to find_mapsXX.
12187 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
12188
a5f524e4
LD
121892011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
12190
12191 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
12192 strchr-sse2-no-bsf strrchr-sse2-no-bsf
12193 * sysdeps/x86_64/multiarch/strchr.S: Update.
12194 Check bit_slow_BSF bit.
12195 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
12196 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
12197 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
12198
554881ef
UD
121992011-09-05 Ulrich Drepper <drepper@gmail.com>
12200
d96de963
UD
12201 [BZ #13134]
12202 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
12203 before glibc 2.15.
12204 (tryshell): Define.
12205 (__spawni): Change last parameter to be flag. Test
12206 SPAWN_XFLAGS_USE_PATH flag to use path or not.
12207 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
12208 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
12209 * posix/spawni.c: Likewise.
12210 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
12211 * posix/spawnp.c: Likewise. Change normal version to use
12212 SPAWN_XFLAGS_USE_PATH.
12213 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
12214 SPAWN_XFLAGS_TRY_SHELL.
12215
d48e5868
UD
12216 [BZ #13150]
12217 * posix/glob.h: Remove gcc 1.x support.
12218
554881ef
UD
12219 [BZ #13068]
12220 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
12221
693fb948
LD
122222011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
12223
12224 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
12225 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
12226 strrchr-sse2-bsf
12227 * sysdeps/i386/i686/multiarch/strchr.S: New file.
12228 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
12229 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
12230 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
12231 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
12232 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
12233
1b48c537
UD
122342011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12235
49d42c37
UD
12236 * sysdeps/x86_64/wcscmp.S: New file.
12237
1b48c537
UD
12238 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
12239 wcscmp-c wcscmp-sse2
12240 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
12241 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
12242 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
12243 * wcsmbs/wcscmp.c: Allow renaming.
12244
15c95c5d
DM
122452011-09-05 David S. Miller <davem@davemloft.net>
12246
12247 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
12248 stack slot, rather than the struct return pointer slot.
12249 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
12250 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
12251 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
12252 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
12253
2f0ad8f3
UD
122542011-09-05 Ulrich Drepper <drepper@gmail.com>
12255
d88ae418
UD
12256 * po/ja.po: Update from translation team.
12257
2f0ad8f3
UD
12258 [BZ #13144]
12259 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
12260 kernel in 64-bit binaries.
12261
5f4318d1
DM
122622011-09-01 David S. Miller <davem@davemloft.net>
12263
12264 * elf/elf.h (HWCAP_SPARC_*): Move to..
12265 * sysdeps/sparc/sysdep.h: this new file and add new values.
12266 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
12267 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
12268 _DL_HWCAP_COUNT to 24.
12269 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
12270 entries.
12271 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
12272 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
12273 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
12274 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
12275 instead of magic constants.
12276 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
12277
3ba57516
DM
122782011-08-31 David S. Miller <davem@davemloft.net>
12279
12280 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
12281 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
12282 Reimplement to do errno handling inline.
12283 (SYSCALL_ERROR_HANDLER): New macro.
12284 (__SYSCALL_STRING): Do not do errno handling in asm.
12285 (__CLONE_SYSCALL_STRING): Delete.
12286 (__INTERNAL_SYSCALL_STRING): Delete.
12287 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
12288 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
12289 (PSEUDO): Reimplement to do errno handling inline.
12290 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
12291 (SYSCALL_ERROR_HANDLER): New macro.
12292 (__SYSCALL_STRING): Do not do errno handling in asm.
12293 (__CLONE_SYSCALL_STRING): Delete.
12294 (__INTERNAL_SYSCALL_STRING): Delete.
12295 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
12296 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
12297 i386.
12298 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
12299 (inline_syscall*): Add 'err' argument.
12300 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
12301 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
12302 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
12303 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
12304
12305 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
12306 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
12307
2bc17433
AS
123082011-08-30 Andreas Schwab <schwab@redhat.com>
12309
12310 * elf/rtld.c (dl_main): Relocate objects in dependency order.
12311
fbeb5f4d
JO
123122011-08-29 Jiri Olsa <jolsa@redhat.com>
12313
12314 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
12315 directive.
12316
ad69cc26
DM
123172011-08-24 David S. Miller <davem@davemloft.net>
12318
12319 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
12320
39dd69df
AS
123212011-08-24 Andreas Schwab <schwab@redhat.com>
12322
12323 * elf/Makefile: Add rules to build and run unload8 test.
12324 * elf/unload8.c: New file.
12325 * elf/unload8mod1.c: New file.
12326 * elf/unload8mod1x.c: New file.
12327 * elf/unload8mod2.c: New file.
12328 * elf/unload8mod3.c: New file.
12329
12330 * elf/dl-close.c (_dl_close_worker): Reset private search list if
12331 it wasn't used.
12332
2c0b250a
DM
123332011-08-23 David S. Miller <davem@davemloft.net>
12334
12335 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
12336 subtract stack bias.
12337 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
12338 %sp not %fp in calculations.
12339 (_JMPBUF_UNWINDS_ADJ): Likewise.
12340
22044b48
DM
12341 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
12342 (aio_suspend): Call it to force an exception region around the
12343 AIO_MISC_WAIT() invocation.
12344
2cae4995
AS
123452011-08-23 Andreas Schwab <schwab@redhat.com>
12346
12347 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
12348 backslash.
12349
873a772e
AJ
123502011-07-04 Aurelien Jarno <aurelien@aurel32.net>
12351
12352 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
12353 protection macro.
12354 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
12355 and <dl-machine.h>.
12356 (Elf64_FuncDesc): Remove.
12357
25ad0df1
DM
123582011-08-22 David S. Miller <davem@davemloft.net>
12359
12360 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
12361 sigaltstack check, add missing cfi directives.
12362 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
12363 missing cfi directives, and sigaltstack handling.
12364
e888bcbe
AS
123652011-08-16 Andreas Schwab <schwab@redhat.com>
12366
12367 [BZ #11724]
12368 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
12369 object is seen twice.
12370 * elf/dl-fini.c (_dl_sort_fini): Likewise.
12371
12372 * elf/Makefile (distribute): Add tst-initorder2.c.
12373 (tests): Add tst-initorder2.
12374 (modules-names): Add tst-initorder2a tst-initorder2b
12375 tst-initorder2c tst-initorder2d. Add rules to build them.
12376 ($(objpfx)tst-initorder2.out): New rule.
12377 * elf/tst-initorder2.c: New file.
12378 * elf/tst-initorder2.exp: New file.
12379
87162f46
AS
123802011-08-22 Andreas Schwab <schwab@redhat.com>
12381
70538b7f
AS
12382 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
12383
f55ffe58
AS
12384 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
12385 dependencies back to end of function.
12386
87162f46
AS
12387 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
12388 $(elfobjdir)/ld.so.
12389
91b392a4
UD
123902011-08-21 Ulrich Drepper <drepper@gmail.com>
12391
12392 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
12393 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
12394 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
12395 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
12396 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
12397 of __vdso_gettimeofday.
12398 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
12399 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
12400 attribute_hidden.
12401 (_libc_vdso_platform_setup): Remove initialization of
12402 __vdso_gettimeofday and __vdso_time.
12403
5c43483f
UD
124042011-08-20 Ulrich Drepper <drepper@gmail.com>
12405
775a77e7
UD
12406 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
12407 and fgetc_unlocked.
12408 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
12409 getc_unlocked.
89f447ed 12410
49c74ba9
UD
12411 * elf/dl-open.c (add_to_global): Report additions to the global scope
12412 for LD_DEBUG=scopes.
12413 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 12414 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 12415
5c43483f
UD
12416 [BZ #13114]
12417 * stdio-common/Makefile (tests): Add bug24.
12418 * stdio-common/bug24.c: New file.
12419
a101b025
AJ
124202011-08-19 Andreas Jaeger <aj@suse.de>
12421
12422 [BZ #13114]
12423 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
12424 non-existant file when using close-on-exec mode.
12425
c88f1766
UD
124262011-08-20 Ulrich Drepper <drepper@gmail.com>
12427
0276a718
UD
12428 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
12429 the very first instruction.
12430
c88f1766
UD
12431 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
12432 the CFI state in the end.
12433 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
12434 inclusion of dl-trampoline.h.
12435 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
12436
51ccffa0
AS
124372011-08-19 Andreas Schwab <schwab@redhat.com>
12438
94d7165f
AS
12439 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
12440 expectations for long double.
12441
51ccffa0
AS
12442 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
12443 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
12444
fd708658 124452011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
12446
12447 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
12448 artificual limit depends upon the system page size.
12449
44f0a71e
UD
124502011-08-17 Ulrich Drepper <drepper@gmail.com>
12451
12452 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
12453 * resolv/Makefile: Define CFLAGS-libresolv.
12454
8de79a24
AS
124552011-08-17 Andreas Schwab <schwab@redhat.com>
12456
12457 * nss/makedb.c (compute_tables): Make variables used in nested
12458 function static.
12459
27724598
UD
124602011-08-17 Ulrich Drepper <drepper@gmail.com>
12461
c5305d88
UD
12462 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
12463 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
12464 if buffer was too small.
12465
27724598
UD
12466 * elf/pldd.c (main): Attach to all threads in the process.
12467 Rewrite /proc handling to use *at functions.
12468
076fe015
UD
124692011-08-16 Ulrich Drepper <drepper@gmail.com>
12470
174baab3
UD
12471 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
12472 specifies first scope to show.
12473 (dl_open_worker): Update callers. Move printing scope of new
12474 object to before the relocation.
44f0a71e 12475 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
12476 * sysdeps/generic/ldsodefs.h: Update declaration.
12477
076fe015
UD
12478 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
12479 string for the scope number.
12480
a60df2c3
UD
124812011-08-14 Ulrich Drepper <drepper@gmail.com>
12482
12483 * nscd/servicescache.c (cache_addserv): Make sure written is always
12484 initialized.
12485
5e4287d1
RM
124862011-08-14 Roland McGrath <roland@hack.frob.com>
12487
85ae0589
RM
12488 * sysdeps/i386/i486/bits/atomic.h
12489 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
12490 statement expression, so as to suppress "set but not used" warning.
12491 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
12492
69f63097
RM
12493 * string/strncat.c (STRNCAT): Use prototype definition.
12494
675456ef
RM
12495 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
12496 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
12497 -Iprograms here.
12498 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
12499 (localedef-modules): Add localedef.
12500 (locale-modules): Add locale.
12501
5e4287d1
RM
12502 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
12503 * elf/rtld.c (dl_main): Invert order of assignment in last change,
12504 to avoid a warning.
12505
9c96ff23
DM
125062011-08-14 David S. Miller <davem@davemloft.net>
12507
12508 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
12509 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
12510
f9ddf089
UD
125112011-08-13 Ulrich Drepper <drepper@gmail.com>
12512
44f0a71e 12513 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
12514 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
12515 * elf/rtld.c (dl_main): Set l_name of vDSO.
12516 Call _dl_show_scope when DL_DEBUG_SCOPES.
12517 (process_dl_debug): Recognize scopes flag and also set it for all.
12518 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
12519 Declare _dl_show_scope.
12520
1dc27704
UD
12521 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
12522 (do_dlopen): Pass caller_dlopen to dl_open.
12523 (__libc_dlopen_mode): Initialize caller_dlopen.
12524
f9ddf089
UD
12525 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
12526 of libc. Make tolower call locale-independent. Optimize a bit by
12527 using isdigit instead of isalnum.
12528 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
12529
9ac533d3
UD
125302011-08-12 Ulrich Drepper <drepper@gmail.com>
12531
12532 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
12533 was a dependency or dynamically loaded.
12534
89edf2e9
UD
125352011-08-11 Ulrich Drepper <drepper@gmail.com>
12536
8e999d29
UD
12537 * intl/l10nflist.c: Allow architecture-specific pop function.
12538 * sysdeps/x86_64/l10nflist.c: New file.
12539
89edf2e9
UD
12540 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
12541 classification.
12542
14d96785
AS
125432011-08-10 Andreas Schwab <schwab@redhat.com>
12544
12545 * include/dirent.h: Add libc_hidden_proto for scandirat and
12546 scandirat64. Don't declare __scandirat64.
12547 * dirent/scandirat.c: Add libc_hidden_def.
12548 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
12549 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
12550
6761ac04
DM
125512011-08-10 David S. Miller <davem@davemloft.net>
12552
12553 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
12554 enum.
12555 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
12556 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
12557 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
12558
c55fbd1e
UD
125592011-08-09 Ulrich Drepper <drepper@gmail.com>
12560
12561 * Versions.def [libc]: Add GLIBC_2.15.
12562 * dirent/Makefile (routines): Add scandirat and scandirat64.
12563 * dirent/Versions [libc]: Export scandirat and scandirat64 for
12564 GLIBC_2.15.
12565 * dirent/dirent.h: Declare scandirat and scandirat64.
12566 * dirent/scandirat.c: New file.
12567 * dirent/scandirat64.c: New file.
12568 * sysdeps/wordsize-64/scandirat.c: New file.
12569 * sysdeps/wordsize-64/scandirat64.c: New file.
12570 * dirent/opendir.c: Define opendirat.
12571 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
12572 using scandirat.
12573 * dirent/scandir64.c: Adjust for scandir.c change.
12574 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
12575 __scandirat64, and __scandir_cancel_handler.
12576 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
12577 additional parameter and use openat instead of open (outside of ld.so).
12578 Add new __opendir as wrapper around __opendirat.
12579 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
12580 here without requiring old scandirat implementation.
12581
879165f2
UD
125822011-08-08 Ulrich Drepper <drepper@gmail.com>
12583
12584 * dirent/scandir.c (cancel_handler): Renamed to
12585 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
12586 defined. Adjust users.
12587 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
12588 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
12589
cb7e923b
UD
125902011-08-04 Ulrich Drepper <drepper@gmail.com>
12591
16292edd
UD
12592 * string/test-string.h (IMPL): Use __STRING to expand name and then
12593 stringify it.
12594
cb7e923b
UD
12595 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
12596 of cleanups.
12597
cff82933
LD
125982011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12599
12600 * string/Makefile: Update.
12601 (strop-tests): Append strncat.
12602 * string/test-wcscmp.c: New file.
12603 New comprehensive test for wcscmp.
12604 * string/test-strcmp.c: Update.
12605 (WIDE): New define.
12606
9be9bfcc
AS
126072011-07-22 Andreas Schwab <schwab@redhat.com>
12608
12609 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
12610 line.
12611
2e96f1c7
AS
126122011-07-26 Andreas Schwab <schwab@redhat.com>
12613
12614 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
12615 encoding to ACE if AI_IDN.
12616
85188888
JJ
126172011-08-01 Jakub Jelinek <jakub@redhat.com>
12618
12619 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
12620 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
12621
5fa16e9b
LD
126222011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
12623
12624 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
12625 Fix overflow bug in strncat.
12626 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
12627
12628 * string/test-strncat.c: Update.
12629 Add new tests for checking overflow bugs.
12630
126312011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
12632
12633 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
12634 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
12635 * sysdeps/i386/i686/multiarch/strcat.S: New file.
12636 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
12637 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
12638 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
12639 * sysdeps/i386/i686/multiarch/strncat.S: New file.
12640 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
12641 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
12642
12643 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
12644 (USE_AS_STRCAT): Define.
12645 Add strcat and strncat support.
12646 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
12647
8c1a459f
AS
126482011-07-25 Andreas Schwab <schwab@redhat.com>
12649
12650 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
12651 __n bigger than INT_MAX+1.
12652 (__strncmp_g): Likewise.
12653
bba33c28
UD
126542011-07-23 Ulrich Drepper <drepper@gmail.com>
12655
798be72d
UD
12656 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
12657 * libio/stido.h: Likewise.
12658
8accd4dc
UD
12659 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
12660 (AF_NFC): Define.
12661 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
12662 (AF_NFC): Define.
12663
cbff0d96
UD
12664 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
12665 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
12666 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
12667 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
12668 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
12669
9191c04a
UD
12670 [BZ #13021]
12671 * scripts/test-installation.pl: Don't expect libnss_test1 to be
12672 installed.
12673
bba33c28
UD
12674 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
12675 typo.
12676 (_dl_x86_64_save_sse): Likewise.
12677
90f139dd
UD
126782011-07-22 Ulrich Drepper <drepper@gmail.com>
12679
1aae088a
UD
12680 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
12681 OSXSAVE.
12682 (_dl_x86_64_save_sse): Likewise.
12683
8e2045f5
UD
12684 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
12685
90f139dd
UD
12686 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
12687
1d002f25
AS
126882011-07-21 Andreas Schwab <schwab@redhat.com>
12689
12690 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
12691 change.
12692 (_dl_x86_64_save_sse): Use correct AVX check.
12693
21137f89
UD
126942011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12695
12696 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
12697 bug in strncpy/strncat.
12698 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
12699
a65c0b7a
UD
127002011-07-21 Ulrich Drepper <drepper@gmail.com>
12701
12702 * string/tester.c (test_strcat): Add tests for different alignments
12703 of source and destination.
12704 (test_strncat): Likewise.
12705
6986b98a
UD
127062011-07-20 Ulrich Drepper <drepper@gmail.com>
12707
90bb2039
UD
12708 [BZ #12852]
12709 * posix/glob.c (glob): Check passed in values before using them in
12710 expressions to avoid some overflows.
12711 (glob_in_dir): Likewise.
12712
5644ef54
UD
12713 [BZ #13007]
12714 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
12715 check for AVX enablement so that we don't crash with old kernels and
12716 new hardware.
12717 * elf/tst-audit4.c: Add same checks here.
12718 * elf/tst-audit6.c: Likewise.
12719
12720 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 12721
bfc9dc9b
AS
127222011-07-09 Andreas Schwab <schwab@linux-m68k.org>
12723
12724 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
12725
702e64bb
UD
127262011-07-20 Ulrich Drepper <drepper@gmail.com>
12727
12728 * po/cs.po: Update from translation team.
12729 * po/bg.po: Likewise.
12730
295e904f
MP
127312011-07-12 Marek Polacek <mpolacek@redhat.com>
12732
12733 * misc/sys/cdefs.h: Add support for const attribute.
12734 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
12735 to gnu_dev_{major,minor,makedev} functions.
12736
3ff94596
MP
127372011-07-20 Marek Polacek <mpolacek@redhat.com>
12738
12739 * intl/dcigettext.c (get_output_charset): Add missing bracket.
12740
28b59fca
AS
127412011-07-20 Andreas Schwab <schwab@redhat.com>
12742
12743 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
12744 strlen results.
12745
19df733e
AK
127462011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12747
12748 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
12749 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
12750 register in order to avoid conflicts with the soft frame pointer
12751 being held in r11 when necessary.
12752 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
12753 (INTERNAL_VSYSCALL_NCS): Likewise.
12754
c8835729
MP
127552011-07-14 Marek Polacek <mpolacek@redhat.com>
12756
12757 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
12758 * elf/dl-fini.c (_dl_fini): Adjust caller.
12759 * elf/dl-close.c (_dl_close_worker): Likewise.
12760 * sysdeps/generic/ldsodefs.h: Adjust declaration.
12761
b902330c
MP
127622011-07-15 Marek Polacek <mpolacek@redhat.com>
12763
8991e135
MP
12764 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
12765 "aux_cache->nlibs < 0".
12766
b902330c
MP
12767 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
12768 in the reload-count case.
12769
99710781
LD
127702011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
12771
12772 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
12773 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
12774 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
12775 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
12776 * sysdeps/x86_64/multiarch/strcat.S: New file.
12777 * sysdeps/x86_64/multiarch/strncat.S: New file.
12778 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
12779 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
12780 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
12781 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
12782 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
12783 (USE_AS_STRCAT): Define.
12784 Add strcat and strncat support.
12785 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
12786 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
12787 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
12788 * string/strncat.c: Update.
12789 (USE_AS_STRNCAT): Define.
12790 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
12791 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
12792 and i7.
12793 * sysdeps/x86_64/multiarch/init-arch.h
12794 (bit_Prefer_PMINUB_for_stringop): New.
12795 (index_Prefer_PMINUB_for_stringop): Likewise.
12796 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
12797 bit_Prefer_PMINUB_for_stringop.
12798
7dc6bd90
UD
127992011-07-19 Ulrich Drepper <drepper@gmail.com>
12800
12801 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
12802 buffer64.
12803 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
12804 of casting of buffer.
12805 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
12806 buffer32 and buffer64.
12807 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
12808 writes instead of casting of buffer.
12809 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
12810 buffer32.
12811 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
12812 casting of buffer.
12813
e0e72284
AS
128142011-07-19 Andreas Schwab <schwab@redhat.com>
12815
12816 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
12817
feb1eb0b
UD
128182011-07-19 Ulrich Drepper <drepper@gmail.com>
12819
12820 * nscd/nscd.c (termination_handler): Don't do anything for a database
12821 if it has not yet been initialized.
12822
298711ff
UD
128232011-07-18 Ulrich Drepper <drepper@gmail.com>
12824
12825 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
12826
128272011-07-15 Marek Polacek <mpolacek@redhat.com>
12828
12829 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
12830
f9d68389
UD
128312011-07-18 Ulrich Drepper <drepper@gmail.com>
12832
12833 * po/nl.po: Update from translation team.
12834 * po/sv.po: Likewise.
12835
db290cf5
RM
128362011-07-16 Roland McGrath <roland@hack.frob.com>
12837
12838 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
12839 now disallowed by GCC.
5c550700 12840
fd5e21c7
RM
12841 * configure.in (use-default-link): Default to yes if a test -shared
12842 link meets our qualifications.
12843 * configure: Regenerated.
12844
5c550700
RM
12845 * config.make.in (output-format): New variable.
12846 * configure.in: Check for ld --print-output-format support.
12847 * configure: Regenerated.
12848 * Makerules ($(common-objpfx)format.lds)
12849 [$(output-format) != unknown]: Just use $(output-format),
12850 instead of the linker-script munging.
12851
9fa2c032
RM
128522011-07-14 Roland McGrath <roland@hack.frob.com>
12853
a6928d51
RM
12854 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
12855 of $(common-objpfx)shlib.lds.
12856 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
12857
661607b3
RM
12858 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
12859 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
12860
9fa2c032
RM
12861 * configure.in (-z relro check): Adjust test code to add a large
12862 writable data section after it.
12863 * configure: Regenerated.
12864
defe9061
RM
128652011-07-11 Roland McGrath <roland@hack.frob.com>
12866
12867 * configure.in (-z relro check): Fix test code to make the variable
12868 truly const.
12869 * configure: Regenerated.
12870
319b9ad4
UD
128712011-07-11 Ulrich Drepper <drepper@gmail.com>
12872
12873 * nscd/nscd.h (struct traced_file): Define.
12874 (struct database_dyn): Remove inotify_descr, reset_res, and filename
12875 elements. Add traced_files.
12876 (inotify_fd): Declare.
12877 (register_traced_file): Declare.
12878 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
12879 (inotify_fd): Export.
12880 (resolv_conf_descr): Remove.
12881 (nscd_init): Move inotify descriptor creation to main.
12882 Don't register files for notification here.
12883 (register_traced_file): New function.
12884 (invalidate_cache): Don't use reset_res to determine whether to call
12885 res_init, go through the list of registered files.
12886 (main_loop_poll): The inotify descriptors are now stored in the
12887 structures for the traced files.
12888 (main_loop_epoll): Likewise
12889 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
12890 to __nss_disable_nscd.
12891 * nscd/cache.c (prune_cache): There is no single inotify descriptor
12892 for a database anymore. Check the records for all the registered
12893 files instead.
12894 * nss/Makefile (libnss_files-routines): Add files-init.
12895 (libnss_db-routines): Add db-init.
12896 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
12897 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
12898 * nss/nss_db/db-init.c: New file.
12899 * nss/nss_files/files-init.c: New file.
12900 * nss/nsswitch.c (nss_load_library): New function. Broken out of
12901 __nss_lookup_function.
12902 (__nss_lookup_function): Call nss_load_library.
12903 (nss_load_all_libraries): New function.
12904 (__nss_disable_nscd): Take parameter with callback function for files
12905 to register. Set is_nscd. Load all the DSOs for the NSS modules
12906 used for the cached services.
12907 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
12908 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
12909 options for features to all the files in nscd.
12910
12911 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
12912
23bee3e8
RM
129132011-07-10 Roland McGrath <roland@hack.frob.com>
12914
12915 * csu/elf-init.c (__libc_csu_init): Comment typo.
12916
46a5b7f0
UD
129172011-07-09 Ulrich Drepper <drepper@gmail.com>
12918
12919 * po/pl.po: Update from translation team.
12920 * po/ja.po: Likewise.
12921 * po/ru.po: Likewise.
12922 * po/ko.po: Likewise.
12923 * po/fr.po: Likewise.
12924
d30cf5bb
RM
129252011-07-09 Roland McGrath <roland@hack.frob.com>
12926
113ddea4
RM
12927 * configure.in (.ctors/.dtors header and trailer check):
12928 Use an empirical test on a built program.
12929 * configure: Regenerated.
12930
574920b4
RM
12931 * configure.in (-z relro check): Use an empirical test on a built DSO.
12932 Detect, but do not require, on ia64.
12933 * configure: Regenerated.
12934
d30cf5bb
RM
12935 * configure.in (READELF): Find it with AC_CHECK_TOOL.
12936 Update tests that use readelf to use $READELF instead.
12937 * configure: Regenerated.
12938
8538fdb3
UD
129392011-07-08 Ulrich Drepper <drepper@gmail.com>
12940
12941 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
12942 if the result is not used.
12943
04d08991
AJ
129442011-07-05 Andreas Jaeger <aj@suse.de>
12945
12946 [BZ#9696]
12947 * stdlib/tst-strtod.c: Add testcase.
12948
de283087
AD
129492011-07-07 Ulrich Drepper <drepper@gmail.com>
12950
4e5f31c8 12951 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 12952 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
12953 The latter has a higher limit. Take additional parameter to pass to
12954 the new function.
12955 (__pathconf): Pass file to __statfs_link_max.
12956 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
12957 __statfs_link_max.
12958 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
12959 __statfs_link_max.
12960
de283087
AD
12961 [BZ #12868]
12962 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
12963 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
12964 Handle Lustre.
12965 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
12966 (__statfs_filesize_max): Likewise.
12967 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
12968
c75fa153
AJ
129692011-07-05 Andreas Jaeger <aj@suse.de>
12970
12971 * resolv/res_comp.c (dn_skipname): Remove unused variable.
12972
1a544854
UD
129732011-07-06 Marek Polacek <mpolacek@redhat.com>
12974
12975 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
12976 `status' variable.
12977 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
12978 Likewise.
12979
6f0eec67
UD
129802011-07-04 H.J. Lu <hongjiu.lu@intel.com>
12981
12982 * Makefile (strop-tests): Add strncat.
12983 * string/test-strncat.c: New file.
12984
aae30307
UD
129852011-06-30 Marek Polacek <mpolacek@redhat.com>
12986
12987 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
12988
c0cfb5eb
UD
129892011-06-21 Andreas Jaeger <aj@suse.de>
12990
12991 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
12992 Copy rule from iconvdata/Makefile.
12993
01636b21
UD
129942011-07-06 Ulrich Drepper <drepper@gmail.com>
12995
12996 [BZ #12922]
12997 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
12998 but no long options are defined, just return 'W'.
12999
9895c8bc
UD
130002011-06-22 Marek Polacek <mpolacek@redhat.com>
13001
13002 [BZ #9696]
13003 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
13004
5d4cf042
UD
130052011-07-06 Ulrich Drepper <drepper@gmail.com>
13006
13007 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
13008 netgroups to read.
960e5535 13009 (innetgr): Likewise.
5d4cf042 13010
751eb97e
RM
130112011-07-05 Roland McGrath <roland@hack.frob.com>
13012
13013 * config.make.in (install_root): Default to $(DESTDIR).
13014
f15f1e45
UD
130152011-07-05 Ulrich Drepper <drepper@gmail.com>
13016
13017 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
13018
4e34ac6a
RM
130192011-07-02 Roland McGrath <roland@hack.frob.com>
13020
5e9b6af4
RM
13021 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
13022
84f9ea0f
RM
13023 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
13024 containing directory rather than embedding absolute directory names.
13025
ea5ee9f7
RM
13026 * scripts/check-local-headers.sh: Rewritten using awk.
13027 Match by word, not by line. Print error messages for matches.
13028 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
13029
1b74661a
RM
13030 * Makerules [shlib-lds-flags empty]:
13031 ($(common-objpfx)libc_pic.opts): New target.
13032 ($(common-objpfx)libc_pic.os.clean): New target.
13033 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
13034
13035 * config.make.in (OBJCOPY): New variable.
13036 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
13037 * configure: Regenerated.
13038
f781ef40
RM
13039 * config.make.in (use-default-link): New variable.
13040 * configure.in (use_default_link): Grok --with-default-link to set it.
13041 * configure: Regenerated.
13042 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
13043 (shlib-lds, shlib-lds-flags): Define to empty.
13044
2d4fa81e
RM
13045 * Makerules (shlib-lds): New variable.
13046 (shlib-lds-flags): New variable.
13047 (build-shlib, build-moduile, build-module-asneeded): Use it.
13048 ($(common-objpfx)libc.so): Use $(shlib-lds).
13049 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
13050 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
13051
31fffa6b
RM
13052 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
13053 DT_FLAGS/DT_FLAGS_1 with zero flags.
13054
4e34ac6a
RM
13055 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
13056 linker script munging.
13057
fcfc776b
UD
130582011-07-02 Ulrich Drepper <drepper@gmail.com>
13059
13060 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
13061 as 128-bit value.
13062 * crypt/sha512.c (sha512_process_block): Perform total addition using
13063 128-bit if possible.
13064 (__sha512_finish_ctx): Likewise.
13065 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
13066 as 64-bit value.
13067 * crypt/sha256.c (SWAP64): Define.
13068 (sha256_process_block): Perform total addition using 64-bit if
13069 possible.
13070 (__sha256_finish_ctx): Likewise.
13071
99231d9a
UD
130722011-07-01 Ulrich Drepper <drepper@gmail.com>
13073
13074 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
13075 * nscd/initgrcache.c (addinitgroupsX): Likewise.
13076 * nscd/hstcache.c (cache_addhst): Likewise.
13077 * nscd/grpcache.c (cache_addgr): Likewise.
13078 * nscd/aicache.c (addhstaiX): Likewise
13079 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
13080
445b4a53
TK
130812011-07-01 Thorsten Kukuk <kukuk@suse.de>
13082
13083 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
13084 * nscd/initgrcache.c (addinitgroupsX): Likewise.
13085 * nscd/hstcache.c (cache_addhst): Likewise.
13086 * nscd/grpcache.c (cache_addgr): Likewise.
13087 * nscd/aicache.c (addhstaiX): Likewise
13088
6d4d8e8e
AS
130892011-07-01 Andreas Schwab <schwab@redhat.com>
13090
13091 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
13092 domain only when needed.
13093
89f654c5
AS
130942011-06-30 Andreas Schwab <schwab@redhat.com>
13095
13096 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
13097 is always restored.
13098
cf3b23ff
UD
130992011-06-29 Ulrich Drepper <drepper@gmail.com>
13100
13101 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
13102 are re-adding the entry.
13103 * nscd/servicescache.c (cache_addserv): Likewise.
13104
751626f9
AJ
131052011-06-30 Aurelien Jarno <aurelien@aurel32.net>
13106
13107 * sysdeps/generic/dl-irel.h: fix protection against multiple
13108 inclusions.
13109 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
13110
9113ea1f
UD
131112011-06-28 Ulrich Drepper <drepper@gmail.com>
13112
5c0b8d90
UD
13113 [BZ #12935]
13114 * malloc/memusage.sh: Fix quoting in message.
13115 * debug/xtrace.sh: Likewise.
13116
9113ea1f
UD
13117 * configure.in: Remove support for --experimental-malloc option, make
13118 it the default.
13119 * config.make.in: Likewise.
13120 * malloc/Makefile: Likewise.
13121
a4172181
AS
131222011-06-27 Andreas Schwab <schwab@redhat.com>
13123
13124 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
13125 two-byte characters.
13126
78a7eee7
RM
131272011-06-27 Roland McGrath <roland@hack.frob.com>
13128
62bede13
RM
13129 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
13130 AC_CACHE_CHECK invocation.
13131 * configure: Regenerated.
13132
78a7eee7
RM
13133 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
13134
5ce33a62
UD
131352011-06-27 Ulrich Drepper <drepper@gmail.com>
13136
034807a9
UD
13137 [BZ #12350]
13138 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
13139 bit from old_res_options.
13140
4902da17
UD
13141 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
13142
5ce33a62
UD
13143 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
13144 value type for setfct.
13145
c2344f56
L
131462011-06-23 H.J. Lu <hongjiu.lu@intel.com>
13147
13148 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
13149 __gettimeofday instead of gettimeofday.
13150
68468076
UD
131512011-06-26 Ulrich Drepper <drepper@gmail.com>
13152
13153 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
13154
acb0d739
L
131552011-06-24 H.J. Lu <hongjiu.lu@intel.com>
13156
13157 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
13158
13159 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
13160 info.
13161
8912479f
L
131622011-06-22 H.J. Lu <hongjiu.lu@intel.com>
13163
13164 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
13165 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
13166 strcpy-sse2-unaligned strncpy-sse2-unaligned
13167 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
13168 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
13169 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
13170 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
13171 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
13172 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
13173 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
13174 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
13175 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
13176 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
13177 (STRCPY): Support SSE2 and SSSE3 versions.
13178
d5495a11
UD
131792011-06-24 Ulrich Drepper <drepper@gmail.com>
13180
13181 [BZ #12874]
13182 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
13183 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
13184 kernels which artificially limit size of requests.
13185
0b1cbaae
L
131862011-06-22 H.J. Lu <hongjiu.lu@intel.com>
13187
13188 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
13189 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
13190 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
13191 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
13192 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
13193 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
13194 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
13195 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
13196 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
13197 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
13198 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
13199 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
13200 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
13201 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
13202 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
13203 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
13204 Enable unaligned load optimization for Intel Core i3, i5 and i7
13205 processors.
13206 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
13207 Define.
13208 (index_Fast_Unaligned_Load): Define.
13209 (HAS_FAST_UNALIGNED_LOAD): Define.
13210
07f494a0
MP
132112011-06-23 Marek Polacek <mpolacek@redhat.com>
13212
13213 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
13214
fa3fc0fe
UD
132152011-06-22 Ulrich Drepper <drepper@gmail.com>
13216
13217 [BZ #12907]
13218 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
13219 until it is clear that the information is realy needed.
13220 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
13221
e12df166
AS
132222011-06-22 Andreas Schwab <schwab@redhat.com>
13223
13224 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
13225
852eb34d
UD
132262011-06-22 Ulrich Drepper <drepper@gmail.com>
13227
84e2a551
UD
13228 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
13229 /sys/devices/system/cpu/online if it is usable.
13230
852eb34d
UD
13231 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
13232 reading the information from the /proc filesystem to once a second.
13233
6e502e19
UD
132342011-06-21 Andreas Jaeger <aj@suse.de>
13235
13236 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
13237 NULL after inclusion of kernel headers.
13238
75d39ff2
UD
132392011-06-21 Ulrich Drepper <drepper@gmail.com>
13240
51f9aa6a
UD
13241 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
13242 calls to internal_setent.
13243
c0244a9d
UD
13244 [BZ #12885]
13245 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
13246 addresses using gethostbyname4_r ignore IPv4 addresses.
13247
c5e3c2ae
UD
13248 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
13249 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
13250
75d39ff2
UD
13251 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
13252
42675c6f
DM
132532011-06-20 David S. Miller <davem@davemloft.net>
13254
13255 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
13256 inclusions.
13257 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
13258
13259 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
13260 (elf_irel): Use it.
13261 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
13262 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
13263 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
13264 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
13265 * sysdeps/x86_64/dl-irel.h: Likewise.
13266
13267 * elf/dl-runtime.c: Use elf_ifunc_invoke.
13268 * elf/dl-sym.c: Likewise.
13269
57912a71
UD
132702011-06-15 Ulrich Drepper <drepper@gmail.com>
13271
13272 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
13273 need to dereference resplen2.
13274
ee22793d
AS
132752011-06-14 Andreas Schwab <schwab@redhat.com>
13276
13277 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
13278
a9e836b0
UD
132792011-06-15 Ulrich Drepper <drepper@gmail.com>
13280
77fb9117
UD
13281 * Makeconfig: Define vardbdir and inst_vardbdir.
13282 * nss/Makefile: Add rules to install db-Makefile.
13283
40c1b22c
UD
13284 * nss/nss_db/db-XXX.c: Cleanup.
13285
9f2da732
UD
13286 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
13287 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
13288 GLIBC_PRIVATE.
13289 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
13290 * nss/makedb.c: Implement -g option to specify that value strings
13291 are generated and should not be added to table iterated over for
13292 get*ent calls.
13293 * nss/nss_db/db-initgroups.c: New file.
13294
82e9a1f7
UD
13295 * nss/getent.c: Add support for initgroups lookups through getgrouplist
13296 interface.
13297
c41af17e
UD
13298 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
13299 (internal_getgrouplist): Adjust to name change.
13300 Update use_initgroups_entry if this is not the first call.
13301 * nss/databases.def: Add initgroups entry.
13302
a9e836b0
UD
13303 * nss/makedb.c (compute_tables): Check result of multiple hash table
13304 sizes to minimize maximum chain length.
13305
2666d441
UD
133062011-06-14 Ulrich Drepper <drepper@gmail.com>
13307
13308 * Versions.def: Add entry for libnss_db.
13309 * shlib-versions: Likewise.
13310 * nss/Makefile: Add rules to build libnss_db.
13311 * nss/Versions: Add libnss_db information. Organize libnss_files
13312 entries better.
13313 * nss/db-Makefile: Add gshadow support. Change rules for the new
13314 makedb progra. Some minor improvements to generate smaller files.
13315 * nss/nss_db/nss_db.h: Move NSS database header data structures to
13316 here from...
13317 * nss/makedb.c: ...here.
13318 Improve database format to be smaller and require less memory at
13319 runtime.
13320 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
13321 db anymore.
13322 * nss/nss_db/db-netgrp.c: Likewise.
13323 * nss/nss_db/db-open.c: Likewise.
13324 * nss/nss_files/flies-XXX.x: Adjust comments.
13325 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
13326 * nss/nss_files/files-grp.c: Likewise.
13327 * nss/nss_files/files-hosts.c: Likewise.
13328 * nss/nss_files/files-network.c: Likewise.
13329 * nss/nss_files/files-proto.c: Likewise.
13330 * nss/nss_files/files-pwd.c: Likewise.
13331 * nss/nss_files/files-rpc.c: Likewise.
13332 * nss/nss_files/files-service.c: Likewise.
13333 * nss/nss_files/files-sgrp.c: Likewise.
13334 * nss/nss_files/files-spwd.c: Likewise.
13335 * nss/nss_db/db-alias.c: Removed.
13336 * nss/nss_db/dummy-db.h: Removed.
13337
9ee76b5a
UD
133382011-06-02 Ulrich Drepper <drepper@gmail.com>
13339
13340 * nss/makedb.c: Rewritten to not use database library.
13341 * nss/Makefile: Update to build new makedb program.
13342
c71ca1f8
AJ
133432011-06-14 Andreas Jaeger <aj@suse.de>
13344
13345 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
13346 memset declaration.
13347
3154bfb8
UD
133482011-06-10 Andreas Schwab <schwab@redhat.com>
13349
13350 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
13351 tmpbuf.
13352
b350afab
RM
133532011-06-10 Roland McGrath <roland@hack.frob.com>
13354
decd4e50
RM
13355 * Makerules (shlib.lds): Fail if the linker script comes out empty.
13356 * elf/Makefile ($(objpfx)ld.so): Likewise.
13357
5615eaf2
RM
13358 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
13359 Don't list ld.so twice in dependencies.
13360
13361 * posix/bug-regex31.c: Include <stdlib.h>.
13362
13363 * nscd/hstcache.c (cache_addhst): Remove unused variable.
13364
13365 * nis/nss_compat/compat-spwd.c
13366 (getspent_next_nss_netgr): Remove unused variable.
13367 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
13368
13369 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
13370 nonmembers" output to use the right array.
13371
13372 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
13373
13374 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
13375
13376 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
13377 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
13378 * catgets/gencat.c (read_input_file): Likewise.
13379 * locale/programs/locarchive.c (enlarge_archive): Likewise.
13380
13381 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
13382 variable definition inside #if's controlling its use.
13383
13384 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
13385
13386 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
13387
13388 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
13389
13390 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
13391 unreachable code.
13392
13393 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
13394
b68e08db
RM
13395 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
13396 * configure: Regenerated.
13397
b350afab
RM
13398 * Makerules: Revert last change.
13399 * elf/Makefile: Likewise.
13400
28368601
RM
134012011-06-09 Roland McGrath <roland@hack.frob.com>
13402
13403 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
13404 * elf/Makefile ($(objpfx)librtld.os): Likewise.
13405 (reloc-link): Likewise.
13406
11988f8f
UD
134072011-06-09 Ulrich Drepper <drepper@gmail.com>
13408
13409 * elf/Makefile: Add rules to build pldd.
13410 * elf/pldd.c: New file.
13411 * elf/pldd-xx.c: New file.
13412
e80fab37
UD
134132011-06-07 Ulrich Drepper <drepper@gmail.com>
13414
13415 * version.h: Update for 2.15 development version.
13416
9b849836
DM
134172011-06-07 David S. Miller <davem@davemloft.net>
13418
13419 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
13420 ifuncs.
13421 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
13422 elf_machine_lazy_rel): Likewise.
13423 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
13424 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
13425 elf_machine_lazy_rel): Likewise.
13426 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
13427 dl_hwcap via passed in argument.
13428 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
13429 Likewise.
13430
5a31b283
AK
134312011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13432
13433 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
13434
069e52f8
RM
134352011-06-06 Roland McGrath <roland@hack.frob.com>
13436
13437 [BZ #12849]
13438 * manual/fdl-1.1.texi: New file, verbatim from:
13439 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
13440 * manual/lgpl-2.1.texi: New file, verbatim from:
13441 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
13442 * manual/Makefile (licenses): New variable, list those new file names.
13443 (texis): Use it.
13444 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
13445
13446 * manual/fdl.texi: File removed.
13447 * manual/lesser.texi: File removed.
13448 * manual/libc.texinfo (Copying, Documentation License):
13449 Use new @include file names, put @appendix directive before @include.
13450
f16846a5
JJ
134512011-06-04 Jakub Jelinek <jakub@redhat.com>
13452
13453 [BZ #12841]
13454 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
13455 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
13456 (mq_open): Add __NTH.
13457
3d29045b
L
134582011-06-02 H.J. Lu <hongjiu.lu@intel.com>
13459
13460 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
13461 Assume Intel Core i3/i5/i7 processor if AVX is available.
13462
8c297311
UD
134632011-05-31 Ulrich Drepper <drepper@gmail.com>
13464
13465 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
13466 typo.
13467
c8fc0c91
UD
134682011-05-31 Andreas Schwab <schwab@redhat.com>
13469
13470 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
13471 memory. Use alloca_account. Fix memory leak when retrying.
13472
5b27a807
UD
134732011-05-31 Ulrich Drepper <drepper@gmail.com>
13474
356f8bc6
UD
13475 * version.h (RELEASE): Bump for 2.14 release.
13476 * include/features.h (__GLIBC_MINOR__): Bump to 14.
13477
5b27a807
UD
13478 * config.make.in (RANLIB): Remove entry.
13479
01f16ab0
UD
134802011-05-30 Ulrich Drepper <drepper@gmail.com>
13481
41fce8bd
UD
13482 * po/Makefile (po-sed-cmd): Add ksh to extensions.
13483 (libc.pot): Work around missing support for .ksh extension in xgettext.
13484
4769ae77
UD
13485 [BZ #12684]
13486 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
13487 if both request failed.
13488 (send_dg): In case of server errors clear resplen or *resplen2.
13489
6b1e7d19
UD
13490 [BZ #12454]
13491 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
13492 when there are multiple maps.
13493 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
13494 (_dl_fini): Remove test here.
13495
01f16ab0
UD
13496 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
13497
b1ebd700
UD
134982011-05-29 Ulrich Drepper <drepper@gmail.com>
13499
7ae22829
UD
13500 [BZ #12350]
13501 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
13502 bit from old_res_options.
13503 (gaih_inet): Likewise.
13504
553149f6 13505 [BZ #11099]
18a84741 13506 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
13507 as signed.
13508
652ffab1
UD
13509 * resolv/res_init.c (res_setoptions): Make the code more compact.
13510
16985fd0
UD
13511 [BZ #11558]
13512 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
13513 set RES_USEVC.
13514
0464f746
UD
13515 [BZ #11634]
13516 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
13517
7d17596c
UD
13518 * malloc/malloc.h: Mark malloc hook variables as deprecated.
13519
cf6bbbd7
UD
13520 [BZ #11781]
13521 * malloc/malloc.h: Declare malloc hook variables as volatile.
13522
13f1ab36
UD
13523 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
13524 in last patch.
13525
b1ebd700
UD
13526 [BZ #11799]
13527 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 13528 raise in the comment.
80e2212d
UD
13529 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
13530 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
13531 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 13532
ce67228d
UD
135332011-05-28 Ulrich Drepper <drepper@gmail.com>
13534
8887a920
UD
13535 [BZ #12811]
13536 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
13537 grow the buffers more if it already has to be sufficient.
13538 (build_wcs_upper_buffer): Likewise.
13539 * posix/regexec.c (check_matching): Likewise.
13540 (clean_state_log_if_needed): Likewise.
13541 (extend_buffers): Don't enlarge buffers beyond size of the input
13542 buffer.
13543 Patches mostly by Emil Wojak <emil@wojak.eu>.
13544 * posix/bug-regex32.c: New file.
13545 * posix/Makefile (tests): Add bug-regex32.
13546
4f031072
UD
13547 * locale/findlocale.c (_nl_find_locale): Return right away if
13548 _nl_explode_name failed.
13549 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
13550
d0478f0c
UD
13551 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
13552
de81b246
UD
13553 * debug/xtrace.sh: Unify messages.
13554 * malloc/memusage.sh: Likewise.
13555
c738465a
UD
13556 [BZ #12813]
13557 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
13558 time symbol from vDSO. Substitute with vsyscall if not available.
13559 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
13560 __vdso_time.
13561
f1f929d7
UD
13562 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
13563 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
13564 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
13565 Add sendmmsg and internal_sendmmsg.
13566 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
13567 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
13568 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
13569
ce67228d
UD
13570 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
13571 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
13572 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
13573
e57420c6
UD
135742011-05-27 Ulrich Drepper <drepper@gmail.com>
13575
a8509ca5
UD
13576 [BZ #12813]
13577 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
13578 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
13579 available.
13580 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
13581 __vdso_getcpu.
13582
e57420c6
UD
13583 [BZ #12814]
13584 * iconvdata/Makefile (tests): Add bug-iconv9.
13585 * iconvdata/bug-iconv9.c: New file.
13586
4d07db15
AS
135872011-05-27 Andreas Schwab <schwab@redhat.com>
13588
13589 [BZ #12814]
13590 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
13591
ea486f69
JJ
135922011-05-25 Jakub Jelinek <jakub@redhat.com>
13593
13594 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
13595 (struct user_regs_struct): Change intcs field back to cs.
13596
6f038433
UD
135972011-05-25 Ulrich Drepper <drepper@gmail.com>
13598
13599 * po/ja.po: Update from translation team.
13600
67f86a25
UD
136012011-05-23 Ulrich Drepper <drepper@gmail.com>
13602
13603 [BZ #12795]
13604 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
13605 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
13606
def7fbd6
AS
136072011-05-20 Andreas Schwab <schwab@redhat.com>
13608
13609 * stdlib/longlong.h: Update from GCC.
13610
f50ef8f1
AS
136112011-05-23 Andreas Schwab <schwab@redhat.com>
13612
13613 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
13614 parameter name.
13615 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
13616 Add parameter name.
13617 (__sysconf): Pass it down.
13618
de7ce8f1
UD
136192011-05-22 Ulrich Drepper <drepper@gmail.com>
13620
f2962a71
UD
13621 [BZ #12671]
13622 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
13623 some situations.
13624 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
13625 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
13626 add in in __libc_use_alloca calls. Adjust callers.
13627 (glob): Use malloc in some situations.
13628
de7ce8f1
UD
13629 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
13630 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
13631 pltexit.
13632
aec84f53
UD
136332011-05-21 Ulrich Drepper <drepper@gmail.com>
13634
05bb4a68
UD
13635 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
13636 and CLOCK_BOOTTIME_ALARM.
13637
7ea72f99
UD
13638 [BZ #12782]
13639 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
13640 is returned.
13641
7e4afad5
UD
13642 * string/_strerror.c (__strerror_r): Print negative errors as signed
13643 numbers.
13644
8e211fec
UD
13645 [BZ #12777]
13646 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
13647 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
13648 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
13649
f7d82dc9
UD
13650 * configure.in: Fix typo in redirection and correct removal of test
13651 files in two cases.
13652
cc9e536d
UD
13653 [BZ #12788]
13654 * locale/setlocale.c (new_composite_name): Fix test to check for
13655 identical name of all categories.
13656
aec84f53
UD
13657 [BZ #12792]
13658 * libio/filedoalloc.c (local_isatty): New function.
13659 (_IO_file_doallocate): Use local_isatty.
13660 * stdio-common/perror.c (perror): In case a new stream is used
13661 forward the stream error.
13662 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
13663 error flag.
13664
78e64fdc
RT
136652011-05-20 Ulrich Drepper <drepper@gmail.com>
13666
34a9094f
UD
13667 [BZ #11869]
13668 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
13669 alloca.
13670 * include/alloca.h (extend_alloca_account): Define.
13671
78e64fdc
RT
13672 [BZ #11857]
13673 * posix/regex.h: Fix comments with documentation of user-accessible
13674 fields after compilation and describe correct free'ing of pattern
13675 after re_compile_pattern.
13676 Patch by Reuben Thomas <rrt@sc3d.org>.
13677
457bddfc
RA
136782011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
13679
13680 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
13681 and -mno-altivec to prevent the compiler from using Altivec and/or
13682 VSX instructions when the corresponding registers are not available.
13683
a4527b51
AS
136842011-05-19 Andreas Schwab <schwab@redhat.com>
13685
13686 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
13687
ed690b2f
UD
136882011-05-19 Ulrich Drepper <drepper@gmail.com>
13689
13690 * libio/freopen.c (freopen): Use __dup2, not dup2.
13691 * libio/freopen64.c (freopen64): Likewise.
13692
8db73634
L
136932011-05-17 H.J. Lu <hongjiu.lu@intel.com>
13694
13695 [BZ #12775]
13696 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
13697 * math/Makefile (tests): Add test-powl.
13698 (CFLAGS-test-powl.c): Define.
13699 * math/test-powl.c: New file.
13700
0a197a9d
L
137012011-05-16 H.J. Lu <hongjiu.lu@intel.com>
13702
13703 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
13704
ee30c380
UD
137052011-05-17 Ulrich Drepper <drepper@gmail.com>
13706
13707 [BZ #11837]
13708 * iconvdata/gb18030.c: Update to GB18020-2005.
13709
6ce75379
UD
137102011-05-16 Ulrich Drepper <drepper@gmail.com>
13711
a4b89fd8
AR
13712 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
13713 RE_SYNTAX_POSIX_AWK): Update to match recent development.
13714 Patch by Aharon Robbins <arnold@skeeve.com>.
13715
ea389b12
UD
13716 [BZ #11892]
13717 * stdlib/putenv.c (putenv): Don't always create copy of the variable
13718 on the stack.
13719
68a3f91f
UD
13720 [BZ #11895]
13721 * misc/pselect.c (__pselect): Handle timeout value errors hidden
13722 through underflows.
13723
15cc7dd1
UD
13724 [BZ #12766]
13725 * misc/error.c (error_at_line): Ensure file_name and old_file_name
13726 point to strings before performing equality test for error_one_per_line
13727 mode.
13728
f3799213
UD
13729 [BZ #11697]
13730 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
13731
d79a9c94
UD
13732 [BZ #11820]
13733 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
13734 (struct user_fpregs_struct): Avoid __uint*_t types.
13735
56e5eb46
UD
13736 [BZ #6420]
13737 * malloc/mtrace.c (tr_where): Add additional parameter to point to
13738 symbol info. Use it instead of calling _dl_addr locally.
13739 (lock_and_info): New function.
13740 (tr_freehook): Call lock_and_info and pass symbol info as additional
13741 parameter to tr_where.
13742 (tr_mallochook): Likewise.
13743 (tr_reallochook): Likewise.
13744 (tr_memalignhook): Likewise.
13745
6ce75379
UD
13746 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
13747 used and couldn't be at all thread-safe.
13748
f8a3b5bf
UD
137492011-05-15 Ulrich Drepper <drepper@gmail.com>
13750
94b7cc37
UD
13751 * libio/freopen.c (freopen): Don't close old file descriptor
13752 before the new one is opened. Instead dup the new file descriptor
13753 to the old one after the new stream is created.
13754 * libio/freopen64.c (freopen64): Likewise.
13755 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
13756 * libio/fileops.c (_IO_new_file_close_it): Handle new
13757 _IO_FLAGS2_NOCLOSE flag.
13758 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
13759 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
13760 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
13761 _IO_FLAGS2_NOCLOSE flag.
13762 * include/unistd.h: Add hidden_proto for dup3.
13763 Define __have_dup3.
13764 * io/dup3.c: Define hidden symbol.
13765 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
13766
bd25564e
UD
13767 [BZ #7101]
13768 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
13769 when an incomplete long option is used.
13770 * posix/tst-getopt_long1.c: New file.
13771 * posix/Makefile (tests): Add tst-getopt_long1.
13772
c84cfef4
UD
13773 [BZ #10138]
13774 * scripts/config.guess: Update from autoconf-2.68.
13775 * scripts/config.sub: Likewise.
13776
3b85df27
UD
13777 [BZ #10157]
13778 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
13779 tests into ...
13780 (has_cpuclock): ...this. New function.
13781 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
13782 macro here based on has_cpuclock code.
13783
15a856b1
UD
13784 [BZ #10149]
13785 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
13786 First byte (not low byte) is now always NUL.
13787 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
13788
05f399e6
UD
13789 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
13790 Use non-cancelable interfaces.
13791
10a52685 13792 [BZ #9809]
94ecc67d
UD
13793 * locale/iso-639.def: Add entry for Sorani.
13794
f8a3b5bf
UD
13795 [BZ #11901]
13796 * include/stdlib.h: Move include protection to the right place.
13797 Define abort_msg_s. Declare __abort_msg with it.
13798 * stdlib/abort.c (__abort_msg): Adjust type.
13799 * assert/assert.c (__assert_fail_base): New function. Majority
13800 of code from __assert_fail. Allocate memory for __abort_msg with
13801 mmap.
13802 (__assert_fail): Now call __assert_fail_base.
13803 * assert/assert-perr.c: Remove bulk of implementation. Use
13804 __assert_fail_base.
13805 * include/assert.hL Declare __assert_fail_base.
13806 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
13807 mmap.
13808 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
13809
1af4e298
UD
138102011-05-14 Ulrich Drepper <drepper@gmail.com>
13811
f8a3b5bf 13812 [BZ #11952]
d26dfc60
MG
13813 [BZ #12453]
13814 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
13815 until all modules are registered in the DTV.
13816 * elf/Makefile: Add rules to build and run tst-tls19.
13817 * elf/tst-tls19.c: New file.
13818 * elf/tst-tls19mod1.c: New file.
13819 * elf/tst-tls19mod2.c: New file.
13820 * elf/tst-tls19mod3.c: New file.
13821 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
13822
2fc54d6f
UD
13823 [BZ #12083]
13824 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
13825 correctly.
13826
98d76b46
UD
13827 [BZ #12601]
13828 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
13829 two-byte sequence errors.
13830 * iconvdata/Makefile (tests): Add bug-iconv8.
13831 * iconvdata/bug-iconv8.c: New file.
13832
da3c19ef
UD
13833 [BZ #12626]
13834 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
13835 buf2 definition.
13836
ca408c15
UD
13837 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
13838
d6f67f7d
UD
13839 [BZ #12432]
13840 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
13841 (dummy_getcfa): New function.
13842 (init): Get _Unwind_GetCFA address, use dummy if not found.
13843 (backtrace_helper): In recursion check, also check whether CFA changes.
13844 (__backtrace): Completely initialize arg.
13845
1af4e298 13846 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
13847 storing incomplete byte sequence in state object. Avoid testing for
13848 guaranteed too small input if we know there is enough data available.
1af4e298 13849
da62f81b
AS
138502011-05-11 Andreas Schwab <schwab@redhat.com>
13851
13852 * Makeconfig (+link-pie): Indent.
13853 * Rules (binaries-pie): Define if $(have-fpie) and
13854 $(build-shared).
13855 (binaries-shared): Also filter out $(binaries-pie).
13856 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
13857 * nscd/Makefile (others-pie): Add nscd.
13858 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
13859 ($(objpfx)nscd): Remove command override.
13860 * login/Makefile (others-pie): Add pt_chown.
13861 ($(objpfx)pt_chown): Remove command override.
13862 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
13863 remove command overrides.
13864
fcabc0f8
UD
138652011-05-13 Ulrich Drepper <drepper@gmail.com>
13866
20030ae6
UD
13867 * libio/tst_putwc.c: Fix error messages.
13868
fcabc0f8
UD
13869 [BZ #12724]
13870 * libio/fileops.c (_IO_new_file_close_it): Always flush when
13871 currently writing and seek to current position when not.
13872 * libio/Makefile (tests): Add bug-fclose1.
13873 * libio/bug-fclose1.c: New file.
13874
320a5dc0
PB
138752011-05-12 Ulrich Drepper <drepper@gmail.com>
13876
13877 [BZ #12511]
13878 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
13879 don't set DF_1_NODELETE here.
13880 (do_lookup_x): When entering new entry test for copy relocation
13881 and if necessary set DF_1_NODELETE flag.
13882 * elf/tst-unique4.cc: New file.
13883 * elf/tst-unique4.h: New file.
13884 * elf/tst-unique4lib.cc: New file.
13885 * elf/Makefile: Add rules to build and run tst-unique4.
13886 Patch by Piotr Bury <pbury@goahead.com>.
13887
22836f52
UD
138882011-05-11 Ulrich Drepper <drepper@gmail.com>
13889
f574184a
UD
13890 [BZ #12052]
13891 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
13892
e1fb097f
UD
13893 [BZ #12625]
13894 * misc/mntent_r.c (addmntent): Flush the stream after the output
13895
22836f52
UD
13896 [BZ #12393]
13897 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
13898 (is_trusted_path_normalize): Skip initial colon. Append slash
13899 to empty buffer. Duplicate is_trusted_path code but allow
13900 constructed patch to be prefix.
13901 (is_dst): Allow $ORIGIN followed by /.
13902 (_dl_dst_substitute): Correct clearing of check_for_trusted.
13903 Correct testing of result of is_trusted_path_normalize
13904 (decompose_rpath): Fix warning.
13905
7b3b0b2a
UD
139062011-05-10 Ulrich Drepper <drepper@gmail.com>
13907
13908 [BZ #11257]
13909 * grp/initgroups.c (internal_getgrouplist): When we found the service
13910 list through the initgroups entry in nsswitch.conf do not always
13911 continue on a successful lookup. Don't always use the
eac80ce2 13912 __nss_group_database value if it is set.
7b3b0b2a
UD
13913 * nss/nsswitch.conf (initgroups): Change action for successful db
13914 lookup to continue for compatibility.
13915
2a81eaa5
UD
139162011-05-09 Ulrich Drepper <drepper@gmail.com>
13917
be97a69e
UD
13918 [BZ #11532]
13919 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
13920 and CP774 modules.
13921 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
13922 and CP774 modules.
13923 * iconvdata/tst-tables.sh: Likewise.
13924 * iconvdata/cp770.c: New file.
13925 * iconvdata/cp771.c: New file.
13926 * iconvdata/cp772.c: New file.
13927 * iconvdata/cp773.c: New file.
13928 * iconvdata/cp774.c: New file.
13929 * iconvdata/testdata/CP770: New file.
13930 * iconvdata/testdata/CP770..UTF8: New file.
13931 * iconvdata/testdata/CP771: New file.
13932 * iconvdata/testdata/CP771..UTF8: New file.
13933 * iconvdata/testdata/CP772: New file.
13934 * iconvdata/testdata/CP772..UTF8: New file.
13935 * iconvdata/testdata/CP773: New file.
13936 * iconvdata/testdata/CP773..UTF8: New file.
13937 * iconvdata/testdata/CP774: New file.
13938 * iconvdata/testdata/CP774..UTF8: New file.
13939
13940 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
13941 END CHARMAP line.
13942 * iconvdata/gen-8bit-gap.sh: Likewise.
13943 * iconvdata/gen-8bit.sh: Likewise.
13944
c1e9e399
UD
13945 * locale/iso-639.def: Add ary entry.
13946
24c55fb3 13947 [BZ #11258]
96b4b1b0
UD
13948 * locale/C-translit.h.in: Add U20A1 transliteration.
13949
bdc2f971
KB
13950 [BZ #12178]
13951 * locale/iso-639.def: Add wae entry.
13952 Patch by Kevin Bortis <bortis@translate-wae.ch>.
13953
2952b117
UD
13954 [BZ #12545]
13955 * locale/programs/localedef.c (construct_output_path): Use ssize_t
13956 for n.
13957
2a81eaa5
UD
13958 [BZ #12711]
13959 * locale/C-translit.h.in: Add entry for U20B9.
13960 Patch by pravin.d.s@gmail.com.
13961
28377d1b
UD
139622011-05-08 Ulrich Drepper <drepper@gmail.com>
13963
7fb90fb8
UD
13964 [BZ #12713]
13965 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
13966 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
13967 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
13968 in rtld. Use *stat64.
7fb90fb8 13969 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 13970 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 13971 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
13972 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
13973 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
13974 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
13975 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
13976 __fstatat64 macros.
7fb90fb8
UD
13977 * include/dirent.h: Add libc_hidden_proto for rewinddir.
13978 * dirent/rewinddir.c: Add libc_hidden_def.
13979 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 13980 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 13981
28377d1b
UD
13982 * include/dirent.h (__alloc_dir): Add flags parameter.
13983 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
13984 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
13985 __alloc_dir.
13986 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
13987 from fdopendir if O_CLOEXEC is already set.
13988
66bdbaa4
AM
139892011-03-15 Alan Modra <amodra@gmail.com>
13990
13991 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
13992 l_tls_firstbyte_offset non-zero. Save padding offset in
13993 l_tls_firstbyte_offset for later use.
13994 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
13995 freeing static tls block.
13996
95721191
JN
139972011-03-05 Jonathan Nieder <jrnieder@gmail.com>
13998
13999 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
14000 where #ifdef was intended. The intent is to prevent ARG_MAX from
14001 being defined by the kernel headers.
14002
f87dfb1f
UD
140032011-05-07 Ulrich Drepper <drepper@gmail.com>
14004
14005 [BZ #12734]
14006 * resolv/resolv.h: Define RES_NOTLDQUERY.
14007 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
14008 no-tld-query and set RES_NOTLDQUERY.
14009 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
14010 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
14011 modern BIND to search name as TLD unless forbidden.
14012
47c3cd7a
UD
140132011-05-07 Petr Baudis <pasky@suse.cz>
14014 Ulrich Drepper <drepper@gmail.com>
14015
14016 [BZ #12393]
14017 * elf/dl-load.c (fillin_rpath): Move trusted path check...
14018 (is_trusted_path): ...to here.
c1e9ea35 14019 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 14020 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 14021 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 14022
8a35c912
PP
140232011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
14024
14025 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
14026 __BEGIN/__END_DECLS.
14027
acd41f47
UD
140282011-05-06 Ulrich Drepper <drepper@gmail.com>
14029
14030 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
14031 NSS_STATUS_NOTFOUND if no record was found.
14032
597df647
AS
140332011-05-05 Andreas Schwab <schwab@redhat.com>
14034
14035 * sunrpc/Makefile (headers): Add rpc/netdb.h.
14036 (headers-not-in-tirpc): Remove rpc/netdb.h
14037 * resolv/netdb.h: Revert last change.
14038
b9af1301
PP
140392011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
14040
14041 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
14042 circular dependency between libgcc.a and libc.a.
14043
4e34d5f5
AS
140442011-05-05 Andreas Schwab <schwab@redhat.com>
14045
14046 * resolv/netdb.h: Don't include <rpc/netdb.h>.
14047 * nis/Makefile: Don't install rpcsvc/*.
14048 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
14049 instead of <rpc/types.h>.
14050 (MAXHOSTNAMELEN): Define.
14051
00ee369c
AS
140522011-05-03 Andreas Schwab <schwab@redhat.com>
14053
14054 * elf/ldconfig.c (add_dir): Don't crash on empty path.
14055
0b592a30
MB
140562011-04-28 Maciej Babinski <mbabinski@google.com>
14057
14058 [BZ #12714]
14059 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
14060 gethostbyname4_r when IPv6 results are possible.
14061
6e04cbbe
UD
140622011-05-02 Ulrich Drepper <drepper@gmail.com>
14063
14064 [BZ #12723]
14065 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
14066 _PC_PIPE_BUF handling.
14067
e4ecafe0
BH
140682011-04-30 Bruno Haible <bruno@clisp.org>
14069
14070 [BZ #12717]
14071 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
14072 * resolv/netdb.h (getnameinfo): Change type of flags parameter
14073 to 'int'.
14074 * inet/getnameinfo.c (getnameinfo): Likewise.
14075
125ee683
UD
140762011-04-29 Ulrich Drepper <drepper@gmail.com>
14077
14078 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
14079 to groups setting in database lookup.
14080 * nss/nsswitch.conf: Add initgroups entry.
14081
b722481a
EB
140822011-04-22 Ulrich Drepper <drepper@gmail.com>
14083
14084 [BZ #12685]
14085 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
14086 mode string.
14087 Patch by Eric Blake <eblake@redhat.com>.
14088
4df46dbd
L
140892011-04-20 H.J. Lu <hongjiu.lu@intel.com>
14090
14091 * sunrpc/Makefile (need-export-routines): Add svc_run.
14092 (routines): Remove svc_run.
14093 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
14094 * sunrpc/clnt_perr.c (clnt_perrno): Export.
14095 * sunrpc/svc_run.c (svc_run): Likewise.
14096 * sunrpc/svc_udp.c (svcudp_create): Likewise.
14097
e84142d2
UD
140982011-04-21 Ulrich Drepper <drepper@gmail.com>
14099
14100 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
14101 problem in reallocation in last patch.
14102
877175d8
UD
141032011-04-20 Ulrich Drepper <drepper@gmail.com>
14104
14105 * sunrpc/Makefile: Move inclusion of Rules.
14106
ab8eed78
UD
141072011-04-19 Ulrich Drepper <drepper@gmail.com>
14108
14109 * nss/nss_files/files-initgroups.c: New file.
14110 * nss/Makefile (libnss_files-routines): Add files-initgroups.
14111 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
14112 _nss_files_initgroups_dyn.
14113
e3d8f584
RS
141142011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
14115
14116 * elf/elf.h (R_ARM_IRELATIVE): Define.
14117
af190f45
UD
141182011-04-19 Ulrich Drepper <drepper@gmail.com>
14119
14120 * po/ru.po: Update from translation team.
14121
53cf59ef
UD
141222011-04-17 Ulrich Drepper <drepper@gmail.com>
14123
14124 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
14125 dependencies.
14126
4c559bcd
MF
141272011-02-06 Mike Frysinger <vapier@gentoo.org>
14128
14129 [BZ #12653]
14130 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
14131 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
14132 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
14133 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
14134 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
14135
4420675c
AS
141362011-03-28 Andreas Schwab <schwab@linux-m68k.org>
14137
14138 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
14139 differing bytes.
14140 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
14141 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
14142 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
14143
75ea32ab
UD
141442011-04-17 Ulrich Drepper <drepper@gmail.com>
14145
14146 [BZ #12420]
14147 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
14148 storing it.
14149 * stdlib/bug-getcontext.c: New file.
14150 * stdlib/Makefile: Add rules to build and run bug-getcontext.
14151
27390476
AK
141522011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14153
14154 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
14155 instructions into .machine "z9-109".
14156 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
14157 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
14158
10442705
AK
141592011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14160
14161 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
14162 between environment variables and auxiliary vector.
14163
7b57bfe5
UD
141642011-04-16 Ulrich Drepper <drepper@gmail.com>
14165
14166 * Makefile: Add rules to build linkobj/libc.so.
14167 * include/libc-symbols.h: Define libc_hidden_nolink.
14168 * include/rpc/auth.h: Mark functions which are to be hidden.
14169 * include/rpc/auth_des.h: Likewise.
14170 * include/rpc/auth_unix.h: Likewise.
14171 * include/rpc/clnt.h: Likewise.
14172 * include/rpc/des_crypt.h: Likewise.
14173 * include/rpc/key_prot.h: Likewise.
14174 * include/rpc/pmap_clnt.h: Likewise.
14175 * include/rpc/pmap_prot.h: Likewise.
14176 * include/rpc/pmap_rmt.h: Likewise.
14177 * include/rpc/rpc_msg.h: Likewise.
14178 * include/rpc/svc.h: Likewise.
14179 * include/rpc/svc_auth.h: Likewise.
14180 * include/rpc/xdr.h: Likewise.
14181 * nis/Makefile: Link all DSOs against linkobj/libc.so.
14182 * nss/Makefile: Likewise.
14183 * sunrpc/Makefile: Don't install headers. Build library with normal
14184 entry points. Don't build rpcinfo. Link RPC tests appropriately.
14185 * sunrpc/auth_des.c: Hide exported symbols by default, export some
14186 for the compat linking library. Remove use of INTDEF/INTUSE.
14187 * sunrpc/auth_none.c: Likewise.
14188 * sunrpc/auth_unix.c: Likewise.
14189 * sunrpc/authdes_prot.c: Likewise.
14190 * sunrpc/authuxprot.c: Likewise.
14191 * sunrpc/clnt_gen.c: Likewise.
14192 * sunrpc/clnt_perr.c: Likewise.
14193 * sunrpc/clnt_raw.c: Likewise.
14194 * sunrpc/clnt_simp.c: Likewise.
14195 * sunrpc/clnt_tcp.c: Likewise.
14196 * sunrpc/clnt_udp.c: Likewise.
14197 * sunrpc/clnt_unix.c: Likewise.
14198 * sunrpc/des_crypt.c: Likewise.
14199 * sunrpc/des_soft.c: Likewise.
14200 * sunrpc/get_myaddr.c: Likewise.
14201 * sunrpc/key_call.c: Likewise.
14202 * sunrpc/key_prot.c: Likewise.
14203 * sunrpc/netname.c: Likewise.
14204 * sunrpc/pm_getmaps.c: Likewise.
14205 * sunrpc/pm_getport.c: Likewise.
14206 * sunrpc/pmap_clnt.c: Likewise.
14207 * sunrpc/pmap_prot.c: Likewise.
14208 * sunrpc/pmap_prot2.c: Likewise.
14209 * sunrpc/pmap_rmt.c: Likewise.
14210 * sunrpc/publickey.c: Likewise.
14211 * sunrpc/rpc_cmsg.c: Likewise.
14212 * sunrpc/rpc_common.c: Likewise.
14213 * sunrpc/rpc_dtable.c: Likewise.
14214 * sunrpc/rpc_prot.c: Likewise.
14215 * sunrpc/rpc_thread.c: Likewise.
14216 * sunrpc/rtime.c: Likewise.
14217 * sunrpc/svc.c: Likewise.
14218 * sunrpc/svc_auth.c: Likewise.
14219 * sunrpc/svc_authux.c: Likewise.
14220 * sunrpc/svc_raw.c: Likewise.
14221 * sunrpc/svc_run.c: Likewise.
14222 * sunrpc/svc_simple.c: Likewise.
14223 * sunrpc/svc_tcp.c: Likewise.
14224 * sunrpc/svc_udp.c: Likewise.
14225 * sunrpc/svc_unix.c: Likewise.
14226 * sunrpc/svcauth_des.c: Likewise.
14227 * sunrpc/xcrypt.c: Likewise.
14228 * sunrpc/xdr.c: Likewise.
14229 * sunrpc/xdr_array.c: Likewise.
14230 * sunrpc/xdr_float.c: Likewise.
14231 * sunrpc/xdr_intXX_t.c: Likewise.
14232 * sunrpc/xdr_mem.c: Likewise.
14233 * sunrpc/xdr_rec.c: Likewise.
14234 * sunrpc/xdr_ref.c: Likewise.
14235 * sunrpc/xdr_sizeof.c: Likewise.
14236 * sunrpc/xdr_stdio.c: Likewise.
14237
e6c61494
UD
142382011-04-10 Ulrich Drepper <drepper@gmail.com>
14239
14240 [BZ #12650]
14241 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
14242 * sysdeps/ia64/dl-tls.h: Likewise.
14243 * sysdeps/powerpc/dl-tls.h: Likewise.
14244 * sysdeps/s390/dl-tls.h: Likewise.
14245 * sysdeps/sh/dl-tls.h: Likewise.
14246 * sysdeps/sparc/dl-tls.h: Likewise.
14247 * sysdeps/x86_64/dl-tls.h: Likewise.
14248 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
14249
34fe483e
AS
142502011-03-14 Andreas Schwab <schwab@redhat.com>
14251
14252 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
14253 rpath element also skip the following colon.
14254 (expand_dynamic_string_token): Add is_path parameter and pass
14255 down to DL_DST_REQUIRED and _dl_dst_substitute.
14256 (decompose_rpath): Call expand_dynamic_string_token with
14257 non-zero is_path. Ignore empty rpaths.
14258 (_dl_map_object_from_fd): Call expand_dynamic_string_token
14259 with zero is_path.
14260
f12a32e6
AS
142612011-04-08 Andreas Schwab <schwab@linux-m68k.org>
14262
14263 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
14264 Make cancelable.
14265
38a7d692
UD
142662011-04-09 Ulrich Drepper <drepper@gmail.com>
14267
14268 [BZ #12655]
14269 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
14270 Patch by Filipe David Manana <fdmanana@apache.org>.
14271
e451d22b
AS
142722011-04-07 Andreas Schwab <schwab@redhat.com>
14273
14274 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
14275 Maintain aligned stack.
14276 (CHECK_RSP): Remove unused macro.
14277
dedc7c7b
UD
142782011-04-03 Ulrich Drepper <drepper@gmail.com>
14279
14280 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
14281 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
14282
94521213
UD
142832011-04-02 Ulrich Drepper <drepper@gmail.com>
14284
14285 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
14286
8cb700c0 14287 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 14288
0354e355
L
142892011-03-26 H.J. Lu <hongjiu.lu@intel.com>
14290
14291 [BZ #12518]
14292 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
14293 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
14294 * sysdeps/x86_64/memmove.c: New file.
14295 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
14296 (memcpy): Renamed to ...
14297 (__new_memcpy): This.
14298 (memcpy): Provide GLIBC_2_14 memcpy.
14299 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
14300 (memcpy): Provide GLIBC_2_2_5 memcpy.
14301
8593482f
UD
143022011-04-01 Ulrich Drepper <drepper@gmail.com>
14303
14304 [BZ #12631]
14305 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
14306
81a5726b
AS
143072011-03-30 Andreas Schwab <schwab@redhat.com>
14308
14309 * misc/syncfs.c: New file.
14310 * misc/Makefile (routines): Add syncfs.
14311 * posix/unistd.h: Declare syncfs.
14312 * sysdeps/unix/syscalls.list: Add syncfs.
14313
00e5419f
AS
143142011-04-01 Andreas Schwab <schwab@redhat.com>
14315
14316 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
14317 open_by_handle_at.
14318 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
14319 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
14320 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
14321 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
14322 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
14323 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
14324 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
14325
748876bf
UD
143262011-04-01 Ulrich Drepper <drepper@gmail.com>
14327
658e451d
UD
14328 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
14329 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
14330 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
14331 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
14332 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
14333 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
14334 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
14335
748876bf
UD
14336 * io/Makefile: Compile fallocate.c, fallocate64.c, and
14337 sync_file_range.c with -fexceptions.
14338 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
14339 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
14340 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
14341 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
14342 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
14343 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
14344 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
14345 sync_file_range as cancellation point
14346 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
14347 now a wrapper around __call_sync_file_range with cancellation handling.
14348 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
14349 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
14350 function name to __call_sync_file_range.
14351 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
14352 Add call_sync_file_range.
748876bf 14353
6e63d5e1
AS
143542011-04-01 Andreas Schwab <schwab@redhat.com>
14355
14356 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 14357 bits/timex.h.
6e63d5e1 14358
46998f74
UD
143592011-04-01 Ulrich Drepper <drepper@gmail.com>
14360
4c1423ed
UD
14361 * iconv/iconv.h: Fix typo in comment.
14362 * io/fcntl.h: Likewise.
14363 * libio/stdio.h: Likewise.
14364 * posix/spawn.h: Likewise.
14365 * posix/unistd.h: Likewise.
14366 * stdlib/stdlib.h: Likewise.
14367 * time/time.h: Likewise.
14368 * wcsmbs/wchar.h: Likewise.
14369
158648c0
UD
14370 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
14371 open_by_handle): Add.
14372 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
14373 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
14374 Augment a few comments.
14375 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
14376 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
14377 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
14378 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
14379 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
14380 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
14381 open_by_handle.
14382
46998f74
UD
14383 * io/fcntl.h (AT_EMPTY_PATH): Define.
14384
83fe108b
UD
143852011-03-30 Ulrich Drepper <drepper@gmail.com>
14386
14387 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
14388 * sysdeps/unix/sysv/linux/bits/time.h: New file.
14389 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
14390 to...
14391 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
14392 * Versions.def: Add GLIBC_2.14.
14393 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
14394 Export.
83fe108b 14395
bb242059
UD
143962011-03-22 Ulrich Drepper <drepper@gmail.com>
14397
14398 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
14399 round counter.
14400 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
14401
c97a1282
L
144022011-03-20 H.J. Lu <hongjiu.lu@intel.com>
14403
14404 [BZ #12597]
14405 * string/test-strncmp.c (do_page_test): New function.
14406 (check2): Likewise.
14407 (test_main): Call check2.
14408 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
14409
2a115601
UD
144102011-03-20 Ulrich Drepper <drepper@gmail.com>
14411
14412 [BZ #12587]
14413 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
14414 Handle cache information in CPU leaf 4.
14415 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
14416
8126d904
UD
144172011-03-18 Ulrich Drepper <drepper@gmail.com>
14418
042c49c6 14419 [BZ #12583]
8126d904
UD
14420 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
14421 character representation.
14422 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
14423
ccfe366e
RA
144242011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
14425
14426 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
14427 END(__isnan) to END(__isnanf) to match function entry point/label
14428 EALIGN(__isnanf,...).
14429
c6e13027
JJ
144302011-03-10 Jakub Jelinek <jakub@redhat.com>
14431
14432 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
14433
33f85a3f
UD
144342011-03-10 Ulrich Drepper <drepper@gmail.com>
14435
028478fa
UD
14436 [BZ #12510]
14437 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
14438 copy from the symbol referenced in the relocation to initialize the
14439 used variable.
14440 Patch by Piotr Bury <pbury@goahead.com>.
14441 * elf/Makefile: Add rules to build and tst-unique3.
14442 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
14443 * elf/tst-unique3.cc: New file.
14444 * elf/tst-unique3.h: New file.
14445 * elf/tst-unique3lib.cc: New file.
14446 * elf/tst-unique3lib2.cc: New file.
14447
33f85a3f
UD
14448 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
14449
03592fc7
MF
144502011-03-10 Mike Frysinger <vapier@gentoo.org>
14451
14452 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
14453 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
14454 to _start.
03592fc7 14455
6a5ee102
UD
144562011-03-06 Ulrich Drepper <drepper@gmail.com>
14457
14458 * elf/dl-load.c (_dl_map_object): If we are looking for the first
14459 to-be-loaded object along a path to loader is ld.so.
14460
7e4ba49c
HJ
144612011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
14462 Ulrich Drepper <drepper@gmail.com>
14463
14464 * sysdeps/x86_64/memset.S: After aligning destination, code
14465 branches to different locations depending on the value of
14466 misalignment, when multiarch is enabled. Fix this.
14467
144682011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
14469
14470 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
14471 Set _x86_64_preferred_memory_instruction for AMD processsors.
14472 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
14473 Set bit_Prefer_SSE_for_memop for AMD processors.
14474
13a804de
UD
144752011-03-04 Ulrich Drepper <drepper@gmail.com>
14476
14477 * libio/fmemopen.c (fmemopen): Optimize a bit.
14478
9d25c392
AS
144792011-03-03 Andreas Schwab <schwab@redhat.com>
14480
14481 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
14482
a5543c6a
RM
144832011-03-03 Roland McGrath <roland@redhat.com>
14484
14485 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
14486
012d35f7
DM
144872011-02-28 Aurelien Jarno <aurelien@aurel32.net>
14488
7e4ba49c 14489 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
14490 __bzero_ultra1 instead of __memset_ultra1.
14491
4bff6e01
AS
144922011-02-23 Andreas Schwab <schwab@redhat.com>
14493 Ulrich Drepper <drepper@gmail.com>
14494
14495 [BZ #12509]
14496 * include/link.h (struct link_map): Add l_orig_initfini.
14497 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
14498 returning unsuccessfully.
14499 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
14500 close of a file loaded at startup, restore the original l_initfini
14501 list.
14502 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
14503 list, store the pointer.
14504 * elf/Makefile ($(objpfx)noload-mem): New rule.
14505 (noload-ENV): Define.
14506 (tests): Add $(objpfx)noload-mem.
14507 * elf/noload.c: Include <memcheck.h>.
14508 (main): Call mtrace. Close all opened handles.
14509
f2092faf
AS
145102011-02-17 Andreas Schwab <schwab@redhat.com>
14511
14512 [BZ #12454]
14513 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
14514 dependencies are missing.
14515
6c8a2e88
ST
145162011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
14517
f2092faf 14518 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
14519 Hurd needs munmap.
14520 * sysdeps/mach/hurd/ifreq.h: New file.
14521
84a42118
PB
145222011-01-27 Petr Baudis <pasky@suse.cz>
14523 Ulrich Drepper <drepper@gmail.com>
14524
071f805e 14525 [BZ 12445]#
84a42118
PB
14526 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
14527 to extend_alloca().
14528 * stdio-common/bug23.c: New file.
14529 * stdio-common/Makefile (tests): Add bug23.
14530
e23fe25b
AS
145312010-09-28 Andreas Schwab <schwab@redhat.com>
14532 Ulrich Drepper <drepper@gmail.com>
14533
14534 [BZ #12489]
14535 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
14536 before performing relro protection. At old place add assertion
14537 to make sure nothing changed.
14538
d3f02e10
NS
145392011-02-17 Nathan Sidwell <nathan@codesourcery.com>
14540 Glauber de Oliveira Costa <glommer@gmail.com>
14541
14542 * elf/elf.h: Add new ARM TLS relocs.
14543
d55fd7a5
RA
145442011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
14545
14546 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
14547 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
14548 cast from r3.
14549 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
14550 'tests' variable.
14551 * sysdeps/wordsize-64/tst-writev.c: New file.
14552
2206397e
RA
145532011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
14554
14555 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
14556 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
14557 insns in _dl_start to prevent a TOC reference before relocs are
14558 resolved.
14559
e9433893
UD
145602011-02-15 Ulrich Drepper <drepper@gmail.com>
14561
14562 [BZ #12469]
14563 * Makeconfig: Remove RANLIB definition.
14564 * Makerules: Don't use RANLIB.
14565 * aclocal.m4: Remove ranlib test.
14566 * configure.in: No need to check for ranlib.
14567 * elf/rtld-Rules: Don't use RANLIB.
14568
f75286c6
ST
145692011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
14570
8e31c82d
ST
14571 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
14572 protection macro.
14573 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
14574 inclusion protection macro.
14575
f75286c6
ST
14576 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
14577 SIGRTMIN and SIGRTMAX and print information in that case only when
14578 SIGRTMIN is defined.
14579
c1d0e639
JJ
145802011-02-11 Jakub Jelinek <jakub@redhat.com>
14581
14582 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
14583 arginfo fn returning -1.
14584
14585 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
14586 and thousands string is zero terminated.
14587
edf9294e
AS
145882011-02-03 Andreas Schwab <schwab@redhat.com>
14589
14590 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
14591 sysdeps/unix/sysv/linux/bits/socket.h.
14592
2b7e92df
ST
145932011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
14594
edf9294e
AS
14595 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
14596 (__CPU_COUNT): Remove old macros.
14597 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
14598 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
14599 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
14600 (__sched_cpualloc, __sched_cpufree): Add declarations.
14601
a4c7ea7b
UD
146022011-02-05 Ulrich Drepper <drepper@gmail.com>
14603
14604 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
14605 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
14606 * nscd/aicache.c (addhstaiX): Return timeout of added value.
14607 (readdhstai): Return value of addhstaiX call.
14608 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
14609 (addgrbyX): Return value returned by cache_addgr.
14610 (readdgrbyname): Return value returned by addgrbyX.
14611 (readdgrbygid): Likewise.
14612 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
14613 (addpwbyX): Return value returned by cache_addpw.
14614 (readdpwbyname): Return value returned by addhstbyX.
14615 (readdpwbyuid): Likewise.
14616 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
14617 (addservbyX): Return value returned by cache_addserv.
14618 (readdservbyname): Return value returned by addservbyX:
14619 (readdservbyport): Likewise.
14620 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
14621 (addhstbyX): Return value returned by cache_addhst.
14622 (readdhstbyname): Return value returned by addhstbyX.
14623 (readdhstbyaddr): Likewise.
14624 (readdhstbynamev6): Likewise.
14625 (readdhstbyaddrv6): Likewise.
14626 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
14627 (readdinitgroups): Return value returned by addinitgroupsX.
14628 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
14629 (prune_cache): Keep track of timeout value of re-added entries.
14630 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
14631 * nscd/nscd.h: Adjust prototypes of readd* functions.
14632
a0bf67cc
RM
146332011-02-04 Roland McGrath <roland@redhat.com>
14634
14635 * nis/nis_server.c (nis_servstate): Use the right name for 0.
14636 (nis_stats): Likewise.
14637 * nis/nis_modify.c (nis_modify): Likewise.
14638 * nis/nis_remove.c (nis_remove): Likewise.
14639 * nis/nis_add.c (nis_add): Likewise.
14640
14641 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
14642
14643 * posix/fnmatch_loop.c: Add some consts.
14644
14645 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
14646
435b95eb
L
146472011-02-02 H.J. Lu <hongjiu.lu@intel.com>
14648
14649 [BZ #12460]
14650 * config.make.in (config-cflags-novzeroupper): Define.
14651 * configure.in: Substitute libc_cv_cc_novzeroupper.
14652 * elf/Makefile (AVX-CFLAGS): Define.
14653 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
14654 (CFLAGS-tst-auditmod4a.c): Likewise.
14655 (CFLAGS-tst-auditmod4b.c): Likewise.
14656 (CFLAGS-tst-auditmod6b.c): Likewise.
14657 (CFLAGS-tst-auditmod6c.c): Likewise.
14658 (CFLAGS-tst-auditmod7b.c): Likewise.
14659 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
14660
8517b15e
UD
146612011-02-02 Ulrich Drepper <drepper@gmail.com>
14662
14663 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
14664 function to the callback.
14665 Patch partly by Jiri Olsa <jolsa@redhat.com>.
14666
10a656fe
AS
146672011-02-02 Andreas Schwab <schwab@redhat.com>
14668
14669 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
14670 of errno.
14671
968dad0a
UD
146722011-01-19 Ulrich Drepper <drepper@gmail.com>
14673
9f94d2ea 14674 [BZ #11724]
968dad0a
UD
14675 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
14676 of constructors.
14677 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
14678 of destructors.
14679 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
14680
14681 [BZ #11724]
14682 * elf/Makefile: Add rules to build and run new test.
14683 * elf/tst-initorder.c: New file.
14684 * elf/tst-initorder.exp: New file.
14685 * elf/tst-initordera1.c: New file.
14686 * elf/tst-initordera2.c: New file.
14687 * elf/tst-initordera3.c: New file.
14688 * elf/tst-initordera4.c: New file.
14689 * elf/tst-initorderb1.c: New file.
14690 * elf/tst-initorderb2.c: New file.
14691 * elf/tst-order-a1.c: New file.
14692 * elf/tst-order-a2.c: New file.
14693 * elf/tst-order-a3.c: New file.
14694 * elf/tst-order-a4.c: New file.
14695 * elf/tst-order-b1.c: New file.
14696 * elf/tst-order-b2.c: New file.
14697 * elf/tst-order-main.c: New file.
14698 New test case by George Gensure <werkt0@gmail.com>.
14699
86e92359
UD
147002010-10-01 Andreas Schwab <schwab@redhat.com>
14701
14702 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
14703 decoding ACE if AI_CANONIDN.
14704
5d5732b0
UD
147052011-01-18 Ulrich Drepper <drepper@gmail.com>
14706
14707 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
14708
a77e8cbc
UD
147092011-01-17 Ulrich Drepper <drepper@gmail.com>
14710
6392473f
UD
14711 * version.h (RELEASE): Bump for 2.13 release.
14712 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
14713
620a0529
UD
14714 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
14715
18ba70a5
UD
14716 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
14717 MADV_NOHUGEPAGE.
32465c3e
UD
14718 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
14719 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
14720 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
14721 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
14722 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
14723 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
14724
c0dafcf1
UD
14725 * posix/getconf.c: Update copyright year.
14726 * catgets/gencat.c: Likewise.
14727 * csu/version.c: Likewise.
14728 * debug/catchsegv.sh: Likewise.
14729 * debug/xtrace.sh: Likewise.
14730 * elf/ldconfig.c: Likewise.
14731 * elf/ldd.bash.in: Likewise.
14732 * elf/sprof.c (print_version): Likewise.
14733 * iconv/iconv_prog.c: Likewise.
14734 * iconv/iconvconfig.c: Likewise.
14735 * locale/programs/locale.c: Likewise.
14736 * locale/programs/localedef.c: Likewise.
14737 * malloc/memusage.sh: Likewise.
14738 * malloc/mtrace.pl: Likewise.
14739 * nscd/nscd.c (print_version): Likewise.
14740 * nss/getent.c: Likewise.
14741
a77e8cbc
UD
14742 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
14743 PF_CAIF, and PF_ALG.
14744 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
14745
77e8bddf
AS
147462011-01-16 Andreas Schwab <schwab@linux-m68k.org>
14747
1f20b93a
AS
14748 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
14749 (modules-names): Use them.
14750 (ifunc-test-modules, ifunc-pie-tests): Define.
14751 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
14752 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
14753 (test-extras): Likewise.
14754 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
14755 $(compile-command.c).
14756 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
14757 (all-built-dso): Define.
14758 (check-textrel.out, check-execstack.out): Depend on it.
14759
77e8bddf
AS
14760 * configure.in: Don't override --enable-multi-arch.
14761
bc425b33
UD
147622011-01-15 Ulrich Drepper <drepper@gmail.com>
14763
14764 [BZ #6812]
14765 * nscd/hstcache.c (tryagain): Define.
14766 (cache_addhst): Return tryagain not notfound for temporary errors.
14767 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
14768 failed.
14769
794c3ad3
UD
147702011-01-14 Ulrich Drepper <drepper@gmail.com>
14771
70181fdd
UD
14772 [BZ #10563]
14773 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
14774 to make the syscall.
14775 * sysdeps/unix/sysv/linux/setgroups.c: New file.
14776
794c3ad3
UD
14777 [BZ #12378]
14778 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
14779 and fall back to matching as normal character if the string ends before
14780 the matching ']' is found. This is what POSIX requires.
14781 * posix/testfnm.c: Adjust test result.
14782 * posix/globtest.sh: Adjust test result. Add new test.
14783 * posix/tst-fnmatch.input: Likewise.
14784 * posix/tst-fnmatch2.c: Add new test.
14785
68dc9497
AS
147862010-12-28 Andreas Schwab <schwab@linux-m68k.org>
14787
14788 * elf/Makefile (check-execstack): Revert last change. Depend on
14789 check-execstack.h.
14790 (check-execstack.h): New target.
14791 (generated): Add check-execstack.h.
14792 * elf/check-execstack.c: Include "check-execstack.h".
14793 (main): Revert last change.
14794 (handle_file): Return zero if GNU_STACK is absent and
14795 DEFAULT_STACK_PERMS doesn't include PF_X.
14796
451f001b
UD
147972011-01-13 Ulrich Drepper <drepper@gmail.com>
14798
cfa28e56
UD
14799 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
14800 in child fails because the descriptor is already closed.
8cf8ce17
UD
14801 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
14802 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
14803 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 14804
1086d70d
UD
14805 [BZ #12397]
14806 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
14807 syscall.
14808
451f001b
UD
14809 [BZ #10484]
14810 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
14811 temporary buffer used to handle multi lookups locally.
a85b5cb4 14812 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 14813
08769175
UD
148142011-01-12 Ulrich Drepper <drepper@gmail.com>
14815
14816 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
14817 loader is ld.so.
14818
5e49c52e
UD
148192011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
14820
14821 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
14822 alignment for SSE2.
14823
60522a5f
UD
148242011-01-12 Ulrich Drepper <drepper@gmail.com>
14825
14826 [BZ #12394]
14827 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
14828 characters. When rounding increased number of integer digits recompute
14829 number of groups.
14830 * stdio-common/tst-grouping.c: New file.
14831 * stdio-common/Makefile: Add rules to build and run tst-grouping.
14832
f257bbd7
UD
148332011-01-09 Ulrich Drepper <drepper@gmail.com>
14834
14835 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
14836 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
14837
14838 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
14839 void.
14840 * bits/select.h: Likewise.
14841
fa9c15cb
UD
148422011-01-08 Ulrich Drepper <drepper@gmail.com>
14843
14844 * po/ja.po: Update from translation team.
14845
16c2895f
DM
148462011-01-04 David S. Miller <davem@sunset.davemloft.net>
14847
14848 [BZ #11155]
14849 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
14850 implementation just like for lxstat, fxstatat, et al.
14851
2543fef2
JM
148522010-12-27 Jim Meyering <meyering@redhat.com>
14853
14854 [BZ #12348]
14855 * posix/regexec.c (build_trtable): Return failure indication upon
14856 calloc failure. Otherwise, re_search_internal could infloop on OOM.
14857
98727dbe
UD
148582010-12-25 Ulrich Drepper <drepper@gmail.com>
14859
5bd6dc5c
UD
14860 [BZ #12201]
14861 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
14862 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
14863 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
14864 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
14865
97983464
UD
14866 [BZ #12207]
14867 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
14868
98727dbe
UD
14869 [BZ #12204]
14870 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
14871 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
14872
4a531bb0
L
148732010-12-15 H.J. Lu <hongjiu.lu@intel.com>
14874
14875 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
14876 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
14877 script has SORT_BY_INIT_PRIORITY.
14878 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
14879 NO_CTORS_DTORS_SECTIONS is defined.
14880 * elf/soinit.c: Likewise.
14881 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
14882 NO_CTORS_DTORS_SECTIONS is defined.
14883 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
14884 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
14885 * sysdeps/sh/init-first.c: Likewise.
14886 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
14887
07eb4b71
UD
148882010-12-24 Ulrich Drepper <drepper@gmail.com>
14889
14890 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
14891 always use the slow path.
14892
30950a5f
RA
148932010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
14894
14895 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
14896 similar rule which adds the sysdep directories to the header search in
14897 order to pick up the correct platform stackinfo.h.
14898 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
14899 perform test if it is, otherwise return successfully without testing.
14900 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
14901 DEFAULT_STACK_PERMS define in stackinfo.h.
14902 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
14903 defined in stackinfo.h.
14904 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
14905 DEFAULT_STACK_PERMS defined in stackinfo.h.
14906 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
14907 * sysdeps/ia64/stackinfo.h: Likewise.
14908 * sysdeps/s390/stackinfo.h: Likewise.
14909 * sysdeps/sh/stackinfo.h: Likewise.
14910 * sysdeps/sparc/stackinfo.h: Likewise.
14911 * sysdeps/x86_64/stackinfo.h: Likewise.
14912 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
14913 PF_X for powerpc64. Retain PF_X for powerpc32.
14914
db753e2c
UD
149152010-12-19 Ulrich Drepper <drepper@gmail.com>
14916
14b697f7
UD
14917 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
14918 accurately.
db753e2c
UD
14919 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
14920 GETDENTS_64BIT_ALIGNED.
14921
28300719
UD
149222010-12-14 Ulrich Drepper <dreper@gmail.com>
14923
14b697f7 14924 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 14925
4f197237
AS
149262010-12-10 Andreas Schwab <schwab@redhat.com>
14927
dbb0472f
AS
14928 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
14929 _GNU_SOURCE.
14930
4f197237
AS
14931 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
14932 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
14933 Remove __restrict.
14934 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
14935 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
14936
fb88ac72
UD
149372010-12-09 Ulrich Drepper <drepper@gmail.com>
14938
14939 [BZ #11655]
14940 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
14941 are initialized.
14942
42acbb92
JJ
149432010-12-09 Jakub Jelinek <jakub@redhat.com>
14944
14945 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
14946
c038d98d
UD
149472010-12-03 Ulrich Drepper <drepper@gmail.com>
14948
14949 * po/it.po: Update from translation team.
14950
3a4a2499
L
149512010-12-01 H.J. Lu <hongjiu.lu@intel.com>
14952
14953 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
14954 unused codes.
14955
1e24cf6e
UD
149562010-11-30 Ulrich Drepper <drepper@gmail.com>
14957
14958 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
14959
a7690819
AS
149602010-11-24 Andreas Schwab <schwab@redhat.com>
14961
14962 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
14963 specially.
14964 (gaih_getanswer_slice): Likewise.
14965
3bf8d1b1
JJ
149662010-10-20 Jakub Jelinek <jakub@redhat.com>
14967
14968 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
14969
6db52fbb
PB
149702010-05-31 Petr Baudis <pasky@suse.cz>
14971
14972 [BZ #11149]
14973 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
14974 silently even in the chroot mode.
14975
eaca7569
UD
149762010-11-22 Ulrich Drepper <drepper@gmail.com>
14977
14978 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
14979 last patch a bit. Pretty printing
14980
3056dcdb
UD
149812010-05-31 Petr Baudis <pasky@suse.cz>
14982
14983 [BZ #10085]
14984 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
14985 initialization of skip_initgroups_dyn.
14986
cf7c9078
UD
149872010-11-19 Ulrich Drepper <drepper@gmail.com>
14988
14989 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
14990 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
14991
a1fb5e3e
UD
149922010-11-16 Ulrich Drepper <drepper@gmail.com>
14993
14994 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
14995
3540d66b
AS
149962010-11-11 Andreas Schwab <schwab@redhat.com>
14997
14998 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
14999 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
15000 (tst-fnmatch-ENV): Set MALLOC_TRACE.
15001 ($(objpfx)tst-fnmatch-mem): New rule.
15002 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
15003 * posix/tst-fnmatch.c (main): Call mtrace.
15004
13b69574
L
150052010-11-11 H.J. Lu <hongjiu.lu@intel.com>
15006
15007 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
15008 Support Intel processor model 6 and model 0x2c.
15009
da93d214
LM
150102010-11-10 Luis Machado <luisgpm@br.ibm.com>
15011
15012 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
15013 signed comparison.
15014
8ca52c6e
L
150152010-11-09 H.J. Lu <hongjiu.lu@intel.com>
15016
15017 [BZ #12205]
15018 * string/test-strncasecmp.c (check_result): New function.
15019 (do_one_test): Use it.
15020 (check1): New function.
15021 (test_main): Use it.
15022 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
15023 Support strcasecmp and strncasecmp.
15024
69da074d
UD
150252010-11-08 Ulrich Drepper <drepper@gmail.com>
15026
15027 [BZ #12194]
15028 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
15029 * sysdeps/x86_64/bits/byteswap.h: Likewise.
15030
ff02d528
L
150312010-11-07 H.J. Lu <hongjiu.lu@intel.com>
15032
15033 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
15034 IFUNC support.
15035 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
15036 memset-x86-64.
15037 * sysdeps/x86_64/multiarch/bzero.S: New file.
15038 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
15039 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
15040 * sysdeps/x86_64/multiarch/memset.S: New file.
15041 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
15042 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
15043 Set bit_Prefer_SSE_for_memop for Intel processors.
15044 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
15045 Define.
15046 (index_Prefer_SSE_for_memop): Define.
15047 (HAS_PREFER_SSE_FOR_MEMOP): Define.
15048
344d0b54
LM
150492010-11-04 Luis Machado <luisgpm@br.ibm.com>
15050
15051 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
15052 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
15053
c0dde15b
UD
150542010-11-03 H.J. Lu <hongjiu.lu@intel.com>
15055
15056 [BZ #12191]
15057 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
15058 (__x86_64_raw_data_cache_size_half): Likewise.
15059 (__x86_64_raw_shared_cache_size): Likewise.
15060 (__x86_64_raw_shared_cache_size_half): Likewise.
15061
15062 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
15063 (__x86_64_raw_data_cache_size_half): Likewise.
15064 (__x86_64_raw_shared_cache_size): Likewise.
15065 (__x86_64_raw_shared_cache_size_half): Likewise.
15066 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
15067 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
15068 and __x86_64_raw_shared_cache_size_half. Round
15069 __x86_64_data_cache_size_half, __x86_64_data_cache_size
15070 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
15071 to multiple of 256 bytes.
15072
0e516e0e
MS
150732010-11-03 Ulrich Drepper <drepper@gmail.com>
15074
15075 [BZ #12167]
15076 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
15077 of inacessible symlinks. Verify result of symlink before returning it.
15078 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
15079 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
15080
0e012e87
ER
150812010-10-28 Erich Ritz <erichritz@gmail.com>
15082
15083 * math/math.h (isinf): Fix typo in comment.
15084
de0ff7bc
UD
150852010-11-01 Ulrich Drepper <drepper@gmail.com>
15086
15087 * po/da.po: Update from translation team.
15088
fa41c84d
UD
150892010-10-26 Ulrich Drepper <drepper@gmail.com>
15090
15091 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
15092 is added to the list.
15093
f0967738
AK
150942010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15095 Ulrich Drepper <drepper@gmail.com>
15096
15097 * elf/dl-object.c (_dl_new_object): Don't append the new object to
15098 the global list here. Move code to...
15099 (_dl_add_to_namespace_list): ...here. New function.
15100 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
15101 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
15102 * elf/dl-load.c (lose): Don't remove the element from the list.
15103 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
15104 (_dl_map_object): Likewise.
15105
151062010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
15107
15108 [BZ #12159]
15109 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
15110 into all bytes of SSE register.
15111 Patch by Richard Li <richardpku@gmail.com>.
15112
f0967738 151132010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
15114
15115 [BZ #12140]
15116 * malloc/malloc.c (_int_free): Fill correct number of bytes when
15117 perturbing.
15118
d0b9e94f
MB
151192010-10-20 Michael B. Brutman <brutman@us.ibm.com>
15120
15121 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
15122 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
15123 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
15124 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
15125 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
15126 submachine.
15127 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
15128
8e9f92e9
AS
151292010-10-22 Andreas Schwab <schwab@redhat.com>
15130
15131 * include/dlfcn.h (__RTLD_SECURE): Define.
15132 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
15133 mode & __RTLD_SECURE instead.
15134 (open_path): Rename preloaded parameter to secure.
15135 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
15136 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
15137 * elf/dl-deps.c (openaux): Likewise.
15138 * elf/rtld.c (struct map_args): Remove is_preloaded.
15139 (map_doit): Don't use it.
15140 (dl_main): Likewise.
15141 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
15142 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
15143
bc96fbda
AS
151442010-09-09 Andreas Schwab <schwab@redhat.com>
15145
15146 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
15147 (sysd-rules-targets): Remove duplicates.
15148 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
15149 rtld-%.$o dependency.
15150
22cd1c9b
AS
151512010-10-18 Andreas Schwab <schwab@redhat.com>
15152
15153 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
15154 _dl_map_object do it.
15155
18edac48
UD
151562010-10-19 Ulrich Drepper <drepper@gmail.com>
15157
15158 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
15159 fast fma builtins, define the macros in the C99 standard.
15160 (FP_FAST_FMAF): Likewise.
15161 (FP_FAST_FMAL): Likewise.
15162 * sysdeps/x86_64/bits/mathdef.h: Likewise.
15163
15164 * bits/mathdef.h: Update copyright year.
15165 * sysdeps/powerpc/bits/mathdef.h: Likewise.
15166
d2050124
MM
151672010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
15168
15169 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
15170 builtins, define the macros in the C99 standard.
15171 (FP_FAST_FMAF): Likewise.
15172 (FP_FAST_FMAL): Likewise.
15173 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
15174 multiply/add.
15175 (FP_FAST_FMAF): Likewise.
15176
475facd1
JJ
151772010-10-15 Jakub Jelinek <jakub@redhat.com>
15178
15179 [BZ #3268]
15180 * math/libm-test.inc (fma_test): Some new testcases.
15181 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
15182 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
15183 y and infinite z. Do multiplication by C already in long double.
15184 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
15185 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
15186 y and infinite z. Do bitwise or of inexact bit into u.d.
15187 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
15188 * sysdeps/i386/fpu/s_fmaf.S: Removed.
15189 * sysdeps/i386/fpu/s_fma.S: Removed.
15190 * sysdeps/i386/fpu/s_fmal.S: Removed.
15191
7c08a05c
JJ
151922010-10-16 Jakub Jelinek <jakub@redhat.com>
15193
15194 [BZ #3268]
15195 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
15196 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
15197 computation is not scheduled after fetestexcept. Fix value
15198 of minimum denormal long double.
15199
f3f7372d
JJ
152002010-10-14 Jakub Jelinek <jakub@redhat.com>
15201
15202 [BZ #3268]
15203 * math/libm-test.inc (fma_test): Add some more tests.
15204 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
15205 correctly.
15206
14d43591
AS
152072010-10-15 Andreas Schwab <schwab@redhat.com>
15208
15209 * scripts/data/localplt-s390-linux-gnu.data: New file.
15210 * scripts/data/localplt-s390x-linux-gnu.data: New file.
15211
5e908464
JJ
152122010-10-13 Jakub Jelinek <jakub@redhat.com>
15213
15214 [BZ #3268]
15215 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
15216 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
15217 instead of dbl-64.
15218 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
15219 inlines.
15220 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
15221 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
15222 if one of x and y is very large and the other is subnormal.
15223 * sysdeps/s390/fpu/s_fmaf.c: New file.
15224 * sysdeps/s390/fpu/s_fma.c: New file.
15225 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
15226 * sysdeps/powerpc/fpu/s_fma.S: New file.
15227 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
15228 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
15229 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
15230
152312010-10-12 Jakub Jelinek <jakub@redhat.com>
15232
15233 [BZ #3268]
15234 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
15235 fma tests.
15236 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
15237 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
15238 * sysdeps/i386/i686/multiarch/s_fma.c: Include
15239 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
15240 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
15241 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
15242 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
15243
b833d51f
UD
152442010-10-12 Ulrich Drepper <drepper@redhat.com>
15245
15246 [BZ #12078]
15247 * posix/regcomp.c (parse_branch): One more memory leak plugged.
15248 * posix/bug-regex31.input: Add test case.
15249
1751705d
UD
152502010-10-11 Ulrich Drepper <drepper@gmail.com>
15251
e9b9cbf5
UD
15252 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
15253 * posix/bug-regex31.input: New file.
15254
15255 [BZ #12078]
15256 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
15257 (parse_sub_exp): Fix last change, use postorder.
15258
ef06edbe
UD
15259 * posix/bug-regex31.c: New file.
15260 * posix/Makefile: Add rules to build and run bug-regex31.
15261
a129c80d
UD
15262 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
15263
15264 [BZ #12078]
15265 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
15266
b76b818e
UD
15267 [BZ #12108]
15268 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
15269 to have entries in sys_siglist.
15270
1751705d
UD
15271 [BZ #12093]
15272 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
15273 be NULL.
15274
9ff8d36f
JJ
152752010-10-07 Jakub Jelinek <jakub@redhat.com>
15276
15277 [BZ #3268]
15278 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
15279 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
15280 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
15281 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
15282 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
15283 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
15284 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
15285 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
15286 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
15287 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
15288 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
15289 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
15290 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
15291 * math/ftestexcept.c (fetestexcept): Likewise.
15292 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
15293 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
15294 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
15295 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
15296 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
15297 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
15298 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
15299
af325969
UD
153002010-10-11 Ulrich Drepper <drepper@gmail.com>
15301
c579b202 15302 [BZ #12107]
af325969
UD
15303 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
15304 newline.
15305
67a67b95
UD
153062010-10-06 Ulrich Drepper <drepper@gmail.com>
15307
15308 * string/bug-strstr1.c: New file.
15309 * string/Makefile: Add rules to build and run bug-strstr1.
15310
5fb308bc
EB
153112010-10-05 Eric Blake <eblake@redhat.com>
15312
15313 [BZ #12092]
15314 * string/str-two-way.h (two_way_long_needle): Always clear memory
15315 when skipping input due to the shift table.
15316
45db99c7
UD
153172010-10-03 Ulrich Drepper <drepper@gmail.com>
15318
3b111893
UD
15319 [BZ #12005]
15320 * malloc/mcheck.c: Handle large requests.
15321
45db99c7
UD
15322 [BZ #12077]
15323 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
15324 for strncmp and strncasecmp.
15325 * string/stratcliff.c: Add tests for strcmp and strncmp.
15326 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
15327
cf7a1eb8
NI
153282010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
15329
15330 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
15331 __set_fpscr.
15332
6484ba5e
AJ
153332010-09-30 Andreas Jaeger <aj@suse.de>
15334
15335 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
15336 (CGROUP_SUPER_MAGIC): Define.
15337 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
15338 Handle btrfs and cgroup file systems.
15339 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
15340 Likewise.
15341
91c42559
LM
153422010-09-27 Luis Machado <luisgpm@br.ibm.com>
15343
15344 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
15345 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
15346
87a97932
AK
153472010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15348
15349 [BZ #12067]
15350 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
15351 trying to locate the ELF header.
15352
c21cc9bc
AS
153532010-09-27 Andreas Schwab <schwab@redhat.com>
15354
15355 [BZ #11611]
15356 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
15357 Mask out sign-bit copies when constructing f_fsid.
15358
315970f6
PB
153592010-09-24 Petr Baudis <pasky@suse.cz>
15360
15361 * debug/stack_chk_fail_local.c: Add missing licence exception.
15362 * debug/warning-nop.c: Likewise.
15363
1ac7a2c7
JM
153642010-09-15 Joseph Myers <joseph@codesourcery.com>
15365
15366 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
15367 implementing getdents64 using getdents syscall, set d_type if
15368 __ASSUME_GETDENTS32_D_TYPE.
15369
56801c50
AS
153702010-09-16 Andreas Schwab <schwab@redhat.com>
15371
15372 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
15373 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
15374
dda51327
UD
153752010-09-21 Ulrich Drepper <drepper@redhat.com>
15376
15377 [BZ #12037]
15378 * posix/unistd.h: Undo change of feature selection for ftruncate from
15379 2010-01-11.
15380
8ffcee4a
UD
153812010-09-20 Ulrich Drepper <drepper@redhat.com>
15382
a545ecd9 15383 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
15384 detection.
15385
e24f0a8b
AS
153862010-09-20 Andreas Schwab <schwab@redhat.com>
15387
15388 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
15389 fanotify_mark.
15390 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
15391
7291c56f
AS
153922010-09-14 Andreas Schwab <schwab@redhat.com>
15393
15394 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
15395 variables after CHECK_SP call.
15396 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
15397
bc5fb037
AS
153982010-09-13 Andreas Schwab <schwab@redhat.com>
15399 Ulrich Drepper <drepper@redhat.com>
15400
15401 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
15402 re-relocationg ld.so.
15403 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
15404 _dl_init_paths call.
15405 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
15406 here anymore.
15407
e66e7419
UD
154082010-09-14 Ulrich Drepper <drepper@redhat.com>
15409
15410 * resolv/res_init.c (__res_vinit): Count the default server we added.
15411
c044aa75
CLT
154122010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
15413 Ulrich Drepper <drepper@redhat.com>
15414
15415 [BZ #11968]
15416 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
15417 (____longjmp_chk): Use %ebx for saving value across system call.
15418 Add unwind info.
15419
32cf4069
AS
154202010-09-06 Andreas Schwab <schwab@redhat.com>
15421
15422 * manual/Makefile: Don't mix pattern rules with normal rules.
15423
817328ee
AS
154242010-09-05 Andreas Schwab <schwab@linux-m68k.org>
15425
15426 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
15427 operation.
15428 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
15429 * libio/iofopncook.c (_IO_cookie_init): Likewise.
15430 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
15431 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
15432 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
15433 Likewise.
15434
29fddf61
UD
154352010-09-04 Ulrich Drepper <drepper@redhat.com>
15436
15437 [BZ #11979]
15438 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
15439 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
15440
0959ffc9
UD
154412010-09-02 Ulrich Drepper <drepper@redhat.com>
15442
15443 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
15444 * sysdeps/x86_64/addmul_1.S: Likewise.
15445 * sysdeps/x86_64/lshift.S: Likewise.
15446 * sysdeps/x86_64/mul_1.S: Likewise.
15447 * sysdeps/x86_64/rshift.S: Likewise.
15448 * sysdeps/x86_64/sub_n.S: Likewise.
15449 * sysdeps/x86_64/submul_1.S: Likewise.
15450
ece29840
ST
154512010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
15452
0959ffc9
UD
15453 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
15454 Define __sched_param instead of SCHED_* and sched_param when
ece29840 15455 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 15456 * bits/sched.h [__need_schedparam]
ece29840 15457 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
15458 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
15459 (__defined_schedparam): Define to 1.
ece29840
ST
15460 (__sched_param): New structure, identical to sched_param.
15461 (__need_schedparam): Undefine.
15462
e53a31fe
MF
154632010-08-31 Mike Frysinger <vapier@gentoo.org>
15464
fdc0c10d
MF
15465 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
15466 (epoll_create1): Declare.
15467
e53a31fe
MF
15468 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
15469
a726d796
AS
154702010-08-31 Andreas Schwab <schwab@redhat.com>
15471
15472 [BZ #7066]
15473 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
15474 shifting retval into place.
15475
2f3e3dc7
UD
154762010-09-01 Ulrich Drepper <drepper@redhat.com>
15477
f2933da9
UD
15478 * nis/rpcsvc/nis.h: Update copyright notice.
15479 * nis/rpcsvc/nis.x: Likewise.
15480 * nis/rpcsvc/nis_callback.h: Likewise.
15481 * nis/rpcsvc/nis_callback.x: Likewise.
15482 * nis/rpcsvc/nis_object.x: Likewise.
15483 * nis/rpcsvc/nis_tags.h: Likewise.
15484 * nis/rpcsvc/yp.h: Likewise.
15485 * nis/rpcsvc/yp.x: Likewise.
15486 * nis/rpcsvc/ypupd.h: Likewise.
15487 * nis/yp_xdr.c: Likewise.
15488 * nis/ypupdate_xdr.c: Likewise.
15489
2f3e3dc7
UD
15490 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
15491 mainly the body of pmap_getport. Add parameters to specify timeouts.
15492 (pmap_getport): Use __libc_rpc_getport.
15493 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
15494 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
15495 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
15496
f3dcc2f9
AS
154972010-08-31 Andreas Schwab <schwab@linux-m68k.org>
15498
15499 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
15500 fanotify_mark.
15501
6d34eb5b
RM
155022010-08-27 Roland McGrath <roland@redhat.com>
15503
15504 * sysdeps/i386/i686/multiarch/Makefile
15505 (CFLAGS-varshift.c): New variable.
15506
9ea3de11
UD
155072010-08-27 Ulrich Drepper <drepper@redhat.com>
15508
c96d23fc
UD
15509 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
15510 * sysdeps/i386/i686/multiarch/varshift.c: New file.
15511
9ea3de11
UD
15512 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
15513
15514 * sysdeps/x86_64/strlen.S: Minimal code improvement.
15515
623aac7f
L
155162010-08-26 H.J. Lu <hongjiu.lu@intel.com>
15517
15518 * sysdeps/x86_64/strlen.S: Unroll the loop.
15519 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
15520 strlen-sse2 strlen-sse2-bsf.
15521 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
15522 __strlen_no_bsf if bit_Slow_BSF is set.
15523 (__strlen_sse42): Removed.
15524 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
15525 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
15526
8b2b7715
RM
155272010-08-25 Roland McGrath <roland@redhat.com>
15528
15529 * sysdeps/x86_64/multiarch/varshift.S: File removed.
15530 * sysdeps/x86_64/multiarch/varshift.c: New file.
15531 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
15532 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
15533 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
15534 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
15535
e73015f2
L
155362010-08-25 H.J. Lu <hongjiu.lu@intel.com>
15537
15538 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
15539 strlen-sse2 strlen-sse2-bsf.
15540 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
15541 __strlen_sse2_bsf if bit_Slow_BSF is unset.
15542 (__strlen_sse2): Removed.
15543 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
15544 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
15545 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
15546 bit_Slow_BSF for Atom.
15547 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
15548 (index_Slow_BSF): Define.
15549 (HAS_SLOW_BSF): Define.
15550
df24a73e
UD
155512010-08-25 Ulrich Drepper <drepper@redhat.com>
15552
15553 [BZ #10851]
15554 * resolv/res_init.c (__res_vinit): When no server address at all
15555 is given default to loopback.
15556
f2ac4868
RM
155572010-08-24 Roland McGrath <roland@redhat.com>
15558
09055553
RM
15559 * configure.in: Remove config-name.h generation.
15560 * configure: Regenerated.
15561 * config-name.in: File removed.
15562 * scripts/config-uname.sh: New file.
15563 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
15564 ($(objdir)config-name.h): New target.
15565
f2ac4868
RM
15566 * sunrpc/rpc_parse.h: Avoid nested comment.
15567
73f27d5e
RH
155682010-08-24 Richard Henderson <rth@redhat.com>
15569 Ulrich Drepper <drepper@redhat.com>
15570 H.J. Lu <hongjiu.lu@intel.com>
15571
15572 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
15573 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
15574 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
15575 Replace _mm_srli_si128 with __m128i_shift_right. Replace
15576 _mm_alignr_epi8 with _mm_loadu_si128.
15577 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
15578 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
15579 (__m128i_shift_right): Removed.
15580 * sysdeps/i386/i686/multiarch/varshift.h: New file.
15581 * sysdeps/i386/i686/multiarch/varshift.S: New file.
15582 * sysdeps/x86_64/multiarch/varshift.h: New file.
15583 * sysdeps/x86_64/multiarch/varshift.S: New file.
15584
84b9230c
MF
155852010-08-21 Mike Frysinger <vapier@gentoo.org>
15586
15587 * configure.in: Move assembler checks to before sysdep dir checking.
15588
9bbd0ddc
PB
155892010-08-20 Petr Baudis <pasky@suse.cz>
15590
15591 * LICENSES: Sync the sunrpc license.
15592
9da4bb31
UD
155932010-08-19 Ulrich Drepper <drepper@redhat.com>
15594
a7ab6ec8
UD
15595 * sunrpc/auth_des.c: Update copyright notice once again.
15596 * sunrpc/auth_none.c: Likewise.
15597 * sunrpc/auth_unix.c: Likewise.
15598 * sunrpc/authdes_prot.c: Likewise.
15599 * sunrpc/authuxprot.c: Likewise.
15600 * sunrpc/bindrsvprt.c: Likewise.
15601 * sunrpc/clnt_gen.c: Likewise.
15602 * sunrpc/clnt_perr.c: Likewise.
15603 * sunrpc/clnt_raw.c: Likewise.
15604 * sunrpc/clnt_simp.c: Likewise.
15605 * sunrpc/clnt_tcp.c: Likewise.
15606 * sunrpc/clnt_udp.c: Likewise.
15607 * sunrpc/clnt_unix.c: Likewise.
15608 * sunrpc/des_crypt.c: Likewise.
15609 * sunrpc/des_soft.c: Likewise.
15610 * sunrpc/get_myaddr.c: Likewise.
15611 * sunrpc/getrpcport.c: Likewise.
15612 * sunrpc/key_call.c: Likewise.
15613 * sunrpc/key_prot.c: Likewise.
15614 * sunrpc/openchild.c: Likewise.
15615 * sunrpc/pm_getmaps.c: Likewise.
15616 * sunrpc/pm_getport.c: Likewise.
15617 * sunrpc/pmap_clnt.c: Likewise.
15618 * sunrpc/pmap_prot.c: Likewise.
15619 * sunrpc/pmap_prot2.c: Likewise.
15620 * sunrpc/pmap_rmt.c: Likewise.
15621 * sunrpc/rpc/auth.h: Likewise.
15622 * sunrpc/rpc/auth_unix.h: Likewise.
15623 * sunrpc/rpc/clnt.h: Likewise.
15624 * sunrpc/rpc/des_crypt.h: Likewise.
15625 * sunrpc/rpc/key_prot.h: Likewise.
15626 * sunrpc/rpc/netdb.h: Likewise.
15627 * sunrpc/rpc/pmap_clnt.h: Likewise.
15628 * sunrpc/rpc/pmap_prot.h: Likewise.
15629 * sunrpc/rpc/pmap_rmt.h: Likewise.
15630 * sunrpc/rpc/rpc.h: Likewise.
15631 * sunrpc/rpc/rpc_des.h: Likewise.
15632 * sunrpc/rpc/rpc_msg.h: Likewise.
15633 * sunrpc/rpc/svc.h: Likewise.
15634 * sunrpc/rpc/svc_auth.h: Likewise.
15635 * sunrpc/rpc/types.h: Likewise.
15636 * sunrpc/rpc/xdr.h: Likewise.
15637 * sunrpc/rpc_clntout.c: Likewise.
15638 * sunrpc/rpc_cmsg.c: Likewise.
15639 * sunrpc/rpc_common.c: Likewise.
15640 * sunrpc/rpc_cout.c: Likewise.
15641 * sunrpc/rpc_dtable.c: Likewise.
15642 * sunrpc/rpc_hout.c: Likewise.
15643 * sunrpc/rpc_main.c: Likewise.
15644 * sunrpc/rpc_parse.c: Likewise.
15645 * sunrpc/rpc_parse.h: Likewise.
15646 * sunrpc/rpc_prot.c: Likewise.
15647 * sunrpc/rpc_sample.c: Likewise.
15648 * sunrpc/rpc_scan.c: Likewise.
15649 * sunrpc/rpc_scan.h: Likewise.
15650 * sunrpc/rpc_svcout.c: Likewise.
15651 * sunrpc/rpc_tblout.c: Likewise.
15652 * sunrpc/rpc_util.c: Likewise.
15653 * sunrpc/rpc_util.h: Likewise.
15654 * sunrpc/rpcinfo.c: Likewise.
15655 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
15656 * sunrpc/rpcsvc/key_prot.x: Likewise.
15657 * sunrpc/rpcsvc/klm_prot.x: Likewise.
15658 * sunrpc/rpcsvc/mount.x: Likewise.
15659 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
15660 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
15661 * sunrpc/rpcsvc/rex.x: Likewise.
15662 * sunrpc/rpcsvc/rstat.x: Likewise.
15663 * sunrpc/rpcsvc/rusers.x: Likewise.
15664 * sunrpc/rpcsvc/sm_inter.x: Likewise.
15665 * sunrpc/rpcsvc/spray.x: Likewise.
15666 * sunrpc/rpcsvc/yppasswd.x: Likewise.
15667 * sunrpc/rtime.c: Likewise.
15668 * sunrpc/svc.c: Likewise.
15669 * sunrpc/svc_auth.c: Likewise.
15670 * sunrpc/svc_authux.c: Likewise.
15671 * sunrpc/svc_raw.c: Likewise.
15672 * sunrpc/svc_run.c: Likewise.
15673 * sunrpc/svc_simple.c: Likewise.
15674 * sunrpc/svc_tcp.c: Likewise.
15675 * sunrpc/svc_udp.c: Likewise.
15676 * sunrpc/svc_unix.c: Likewise.
15677 * sunrpc/svcauth_des.c: Likewise.
15678 * sunrpc/xcrypt.c: Likewise.
15679 * sunrpc/xdr.c: Likewise.
15680 * sunrpc/xdr_array.c: Likewise.
15681 * sunrpc/xdr_float.c: Likewise.
15682 * sunrpc/xdr_mem.c: Likewise.
15683 * sunrpc/xdr_rec.c: Likewise.
15684 * sunrpc/xdr_ref.c: Likewise.
15685 * sunrpc/xdr_sizeof.c: Likewise.
15686 * sunrpc/xdr_stdio.c: Likewise.
15687
9da4bb31
UD
15688 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
15689 handling.
15690
bdaa77bc
AS
156912010-08-19 Andreas Schwab <schwab@redhat.com>
15692
15693 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
15694
fe2f79db
LM
156952010-08-19 Luis Machado <luisgpm@br.ibm.com>
15696
15697 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
15698 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
15699 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
15700 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
15701 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
15702 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
15703 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
15704 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
15705 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
15706 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
15707 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
15708 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
15709 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
15710 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
15711
b9b42ee0
AB
157122010-07-26 Anton Blanchard <anton@samba.org>
15713
15714 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
15715 * malloc/arena.c (heap_trim): Likewise.
15716
1c06ba31
UD
157172010-08-16 Ulrich Drepper <drepper@redhat.com>
15718
15719 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
15720 here. Not...
15721 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
15722 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
15723
f8392f40
L
157242010-08-12 H.J. Lu <hongjiu.lu@intel.com>
15725
15726 * sysdeps/i386/elf/Makefile: New file.
15727
3162f12e
AS
157282010-08-14 Andreas Schwab <schwab@linux-m68k.org>
15729
15730 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
15731 from fanotify_init.
15732 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
15733 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
15734
28c90b2c
UD
157352010-08-15 Ulrich Drepper <drepper@redhat.com>
15736
15737 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
15738 of strncasecmp_l.
1feccb6c 15739 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 15740
ca6bb004
UD
157412010-08-14 Ulrich Drepper <drepper@redhat.com>
15742
e9f82e0d
UD
15743 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
15744 strncase_l-nonascii.
15745 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
15746 Add strncase_l-ssse3.
15747 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
15748 * sysdeps/x86_64/strcmp.S: Likewise.
15749 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
15750 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
15751 * sysdeps/x86_64/strncase.S: New file.
15752 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
15753 * sysdeps/x86_64/strncase_l.S: New file.
15754 * string/Makefile (strop-tests): Add strncasecmp.
15755 * string/test-strncasecmp.c: New file.
15756
15757 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
15758 warning.
15759
ca6bb004
UD
15760 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
15761 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
15762
052fa7b3
AS
157632010-08-14 Andreas Schwab <schwab@linux-m68k.org>
15764
15765 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
15766
962dba78
UD
157672010-08-12 Ulrich Drepper <drepper@redhat.com>
15768
15769 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
15770 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
15771 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
15772
bebff237
AM
157732010-05-01 Alan Modra <amodra@gmail.com>
15774
15775 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
15776 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
15777 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
15778 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
15779 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
15780 tidying. Don't tail-call __sigjmp_save for static lib.
15781 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
15782 save location.
15783 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
15784 (CALL_MCOUNT): Add eh info, and nop after bl.
15785 (TAIL_CALL_SYSCALL_ERROR): New macro.
15786 (PSEUDO_RET): Use it.
15787 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
15788 Correct save location of integer regs and cr.
15789 (_dl_profile_resolve): Correct cr save location. Delete nops
15790 after bl when SHARED. Reduce cfi size a little by better
15791 placement of cfi directives.
15792 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
15793 make a stack frame. Instead use parm save area as a temp.
15794 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
15795 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
15796 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
15797 Don't make a stack frame for parent, use parm save area.
15798 Increase child stack frame to 112 bytes. Don't save unused reg,
15799 and adjust reg usage. Set up cfi on error recovery and
15800 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
15801 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
15802 (__makecontext): Add dummy nop after jump to exit.
15803 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
15804 Use correct parm save area and cr save, reduce stack frame.
15805 Correct cfi for possible PSEUDO_RET frame setup.
15806 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
15807 Branch to local label emitted by PSEUDO_RET rather than
15808 __syscall_error.
15809
02637374
AS
158102010-08-12 Andreas Schwab <schwab@redhat.com>
15811
15812 [BZ #11904]
15813 * locale/programs/locale.c (print_assignment): New function.
15814 (show_locale_vars): Use it.
15815
c3e2f19b
UD
158162010-08-11 Ulrich Drepper <drepper@redhat.com>
15817
3cdaa6ad
UD
15818 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
15819 field.
15820 (struct statfs64): Likewise.
15821 (_STATFS_F_FLAGS): Define.
15822 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
15823 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
15824 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
15825 (ST_VALID): Define locally.
15826 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
15827 __statvfs_getflags, use the provided value.
15828 * sysdeps/unix/sysv/linux/kernel-features.h: Define
15829 __ASSUME_STATFS_F_FLAGS.
15830
754f7da3
UD
15831 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
15832
10b3bedc
UD
15833 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
15834 Add sys/fanotify.h.
15835 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
15836 fanotify_mask for GLIBC_2.13.
15837 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
15838 fanotify_init and fanotify_mark.
15839 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
15840 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
15841
c08fb0d7
UD
15842 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
15843 Add prlimit.
15844 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
15845 prlimit64 for GLIBC_2.13.
15846 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
15847 prlimit64.
15848 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
15849 syscall.
15850 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
15851 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
15852 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
15853 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
15854 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
15855 add prlimit alias.
15856 * sysdeps/unix/sysv/linux/prlimit.c: New file.
15857
15bac72b
UD
15858 [BZ #11903]
15859 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
15860 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
15861
c3e2f19b
UD
15862 * nss/Makefile: Add rules to build and run tst-nss-test1.
15863 * shlib-versions: Add entry for libnss_test1.
15864 * nss/nss_test1.c: New file.
15865 * nss/tst-nss-test1.c: New file.
15866
15867 * nss/nsswitch.c (__nss_database_custom): Define new variable.
15868 (__nss_configure_lookup): Set appropriate entry in
15869 __nss_configure_lookup to true.
15870 * nss/nsswitch.h: Define enum with indeces of databases in
15871 databases and __nss_database_custom arrays. Declare
15872 __nss_database_custom.
15873 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
15874 to avoid using nscd when custom rules are installed.
15875 * nss/getXXbyYY_r.c: Likewise.
15876 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
15877
15878 * nss/nss_files/files-parse.c: Whitespace fixes.
15879
f15ce4d8
UD
158802010-08-09 Ulrich Drepper <drepper@redhat.com>
15881
15882 [BZ #11883]
15883 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
15884 * posix/fnmatch_loop.c: Likewise.
15885
d22e4cc9
AK
158862010-07-17 Andi Kleen <ak@linux.intel.com>
15887
15888 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
15889 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
15890 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
15891 * Versions.def [GLIBC_2.13]: Add.
15892
805bc17d
UD
158932010-08-06 Ulrich Drepper <drepper@redhat.com>
15894
15895 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
15896 Also fail if tpwd after pwuid call is NULL.
15897
5a42321d
ST
158982010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
15899
15900 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
15901 when converting to ms.
15902
fd3ebeda
ST
159032010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
15904
15905 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
15906 EOPNOTSUPP errors with ENOTTY.
15907 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
15908 EOPNOTSUPP errors with ENOTTY.
15909
73507d3a
UD
159102010-07-31 Ulrich Drepper <drepper@redhat.com>
15911
15912 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
15913 Add strcasecmp_l-ssse3.
15914 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
15915 strcasecmp.
15916 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
15917 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
15918 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
15919
fe36dd02
UD
159202010-07-30 Ulrich Drepper <drepper@redhat.com>
15921
66f6765a
UD
15922 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
15923
42e08a54
UD
15924 * string/Makefile (strop-tests): Add strcasecmp.
15925 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
15926 strcasecmp_l-nonascii.
15927 (gen-as-const-headers): Add locale-defines.sym.
15928 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
15929 * sysdeps/x86_64/strcasecmp.S: New file.
15930 * sysdeps/x86_64/strcasecmp_l.S: New file.
15931 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
15932 * sysdeps/x86_64/locale-defines.sym: New file.
15933 * string/test-strcasecmp.c: New file.
15934
fe36dd02
UD
15935 * string/test-strcasestr.c: Test both ends of the range of characters.
15936 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
15937
48cbc0d6
RM
159382010-07-29 Roland McGrath <roland@redhat.com>
15939
76e6d6bc 15940 [BZ #11856]
48cbc0d6
RM
15941 * manual/locale.texi (Yes-or-No Questions): Fix example code.
15942
880113d9
UD
159432010-07-27 Ulrich Drepper <drepper@redhat.com>
15944
15945 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
15946 for ld.so.
15947
deb9cabb
AS
159482010-07-27 Andreas Schwab <schwab@redhat.com>
15949
15950 * manual/memory.texi (Malloc Tunable Parameters): Document
15951 M_PERTURB.
15952
1c7570ff
RM
159532010-07-26 Roland McGrath <roland@redhat.com>
15954
15955 [BZ #11840]
15956 * configure.in (-fgnu89-inline check): Set and substitute
15957 gnu89_inline, not libc_cv_gnu89_inline.
15958 * configure: Regenerated.
15959 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
15960
24fb0f88
UD
159612010-07-26 Ulrich Drepper <drepper@redhat.com>
15962
15963 * string/test-strnlen.c: New file.
15964 * string/Makefile (strop-tests): Add strnlen.
15965 * string/tester.c (test_strnlen): Add a few more test cases.
15966 * string/tst-strlen.c: Better error reporting.
15967
15968 * sysdeps/x86_64/strnlen.S: New file.
15969
8e96b93a
UD
159702010-07-24 Ulrich Drepper <drepper@redhat.com>
15971
15972 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
15973 lower-latency instructions.
15974
dbc676d4
UD
159752010-07-23 Ulrich Drepper <drepper@redhat.com>
15976
15977 * string/test-strcasestr.c: New file.
15978 * string/test-strstr.c: New file.
15979 * string/Makefile (strop-tests): Add strstr and strcasestr.
15980 * string/str-two-way.h: Don't undefine MAX.
15981 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
15982
f6a31e0e
AS
159832010-07-21 Andreas Schwab <schwab@redhat.com>
15984
15985 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
15986 strcasestr-nonascii.
15987 (CFLAGS-strcasestr-nonascii.c): Define.
15988 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
15989 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
15990 Remove unused attribute.
15991
5dbc3b6c
RM
159922010-07-20 Roland McGrath <roland@redhat.com>
15993
15994 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
15995 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
15996 ld.so.cache was broken. With it, there is no way to disable dsocaps
15997 like LD_HWCAP_MASK can disable hwcaps.
15998
23d101d8
EPM
159992010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
16000
16001 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
16002
cc9f2e47
UD
160032010-07-16 Ulrich Drepper <drepper@redhat.com>
16004
16005 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
16006 call in strcasestr.
16007 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
16008 __strcasestr_sse42_nonascii.
16009 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
16010 strcasestr-nonascii.c.
16011 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
16012
77c1b069
LM
160132010-06-15 Luis Machado <luisgpm@br.ibm.com>
16014
16015 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
16016 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
16017 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
16018 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
16019
440566c3
UD
160202010-07-09 Ulrich Drepper <drepper@redhat.com>
16021
16022 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
16023 fcntl.
16024
5be9d05d
AS
160252010-07-06 Andreas Schwab <schwab@redhat.com>
16026
c30b7ee2 16027 [BZ #11577]
5be9d05d
AS
16028 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
16029 dl_signal_cerror.
16030
8a492a67
UD
160312010-07-06 Ulrich Drepper <drepper@redhat.com>
16032
16033 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
16034 _PC_PIPE_BUF using F_GETPIPE_SZ.
16035
713df3d5
RM
160362010-07-05 Roland McGrath <roland@redhat.com>
16037
16038 * manual/arith.texi (Rounding Functions): Fix rint description
16039 implicit in round description.
16040
702e8f14
UD
160412010-07-02 Ulrich Drepper <drepper@redhat.com>
16042
16043 * elf/Makefile: Fix linking for a few tests to make recent linker
16044 happy.
16045
52ed8be9
AS
160462010-06-30 Andreas Schwab <schwab@redhat.com>
16047
16048 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
16049 $(common-objpfx)libc_nonshared.a.
16050
f47c9a11
LM
160512010-06-21 Luis Machado <luisgpm@br.ibm.com>
16052
16053 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
16054 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
16055 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
16056 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
16057 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
16058 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
16059 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
16060 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
16061 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
16062 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
16063 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
16064 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
16065 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
16066 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
16067 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
16068 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
16069 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
16070 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
16071 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
16072 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
16073 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
16074 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
16075 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
16076 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
16077 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
16078 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
16079 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
16080 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
16081 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
16082 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
16083 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
16084 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
16085 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
16086 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
16087 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
16088 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
16089 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
16090 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
16091 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
16092 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
16093 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
16094 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
16095 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
16096 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
16097 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
16098 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
16099 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
16100 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
16101
6fb8cbcb
L
161022010-06-25 H.J. Lu <hongjiu.lu@intel.com>
16103
16104 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
16105 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
16106 * string/memmove.c (memmove): Renamed to ...
16107 (MEMMOVE): ...this. Default to memmove.
16108 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
16109 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
16110 (END_CHK): Define.
16111 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
16112 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
16113 mempcpy-ssse3-back memmove-ssse3-back.
16114 * sysdeps/x86_64/multiarch/bcopy.S: New file .
16115 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
16116 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
16117 * sysdeps/x86_64/multiarch/memcpy.S: New file.
16118 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
16119 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
16120 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
16121 * sysdeps/x86_64/multiarch/memmove.c: New file.
16122 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
16123 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
16124 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
16125 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
16126 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
16127 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
16128 Define.
16129 (index_Fast_Copy_Backward): Define.
16130 (HAS_ARCH_FEATURE): Define.
16131 (HAS_FAST_REP_STRING): Define.
16132 (HAS_FAST_COPY_BACKWARD): Define.
16133
4e733bac 161342010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
16135
16136 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
16137 Restore proper fallback handling.
16138
63c4ed22
UD
161392010-06-19 Ulrich Drepper <drepper@redhat.com>
16140
ac2b484c
UD
16141 [BZ #11701]
16142 * posix/group_member.c (__group_member): Correct checking loop.
16143
63c4ed22
UD
16144 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
16145 OOM in getpwuid_r correctly. Return error number when the caller
16146 should return, otherwise -1.
16147 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
16148 call returning > 0 value.
16149 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
16150
765ade4b
AS
161512010-06-07 Andreas Schwab <schwab@redhat.com>
16152
16153 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
16154 libc_nonshared.a from targets in modules-names.
16155
80da2e09
KS
161562010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
16157
16158 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
16159 requires it.
16160
158db122
LM
161612010-06-10 Luis Machado <luisgpm@br.ibm.com>
16162
16163 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
16164 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
16165 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
16166 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
16167
caa78cf8
AS
161682010-06-02 Andreas Schwab <schwab@redhat.com>
16169
16170 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
16171
b2ef2c01
UD
161722010-06-14 Ulrich Drepper <drepper@redhat.com>
16173
16174 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
16175 and F_GETPIPE_SZ.
16176 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
16177 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
16178 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
16179 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
16180 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
16181 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
16182
fbd643b6
RM
161832010-06-14 Roland McGrath <roland@redhat.com>
16184
16185 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
16186
f32f2869
JJ
161872010-06-07 Jakub Jelinek <jakub@redhat.com>
16188
16189 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
16190 __REDIRECT followed by __THROW.
16191 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
16192 * posix/getopt.h (getopt): Likewise.
16193
2a50c078
EPM
161942010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
16195
16196 * hurd/lookup-at.c (__file_name_lookup_at): Accept
16197 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
16198 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
16199 in AT_FLAGS.
16200 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
16201 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
16202
eb5ad2eb
LM
162032010-05-28 Luis Machado <luisgpm@br.ibm.com>
16204
16205 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
16206
3c88fe1e
L
162072010-05-26 H.J. Lu <hongjiu.lu@intel.com>
16208
16209 [BZ #11640]
16210 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
16211 Properly check family and model.
16212
d2f73151
TY
162132010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
16214
16215 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
16216
ebd2e13d
LM
162172010-05-24 Luis Machado <luisgpm@br.ibm.com>
16218
16219 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
16220
b32b8b45
UD
162212010-05-21 Ulrich Drepper <drepper@redhat.com>
16222
16223 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
16224 symbol reference.
16225
9acbe24d
AS
162262010-05-19 Andreas Schwab <schwab@redhat.com>
16227
16228 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
16229 symbol reference.
16230
f0ccf6ea
AS
162312010-05-21 Andreas Schwab <schwab@redhat.com>
16232
3d04ff3a
AS
16233 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
16234 and internal_recvmmsg.
16235 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
16236 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
16237 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
16238 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
16239
f0ccf6ea
AS
16240 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
16241 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
16242 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
16243
5b08ac57
AS
162442010-05-20 Andreas Schwab <schwab@redhat.com>
16245
16246 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
16247
4828935d
LM
162482010-05-17 Luis Machado <luisgpm@br.ibm.com>
16249
16250 POWER7 optimizations.
16251 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
16252 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
16253
373d545e
UD
162542010-05-19 Ulrich Drepper <drepper@redhat.com>
16255
16256 * version.h: Update for 2.13 development version.
16257
21a2b1ae
AS
162582010-05-12 Andrew Stubbs <ams@codesourcery.com>
16259
16260 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
16261 exceptions. Return 0.
16262
3f7dcb2b
RM
162632010-05-07 Roland McGrath <roland@redhat.com>
16264
16265 * elf/ldconfig.c (main): Add a const.
16266
5f24d53a 162672010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 16268
a160f8d8
UD
16269 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
16270 (args_options): Add no-idn option.
16271 (ahosts_keys_int): Add idn_flags to ai_flags.
16272 (parse_option): Handle 'i' option to clear idn_flags.
16273
5f24d53a
UD
16274 * malloc/malloc.c (_int_free): Possible race in the most recently
16275 added check. Only act on the data if no current modification
16276 happened.
265bb1ce
UD
16277
16278See ChangeLog.17 for earlier changes.