]> git.ipfire.org Git - thirdparty/glibc.git/blame - ChangeLog
locales/tr_TR: Change currency from YTL to TL. [BZ#13996]
[thirdparty/glibc.git] / ChangeLog
CommitLineData
4af3879c
SP
12012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
2 Jakub Jelinek <jakub@redhat.com>
3
4 [BZ #14188]
5 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
6 where __builtin_expect is unavailable.
7
2fd6ff13
DM
82012-06-03 David S. Miller <davem@davemloft.net>
9
10 * stdlib/longlong.h: Updated from GCC.
11
173f7220
AS
122012-06-02 Andreas Schwab <schwab@linux-m68k.org>
13
14 [BZ #14042]
15 * sysdeps/powerpc/powerpc32/mcount.c: New file.
16 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
17 __mcount_internal.
18 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
19 (GLIBC_2.16): Likewise.
20
f34a1c6f
L
212012-06-01 H.J. Lu <hongjiu.lu@intel.com>
22
23 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
24
88a4576f
JM
252012-06-01 Joseph Myers <joseph@codesourcery.com>
26
ea32bcdd
JM
27 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
28 (default-abi): New variable.
29 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
30 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
31 variable.
32 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
33 Likewise.
34 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
35 Likewise.
36 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
37 Likewise.
38
88a4576f
JM
39 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
40 definition. Document in comment.
41
402fe938
DM
422012-06-01 David S. Miller <davem@davemloft.net>
43
44 * stdlib/longlong.h: Updated from GCC.
45
3553723f
L
462012-06-01 H.J. Lu <hongjiu.lu@intel.com>
47
48 [BZ #14117]
3bd872c4
L
49 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
50 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
51 sys/debugreg.h sys/io.h here.
52 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
53 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
54 sys/io.h.
55 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
56 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
57 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
58 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
59 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
60 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
61
3553723f
L
62 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
63 Define only if __x86_64__ is defined.
64
4842e4fe
JM
652012-06-01 Joseph Myers <joseph@codesourcery.com>
66
c5bfe3d5
JM
67 [BZ #14048]
68 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
69 Use int64_t for variable i.
70 * math/libm-test.inc (fmod_test): Add more tests.
71
4842e4fe
JM
72 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
73 z computation is not scheduled after fetestexcept.
74 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
75 Use math_force_eval instead of asm to ensure calculation scheduled
76 before exception test.
77 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
78 Ensure a1 + u.d computation is not scheduled after fetestexcept.
79
efb73488
AJ
802012-06-01 Aurelien Jarno <aurelien@aurel32.net>
81
82 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
83 computation is not scheduled after fetestexcept.
84
29bcce7c
L
852012-06-01 H.J. Lu <hongjiu.lu@intel.com>
86
87 [BZ #14117]
88 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
89 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
90
73a68f94
AZ
912012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
92
93 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
94 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
95
67b6df78
L
962012-05-31 H.J. Lu <hongjiu.lu@intel.com>
97
edf2933a 98 [BZ #14117]
ebc64a18
L
99 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
100 <bits/wordsize.h>.
101 (__WCHAR_MIN): Support __WORDSIZE == 64.
102 (__WCHAR_MAX): Likewise.
103
edf2933a
L
104 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
105 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
106
57c6cf40
L
107 [BZ #14183]
108 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
109 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
110
67b6df78 111 [BZ #14117]
8eb6281e
L
112 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
113 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
114
aac639f4
L
115 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
116 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
117
67b6df78
L
118 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
119 Defined to 1 if __x86_64__ isn't defined.
120 (_STAT_VER_LINUX_OLD): New.
121 (st_atime): Remove duplicate.
122 (st_mtime): Likewise.
123 (st_ctime): Likewise.
124
1c2cfe81
DM
1252012-05-31 David S. Miller <davem@davemloft.net>
126
127 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
128 entries.
129
5be8418c
AS
1302012-06-01 Andreas Schwab <schwab@linux-m68k.org>
131
e7725326
AS
132 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
133 gen-libm-test.pl.
134
5be8418c
AS
135 [BZ #14132]
136 * elf/dl-reloc.c: Include <_itoa.h>.
137 (_dl_reloc_bad_type): Remove use of INTUSE.
138 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
139 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
140 * stdio-common/psiginfo.c (psiginfo): Likewise.
141 * stdio-common/psignal.c (psignal): Likewise.
142 * string/strsignal.c (strsignal): Likewise.
143 * include/signal.h (_sys_siglist): Declare hidden proto.
144 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
145 INTVARDEF with libc_hidden_data_def.
146 * stdio-common/itoa-udigits.c: Likewise.
147 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
148 (_itoa_lower_digits_internal): Remove declaration.
149 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
150 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
151 (_sys_sigabbrev_internal): Remove aliases.
152 (_sys_siglist): Define hidden alias.
153
507352f1
MT
1542012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
155
156 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
157 bits/sysctl.h.
158
42bbb1c3
L
1592012-05-31 H.J. Lu <hongjiu.lu@intel.com>
160
161 [BZ #14117]
6bd784b6
L
162 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
163 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
164
8bca20f0
L
165 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
166 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
167 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
168 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
169 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
170 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
171
f9e890a9
L
172 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
173 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
174 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
175
471101a1
L
176 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
177 with __addr.
178 (insw): Likewise.
179 (insl): Likewise.
180 (outsb): Likewise.
181 (outsw): Likewise.
182 (outsl): Likewise.
183
6451c862
L
184 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
185 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
186 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
187
a254b8c9
L
188 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
189 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
190 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
191 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
192 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
193 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
194
b8dfdd92
L
195 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
196 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
197
578cd270
L
198 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
199 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
200
de662f5f
L
201 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
202 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
203 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
204
25653439
L
205 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
206 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
207 to ...
208 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
209
6bad24a0
L
210 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
211 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
212 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
213
42bbb1c3
L
214 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
215 for x86-64.
216 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
217
2d10d547
JM
2182012-05-31 Joseph Myers <joseph@codesourcery.com>
219
220 * math/math.h (M_El): Use two more decimal places.
221 (M_LOG2El): Likewise.
222 (M_LOG10El): Likewise.
223 (M_LN2l): Likewise.
224 (M_LN10l): Likewise.
225 (M_PIl): Likewise.
226 (M_PI_2l): Likewise.
227 (M_PI_4l): Likewise.
228 (M_1_PIl): Likewise.
229 (M_2_PIl): Likewise.
230 (M_2_SQRTPIl): Likewise.
231 (M_SQRT2l): Likewise.
232 (M_SQRT1_2l): Likewise.
233
f230c29b
DM
2342012-05-31 David S. Miller <davem@davemloft.net>
235
236 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
237 values between float registers.
238 * sysdeps/sparc/sparc64/memset.S: Likewise.
239 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
240
fed806c3
MF
2412012-05-31 Mike Frysinger <vapier@gentoo.org>
242
243 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
244 -D_FORTIFY_SOURCE=1.
245 (CPPFLAGS-tst-longjmp_chk.c): Define.
246 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
247 (CPPFLAGS-tst-longjmp_chk2.c): Define.
248 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
249 CFLAGS-tst-wchar-h.c.
250
30917259
MP
2512012-05-31 Marek Polacek <polacek@redhat.com>
252
253 [BZ #14132]
254 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
255 __endmntent_internal): Remove declaration.
256 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
257 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
258 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
259
1c58d5dc
DM
2602012-05-30 David S. Miller <davem@davemloft.net>
261
262 * sysdeps/sparc/sparc32/soft-fp/q_util.c
263 (___Q_simulate_exceptions): Use real FP ops rather than writing
264 into the %fsr.
265 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
266 Likewise.
267
7dc00e0d
L
2682012-05-30 H.J. Lu <hongjiu.lu@intel.com>
269
270 [BZ #14117]
0bd53985
L
271 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
272 * sysdeps/x86/bits/xtitypes.h: This.
273
3a257e66
L
274 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
275 * sysdeps/x86/bits/wordsize.h: This.
276
62f62904
L
277 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
278 * sysdeps/x86/bits/huge_vall.h: This.
279
404fe9d9
L
280 * sysdeps/i386/bits/select.h: Removed.
281 * sysdeps/x86_64/bits/select.h: Renamed to ...
282 * sysdeps/x86/bits/select.h: This.
283
d48d0446
L
284 * sysdeps/i386/bits/setjmp.h: Removed.
285 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
286 * sysdeps/x86/bits/setjmp.h: This.
287
7dc00e0d
L
288 * sysdeps/i386/bits/mathdef.h: Removed.
289 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
290 * sysdeps/x86/bits/mathdef.h: This.
291
03277f8f
AS
2922012-05-30 Andreas Schwab <schwab@linux-m68k.org>
293
294 [BZ #14132]
295 * include/sys/socket.h (__connect_internal)
296 (__libc_sa_len_internal): Remove declaration.
297 (__connect, __libc_sa_len): Declare hidden_proto.
298 (SA_LEN): Remove use of INTUSE.
299 * socket/connect.c: Add libc_hidden_def.
300 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
301 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
302 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
303 alias.
304 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
305 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
306 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
307 of adding _internal alias.
308
13764867
L
3092012-05-30 H.J. Lu <hongjiu.lu@intel.com>
310
311 [BZ #14117]
6bd97696
L
312 * sysdeps/i386/bits/link.h: Removed.
313 * sysdeps/i386/bits/linkmap.h: Likewise.
314 * sysdeps/x86_64/bits/link.h: Renamed to ...
315 * sysdeps/x86/bits/link.h: This.
316 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
317 * sysdeps/x86/bits/linkmap.h: This.
318
f726f0bb
L
319 * sysdeps/i386/bits/endian.h: Removed.
320 * sysdeps/x86_64/bits/endian.h: Renamed to ...
321 * sysdeps/x86/bits/endian.h: This.
322
13764867
L
323 * sysdeps/i386/bits/byteswap.h: Removed.
324 * sysdeps/i386/bits/byteswap-16.h: Likewise.
325 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
326 * sysdeps/x86/bits/byteswap.h: This.
327 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
328 * sysdeps/x86/bits/byteswap-16.h: This.
329 * sysdeps/i386/Implies: Add x86.
330 * sysdeps/x86_64/Implies: Likewise.
331
ae251b0b
DM
3322012-05-30 David S. Miller <davem@davemloft.net>
333
334 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
335 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
336 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
337 (FP_TRAPPING_EXCEPTIONS): Define.
338 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
339 (FP_TRAPPING_EXCEPTIONS): Define.
340 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
341 subnormals only when inexact has been signalled or underflow
342 exceptions are enabled.
343 (_FP_PACK_CANONICAL): Likewise.
344
d5c90867
L
3452012-05-30 H.J. Lu <hongjiu.lu@intel.com>
346
347 [BZ #14183]
348 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
349 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
350
63f1549e
RH
3512012-05-30 Richard Henderson <rth@twiddle.net>
352
8d8f2279
RH
353 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
354 with #ifndef NOT_IN_libc.
355
63f1549e
RH
356 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
357 marked to avoid plt entry.
358
0ab0291b
L
3592012-05-30 H.J. Lu <hongjiu.lu@intel.com>
360
361 [BZ #14112]
362 * Makeconfig (default-abi): New macro.
363 (abi-includes): Likewise.
364 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
365 $(abi-$(default-abi)-lib-soname) for soname if defined.
366 ($(common-objpfx)gnu/lib-names.stmp): Generate from
367 abi-variants.
368 * Makefile (installed-stubs): Likewise.
369 * include/stubs-biarch.h: Removed.
370 * scripts/lib-names.awk: Only handle one library at a time.
371 * scripts/soversions.awk: Remove WORDSIZE support.
372 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
373 entries.
374 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
375 Removed.
376 (syscall-list-default-condition): Likewise.
377 (syscall-list-default-condition): Likewise.
378 (syscall-list-includes): Likewise.
379 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
380 syscall-list-* with abi-*. Handle undefined abi-variants.
381 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
382 * sysdeps/unix/sysv/linux/i386/Implies: New file.
383 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
384 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
385 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
386 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
387 Removed.
388 (syscall-list-32-options): Likewise.
389 (syscall-list-32-condition): Likewise.
390 (syscall-list-64-options): Likewise.
391 (syscall-list-64-condition): Likewise.
392 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
393 macro.
394 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
395 Renamed to ...
396 (abi-*): This.
397 (abi-64-ld-soname): New macro.
398 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
399 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
400 Renamed to ...
401 (abi-*): This.
402 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
403 * sysdeps/x86_64/x32/shlib-versions: Likewise.
404
4da0431d
JM
4052012-05-30 Joseph Myers <joseph@codesourcery.com>
406
3a85279c
JM
407 * sysdeps/unix/sysv/linux/kernel-features.h
408 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
409 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
410 include <kernel-features.h>.
411 [!__NR_ftruncate64]: Remove conditional code.
412 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
413 [__NR_ftruncate64]: Make code unconditional.
414 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
415 * sysdeps/unix/sysv/linux/truncate64.c: Do not
416 include <kernel-features.h>.
417 [!__NR_ftruncate64]: Remove conditional code.
418 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
419 [__NR_ftruncate64]: Make code unconditional.
420 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
421 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
422 include <kernel-features.h>.
423 [!__NR_ftruncate64]: Remove conditional code.
424 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
425 [__NR_ftruncate64]: Make code unconditional.
426 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
427 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
428 include <kernel-features.h>.
429 [!__NR_ftruncate64]: Remove conditional code.
430 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
431 [__NR_ftruncate64]: Make code unconditional.
432 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
433
4da0431d
JM
434 * configure.in (libc_cv_fpie): Weaken to a compile test using
435 LIBC_TRY_CC_OPTION.
436 * configure: Regenerated.
437
11ef492c
AK
4382012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
439
440 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
441 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
442 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
443 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
444 Refreshed.
445 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
446 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
447 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
448 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
449 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
450 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
451 Refreshed.
452
d66ef399
DM
4532012-05-27 David S. Miller <davem@davemloft.net>
454
455 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
456 (___Q_zero): New.
457 (__Q_simulate_exceptions): Return void. Change to simulate
458 exceptions by writing into the %fsr.
459 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
460 (__Qp_handle_exceptions): Likewise.
461 (numbers): Delete.
462 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
463 __Qp_handle_exceptions.
464 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
465 __Qp_handle_exceptions.
466 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
467 as unused and give dummy FP_RND_NEAREST initializer.
468 (FP_INHIBIT_RESULTS): Define.
469 (___Q_simulate_exceptions): Update declaration.
470 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
471 formatting.
472 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
473 as unused and give dummy FP_RND_NEAREST initializer.
474 (__Qp_handle_exceptions): Update declaration.
475 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
476 formatting.
477
04fb54b5
TS
4782012-05-27 Thomas Schwinge <thomas@codesourcery.com>
479
480 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
481 the temporary FPU control word.
482 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
483 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
484 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
485 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
486 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
487 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
488 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
489 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
490 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
491 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
492 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
493
3f99608f
KK
4942012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
495
496 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
497 fields.
498
65a4de4e
CLT
4992012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
500
501 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
502 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
503 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
504 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
505 Likewise.
506 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
507 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
508 Likewise.
509
15749d40
UD
5102012-05-27 Ulrich Drepper <drepper@gmail.com>
511
512 * po/h.po: Update from translation team.
513
25dbcb27
AS
5142012-05-26 Andreas Schwab <schwab@linux-m68k.org>
515
3d3f8e55
AS
516 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
517
25dbcb27
AS
518 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
519 handling of denormals.
520 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
521 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
522 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
523 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
524 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
525 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
526 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
527 Likewise.
528
7ad47a80 5292012-05-26 Marek Polacek <polacek@redhat.com>
d81dcb35
MP
530
531 [BZ #14152]
532 * math/libm-test.inc (fma_test): Don't always expect underflow
533 exception.
534
9c6ea9fa
SP
5352012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
536
537 [BZ #12416]
538 * elf/tst-execstack.c: Include stackinfo.h.
539 (do_test): Adjust test case to ensure that pthread_getattr_np
540 behaviour remains the same after marking stack executable.
541
a8239222
JM
5422012-05-25 Joseph Myers <joseph@codesourcery.com>
543
544 * sysdeps/unix/sysv/linux/kernel-features.h
545 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
546 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
547 kernel-features.h.
548 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
549 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
550 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
551 kernel-features.h.
552 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
553 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
554
918b5606
L
5552012-05-25 H.J. Lu <hongjiu.lu@intel.com>
556
557 * configure.in: Define the default includes to being none.
558 * configure: Regenerated.
559
3a097cc7
RM
5602012-05-25 Roland McGrath <roland@hack.frob.com>
561
8422c9a5
RM
562 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
563 * sysdeps/x86_64/setjmp.S: Likewise.
564 * sysdeps/i386/bsd-setjmp.S: Likewise.
565 * sysdeps/i386/bsd-_setjmp.S: Likewise.
566 * sysdeps/i386/setjmp.S: Likewise.
567 * sysdeps/i386/__longjmp.S: Likewise.
568 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
569 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
570
3a097cc7
RM
571 * include/stap-probe.h: New file.
572 * configure.in: Handle --enable-systemtap.
573 * configure: Regenerated.
574 * config.h.in (USE_STAP_PROBE): New #undef.
575 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
576 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
577 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
578
21708942
JM
5792012-05-25 Joseph Myers <joseph@codesourcery.com>
580
581 [BZ #13717]
582 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
583 to 2.4.0 where earlier.
584 * sysdeps/unix/sysv/linux/configure: Regenerated.
585 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
586 <kernel-features.h>.
587 [__ASSUME_32BITUIDS]: Make code unconditional.
588 [!__ASSUME_32BITUIDS]: Remove conditional code.
589 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
590 <kernel-features.h>.
591 [__ASSUME_32BITUIDS]: Make code unconditional.
592 [!__ASSUME_32BITUIDS]: Remove conditional code.
593 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
594 [__ASSUME_32BITUIDS]: Make code unconditional.
595 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
596 * sysdeps/unix/sysv/linux/i386/getegid.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/geteuid.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/getgid.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/getgroups.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/getresgid.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/getresuid.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/getuid.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/lchown.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/i386/msgctl.c: Do not include
629 <kernel-features.h>.
630 [__ASSUME_32BITUIDS]: Make code unconditional.
631 [!__ASSUME_32BITUIDS]: Remove conditional code.
632 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
633 <kernel-features.h>.
634 [__ASSUME_32BITUIDS]: Make code unconditional.
635 [!__ASSUME_32BITUIDS]: Remove conditional code.
636 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
637 <kernel-features.h>.
638 [__NR_setresgid] (__setresgid): Do not declare.
639 [__ASSUME_32BITUIDS]: Make code unconditional.
640 [!__ASSUME_32BITUIDS]: Remove conditional code.
641 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
642 <kernel-features.h>.
643 [__NR_setresuid] (__setresuid): Do not declare.
644 [__ASSUME_32BITUIDS]: Make code unconditional.
645 [!__ASSUME_32BITUIDS]: Remove conditional code.
646 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
647 <kernel-features.h>.
648 [__ASSUME_32BITUIDS]: Make code unconditional.
649 [!__ASSUME_32BITUIDS]: Remove conditional code.
650 * sysdeps/unix/sysv/linux/i386/setfsuid.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/i386/setgid.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/i386/setgroups.c: Do not include
659 <kernel-features.h>.
660 [__ASSUME_32BITUIDS]: Make code unconditional.
661 [!__ASSUME_32BITUIDS]: Remove conditional code.
662 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
663 <kernel-features.h>.
664 [__ASSUME_32BITUIDS]: Make code unconditional.
665 [!__ASSUME_32BITUIDS]: Remove conditional code.
666 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
667 <kernel-features.h>.
668 [__ASSUME_32BITUIDS]: Make code unconditional.
669 [!__ASSUME_32BITUIDS]: Remove conditional code.
670 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
671 <kernel-features.h>.
672 [__ASSUME_32BITUIDS]: Make code unconditional.
673 [!__ASSUME_32BITUIDS]: Remove conditional code.
674 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
675 <kernel-features.h>.
676 [__ASSUME_32BITUIDS]: Make code unconditional.
677 [!__ASSUME_32BITUIDS]: Remove conditional code.
678 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
679 <kernel-features.h>.
680 [__ASSUME_32BITUIDS]: Make code unconditional.
681 [!__ASSUME_32BITUIDS]: Remove conditional code.
682 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
683 <kernel-features.h>.
684 [__ASSUME_32BITUIDS]: Make code unconditional.
685 [!__ASSUME_32BITUIDS]: Remove conditional code.
686 * sysdeps/unix/sysv/linux/kernel-features.h
687 (__ASSUME_SETRESUID_SYSCALL): Remove.
688 (__ASSUME_SETRESGID_SYSCALL): Likewise.
689 (__ASSUME_32BITUIDS): Likewise.
690 (__ASSUME_LDT_WORKS): Likewise.
691 (__ASSUME_O_DIRECTORY): Likewise.
692 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
693 architecture but not kernel version.
694 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
695 (__ASSUME_MMAP2_SYSCALL): Likewise.
696 (__ASSUME_STAT64_SYSCALL): Likewise.
697 (__ASSUME_IPC64): Likewise.
698 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
699 <kernel-features.h>.
700 [__ASSUME_32BITUIDS]: Make code unconditional.
701 [!__ASSUME_32BITUIDS]: Remove conditional code.
702 * sysdeps/unix/sysv/linux/opendir.c: Do not include
703 <kernel-features.h>.
704 [__ASSUME_O_DIRECTORY]: Make code unconditional.
705 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
706 132096]: Remove conditional code.
707 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
708 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
709 <kernel-features.h>.
710 [__ASSUME_32BITUIDS]: Make code unconditional.
711 [!__ASSUME_32BITUIDS]: Remove conditional code.
712 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
713 <kernel-features.h>.
714 [__ASSUME_32BITUIDS]: Make code unconditional.
715 [!__ASSUME_32BITUIDS]: Remove conditional code.
716 * sysdeps/unix/sysv/linux/setegid.c: Do not include
717 <kernel-features.h>.
718 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
719 unconditional.
720 (__setresgid): Do not declare.
721 [__ASSUME_32BITUIDS]: Make code unconditional.
722 [!__ASSUME_32BITUIDS]: Remove conditional code.
723 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
724 <kernel-features.h>.
725 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
726 unconditional.
727 (__setresuid): Do not declare.
728 [__ASSUME_32BITUIDS]: Make code unconditional.
729 [!__ASSUME_32BITUIDS]: Remove conditional code.
730 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
731 <kernel-features.h>.
732 [__ASSUME_32BITUIDS]: Make code unconditional.
733 [!__ASSUME_32BITUIDS]: Remove conditional code.
734 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
735 <kernel-features.h>.
736 [__ASSUME_32BITUIDS]: Make code unconditional.
737 [!__ASSUME_32BITUIDS]: Remove conditional code.
738
a386f1cc
RH
7392012-05-25 Richard Henderson <rth@twiddle.net>
740
741 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
742 dl_hwcap to ifunc resolver.
743 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
744 elf_ifunc_invoke.
745 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
746 dl_hwcap to ifunc resolver.
747 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
748
b6550497
JM
7492012-05-24 Joseph Myers <joseph@codesourcery.com>
750
751 [BZ #14153]
752 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
753 for |x| <= 2**-26, not 2**-57.
754 * math/libm-test.inc (acos_test): Do not allow spurious underflow
755 exception.
756
b0bc23a1
JL
7572012-05-24 Jeff Law <law@redhat.com>
758
759 * stdio-common/Makefile (tests): Add bug25.
760 * stdio-common/bug25.c: New test.
761
347c92e9
L
7622012-05-24 H.J. Lu <hongjiu.lu@intel.com>
763
764 [BZ #13576]
765 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
766 multiple of MALLOC_ALIGNMENT in size.
767 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
768
6bcc8b3f
JM
7692012-05-24 Joseph Myers <joseph@codesourcery.com>
770
771 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
772 Require >= 256.
773 (FILENAME_MAX): Use macro-int-constant.
774 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
775 (_IOFBF): Use macro-int-constant.
776 (_IOLBF): Likewise.
777 (_IONBF): Likewise.
778 (SEEK_CUR): Likewise.
779 (SEEK_END): Likewise.
780 (SEEK_SET): Likewise.
781 (TMP_MAX): Likewise.
782 (EOF): Use macro-int-constant. Require < 0.
783 (NULL): Use macro-constant. Require == 0.
784 (stdin): Require type to be FILE *.
785 (stdout): Likewise.
786 (stderr): Likewise.
787 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
788 macro-int-constant.
789 (EXIT_SUCCESS): Likewise.
790 (NULL): Use macro-constant. Require == 0.
791 (RAND_MAX): Use macro-int-constant.
792 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
793 [C99-based standards] (strtof): Require function.
794 [C99-based standards] (strtold): Likewise.
795 [C99-based standards] (strtoll): Likewise.
796 [C99-based standards] (strtoull): Likewise.
797 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
798 [ISO || ISO99 || ISO11] (limits.h): Likewise.
799 [ISO || ISO99 || ISO11] (math.h): Likewise.
800 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
801 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
802 [ISO || ISO99 || ISO11] (*_t): Do not allow.
803
d18ea0c5
AS
8042012-05-24 Andreas Schwab <schwab@linux-m68k.org>
805
806 [BZ #14132]
56d25bb8
AS
807 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
808 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
809 * intl/dgettext.c (DCGETTEXT): Likewise.
810 * intl/gettext.c (DCGETTEXT): Likewise.
811 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
812 * posix/regex_internal.h (gettext): Likewise.
813 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
814 Remove declaration.
815 * include/argz.h (__argz_count_internal)
816 (__argz_stringify_internal): Remove declaration.
817 (__argz_count, __argz_stringify): Declare hidden proto.
818 * intl/dcgettext.c: Remove use of INTDEF.
819 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
820 * string/argz-stringify.c: Likewise.
821 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
822 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
823 Declare hidden proto.
d18ea0c5
AS
824 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
825 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
826 Declare hidden proto.
827 * include/stdio.h (__asprintf_internal): Don't declare.
828 (__asprintf): Don't define as macro. Declare hidden proto.
829 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
830 (__fsetlocking): Declare hidden proto.
831 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
832 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
833 hidden proto.
834 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
835 (_IO_setlinebuf): Remove use of INTUSE.
836 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
837 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
838 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
839 Remove declaration.
840 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
841 (_IO_do_flush): Remove use of INTUSE.
842 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
843 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
844 (_IO_adjust_column, _IO_least_wmarker)
845 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
846 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
847 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
848 (_IO_default_doallocate, _IO_wdefault_doallocate)
849 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
850 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
851 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
852 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
853 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
854 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
855 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
856 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
857 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
858 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
859 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
860 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
861 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
862 proto.
863 (_IO_flush_all_internal, _IO_adjust_column_internal)
864 (_IO_default_uflow_internal, _IO_default_finish_internal)
865 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
866 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
867 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
868 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
869 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
870 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
871 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
872 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
873 (_IO_file_close_internal, _IO_file_close_it_internal)
874 (_IO_file_underflow_internal, _IO_file_overflow_internal)
875 (_IO_file_init_internal, _IO_file_attach_internal)
876 (_IO_file_fopen_internal, _IO_file_read_internal)
877 (_IO_file_sync_internal, _IO_file_seek_internal)
878 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
879 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
880 (_IO_str_underflow_internal, _IO_str_overflow_internal)
881 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
882 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
883 (_IO_list_all_internal, _IO_link_in_internal)
884 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
885 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
886 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
887 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
888 (_IO_do_write_internal, _IO_padn_internal)
889 (_IO_getline_info_internal, _IO_getline_internal)
890 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
891 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
892 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
893 (_IO_vfscanf_internal, _IO_vfprintf_internal)
894 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
895 (_IO_init_internal, _IO_un_link_internal): Don't declare.
896 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
897 with libc_hidden_ver, remove use of INTUSE.
898 * libio/genops.c: Likewise.
899 * libio/freopen.c: Likewise.
900 * libio/freopen64.c: Likewise.
901 * libio/iofclose.c: Likewise.
902 * libio/iofdopen.c: Likewise.
903 * libio/iofflush.c: Likewise.
904 * libio/iofflush_u.c: Likewise.
905 * libio/iofgets.c: Likewise.
906 * libio/iofgets_u.c: Likewise.
907 * libio/iofopen.c: Likewise.
908 * libio/iofopncook.c: Likewise.
909 * libio/iofread.c: Likewise.
910 * libio/iofread_u.c: Likewise.
911 * libio/ioftell.c: Likewise.
912 * libio/iofwrite.c: Likewise.
913 * libio/iogetline.c: Likewise.
914 * libio/iogets.c: Likewise.
915 * libio/iogetwline.c: Likewise.
916 * libio/iopadn.c: Likewise.
917 * libio/iopopen.c: Likewise.
918 * libio/ioseekoff.c: Likewise.
919 * libio/ioseekpos.c: Likewise.
920 * libio/iosetbuffer.c: Likewise.
921 * libio/iosetvbuf.c: Likewise.
922 * libio/ioungetc.c: Likewise.
923 * libio/ioungetwc.c: Likewise.
924 * libio/iovdprintf.c: Likewise.
925 * libio/iovsprintf.c: Likewise.
926 * libio/iovsscanf.c: Likewise.
927 * libio/memstream.c: Likewise.
928 * libio/obprintf.c: Likewise.
929 * libio/oldfileops.c: Likewise.
930 * libio/oldiofclose.c: Likewise.
931 * libio/oldiofdopen.c: Likewise.
932 * libio/oldiofopen.c: Likewise.
933 * libio/oldiopopen.c: Likewise.
934 * libio/oldstdfiles.c: Likewise.
935 * libio/putc.c: Likewise.
936 * libio/setbuf.c: Likewise.
937 * libio/setlinebuf.c: Likewise.
938 * libio/stdfiles.c: Likewise.
939 * libio/strops.c: Likewise.
940 * libio/vasprintf.c: Likewise.
941 * libio/vscanf.c: Likewise.
942 * libio/vsnprintf.c: Likewise.
943 * libio/vswprintf.c: Likewise.
944 * libio/wfiledoalloc.c: Likewise.
945 * libio/wfileops.c: Likewise.
946 * libio/wgenops.c: Likewise.
947 * libio/wmemstream.c: Likewise.
948 * libio/wstrops.c: Likewise.
949 * libio/__fpurge.c: Likewise.
950 * libio/__fsetlocking.c: Likewise.
951 * assert/assert.c: Likewise.
952 * debug/fgets_chk.c: Likewise.
953 * debug/fgets_u_chk.c: Likewise.
954 * debug/fread_chk.c: Likewise.
955 * debug/fread_u_chk.c: Likewise.
956 * debug/gets_chk.c: Likewise.
957 * debug/obprintf_chk.c: Likewise.
958 * debug/vasprintf_chk.c: Likewise.
959 * debug/vdprintf_chk.c: Likewise.
960 * debug/vsnprintf_chk.c: Likewise.
961 * debug/vsprintf_chk.c: Likewise.
962 * malloc/mtrace.c: Likewise.
963 * misc/error.c: Likewise.
964 * misc/syslog.c: Likewise.
965 * stdio-common/asprintf.c: Likewise.
966 * stdio-common/fxprintf.c: Likewise.
967 * stdio-common/getw.c: Likewise.
968 * stdio-common/isoc99_fscanf.c: Likewise.
969 * stdio-common/isoc99_scanf.c: Likewise.
970 * stdio-common/isoc99_vfscanf.c: Likewise.
971 * stdio-common/isoc99_vscanf.c: Likewise.
972 * stdio-common/isoc99_vsscanf.c: Likewise.
973 * stdio-common/printf-prs.c: Likewise.
974 * stdio-common/printf_fp.c: Likewise.
975 * stdio-common/printf_fphex.c: Likewise.
976 * stdio-common/printf_size.c: Likewise.
977 * stdio-common/putw.c: Likewise.
978 * stdio-common/scanf.c: Likewise.
979 * stdio-common/sprintf.c: Likewise.
980 * stdio-common/tmpfile.c: Likewise.
981 * stdio-common/vfprintf.c: Likewise.
982 * stdio-common/vfscanf.c: Likewise.
983 * stdlib/strfmon_l.c: Likewise.
984 * sunrpc/openchild.c: Likewise.
985 * sunrpc/xdr_stdio.c: Likewise.
986 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
987 * sysdeps/mach/hurd/tmpfile.c: Likewise.
988
d6c33fda
RM
9892012-05-24 Roland McGrath <roland@hack.frob.com>
990
c1487492
RM
991 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
992
993 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
994 in the third column, to generate for the shared library an IFUNC
995 that uses _dl_vdso_vsym.
996 * Makerules (COMPILE.c, compile-stdin.c): New variables.
997 * Makeconfig (object-suffixes-noshared): New variable.
998
999 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
1000 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
1001 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
1002 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
1003
d6c33fda
RM
1004 [BZ #14132]
1005 * include/sys/time.h (__gettimeofday): Remove macro.
1006 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
1007 * time/gettimeofday.c (__gettimeofday): Remove #undef.
1008 Remove INTDEF.
1009 (__gettimeofday): Add libc_hidden_def.
1010 (gettimeofday): Add libc_hidden_weak.
1011 * sysdeps/mach/gettimeofday.c: Likewise.
1012 * sysdeps/posix/gettimeofday.c: Likewise.
1013 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
1014 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
1015 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
1016 (__gettimeofday_internal): Remove strong_alias.
1017 (__gettimeofday): Add libc_hidden_def.
1018 (gettimeofday): Add libc_hidden_weak.
1019 * sysdeps/unix/syscalls.list (gettimeofday):
1020 Remove __gettimeofday_internal alias.
1021
b5a2bbe6
L
10222012-05-24 Daniel Jacobowitz <drow@false.org>
1023 H.J. Lu <hongjiu.lu@intel.com>
1024
1025 [BZ #12495]
1026 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
1027 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
1028 (largebin_index_32_big): New.
1029 (largebin_index): Use it for 16-byte alignment.
1030 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
1031 correction with front_misalign.
1032
cfba4fda
L
10332012-05-24 H.J. Lu <hongjiu.lu@intel.com>
1034
7f907421
L
1035 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
1036 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
1037 Likewise.
1038 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
1039 Likewise.
1040 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
1041 Likewise.
1042 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
1043 Likewise.
1044 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
1045 Likewise.
1046 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
1047 Likewise.
1048 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
1049 Likewise.
1050 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
1051 Likewise.
1052 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
1053 Likewise.
1054 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
1055 Likewise.
1056 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
1057 Likewise.
1058 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
1059 Likewise.
1060
cfba4fda
L
1061 * scripts/data/c++-types-x32-linux-gnu.data: New file.
1062 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
1063
80bad0cc
JM
10642012-05-24 Joseph Myers <joseph@codesourcery.com>
1065
7a25eb06
JM
1066 [BZ #10846]
1067 [BZ #14036]
1068 * math/libm-test.inc (exp_test): Add test from bug 14036.
1069 (pow_test): Add test from bug 10846.
1070
795405f9
JM
1071 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
1072 and other flags.
1073 (special_function): Do not include flags in test name.
1074 (parse_args): Likewise.
1075 * sysdeps/i386/fpu/libm-test-ulps: Update.
1076 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
1077 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
1078 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
1079 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1080
80bad0cc
JM
1081 * math/gen-libm-test.pl (%beautify): Add entries for underflow
1082 exceptions.
1083 * math/libm-test.inc ("Philosophy"): Update comment about
1084 exception testing.
1085 (UNDERFLOW_EXCEPTION): New macro.
1086 (UNDERFLOW_EXCEPTION_OK): Likewise.
1087 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
1088 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
1089 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
1090 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
1091 (INVALID_EXCEPTION_OK): Update value.
1092 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
1093 (OVERFLOW_EXCEPTION_OK): Likewise.
1094 (IGNORE_ZERO_INF_SIGN): Likewise.
1095 (test_exceptions): Handle underflow exceptions.
1096 (acos_test): Update for underflow exception expectations.
1097 (cexp_test): Likewise.
1098 (clog_test): Likewise.
1099 (clog10_test): Likewise.
1100 (csqrt_test): Likewise.
1101 (ctan_test): Likewise.
1102 (ctanh_test): Likewise.
1103 (exp_test): Likewise.
1104 (exp10_test): Likewise.
1105 (exp2_test): Likewise.
1106 (expm1_test): Likewise.
1107 (fma_test): Likewise.
1108 (j0_test): Likewise.
1109 (jn_test): Likewise.
1110 (nexttoward_test): Likewise.
1111 (pow_test): Likewise.
1112 (scalbn_test): Likewise.
1113 (scalbln_test): Likewise.
1114 (tan_test): Likewise.
1115 (y1_test): Likewise.
1116 * sysdeps/i386/fpu/libm-test-ulps: Update.
1117 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1118
9e0e3d0b
DM
11192012-05-23 David S. Miller <davem@davemloft.net>
1120
1121 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
1122 (__libc_sigaction): Remove unused local variables.
1123
ccd0a08f
L
11242012-05-23 H.J. Lu <hongjiu.lu@intel.com>
1125
1126 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
1127
62bdf9a6
PE
11282012-05-23 Paul Eggert <eggert@cs.ucla.edu>
1129
f8591f80
PE
1130 mktime: avoid signed integer overflow
1131 * time/mktime.c (__mktime_internal): Do not mishandle the case
1132 where diff == INT_MIN.
1133
94c7d826
PE
1134 mktime: simplify computation of average
1135 * time/mktime.c (ranged_convert): Use new time_t_avg function
1136 instead of rolling our own (probably-slower) code.
1137
ce73d683
PE
1138 mktime: do not assume signed right shift propagates sign bit
1139 * time/mktime.c (isdst_differ): New static function.
1140 (__mktime_internal): No need to normalize tm_isdst now.
1141 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
1142 tm_isdst values.
1143
72a22e59
PE
1144 mktime: merge another wrapv change from gnulib
1145 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
1146 from some compilers.
1147
68605433
PE
1148 mktime: remove incorrect attempt at unusual arithmetics
1149 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
1150 The code didn't really work on such machines anyway.
1151 (TYPE_MINIMUM): Assume two's complement.
1152 (twos_complement_arithmetic): Verify that long_int and time_t
1153 are two's complement (or unsigned, in the latter case).
1154
03cf7fe3
PE
1155 mktime: check signed shifts on long_int and time_t, too
1156 * time/mktime.c (SHR): Check that shifts work as desired
1157 on the types long_int and time_t too, as SHR is used on
1158 such types.
1159
f04dfbc2
PE
1160 mktime: do not assume 'long' is wide enough
1161 * time/mktime.c (verify): Move decl up.
1162 (long_int): New type.
1163 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
1164 to remove assumption in the code that 'long' is wide enough to
1165 store year values. This assumption is not true on x32 and on
1166 some non-glibc platforms.
1167
62bdf9a6
PE
1168 mktime: merge wrapv change from gnulib
1169 * time/mktime.c (WRAPV): New macro.
1170 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
1171 (guess_time_tm, __mktime_internal): Do not assume that signed
1172 integer overflow wraps around; modern compilers generate code
1173 where this assumption is no longer valid.
1174
5e292e4f
L
11752012-05-23 H.J. Lu <hongjiu.lu@intel.com>
1176
1177 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
1178 Replace "jmp L(pseudo_end)" with "ret".
1179 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
1180 Likewise.
1181
8caf8c87
AJ
11822012-05-23 Andreas Jaeger <aj@suse.de>
1183
1184 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
1185 * sysdeps/unix/sysv/linux/poll.c: Remove file.
1186
1a09dc56
AJ
11872012-05-23 Andreas Jaeger <aj@suse.de>
1188 Maximilian Attems <max@stro.at>
1189
1190 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
1191 New macros.
1192
1c87aba0
L
11932012-05-23 H.J. Lu <hongjiu.lu@intel.com>
1194
1195 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
1196 code so that pseudo_end is just ret and the stack pointer is
1197 correct also for static library in error case.
1198
40e45bd5
JM
11992012-05-23 Joseph Myers <joseph@codesourcery.com>
1200
c2670533
JM
1201 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
1202 move to syscalls.list.
1203 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
1204 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
1205 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
1206 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
1207
40e45bd5
JM
1208 * manual/install.texi (Running make install): Do not mention Linux
1209 kernel version for which pt_chown is not needed.
1210 (Linux): Do not mention problems with nscd with 2.0 kernels.
1211 * INSTALL: Regenerated.
1212
be08eda5
AJ
12132012-05-23 Andreas Jaeger <aj@suse.de>
1214
1215 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
1216 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
1217 macro.
1218 * sysdeps/unix/sysv/linux/s390/bits/mman.h
1219 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
1220 * sysdeps/unix/sysv/linux/sh/bits/mman.h
1221 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
1222 * sysdeps/unix/sysv/linux/i386/bits/mman.h
1223 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
1224 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
1225 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
1226 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
1227 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
1228 * sysdeps/unix/sysv/linux/bits/in.h
1229 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
1230
a6a056bb
RM
12312012-05-22 Roland McGrath <roland@hack.frob.com>
1232
1233 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
1234 (PREPARE_VERSION): Just use assert instead, it will be elided
1235 under [NDEBUG] anyway.
1236
c9009328
L
12372012-05-22 H.J. Lu <hongjiu.lu@intel.com>
1238
1239 * sysdeps/unix/sysv/linux/Makefile: Include
1240 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
cb191f23 1241 (sysdep_routines): Remove sysctl.
c9009328
L
1242 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
1243 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
1244 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
1245 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
1246 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
1247
73338355
AJ
12482012-05-22 Andreas Jaeger <aj@suse.de>
1249
1250 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
1251 that pseudo_end is just ret and the stack pointer is correct also
1252 for static library in error case.
1253
d44638b0
PP
12542012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
1255
1256 [BZ #14122]
1257 * nss/nsswitch.c (defconfig_entries): New variable.
1258 (__nss_database_lookup): Don't leak defconfig entries.
1259 (nss_parse_service_list): Don't leak on error paths.
1260 (free_database_entries): New function.
1261 (free_defconfig): New function.
1262 (free_mem): Move common code to free_database_entries.
1263
31a39bd8
L
12642012-05-22 H.J. Lu <hongjiu.lu@intel.com>
1265
da0331a8
L
1266 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
1267 Add arch_prctl.
1268 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
1269
31a39bd8
L
1270 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
1271 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
1272 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
1273 New macro.
1274 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
1275 (INTERNAL_SYSCALL_TYPES): Likewise.
1276 (LOAD_ARGS_TYPES_[1-6]): Likewise.
1277 (LOAD_REGS_TYPES_[1-6]): Likewise.
1278 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
1279 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
1280
45470df3
AZ
12812012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1282
1283 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
1284 copysignl for GLIBC_2_0.
1285 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
1286 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
1287 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
1288 logbl for GLIBC_2_0.
1289 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
1290 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
1291
98a61bcb
L
12922012-05-22 H.J. Lu <hongjiu.lu@intel.com>
1293
a4f6e481
L
1294 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
1295 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
1296
f63d5db6
L
1297 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
1298 Use "neg %eax".
1299
98a61bcb
L
1300 * time/mktime.c: Update copyright years.
1301
95770f14
PE
13022012-05-22 Paul Eggert <eggert@cs.ucla.edu>
1303
6226efbd
PE
1304 mktime: merge comment-quoting-style change from gnulib
1305 * time/mktime.c: Quote 'like this' in comments.
1306 The GNU coding standards suggest that we no longer quote `like this',
1307 as "`" and "'" are typically rendered asymmetrically nowadays.
1308 The typical gnulib style is to quote 'like this' when quoting
1309 code, and "like this" when quoting English.
1310
b99e4f78
PE
1311 * time/mktime.c (compile-command): Add "-I.".
1312
643e01e6
PE
1313 mktime: merge mktime-internal.h change from gnulib
1314 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
1315
2554247d
PE
1316 mktime: merge time_r change from gnulib
1317 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
1318
826dd0ab
PE
1319 mktime: merge DEBUG change from gnulib
1320 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
1321 case system <time.h> has a #define.
1322
bd83aabe
PE
1323 mktime: merge <sys/types.h> change from gnulib
1324 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
1325 since <time.t> is now guaranteed to define time_t.
1326
95770f14
PE
1327 mktime: merge HAVE_CONFIG_H change from gnulib
1328 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
1329
5e1a27a9
L
13302012-05-22 H.J. Lu <hongjiu.lu@intel.com>
1331
0e44a77e
L
1332 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
1333 Use "neg %eax".
1334
5e1a27a9
L
1335 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
1336 __rlim_t cast.
1337 (struct rusage): Use anonymous union to pad each field to
1338 __syscall_slong_t.
1339
46259bec
DM
13402012-05-21 David S. Miller <davem@davemloft.net>
1341
1342 * Makefules (o-iterator): Remove .s cases.
1343 (compile-command.s): Delete.
1344 (COMPILE.s): Delete.
1345 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
1346
59f0c22e
JM
13472012-05-21 Joseph Myers <joseph@codesourcery.com>
1348
1349 * configure.in (libc_cv_predef_stack_protector): Only consider
1350 "foobar" and "__stack_chk_fail" lines in libc_undefs.
1351 * configure: Regenerated.
1352
20c07380
L
13532012-05-21 H.J. Lu <hongjiu.lu@intel.com>
1354
bbb3154b
L
1355 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
1356 New macro. Use R*LP on int and pointer.
1357 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
c5b3a2c0
L
1358 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
1359 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
bbb3154b
L
1360 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
1361
20c07380
L
1362 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
1363 [__WORDSIZE_TIME64_COMPAT32] instead of
1364 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
1365 (struct utmp): Likewise.
1366 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
1367 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
1368 Renamed to ...
1369 (__WORDSIZE_TIME64_COMPAT32): This.
1370 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
1371 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
1372 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
1373 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
1374 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
1375 (__WORDSIZE_TIME64_COMPAT32): New macro.
1376
d8d1017e
AJ
13772012-05-21 Andreas Jaeger <aj@suse.de>
1378
1379 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
1380 only if [SHARED]. Add prototype for __wcschr_ia32.
1381
6c7fb145
RM
13822012-05-21 Roland McGrath <roland@hack.frob.com>
1383
1384 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
1385 of %rbp unmolested in the jmp_buf while mangling the low bits.
1386 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
1387 unmolested high bits of %rbp while demangling the low bits.
1388 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
1389
66274218
AJ
13902012-05-21 Andreas Jaeger <aj@suse.de>
1391
07c58f8f
AJ
1392 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
1393 * sunrpc/svc_simple.c: Use it for registerrpc.
1394 * sunrpc/xcrypt.c: Use it for passwd2des.
1395
66274218
AJ
1396 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
1397
61f65140
L
13982012-05-21 H.J. Lu <hongjiu.lu@intel.com>
1399
1400 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
1401 Don't define if [__SYSCALL_WORDSIZE != 32].
1402 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
1403 New macro.
1404
5fefb436
AJ
14052012-05-21 Bruno Haible <bruno@clisp.org>
1406 Andreas Jaeger <aj@suse.de>
1407
1408 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
1409 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
1410 inptr and inend for must_buffer_ch.
1411 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
1412 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
1413 * stdio-common/Makefile (tests): Remove bug15.
1414 (bug15-ENV): Remove macro.
1415 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
1416 anymore.
1417
d8e272ab
AJ
14182012-05-19 Andreas Jaeger <aj@suse.de>
1419 Roland McGrath <roland@hack.frob.com>
1420
1421 * manual/contrib.texi: Completely rewritten. It contains now an
1422 alphabetical list of contributors and their contributions.
1423
4a56a162
RH
14242012-05-21 Richard Henderson <rth@twiddle.net>
1425
1426 * misc/getauxval.c (__getauxval): Use unsigned long int.
1427 * misc/sys/auxv.h: Include <sys/cdefs.h>.
1428 (getauxval): Use unsigned long int.
1429
d024d23c
L
14302012-05-21 H.J. Lu <hongjiu.lu@intel.com>
1431
1432 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
1433
cbc00a03
RM
14342012-05-21 Roland McGrath <roland@hack.frob.com>
1435
1436 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
1437 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
1438 __alignof__ (long double).
1439
478143fa
AZ
14402012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1441
1442 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1443
c7683a6d
RH
14442012-05-20 Richard Henderson <rth@twiddle.net>
1445
1446 * misc/getauxval.c: New file.
1447 * misc/sys/auxv.h: New file.
1448 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
1449 (routines): Add getauxval.
1450 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
1451 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
1452 * elf/dl-sysdep.c (_dl_auxv): Remove.
1453 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
1454 * elf/dl-support.c (_dl_auxv): New variable.
1455 (_dl_aux_init): Initialize it.
1456 * manual/startup.texi (Auxiliary Vector): New node.
1457 * sysdeps/generic/bits/hwcap.h: New file.
1458 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
1459 * sysdeps/powerpc/sysdep.h: ... here. Include it.
1460 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
1461 * sysdeps/sparc/sysdep.h: ... here. Include it.
1462 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
1463 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
cbc00a03
RM
1464 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
1465 Update.
c7683a6d
RH
1466 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
1467 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
1468 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
1469 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
1470 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
1471 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
1472 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
1473 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
1474
a6f1845d
AZ
14752012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1476
1477 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1478
cbcbe830
DM
14792012-05-19 David S. Miller <davem@davemloft.net>
1480
1481 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1482
e0b16cc2
JM
14832012-05-19 Joseph Myers <joseph@codesourcery.com>
1484
1485 [BZ #14123]
1486 * math/s_ccosh.c: Include <float.h>
1487 (__ccosh): Avoid internal overflow calculating sinh and cosh
1488 values before multiplying by sin and cos values.
1489 * math/s_ccoshf.c: Likewise.
1490 * math/s_ccoshl.c: Likewise.
1491 * math/s_csin.c: Likewise.
1492 * math/s_csinf.c: Likewise.
1493 * math/s_csinl.c: Likewise.
1494 * math/s_csinh.c: Likewise.
1495 * math/s_csinhf.c: Likewise.
1496 * math/s_csinhl.c: Likewise.
1497 * math/libm-test.inc (ccos_test): Add more tests.
1498 (ccosh_test): Likewise.
1499 (csin_test): Likewise.
1500 (csinh_test): Likewise.
1501 * sysdeps/i386/fpu/libm-test-ulps: Update.
1502 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1503
6ad13e08
L
15042012-05-19 H.J. Lu <hongjiu.lu@intel.com>
1505
f66f0ce8
L
1506 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
1507 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
1508
6ad13e08
L
1509 * sysdeps/x86_64/x32/_itoa.h: Add comment.
1510
b1d072a7
JM
15112012-05-19 Joseph Myers <joseph@codesourcery.com>
1512
1513 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
1514 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
1515 * sysdeps/powerpc/soft-fp/Versions: Likewise.
1516 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
1517 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
1518 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
1519 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
1520 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
1521 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
1522 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
1523 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
1524 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
1525 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
1526 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
1527 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
1528 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
1529 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
1530 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
1531 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
1532 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
1533 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
1534 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
1535 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
1536 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
1537 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
1538 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
1539 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
1540 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
1541 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
1542 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
1543 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
1544
9eae47cb
AJ
15452012-05-18 Andreas Jaeger <aj@suse.de>
1546
1547 * csu/.gitignore: Delete.
1548
bb07f69f
L
15492012-05-18 H.J. Lu <hongjiu.lu@intel.com>
1550
1551 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
1552 (timex): Use __syscall_slong_t.
1553
e6bdb741
AJ
15542012-05-18 Andreas Jaeger <aj@suse.de>
1555 Carlos O'Donell <carlos_odonell@mentor.com>
1556
1557 * manual/install.texi (Configuring and compiling): Update
1558 description about files modified in the source directory.
d6c33fda 1559 * INSTALL: Regenerated.
e6bdb741 1560
1b74487e
L
15612012-05-18 H.J. Lu <hongjiu.lu@intel.com>
1562
1563 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
1564 value. Use "or" to set return value to -1.
1565 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
1566 negate return value.
1567
a88b64b9
TMQMF
15682012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
1569
1570 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
1571 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
1572 failure if the compiler has Graphite support disabled.
1573 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
1574 Likewise.
1575 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
1576 CFLAGS-memmove.c): Likewise.
1577 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
1578 Likewise.
1579
3707636e
L
15802012-05-18 H.J. Lu <hongjiu.lu@intel.com>
1581
610b8622
L
1582 * sysdeps/x86_64/x32/_itoa.h: New file.
1583
7cd195df
L
1584 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
1585 getdents system call only if kernel and user dirents have the
1586 same d_ino and d_off.
1587
94b07d20
L
1588 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
1589 LLONG_MAX != LONG_MAX.
1590 (_itoa_word): Use _ITOA_WORD_TYPE on value.
1591 (_fitoa_word): Likewise.
1592
18298070
L
1593 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
1594 years.
1595 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
1596 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
1597 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
1598
553c7ea4
L
1599 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
1600 include <bits/wordsize.h>. Check __x86_64__ instead of
1601 __WORDSIZE.
1602 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
1603 if __x86_64__ is defined. Use anonymous union on fpstate.
1604
3707636e
L
1605 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
1606 anonymous union.
1607
b53ef01a
AS
16082012-05-18 Andreas Schwab <schwab@linux-m68k.org>
1609
37fb1dc0
AS
1610 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
1611 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
1612 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
1613 Refer to _rtld_local_ro instead of _rtld_global_ro.
1614 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
1615 Likewise.
1616 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
1617 Likewise.
1618 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
1619 Likewise.
1620 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
1621 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
1622 of _rtld_global, and rtld_progname instead of _dl_argv[0].
1623
b53ef01a
AS
1624 * sysdeps/powerpc/powerpc32/dl-machine.c
1625 (__elf_machine_runtime_setup) [PROF]: Don't reference
1626 _dl_prof_resolve.
1627
7a185db2
AJ
16282012-05-18 Andreas Jaeger <aj@suse.de>
1629
1630 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
1631 function only available for GCCs before 3.4 since GCC 3.4
1632 introduced a builtin.
1633 (lrint): Likewise.
1634 (llrintf): Likewise.
1635 (llrint): Likewise.
1636 (fmaxf): Likewise.
1637 (fmax): Likewise.
1638 (fminf): Likewise.
1639 (fmin): Likewise.
1640 (rint): Likewise.
1641 (rintf): Likewise.
1642 (nearbyint): Likewise.
1643 (nearbyintf): Likewise.
1644 (ceil): Likewise.
1645 (ceilf): Likewise.
1646 (floor): Likewise.
1647 (floorf): Likewise.
1648
3e5aef87
L
16492012-05-17 H.J. Lu <hongjiu.lu@intel.com>
1650
428bd707
L
1651 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
1652 on both fields and cast pointer to __syscall_ulong_t.
1653
3e5aef87
L
1654 * bits/types.h (__fsword_t): New type.
1655 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
1656 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
1657 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
1658 (__FSWORD_T_TYPE): Likewise.
1659 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
1660 (__FSWORD_T_TYPE): Likewise.
1661 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
1662 (__FSWORD_T_TYPE): Likewise.
1663 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
1664 (__FSWORD_T_TYPE): Likewise.
1665 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
1666 __SWORD_TYPE with __fsword_t.
1667 (statfs64): Likewise.
1668
1ba7c3dc
DM
16692012-05-17 David S. Miller <davem@davemloft.net>
1670
1671 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
1672
59910343
AJ
16732012-05-17 Andreas Jaeger <aj@suse.de>
1674
1675 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
1676 warning.
1677
2e4c1e9e
L
16782012-05-17 H.J. Lu <hongjiu.lu@intel.com>
1679
1680 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
1681
de7f5ce7
AJ
16822012-05-17 Andreas Jaeger <aj@suse.de>
1683
1684 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
1685 when it is used.
1686
286abc3d
CM
16872012-05-17 Chris Metcalf <cmetcalf@tilera.com>
1688
1689 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
1690
477cc68e
L
16912012-05-17 H.J. Lu <hongjiu.lu@intel.com>
1692
1693 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
1694 * sysdeps/x86_64/tst-mallocalign1.c: New file.
1695
1a0994f5
CD
16962012-05-17 Andreas Jaeger <aj@suse.de>
1697 Carlos O'Donell <carlos_odonell@mentor.com>
1698
1699 [BZ #14059]
1700 * sysdeps/x86_64/multiarch/init-arch.h
1701 (bit_YMM_Usable): Rename to...
1702 (bit_AVX_Usable): ... this.
1703 (bit_FMA4_Usable): New macro.
1704 (bit_XMM_state): New macro.
1705 (bit_YMM_state): New macro.
1706 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
1707 [__ASSEMBLER__] (index_AVX_Usable): ... this.
1708 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
1709 (CPUID_OSXSAVE): New macro.
1710 (CPUID_AVX): New macro.
1711 (CPUID_FMA4): New macro.
1712 (index_YMM_Usable): Rename to...
1713 (index_AVX_Usable): ... this.
1714 (HAS_AVX): Use HAS_ARCH_FEATURE.
1715 (HAS_FMA4): Likewise.
1716 (HAS_YMM_USABLE): Remove.
1717 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
1718 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
1719 are present.
1720 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
1721 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
1722 * sysdeps/x86_64/multiarch/Makefile: Likewise.
1723 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
1724 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
1725
0af797de
CM
17262012-05-17 Chris Metcalf <cmetcalf@tilera.com>
1727
1728 * math/libm-test.c: Support platforms without multiple rounding modes.
1729 * math/bug-nextafter.c: Support platforms without FP exceptions.
1730 * math/bug-nexttoward.c: Likewise.
1731 * math/test-fenv.c: Likewise.
1732 * math/test-misc.c: Likewise.
1733 * stdlib/bug-getcontext.c: Likewise.
1734
e39745ff
AJ
17352012-05-17 Andreas Jaeger <aj@suse.de>
1736
1737 * manual/examples/search.c (critter_cmp): Change signature to
1738 avoid warnings.
1739 * manual/string.texi (Collation Functions): Likewise.
1740
48970aba
L
17412012-05-16 H.J. Lu <hongjiu.lu@intel.com>
1742
1743 * bits/types.h: Fold copyright years.
1744 * bits/typesizes.h: Likewise.
1745 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
1746 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
1747 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
1748 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
1749 * time/time.h: Likewise.
1750
bedee953
PP
17512012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
1752
1753 [BZ #208]
1754 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
1755 in instead of returning them. Return void.
1756 (__libc_mallinfo): Accumulate over all arenas.
1757 (__malloc_stats): Adjust for change in int_mallinfo interface.
1758
61653dfb
RM
17592012-05-16 Roland McGrath <roland@hack.frob.com>
1760
30b99d79
RM
1761 [BZ #10375]
1762 * configure.in (NM): Add AC_CHECK_TOOL for it.
1763 (libc_extra_cflags): New substituted variable.
1764 Check for -fstack-protector being used implicitly.
1765 * configure: Regenerated.
1766 * config.make.in (config-extra-cflags): New variable,
1767 gets @libc_extra_cflags@.
1768 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
1769
61653dfb
RM
1770 [BZ #10375]
1771 * configure.in: Check for _FORTIFY_SOURCE being predefined.
1772 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
1773 * configure: Regenerated.
1774 * config.make.in (CPPUNDEFS): New substituted variable.
1775 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
1776 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
1777 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
1778
661768bb
L
17792012-05-16 H.J. Lu <hongjiu.lu@intel.com>
1780
1781 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
1782 (mq_attr): Use __syscall_slong_t.
1783
d4261567
L
17842012-05-16 H.J. Lu <hongjiu.lu@intel.com>
1785
1786 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
1787 Check __x86_64__ instead of __WORDSIZE.
1788 (_STAT_VER_LINUX): Likewise.
1789 (stat): Check __x86_64__ instead of __WORDSIZE. Use
1790 __syscall_ulong_t and __syscall_slong_t.
1791 (stat64): Likewise.
1792
cf3ff365
L
17932012-05-16 H.J. Lu <hongjiu.lu@intel.com>
1794
1795 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
1796
76cf3e4d
L
17972012-05-16 H.J. Lu <hongjiu.lu@intel.com>
1798
1799 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
1800
a637753a
L
18012012-05-16 H.J. Lu <hongjiu.lu@intel.com>
1802
1803 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
1804 __syscall_ulong_t.
1805
d5e05119
L
1806 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
1807 include <bits/wordsize.h>. Check __x86_64__ instead of
1808 __WORDSIZE.
1809 (greg_t): Use "__extension__ long long int" if __x86_64__ is
1810 defined.
1811 (mcontext_t): Replace "unsigned long" with "unsigned long long".
1812
f62ee380
L
1813 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
1814 include <bits/wordsize.h>. Check __x86_64__ instead of
1815 __WORDSIZE.
1816 (user_regs_struct): Use "__extension__ unsigned long long"
1817 instead of "unsigned long" if __x86_64__ is defined.
1818 (user): Likewise. Pad after pointer field if __ILP32__ is
1819 defined.
1820
4e124ced
JM
18212012-05-16 Joseph Myers <joseph@codesourcery.com>
1822
6a3951a0
JM
1823 * configure.in (makeinfo): Require version 4.5 or later. Allow
1824 versions 5 to 9.
1825 * configure: Regenerated.
1826 * manual/install.texi (texinfo): Increase version requirement to
1827 4.5 or later.
1828 * INSTALL: Regenerated.
1829
4e124ced
JM
1830 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
1831
953ca31a
L
18322012-05-16 H.J. Lu <hongjiu.lu@intel.com>
1833
1834 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
1835
617aca05
L
1836 * sysdeps/x86_64/x32/ffs.c: New file.
1837
5762f7ae
L
1838 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
1839 __syscall_ulong_t.
1840 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
1841 defined. Use __syscall_ulong_t.
1842 (shminfo): Use __syscall_ulong_t.
1843 (shm_info): Likewise.
1844
a26b6856
L
1845 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
1846 __syscall_ulong_t.
1847
cb2b9ef7
L
1848 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
1849 <bits/wordsize.h>.
1850 (msgqnum_t): Use __syscall_ulong_t.
1851 (msglen_t): Likewise.
1852 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
1853 __syscall_ulong_t.
1854
34683bb0
L
1855 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
1856 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
1857
84a68786
L
1858 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
1859
48baa5f1
L
1860 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
1861 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
1862
180be88b
L
1863 * sysvipc/sys/msg.h (msgbuf): Replace long int with
1864 __syscall_slong_t.
1865
5e90c8ad
L
1866 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
1867 include <bits/wordsize.h>. Check __x86_64__ instead of
1868 __WORDSIZE.
1869
23dfb58b
L
1870 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
1871 "unsigned long long int" if __x86_64__ is defined.
1872 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
1873
ce5d54b0
L
1874 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
1875 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
1876 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
1877
13dc9eac
L
1878 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
1879 <stdint.h>.
1880 (GET_PC): Cast to uintptr_t first.
1881 (GET_FRAME): Likewise.
1882 (GET_STACK): Likewise.
1883
a7895d15
L
1884 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
1885 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
1886 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
1887 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
1888 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
1889 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
1890 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
1891 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
1892 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
1893 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
1894 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
1895 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
1896 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
1897 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
1898 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
1899 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
1900 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
1901 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
1902 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
1903 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
1904 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
1905 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
1906 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
1907 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
1908 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
1909 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
1910 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
1911 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
1912 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
1913
656416c9
AS
19142012-05-16 Andreas Schwab <schwab@linux-m68k.org>
1915
5bd66283
AS
1916 * Makerules (+depfiles): Also collect depfiles from .oS in
1917 $(extra-objs).
1918 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
1919 .oS, $(libnldbl-routines)).
1920
656416c9
AS
1921 * Makerules (native-compile-mkdep-flags): Define.
1922 * sunrpc/Makefile (extra-objs): Add $(addprefix
1923 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
1924 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
1925 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
1926 calling $(make-target-directory).
1927
a46f2169
L
19282012-05-15 H.J. Lu <hongjiu.lu@intel.com>
1929
1930 * bits/types.h (__snseconds_t): Removed.
1931 * time/time.h (struct timespec): Replace __snseconds_t with
1932 __syscall_slong_t.
1933 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
1934 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
1935 Likewise.
1936 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
1937 (__SNSECONDS_T_TYPE): Likewise.
1938 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
1939 (__SNSECONDS_T_TYPE): Likewise.
1940 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
1941 (__SNSECONDS_T_TYPE): Likewise.
1942
6af6528b
L
19432012-05-15 H.J. Lu <hongjiu.lu@intel.com>
1944
1945 * sysdeps/mach/hurd/bits/typesizes.h
1946 (__SYSCALL_SLONG_TYPE): New macro.
1947 (__SYSCALL_ULONG_TYPE): Likewise.
1948
de986b56
L
19492012-05-15 H.J. Lu <hongjiu.lu@intel.com>
1950
1951 * bits/types.h (__syscall_slong_t): New type.
1952 (__syscall_ulong_t): Likewise.
1953
1954 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
1955 (__SYSCALL_ULONG_TYPE): Likewise.
1956 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
1957 (__SYSCALL_SLONG_TYPE): Likewise.
1958 (__SYSCALL_ULONG_TYPE): Likewise.
1959 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
1960 (__SYSCALL_SLONG_TYPE): Likewise.
1961 (__SYSCALL_ULONG_TYPE): Likewise.
1962 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
1963 (__SYSCALL_SLONG_TYPE): Likewise.
1964 (__SYSCALL_ULONG_TYPE): Likewise.
1965
85736dc7
L
19662012-05-15 H.J. Lu <hongjiu.lu@intel.com>
1967
1968 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
1969 Add sigaltstack-offsets.sym.
1970 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
1971 <sigaltstack-offsets.h>.
1972 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
1973 longjmp_msg pointer.
1974 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
1975 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
1976 signal stack.
1977 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
1978
cc03b296
JM
19792012-05-15 Joseph Myers <joseph@codesourcery.com>
1980
a9538892
JM
1981 * elf/stackguard-macros.h: Remove file.
1982 * sysdeps/generic/stackguard-macros.h: New file.
1983 * sysdeps/i386/stackguard-macros.h: Likewise.
1984 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
1985 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
1986 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
1987 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
1988 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
1989 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
1990 * sysdeps/x86_64/stackguard-macros.h: Likewise.
1991 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
1992 <elf/stackguard-macros.h>.
1993
cc03b296
JM
1994 [BZ #14109]
1995 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
1996 __aligned__ in attribute.
1997 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
1998 (gregset_t): Likewise.
1999
93171016
L
20002012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2001
2002 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
2003 * sysdeps/x86_64/64/Implies-after: Here. New file.
2004 * sysdeps/x86_64/x32/Implies-after: New file.
2005
d86813a0
L
20062012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2007
2008 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
2009 and access return value for _dl_profile_fixup. Use R10_LP to
2010 load frame size.
2011
2953ec75
L
20122012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2013
2014 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
2015
3b550e9e
L
20162012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2017
2018 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
2019 * sysdeps/x86_64/x32/sysdep.h: New file.
2020
eda41706
L
20212012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2022
2023 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
2024 * sysdeps/x86_64/setjmp.S: Likewise.
2025
9ea01d93
AZ
20262012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2027
2028 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
2029 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
2030 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
2031 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
2032 remove unused global constant.
2033
02a91938
CM
20342012-05-15 Chris Metcalf <cmetcalf@tilera.com>
2035
2036 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
2037 include of <not-cancel.h>.
2038
6540185f
RM
20392012-05-15 Roland McGrath <roland@hack.frob.com>
2040
2041 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
2042
509072a0
AJ
20432012-05-15 Jeff Law <law@redhat.com>
2044 Andreas Jaeger <aj@suse.de>
2045
2046 [BZ #13594]
2047 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
2048 out from...
2049 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
2050 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
2051 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
2052 code changing __hst_map_handle.map.
2053
ba75122d
RM
20542012-05-15 Roland McGrath <roland@hack.frob.com>
2055
2056 * configure.in (sysnames): Look for Implies-before and Implies-after
2057 files.
2058 * configure: Regenerated.
2059
890d8bd8
L
20602012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2061
2062 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
2063 8-byte data alignment with LP_SIZE alignment.
2064
f6ee6623
L
20652012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2066
2067 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
2068 into R10_LP.
2069
ea2626f6
L
20702012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2071
2072 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
2073
085f715e
L
20742012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2075
2076 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
2077 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
2078 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
2079 Likewise.
2080 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
2081
be8498fc
L
20822012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2083
2084 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
2085 (stackinfo_sub_sp): Likewise.
2086
70bc83b9
L
20872012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2088
2089 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
2090 RAX_LP.
2091
9bc0b730
L
20922012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2093
2094 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
2095 into R*_LP.
2096
6d2850e7
L
20972012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2098
2099 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
2100 sizes into R*_LP.
2101
3cb84561
L
21022012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2103
2104 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
2105
54e2ed81
L
21062012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2107
2108 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
2109 into R11_LP and load __x86_64_shared_cache_size_half into
2110 R8_LP.
2111
8a17f349
L
21122012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2113
2114 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
2115 R8_LP.
2116
777b1eea
AZ
21172012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2118
2119 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
2120 logb for POWER7.
2121 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
2122 logbf for POWER7.
2123 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
2124 logbl for POWER7.
2125 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
2126 powerpc32/power7/fpu/s_logb.c via #include.
2127 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
2128 powerpc32/power7/fpu/s_logbf.c via #include.
2129 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
2130 powerpc32/power7/fpu/s_logbl.c via #include.
2131
d20d4ac2
JM
21322012-05-15 Joseph Myers <joseph@codesourcery.com>
2133
2134 * README.libm: Remove file.
2135
6cdef1ab
L
21362012-05-14 H.J. Lu <hongjiu.lu@intel.com>
2137
2138 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
2139 count for x32. Use R*_LP and omit operand-size suffix.
2140
0b254d8f
L
21412012-05-14 H.J. Lu <hongjiu.lu@intel.com>
2142
2143 * shlib-versions: Move x86_64-.*-linux.* entries to ...
2144 * sysdeps/x86_64/64/shlib-versions: Here. New file.
2145 * sysdeps/x86_64/x32/shlib-versions: New file.
2146
ceb809dc
RM
21472012-05-14 Roland McGrath <roland@hack.frob.com>
2148
2149 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
2150 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
2151 Use _dl_fatal_printf instead.
2152
37f1abd4
JM
21532012-05-14 Joseph Myers <joseph@codesourcery.com>
2154
2155 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
2156 set if not set by the user. Do not allow for being unset.
2157 * sysdeps/unix/sysv/linux/configure: Regenerated.
2158
11de3a33
L
21592012-05-14 H.J. Lu <hongjiu.lu@intel.com>
2160
2161 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
2162 the `q' suffix from lea and replace .quad with ASM_ADDR.
2163
e02f153a
L
21642012-05-14 H.J. Lu <hongjiu.lu@intel.com>
2165
2166 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
2167 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
2168 instead of $17.
2169 (PTR_DEMANGLE): Likewise.
2170
520ae0fd
L
21712012-05-14 H.J. Lu <hongjiu.lu@intel.com>
2172
2173 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
2174 (LP_OP): Likewise.
2175 (ASM_ADDR): Likewise.
2176 (RAX_LP): Likewise.
2177 (RBP_LP): Likewise.
2178 (RBX_LP): Likewise.
2179 (RCX_LP): Likewise.
2180 (RDI_LP): Likewise.
2181 (RSI_LP): Likewise.
2182 (RSP_LP): Likewise.
2183 (R8_LP): Likewise.
2184 (R9_LP): Likewise.
2185 (R10_LP): Likewise.
2186 (R10_LP): Likewise.
2187 (R11_LP): Likewise.
2188 (R12_LP): Likewise.
2189 (R13_LP): Likewise.
2190 (R14_LP): Likewise.
2191 (R15_LP): Likewise.
2192
b985be81
L
21932012-05-14 H.J. Lu <hongjiu.lu@intel.com>
2194
2195 * sysdeps/x86_64/x32/dl-machine.h: New file.
2196
6a4888ff
AJ
21972012-05-14 Andreas Jaeger <aj@suse.de>
2198
2199 * manual/Makefile (subdir): Remove export of subdir.
2200 (all): Remove target.
2201 (.PHONY): Remove all from list.
2202 (mkinstalldirs): Remove.
2203 (.PHONY): Remove installdirs from list.
2204 ($(inst_infodir)/libc.info): Use make-target-directory.
2205 (installdirs): Remove.
2206 (subdir_%): Remove.
2207 (glibc-targets): Remove.
2208 (lib): Remove.
2209 (stubs): Remove.
2210 ($(objpfx)stubs ../po/manual.pot): Remove.
2211 ($(objpfx)stamp%): Remove.
2212 (make-target-directory): Remove.
2213 (subdir_install): Remove.
2214 (routines): Remove.
2215 (aux): Remove.
2216 (sources): Remove.
2217 (objects): Remove.
2218 (headers): Remove.
2219
2220 [BZ #13750]
2221 * manual/.gitignore: Remove, it's not needed anymore.
2222 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
2223 all files in it.
2224 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
2225 directory.
2226 (texis): Renamed to $(objpfx)texis.
2227 (texis-path): New, contains path to generated files.
2228 (chapters.%): Use texis-path for complete path, add extra argument
2229 libc-texinfo.sh.
2230 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
2231 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
2232 (summary,texi, stamp-summary): Use complete path of
2233 files. Generate files in build dir.
2234 (dir-add.texi): Build in build dir.
2235 (libm-err.texi,stamp-libm-err): Likewise.
2236 (version.texi, stamp-version): Likewise.
2237 (.%c.texi): Likewise.
2238 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
2239 (mostlyclean): Remove target.
2240 (realclean): Remove target.
2241 (generated): Add new variable with contents from mostlyclean and
2242 realclean, remove entries duplicated in common-mostlyclean, add
2243 stamp-libm-err and stamp-version.
2244 (generated-dirs): Add libc directory.
2245 ($(inst_infodir)/libc.info): Install files from build dir.
2246
2247 * manual/install.texi (Configuring and compiling): Adjust since
2248 the info files are not part of the tar ball anymore.
2249
7ac77294
AJ
22502012-05-14 Andreas Jaeger <aj@suse.de>
2251
2252 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
2253 variable.
2254
ffb7875d
JM
22552012-05-14 Joseph Myers <joseph@codesourcery.com>
2256
2257 [BZ #13717]
2258 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
2259 to 2.2.0 where earlier.
2260 * sysdeps/unix/sysv/linux/configure: Regenerated.
2261 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
2262 Remove conditional code.
2263 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
2264 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
2265 Remove conditional code.
2266 [!__NR_lchown]: Likewise.
2267 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
2268 [__NR_lchown]: Likewise.
2269 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
2270 comment referencing __ASSUME_LCHOWN_SYSCALL.
2271 * sysdeps/unix/sysv/linux/i386/sigaction.c
2272 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
2273 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
2274 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
2275 Remove conditional code.
2276 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
2277 (__protocol_available): Remove #if 0 code.
2278 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
2279 conditional code.
2280 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
2281 * sysdeps/unix/sysv/linux/kernel-features.h
2282 (__ASSUME_GETCWD_SYSCALL): Don't define.
2283 (__ASSUME_REALTIME_SIGNALS): Likewise.
2284 (__ASSUME_PREAD_SYSCALL): Likewise.
2285 (__ASSUME_PWRITE_SYSCALL): Likewise.
2286 (__ASSUME_POLL_SYSCALL): Likewise.
2287 (__ASSUME_LCHOWN_SYSCALL): Likewise.
2288 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
2289 non-SPARC.
2290 (__ASSUME_SIOCGIFNAME): Don't define.
2291 (__ASSUME_MSG_NOSIGNAL): Likewise.
2292 (__ASSUME_SENDFILE): Define unconditionally.
2293 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
2294 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
2295 conditional code.
2296 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
2297 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
2298 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
2299 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
2300 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
2301 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
2302 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
2303 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
2304 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
2305 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
2306 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
2307 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
2308 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
2309 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
2310 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
2311 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
2312 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
2313 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
2314 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
2315 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
2316 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
2317 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
2318 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
2319 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
2320 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
2321 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
2322 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
2323 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
2324 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
2325 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
2326 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
2327 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
2328 Remove conditional code.
2329 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
2330 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
2331 Remove conditional code.
2332 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
2333 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
2334 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
2335 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
2336 Remove conditional code.
2337 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
2338 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
2339 Remove conditional code.
2340 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
2341 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
2342 Remove conditional code.
2343 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
2344 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
2345 Remove conditional code.
2346 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
2347 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
2348 Remove conditional code.
2349 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
2350 * sysdeps/unix/sysv/linux/sh/pwrite64.c
2351 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
2352 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
2353 * sysdeps/unix/sysv/linux/sigaction.c
2354 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
2355 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
2356 * sysdeps/unix/sysv/linux/sigpending.c
2357 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
2358 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
2359 * sysdeps/unix/sysv/linux/sigprocmask.c
2360 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
2361 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
2362 * sysdeps/unix/sysv/linux/sigsuspend.c
2363 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
2364 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
2365 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
2366 (__libc_missing_rt_sigs): Remove.
2367 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
2368 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
2369 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
2370 Remove conditional code.
2371 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
2372 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
2373 return 1.
2374 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
2375 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
2376 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
2377 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
2378
1bfb7291
AJ
23792012-05-14 Andreas Jaeger <aj@suse.de>
2380
caae5a81
AJ
2381 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
2382 it's not used in glibc.
2383 (__coshm1): Likewise.
2384 (__acosh1p): Likewise.
2385 (__sgn): Likewise.
2386
1bfb7291
AJ
2387 * manual/string.texi (Copying and Concatenation): Add missing
2388 variable in concat example.
2389 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
2390
c044d724
L
23912012-05-14 H.J. Lu <hongjiu.lu@intel.com>
2392
144c5467 2393 [BZ #14103]
c044d724
L
2394 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
2395 __builtin_clzl with __builtin_clzll.
2396
2523c62b
L
23972012-05-14 H.J. Lu <hongjiu.lu@intel.com>
2398
2399 [BZ #14104]
2400 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
2401 libc_freeres_ptr.
2402
d7bb4c42
LD
24032012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
2404
2405 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
2406 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
2407 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
2408 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
2409
9dc4e1fb
MF
24102012-05-14 Mike Frysinger <vapier@gentoo.org>
2411
2412 * NEWS: Update ia64 info.
2413
c7df0112
AS
24142012-05-12 Andreas Schwab <schwab@linux-m68k.org>
2415
2416 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
2417 used as bcopy.
2418
dc70356c
TS
24192012-05-12 Thomas Schwinge <thomas@codesourcery.com>
2420
2421 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
2422 * sysdeps/unix/syscalls.list (dup3): Likewise.
2423 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
2424 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
2425
9fb1a21f
L
24262012-05-11 H.J. Lu <hongjiu.lu@intel.com>
2427
2428 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
2429 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
2430
4822a2a5
L
24312012-05-11 H.J. Lu <hongjiu.lu@intel.com>
2432
2433 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
2434 thread pointer.
2435 (TLS_IE): Use mov/add instead of movq/addq to load thread
2436 pointer.
2437 (TLS_GD_PREFIX): New.
2438 (TLS_GD): Use it.
2439
842b81d6
DM
24402012-05-11 David S. Miller <davem@davemloft.net>
2441
2442 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
2443 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
2444 (_FPU_SETCW): Likewise.
2445
1cf463cd
L
24462012-05-10 H.J. Lu <hongjiu.lu@intel.com>
2447
2448 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
2449 is 32-byte aligned.
2450
60cc4a18
AS
24512012-05-11 Andreas Schwab <schwab@linux-m68k.org>
2452
2453 [BZ #11837]
2454 * iconvdata/gb18030.c: Update tables.
2455 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
2456 characters specially.
2457 (BODY for TO_LOOP): Add encoding of missing ranges.
2458
febb44a4
TS
24592012-05-11 Thomas Schwinge <thomas@codesourcery.com>
2460
2461 [BZ #13673]
2462 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
2463 * sysdeps/mach/hurd/dup3.c: Likewise.
2464 * sysdeps/mach/hurd/readlinkat.c: Likewise.
2465 * sysdeps/powerpc/memmove.c:: Likewise.
2466
0a10fb9e
L
24672012-05-10 H.J. Lu <hongjiu.lu@intel.com>
2468
2469 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
2470 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
2471
df8a552f
L
24722012-05-10 H.J. Lu <hongjiu.lu@intel.com>
2473
2474 * elf/elf.h (R_X86_64_RELATIVE64): New.
2475 (R_X86_64_NUM): Updated.
2476 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
2477 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
2478 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
2479 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
2480 tst-quad1pie tst-quad2pie
2481 (modules-names): Add tst-quadmod1 tst-quadmod2.
2482 ($(objpfx)tst-quad1): New dependency.
2483 ($(objpfx)tst-quad2): Likewise.
2484 ($(objpfx)tst-quad1pie): Likewise.
2485 ($(objpfx)tst-quad2pie): Likewise.
2486 * sysdeps/x86_64/tst-quad1.c: New file.
2487 * sysdeps/x86_64/tst-quad1pie.c: New file.
2488 * sysdeps/x86_64/tst-quad2.c: Likewise.
2489 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
2490 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
2491 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
2492 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
2493 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
2494
f34d6f84
ST
24952012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
2496
f42d41d1
ST
2497 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
2498 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
2499 * streams/stropts.h (t_scalar_t): Define type.
2500
3c3571fc
ST
2501 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
2502 (_PATH_PRESERVE): Set to "/var/lib".
2503 (_PATH_RWHODIR): Set to "/var/spool/rwho".
2504
61f06bd3
ST
2505 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
2506 instead of int.
2507
918d4d71
ST
2508 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
2509 if __dir_mkfile succeeded.
2510
f34d6f84
ST
2511 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
2512 checking for _hurd_dtablesize. Unlock it right after having
2513 finished _hurd_dtable allocation.
2514
10589b4a
TS
25152012-05-10 Thomas Schwinge <thomas@schwinge.name>
2516
674cdbc7
TS
2517 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
2518 * sysdeps/mach/hurd/configure: Regenerated.
2519 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
2520 special-casing to...
2521 * sysdeps/gnu/configure.in: ... this new file.
2522 * sysdeps/unix/sysv/linux/configure: Regenerated.
2523 * sysdeps/gnu/configure: New generated file.
2524
8e41b99f
TS
2525 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
2526 for Linux: use nsec instead of usec, as well as:
2527 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
2528 members of type struct timespec.
2529 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
2530 New macros.
2531 (struct stat64): Likewise.
2532 (_STATBUF_ST_NSEC): New macro.
2533 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
2534
10589b4a
TS
2535 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
2536 __strtoul_internal rather than strtoul.
2537
63643c85
PT
25382012-05-10 Pino Toscano <toscano.pino@tiscali.it>
2539
2540 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
2541 and reject them.
2542
3faebe6a
ST
25432012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
2544
2545 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
2546 which preserves existing values.
2547 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
2548
c6474b07
PT
25492012-05-10 Pino Toscano <toscano.pino@tiscali.it>
2550
2551 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
2552 TIMEOUT values. Return EINVAL for NFDS values either negative or
2553 greater than FD_SETSIZE.
2554
1043890b
ST
25552012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
2556
2557 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
2558 allocated, call __vm_protect to finish enabling the existing space, and
2559 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
2560 allocate the remainder.
2561
37ed8b9b
PT
25622012-05-10 Pino Toscano <toscano.pino@tiscali.it>
2563
2564 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
2565 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
2566
db653660
ST
25672012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
2568
37ed8b9b
PT
2569 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
2570 sysdeps/mach/hurd/readlink.c.
b29d4053 2571
db653660
ST
2572 * posix/tst-sysconf.c (posix_options): Only use
2573 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
2574 _POSIX_SYNCHRONIZED_IO when they are defined
2575 * sysdeps/mach/hurd/bits/posix_opt.h:
2576 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
2577 (_XOPEN_REALTIME): Undefine macro.
2578 (_XOPEN_REALTIME_THREADS): Undefine macro.
2579 (_XOPEN_SHM): Undefine macro.
2580 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
2581 macro to -1.
2582 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
2583 macro to -1.
2584 (_POSIX_ASYNC_IO): Undefine macro.
2585 (_POSIX_PRIORITIZED_IO): Undefine macro.
2586 (_POSIX_SPIN_LOCKS): Define macro to -1.
2587
ee16e894
ST
2588 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
2589 SA_NODEFER, SA_RESETHAND.
2590 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
2591 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
2592 F_DUPFD_CLOEXEC.
2593
6103ae3b
TS
25942012-05-10 Thomas Schwinge <thomas@schwinge.name>
2595
2596 * elf/Makefile (pldd-modules): Define unconditionally.
2597
80b4e5f3
TS
25982012-05-10 Thomas Schwinge <thomas@schwinge.name>
2599
2600 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
2601
edadcbd6
ST
26022012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
2603
2604 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
2605 Return ENOENT when name is empty.
2606 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
2607
80694780
TS
26082012-05-10 Thomas Schwinge <thomas@schwinge.name>
2609
1792c087
TS
2610 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
2611
80694780
TS
2612 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
2613
6b645f0d
ST
26142012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
2615
80694780
TS
2616 Fix mlock in all cases except non-readable pages.
2617 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
2618 instead of VM_PROT_ALL as parameter to __vm_wire function.
66cbbebc 2619
6b645f0d
ST
2620 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
2621 (__mkdir): When path is `/', just fail with EEXIST.
2622 * sysdeps/mach/hurd/mkdirat.c: Likewise.
2623
e468f8a3
TS
26242012-05-10 Thomas Schwinge <thomas@schwinge.name>
2625
2626 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
2627 <sys/uio.h> (for writev).
2628 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
2629 and <sys/param.h> (for MIN).
2630
a4186cff
PT
26312012-05-10 Pino Toscano <toscano.pino@tiscali.it>
2632
2633 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
2634 REQUESTED_TIME. Properly set the remaining time and return EINTR
2635 if interrupted.
2636
510bbf14
TS
26372012-05-10 Thomas Schwinge <thomas@schwinge.name>
2638
2639 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
2640 Depend on against $(link-rpcuserlibs).
2641
5d5722e8
ST
26422012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
2643
a4186cff
PT
2644 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
2645 (__libc_stack_end): Do not use attribute_relro.
2646 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
2647 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
5d5722e8 2648 to libthread-provided value.
a4186cff
PT
2649 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
2650 attribute_relro.
5d5722e8 2651
37233df9
TS
26522012-05-10 Thomas Schwinge <thomas@schwinge.name>
2653
be971a2b
TS
2654 [BZ #3748]
2655 * bits/libc-lock.h (__libc_once_get): New macro.
2656 * sysdeps/mach/bits/libc-lock.h: Likewise.
2657 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
2658 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
2659 instead of using implementation details.
2660
37233df9
TS
2661 * libio/fileops.c: Unconditionally include <kernel-features.h>.
2662 * libio/freopen.c: Likewise.
2663 * libio/freopen64.c: Likewise.
2664 * misc/syslog.c: Likewise.
2665 * nscd/connections.c: Likewise.
2666 * nscd/netgroupcache.c: Likewise.
2667 * sysdeps/posix/getcwd.c: Likewise.
2668
38de94a5
RM
26692012-05-10 Roland McGrath <roland@hack.frob.com>
2670
2671 * math/w_ilogbf.c: Add #include <limits.h>.
2672
67530489
ST
26732012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
2674
a4186cff 2675 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
bbc49098
ST
2676 path instead of returning without unlocking.
2677
67530489
ST
2678 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
2679 immediate-write ioctls.
2680 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
2681
5aa3a74a
TS
26822012-05-10 Thomas Schwinge <thomas@schwinge.name>
2683
18bad2ae
TS
2684 * sysdeps/mach/hurd/i386/init-first.c (init): Use
2685 __builtin_frame_address instead of making assumptions about the
2686 location of the return address relative to DATA. Force early load of
2687 the return address.
2688 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
2689 __builtin_frame_address.
2690
5aa3a74a
TS
2691 dup3 for GNU Hurd.
2692 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
2693 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
2694 implement dup3 and do some further code clean-ups.
2695 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
2696 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
2697
ecd0de9a
ST
26982012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
2699
cd9fa985
ST
2700 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
2701
a4186cff
PT
2702 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
2703 HURD_CRITICAL_END around holding _hurd_dtable_lock.
2704 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
2705 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
2706 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
2707 d->port.lock.
802ca5a5 2708
a4186cff
PT
2709 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
2710 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
2711 when handler == SIG_ERR, not when handler != SIG_ERR.
ecd0de9a 2712
bcf55240
TS
27132012-05-10 Thomas Schwinge <thomas@schwinge.name>
2714
6960eb42
TS
2715 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
2716 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
2717 definitions.
2718
eb43375f
TS
2719 accept4 for GNU Hurd.
2720 * include/sys/socket.h (__libc_accept4): New prototype.
2721 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
2722 to implement __libc_accept4.
2723 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
2724 __libc_accept4.
2725 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
2726
bcf55240
TS
2727 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
2728 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
2729 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
2730 signal-defines.sym.
2731
6178c55b
ST
27322012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
2733
a4186cff 2734 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
6178c55b 2735
6f080c2f
TS
27362012-05-10 Thomas Schwinge <thomas@schwinge.name>
2737
2738 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
2739 assertion on O_CLOEXEC flag.
2740 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
2741 * hurd/intern-fd.c: Likewise.
2742 * hurd/port2fd.c: Likewise.
2743
bcfe3a54
ST
27442012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
2745
2746 [BZ #3906]
2747 * bits/in.h (IPV6_PKTINFO): Define new macro.
2748 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
2749
89c9aa49
AZ
27502012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2751
2752 [BZ #13954]
2753 [BZ #13955]
2754 [BZ #13956]
2755 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
2756 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
2757 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
2758 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
2759 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
2760 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
2761 * math/libm-test.inc (logb_test) : Additional logb tests.
2762
021db4be
AJ
27632012-05-09 Andreas Schwab <schwab@linux-m68k.org>
2764 Andreas Jaeger <aj@suse.de>
2765
2766 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
2767 * configure: Regenerated.
2768 * config.h.in (LINK_OBSOLETE_RPC): New macro.
2769 * config.make.in (link-obsolete-rpc): New substituted variable.
2770 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
2771 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
2772 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
2773 (shared-only-routines): Don't set it under [link-obsolete-rpc],
2774 so that libc.a contains the symbols.
2775 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
2776 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
2777 * sunrpc/auth_none.c: Likewise.
2778 * sunrpc/auth_unix.c: Likewise.
2779 * sunrpc/authdes_prot.c: Likewise.
2780 * sunrpc/authuxprot.c: Likewise.
2781 * sunrpc/clnt_gen.c: Likewise.
2782 * sunrpc/clnt_perr.c: Likewise.
2783 * sunrpc/clnt_raw.c: Likewise.
2784 * sunrpc/clnt_simp.c: Likewise.
2785 * sunrpc/clnt_tcp.c: Likewise.
2786 * sunrpc/clnt_udp.c: Likewise.
2787 * sunrpc/clnt_unix.c: Likewise.
2788 * sunrpc/des_crypt.c: Likewise.
2789 * sunrpc/des_soft.c: Likewise.
2790 * sunrpc/get_myaddr.c: Likewise.
2791 * sunrpc/key_call.c: Likewise.
2792 * sunrpc/key_prot.c: Likewise.
2793 * sunrpc/netname.c: Likewise.
2794 * sunrpc/pm_getmaps.c: Likewise.
2795 * sunrpc/pm_getport.c: Likewise.
2796 * sunrpc/pmap_clnt.c: Likewise.
2797 * sunrpc/pmap_prot.c: Likewise.
2798 * sunrpc/pmap_prot2.c: Likewise.
2799 * sunrpc/pmap_rmt.c: Likewise.
2800 * sunrpc/publickey.c: Likewise.
2801 * sunrpc/rpc_cmsg.c: Likewise.
2802 * sunrpc/rpc_common.c: Likewise.
2803 * sunrpc/rpc_dtable.c: Likewise.
2804 * sunrpc/rpc_prot.c: Likewise.
2805 * sunrpc/rpc_thread.c: Likewise.
2806 * sunrpc/rtime.c: Likewise.
2807 * sunrpc/svc.c: Likewise.
2808 * sunrpc/svc_auth.c: Likewise.
2809 * sunrpc/svc_raw.c: Likewise.
2810 * sunrpc/svc_run.c: Likewise.
2811 * sunrpc/svc_tcp.c: Likewise.
2812 * sunrpc/svc_udp.c: Likewise.
2813 * sunrpc/svc_unix.c: Likewise.
2814 * sunrpc/svcauth_des.c: Likewise.
2815 * sunrpc/xcrypt.c: Likewise.
2816 * sunrpc/xdr.c: Likewise.
2817 * sunrpc/xdr_array.c: Likewise.
2818 * sunrpc/xdr_float.c: Likewise.
2819 * sunrpc/xdr_intXX_t.c: Likewise.
2820 * sunrpc/xdr_mem.c: Likewise.
2821 * sunrpc/xdr_rec.c: Likewise.
2822 * sunrpc/xdr_ref.c: Likewise.
2823 * sunrpc/xdr_sizeof.c: Likewise.
2824 * sunrpc/xdr_stdio.c: Likewise.
2825
b5c086a2
RM
28262012-05-10 Roland McGrath <roland@hack.frob.com>
2827
2828 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
2829 change. Update copyright years.
2830
6d74dd09
JM
28312012-05-10 Joseph Myers <joseph@codesourcery.com>
2832
2833 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
2834
28e72501
MK
28352012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
2836 Joseph Myers <joseph@codesourcery.com>
2837 Paul Pluzhnikov <ppluzhnikov@google.com>
2838
2839 [BZ #14012]
2840 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
2841 requiring rpcgen.
2842 [cross-compiling] (extra-libs): Likewise.
2843 [cross-compiling] (extra-libs-others): Likewise.
2844 [cross-compiling] (librpcsvc-routines): Likewise.
2845 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
2846 [cross-compiling] (omit-deps): Likewise.
2847 (sunrpc-CPPFLAGS): New variable.
2848 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
2849 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
2850 (cross-rpcgen-objs): New variable.
2851 (extra-objs): Append $(cross-rpcgen-objs).
2852 ($(cross-rpcgen-objs)): New rule.
2853 ($(objpfx)cross-rpcgen): Likewise.
2854 (rpcgen-cmd): Define to use $(built-program-file). Expand
2855 comment.
2856 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
2857 ($(objpfx)x%.stmp): Likewise.
2858 * sunrpc/proto.h [IS_IN_build] (_): Define.
2859 [IS_IN_build] (_libc_intl_domainname): Likewise.
2860
c8c59454
L
28612012-05-10 H.J. Lu <hongjiu.lu@intel.com>
2862
2863 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
2864 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
2865 and R_X86_64_TPOFF64.
2866
6f27cd16
JM
28672012-05-10 Joseph Myers <joseph@codesourcery.com>
2868
2869 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
2870 sysdeps/unix/sysv/syscalls.list.
2871 (stime): Likewise.
2872 (utime): Likewise.
2873 * sysdeps/unix/sysv/syscalls.list: Remove file.
2874
02467e1c
PE
28752012-05-10 Paul Eggert <eggert@cs.ucla.edu>
2876
2877 [BZ #3440]
2878 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
2879 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
2880 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
2881 (__LC_IDENTIFICATION): Make these macros useful in #if
2882 expressions, as required by C99.
2883
da392631
AS
28842012-05-10 Andreas Schwab <schwab@linux-m68k.org>
2885
2886 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
2887 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
2888 after this.
2889
8115f29b
L
28902012-05-09 H.J. Lu <hongjiu.lu@intel.com>
2891
2892 * stdlib/longlong.h: Updated from GCC.
2893
bdd74070
AJ
28942012-05-09 Andreas Jaeger <aj@suse.de>
2895
edfe0dbe
AJ
2896 * nscd/nscd.c (run_modes): Make named enum, reorder so that
2897 default is first entry.
2898 (run_mode): Set type.
2899 (main): Remove informal message about syslog.
2900 (options): Fix typo.
2901
bcfe3a54
ST
2902 [BZ #14053]
2903 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
bdd74070 2904 to asm.
bcfe3a54
ST
2905 (lrint): Likewise.
2906 (llrintf): Likewise.
2907 (llrint): Likewise.
2908 (rint): Likewise.
2909 (rintf): Likewise.
2910 (nearbyint): Likewise.
2911 (nearbyintf): Likewise.
bdd74070 2912
91d8d69e
AJ
29132012-05-09 Andreas Jaeger <aj@suse.de>
2914 Pedro Alves <palves@redhat.com>
2915
2916 * nscd/nscd.c (run_mode): Use enum.
2917 (main): Cleanup coding style issue.
2918
bb90b80b
AJ
29192012-05-09 Alexandre Oliva <aoliva@redhat.com>
2920 Andreas Jaeger <aj@suse.de>
2921
bcfe3a54
ST
2922 * nscd/nscd.c (go_background): Replaced with...
2923 (run_mode): ... this.
bb90b80b 2924 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
bcfe3a54
ST
2925 (options): Add -F --foreground.
2926 (main): Implement it.
2927 (parse_opt): Parse it.
bb90b80b 2928
1a4b75a1
AJ
29292012-05-09 Andreas Jaeger <aj@suse.de>
2930
2931 [BZ #14083]
2932 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
2933 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
2934 -Wconversion warning.
2935 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
2936 Likewise.
2937
b1cc2472
JM
29382012-05-09 Joseph Myers <joseph@codesourcery.com>
2939
2940 * conform/data/locale.h-data (NULL): Use macro-constant. Require
2941 == 0.
2942 (LC_ALL): Use macro-int-constant.
2943 (LC_COLLATE): Likewise.
2944 (LC_CTYPE): Likewise.
2945 (LC_MESSAGES): Likewise.
2946 (LC_MONETARY): Likewise.
2947 (LC_NUMERIC): Likewise.
2948 (LC_TIME): Likewise.
2949 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
2950 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
2951 [ISO || ISO99 || ISO11] (*_t): Do not allow.
2952 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
2953 Specify type.
2954 [C99-based standards] (float_t): Expect type.
2955 [C99-based standards] (double_t): Expect type.
2956 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
2957 type.
2958 [C99-based standards] (HUGE_VALL): Likewise.
2959 [C99-based standards] (INFINITY): Likewise.
2960 [C99-based standards] (NAN): Likewise.
2961 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
2962 [C99-based standards] (FP_NAN): Likewise.
2963 [C99-based standards] (FP_NORMAL): Likewise.
2964 [C99-based standards] (FP_SUBNORMAL): Likewise.
2965 [C99-based standards] (FP_ZERO): Likewise.
2966 [C99-based standards] (FP_FAST_FMA): Use
2967 optional-macro-int-constant. Specify type. Require == 1.
2968 [C99-based standards] (FP_FAST_FMAF): Likewise.
2969 [C99-based standards] (FP_FAST_FMAL): Likewise.
2970 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
2971 [C99-based standards] (FP_ILOGBNAN): Likewise.
2972 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
2973 Specify type.
2974 [C99-based standards] (MATH_ERREXCEPT): Likewise.
2975 [C99-based standards] (math_errhandling): Specify type.
2976 [ISO99 || ISO11] (signgam): Do not allow.
2977 [non-C99-based standards] (copysignf): Do not allow.
2978 [non-C99-based standards] (exp2f): Likewise.
2979 [non-C99-based standards] (log2f): Likewise.
2980 [non-C99-based standards] (modff): Allow.
2981 [non-C99-based standards] (erff): Do not allow.
2982 [non-C99-based standards] (erfcf): Likewise.
2983 [non-C99-based standards] (gammaf): Likewise.
2984 [non-C99-based standards] (hypotf): Likewise.
2985 [non-C99-based standards] (j0f): Likewise.
2986 [non-C99-based standards] (j1f): Likewise.
2987 [non-C99-based standards] (jnf): Likewise.
2988 [non-C99-based standards] (lgammaf): Likewise.
2989 [non-C99-based standards] (tgammaf): Likewise.
2990 [non-C99-based standards] (y0f): Likewise.
2991 [non-C99-based standards] (y1f): Likewise.
2992 [non-C99-based standards] (ynf): Likewise.
2993 [non-C99-based standards] (isnanf): Likewise.
2994 [non-C99-based standards] (acoshf): Likewise.
2995 [non-C99-based standards] (asinhf): Likewise.
2996 [non-C99-based standards] (atanhf): Likewise.
2997 [non-C99-based standards] (cbrtf): Likewise.
2998 [non-C99-based standards] (expm1f): Likewise.
2999 [non-C99-based standards] (ilogbf): Likewise.
3000 [non-C99-based standards] (log1pf): Likewise.
3001 [non-C99-based standards] (logbf): Likewise.
3002 [non-C99-based standards] (nextafterf): Likewise.
3003 [non-C99-based standards] (remainderf): Likewise.
3004 [non-C99-based standards] (rintf): Likewise.
3005 [non-C99-based standards] (scalbf): Likewise.
3006 [non-C99-based standards] (copysignl): Likewise.
3007 [non-C99-based standards] (exp2l): Likewise.
3008 [non-C99-based standards] (log2l): Likewise.
3009 [non-C99-based standards] (modfl): Allow.
3010 [non-C99-based standards] (erfl): Do not allow.
3011 [non-C99-based standards] (erfcl): Likewise.
3012 [non-C99-based standards] (gammal): Likewise.
3013 [non-C99-based standards] (hypotl): Likewise.
3014 [non-C99-based standards] (j0l): Likewise.
3015 [non-C99-based standards] (j1l): Likewise.
3016 [non-C99-based standards] (jnl): Likewise.
3017 [non-C99-based standards] (lgammal): Likewise.
3018 [non-C99-based standards] (tgammal): Likewise.
3019 [non-C99-based standards] (y0l): Likewise.
3020 [non-C99-based standards] (y1l): Likewise.
3021 [non-C99-based standards] (ynl): Likewise.
3022 [non-C99-based standards] (isnanl): Likewise.
3023 [non-C99-based standards] (acoshl): Likewise.
3024 [non-C99-based standards] (asinhl): Likewise.
3025 [non-C99-based standards] (atanhl): Likewise.
3026 [non-C99-based standards] (cbrtl): Likewise.
3027 [non-C99-based standards] (expm1l): Likewise.
3028 [non-C99-based standards] (ilogbl): Likewise.
3029 [non-C99-based standards] (log1pl): Likewise.
3030 [non-C99-based standards] (logbl): Likewise.
3031 [non-C99-based standards] (nextafterl): Likewise.
3032 [non-C99-based standards] (remainderl): Likewise.
3033 [non-C99-based standards] (rintl): Likewise.
3034 [non-C99-based standards] (scalbl): Likewise.
3035 [ISO || ISO99 || ISO11] (*_t): Do not allow.
3036 [non-C99-based standards] (FP_*): Do not allow.
3037 [C99-based standards] (FP_*): Change to
3038 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
3039 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
3040 allow.
3041 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
3042 (SIG_ERR): Likewise.
3043 [X/Open-based standards] (SIG_HOLD): Likewise.
3044 (SIG_IGN): Likewise.
3045 (SIGABRT): Use macro-int-constant. Specify type. Require
3046 positive value.
3047 (SIGFPE): Likewise.
3048 (SIGILL): Likewise.
3049 (SIGINT): Likewise.
3050 (SIGSEGV): Likewise.
3051 (SIGTER): Likewise.
3052 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
3053 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
3054 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
3055 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
3056 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
3057 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
3058 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
3059 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
3060 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
3061 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
3062 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
3063 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
3064 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
3065 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
3066 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
3067 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
3068 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
3069 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
3070 [X/Open-based standards] (SIGTRAP): Likewise.
3071 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
3072 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
3073 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
3074 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
3075 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
3076 allow.
3077
b9f1922d
IW
30782012-05-08 Ian Wienand <ianw@vmware.com>
3079
3080 [BZ #14080]
3081 * time/tzset.c (__tzset_parse_tz): Update default rules for
3082 daylight time changes in the Energy Policy Act of 2005.
3083
1db86e88
AJ
30842012-05-09 Andreas Jaeger <aj@suse.de>
3085
3086 [BZ #13983]
3087 * elf/ldconfig.c (parse_conf): Change string to make clear that
3088 ldconfig only issued a warning if ld.so.conf does not exist.
3089
dee4a4e3
DM
30902012-05-08 David S. Miller <davem@davemloft.net>
3091
ee0db190
DM
3092 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
3093 movxtod instead of popping the value on the stack.
3094
dee4a4e3
DM
3095 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3096
6a43ec98
CD
30972012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
3098
3099 * config.h.in: Add HAVE_ARM_PCS_VFP.
3100
05c2c961
RMG
31012012-05-08 Roland Mc Grath <roland@hack.frob.com>
3102
bcfe3a54
ST
3103 [BZ #13979]
3104 * include/features.h: Warn if user requests __FORTIFY_SOURCE
3105 checking but the checks are disabled for any reason.
05c2c961 3106
4b30f61a
L
31072012-05-08 H.J. Lu <hongjiu.lu@intel.com>
3108
3109 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
3110 and ELF64_R_TYPE with ELFW(R_TYPE).
3111
eee2bc67
JM
31122012-05-08 Joseph Myers <joseph@codesourcery.com>
3113
7ea5391a
JM
3114 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
3115 (ulimit): Likewise.
3116
eee2bc67
JM
3117 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
3118 (settimeofday): Likewise.
3119
abb66a67
MF
31202012-05-08 Mike Frysinger <vapier@gentoo.org>
3121
3122 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
3123 a struct th_u2 inside the union, and move tu_block/tu_code into
3124 a new th_u3 union of tu_block/tu_code inside of that. Move
3125 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
3126 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
3127 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
3128 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
3129 (th_stuff): Change to th_u1.tu_stuff.
3130 (th_data): Define.
3131 (th_msg): Change to th_u1.th_u2.tu_data.
3132
7f18b530
DM
31332012-05-07 David S. Miller <davem@davemloft.net>
3134
05760585
DM
3135 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3136
7f18b530
DM
3137 [BZ #14074]
3138 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
3139 (SETUP_PIC_REG): Use it.
3140 (SETUP_PIC_REG_LEAF): Use it.
3141
495fd99f
JM
31422012-05-07 Joseph Myers <joseph@codesourcery.com>
3143
3144 [BZ #13885]
3145 [BZ #13923]
3146 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
3147 USE_AS_EXPM1L.
3148 (EXPL_FINITE): Likewise.
3149 (FLDLOG): Likewise.
3150 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
3151 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
3152 e_expl.S.
3153 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
3154 USE_AS_EXPM1L.
3155 (EXPL_FINITE): Likewise.
3156 (FLDLOG): Likewise.
3157 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
3158 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
3159 e_expl.S.
3160 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
3161 test of -max_value argument for long double.
3162 * sysdeps/i386/fpu/libm-test-ulps: Update.
3163 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3164
6693d694
DM
31652012-05-06 David S. Miller <davem@davemloft.net>
3166
3167 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
3168 quad soft-float symbols whose references which are compiler
3169 generated.
3170 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
3171
6c23e11c
JM
31722012-05-06 Joseph Myers <joseph@codesourcery.com>
3173
d8b82cad
JM
3174 [BZ #13884]
3175 [BZ #13914]
3176 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
3177 USE_AS_EXP10L.
3178 (EXPL_FINITE): Likewise.
3179 (FLDLOG): Likewise.
3180 (c0): Likewise.
3181 (c1): Likewise.
3182 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
3183 Adjust comments for base varying.
3184 (__expl_finite): Change alias to EXPL_FINITE.
3185 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
3186 e_expl.S.
3187 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
3188 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
3189 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
3190 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
3191 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
3192 USE_AS_EXP10L.
3193 (EXPL_FINITE): Likewise.
3194 (FLDLOG): Likewise.
3195 (c0): Likewise.
3196 (c1): Likewise.
3197 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
3198 Adjust comments for base varying.
3199 (__expl_finite): Change alias to EXPL_FINITE.
3200 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
3201 tests for bugs.
3202 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3203
6c23e11c
JM
3204 [BZ #14064]
3205 * math/libm-test.inc (check_float_internal): Correct ulp
3206 calculation for subnormal expected results.
3207
29ba805c
AJ
32082012-05-06 Andreas Jaeger <aj@suse.de>
3209
3210 * Makeconfig (+math-flags): New, set to -frounding-math.
3211 (+cflags): Add +math-flags so that all of glibc gets compiled with
3212 it.
3213
3214 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
3215
7b17aeda
JM
32162012-05-05 Joseph Myers <joseph@codesourcery.com>
3217
5779f134
JM
3218 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
3219 Disable one test.
3220
41498f4d
JM
3221 [BZ #13787]
3222 [BZ #13922]
3223 [BZ #14036]
3224 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
3225 (__ieee754_expl): Allow for and saturate large arguments.
3226 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
3227 (u_threshold): Likewise.
3228 (__exp): Call __ieee754_exp before checking for overflow and
3229 underflow.
3230 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
3231 (u_threshold): Likewise.
3232 (__expf): Call __ieee754_expf before checking for overflow and
3233 underflow.
3234 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
3235 (u_threshold): Likewise.
3236 (__expl): Call __ieee754_expl before checking for overflow and
3237 underflow.
3238 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
3239 (__ieee754_expl): Allow for and saturate large arguments.
3240 * math/libm-test.inc (exp_test): Add another test. Do not allow
3241 missing overflow exception on overflow.
3242 (expm1_test): Do not allow missing overflow exception on overflow.
3243
6698b8bf
JM
3244 * sysdeps/i386/fpu/e_expl.c: Move to ...
3245 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
3246 rather than using inline asm.
3247 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
3248 * sysdeps/x86_64/fpu/e_expl.S: Copy from
3249 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
3250
7b17aeda
JM
3251 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
3252 (nice): Likewise.
3253 (poll): Likewise.
3254 (signal): Likewise.
3255 (time): Likewise.
3256 (times): Likewise.
3257
f7c85819
JM
32582012-05-04 Joseph Myers <joseph@codesourcery.com>
3259
3260 * sysdeps/unix/syscalls.list (adjtime): Add entry from
3261 sysdeps/unix/common/syscalls.list.
3262 (fchmod): Likewise.
3263 (fchown): Likewise.
3264 (ftruncate): Likewise.
3265 (getrusage): Likewise.
3266 (gettimeofday): Likewise.
3267 (setpgid): Likewise.
3268 (setregid): Likewise.
3269 (setreuid): Likewise.
3270 (sigaction): Likewise.
3271 (truncate): Likewise.
3272 (vhangup): Likewise.
3273 * sysdeps/unix/common/syscalls.list: Remove file.
3274 * sysdeps/unix/bsd/Implies: Don't include unix/common.
3275 * sysdeps/unix/sysv/linux/Implies: Likewise.
3276
336270d0
L
32772012-05-04 H.J. Lu <hongjiu.lu@intel.com>
3278
3279 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
3280 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
3281 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
3282 Moved to ...
3283 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
3284 Here.
3285 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
3286 to ...
3287 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
3288 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
3289 to ...
3290 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
3291 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
3292 to ...
3293 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
3294 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
3295 to ...
3296 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
3297 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
3298 to ...
3299 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
3300 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
3301 to ...
3302 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
3303 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
3304 to ...
3305 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
3306 Here.
3307 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
3308 to ...
3309 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
3310 Here.
3311 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
3312 to ...
3313 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
3314 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
3315 Moved to ...
3316 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
3317 Here.
3318 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
3319 to ...
3320 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
3321
d128e450
JM
33222012-05-04 Joseph Myers <joseph@codesourcery.com>
3323
fa8ee516
JM
3324 * sysdeps/unix/common/bits/dirent.h: Remove file.
3325 * sysdeps/unix/common/bits/fcntl.h: Likewise.
3326
d128e450
JM
3327 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
3328 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
3329 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
3330 * sysdeps/unix/bsd/isatty.c: Likewise.
3331 * sysdeps/unix/bsd/tcdrain.c: Likewise.
3332 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
3333 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
3334
ff8faaf0 33352012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31dc8730 3336
62881be4 3337 [BZ #13563]
31dc8730
AZ
3338 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
3339 long double comparison inaccuracies.
3340 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
3341 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3342
6fef930c
AS
33432012-05-04 Andreas Schwab <schwab@linux-m68k.org>
3344
3345 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
3346 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
3347
8f203e6c
JM
33482012-05-04 Joseph Myers <joseph@codesourcery.com>
3349
3350 [BZ #14049]
3351 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
3352 nonzero digits before rounding a hex value.
3353 * stdlib/tst-strtod.c (tests): Add another test.
3354
5197d9c2
AK
33552012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3356
3357 * sysdeps/s390/fpu/libm-test-ulps: Update.
3358
f0c1dedf
AJ
33592012-05-03 Andreas Jaeger <aj@suse.de>
3360
3361 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
3362 does not get optimized out.
3363 (malloc_opt_barrier): New.
3364
a65ef2ae 33652012-05-03 Andreas Jaeger <aj@suse.de>
461b8e5a 3366 Roland McGrath <roland@hack.frob.com>
a65ef2ae 3367
2b942cb7 3368 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
a65ef2ae 3369 intermediate file deletion.
2b942cb7 3370 (generated): Add .symlist files.
a65ef2ae 3371
54b71e02
JM
33722012-05-03 Joseph Myers <joseph@codesourcery.com>
3373
3374 [BZ #13775]
3375 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
3376 Redirect under this condition.
3377 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
3378 [__USE_GNU] (__dprintf_chk): Not under this condition.
3379 [__USE_GNU] (__vdprintf_chk): Likewise.
3380 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
3381 under this condition.
3382 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
3383 [__USE_XOPEN2K8] (dprintf): Define under this condition.
3384 [__USE_XOPEN2K8] (vdprintf): Likewise.
3385 [__USE_GNU] (__dprintf_chk): Not under this condition.
3386 [__USE_GNU] (__vdprintf_chk): Likewise.
3387 [__USE_GNU] (dprintf): Likewise.
3388 [__USE_GNU] (vdprintf): Likewise.
3389
d3dfcc41
RM
33902012-05-03 Roland McGrath <roland@hack.frob.com>
3391
3392 * elf/Makefile (common-generated): Set this instead of generated for
3393 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
3394 $(all-built-dso)-derived lists.
3395
7ac30cc5
AJ
33962012-05-03 Andreas Jaeger <aj@suse.de>
3397
0c51e550
AJ
3398 * sysdeps/i386/fpu/libm-test-ulps: Update.
3399
7ac30cc5
AJ
3400 * FAQ: Removed.
3401 * FAQ.in: Likewise.
3402 * scripts/gen-FAQ.pl: Likewise.
3403 * manual/install.texi (Installation): Point to online location of
3404 FAQ.
3405 * Makefile (files-for-dist): Remove FAQ.
3406 (FAQ): Remove.
3407
d4c2917f
AM
34082012-05-02 Allan McRae <allan@archlinux.org>
3409
3410 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
3411 (LDFLAGS-reldepmod5.so): Likewise.
3412 (LDFLAGS-reldep6mod1.so): Likewise.
3413 (LDFLAGS-reldep6mod4.so): Likewise.
3414 (LDFLAGS-reldep8mod3.so): Likewise.
3415 (LDFLAGS-unload4mod1.so): Likewise.
3416 (LDFLAGS-unload4mod2.so): Likewise.
3417 (LDFLAGS-tst-initorder): Likewise.
3418 (LDFLAGS-tst-initordera2.so): Likewise.
3419 (LDFLAGS-tst-initordera3.so): Likewise.
3420 (LDFLAGS-tst-initordera4.so): Likewise.
3421 (LDFLAGS-tst-initorderb2.so): Likewise.
3422 (LDFLAGS-noload): Likewise.
3423 (LDFLAGS-next): Likewise.
3424 (LDFLAGS-order2mod1.so): Likewise.
3425 (LDFLAGS-order2mod2.so): Likewise.
3426 (LDFLAGS-tst-initorder2): Likewise.
3427 (LDFLAGS-tst-initorder2a.so): Likewise.
3428 (LDFLAGS-tst-initorder2b.so): Likewise.
3429 (LDFLAGS-tst-initorder2c.so): Likewise.
3430 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
3431
d77f993f
DM
34322012-05-02 David S. Miller <davem@davemloft.net>
3433
3434 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3435
171a70b4
PP
34362012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
3437
3438 [BZ #14055]
3439 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
3440
0be196ad
AJ
34412012-05-02 Andreas Jaeger <aj@suse.de>
3442
3443 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
3444 since we manipulate rounding mode.
3445 (CPPFLAGS-test-idouble.c): Likewise.
3446 (CPPFLAGS-test-ifloat.c): Likewise.
3447 (CFLAGS-test-ldouble.c): Likewise.
3448 (CFLAGS-test-double.c): Likewise.
3449 (CFLAGS-test-float.c): Likewise.
3450 (CFLAGS-test-misc.c): Likewise.
3451 (CFLAGS-test-test-fenv.c): Likewise.
3452
4f9d04aa
AZ
34532012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3454
2b942cb7
RM
3455 [BZ #2550]
3456 [BZ #2570]
3457 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
3458 comparisons to determine direction to adjust input.
4f9d04aa 3459
82a79e7d
RM
34602012-05-01 Roland McGrath <roland@hack.frob.com>
3461
f5a01ca9
RM
3462 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
3463 output to the target.
3464
90fe4186
RM
3465 * scripts/localplt.awk: New file.
3466 * elf/Makefile ($(objpfx)check-localplt): Target removed.
3467 (check-localplt-CFLAGS): Variable removed.
3468 ($(all-built-dso:=.jmprel)): New static pattern rule.
3469 (generated): Add those targets.
3470 (localplt-built-dso): New variable.
3471 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
3472
3473 * elf/check-localplt.c: File removed.
3474
82397ed6
RM
3475 * scripts/check-execstack.awk: New file.
3476 * elf/Makefile ($(objpfx)check-execstack): Target removed.
3477 (check-execstack-CFLAGS): Variable removed.
3478 ($(objpfx)check-execstack.h): Target removed.
3479 ($(objpfx)execstack-default): New target.
3480 (generated): Add that instead of check-execstack.h.
3481 ($(all-built-dso:=.phdr)): New static pattern rule.
3482 (generated): Add those targets.
3483 * elf/check-execstack.c: File removed.
3484
82a79e7d
RM
3485 * scripts/check-textrel.awk: New file.
3486 * elf/Makefile ($(objpfx)check-textrel): Target removed.
3487 (check-textrel-CFLAGS): Variable removed.
3488 (all-built-dso): Use := to define.o
3489 ($(all-built-dso:=.dyn)): New static pattern rule.
3490 (generated): Add those targets.
3491 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
3492 * config.make.in (READELF): New substituted variable.
3493 * elf/check-textrel.c: File removed.
3494
62fde54f 34952012-05-01 Joseph Myers <joseph@codesourcery.com>
ee74b9cb 3496
615605c9
JM
3497 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
3498 allow.
3499 * conform/data/ctype.h-data [C99-based standards] (isblank):
3500 Expect function.
3501 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
3502 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
3503 [ISO || ISO99 || ISO11] (*_t): Do not allow.
3504 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
3505 Specify type. Require positive value.
3506 (EILSEQ): Likewise.
3507 (ERANGE): Likewise.
3508 [ISO || POSIX] (EILSEQ): Do not expect.
3509 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
3510 Specify type. Require positive value.
3511 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
3512 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
3513 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
3514 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
3515 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
3516 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
3517 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
3518 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
3519 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
3520 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
3521 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
3522 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
3523 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
3524 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
3525 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
3526 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
3527 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
3528 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
3529 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
3530 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
3531 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
3532 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
3533 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
3534 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
3535 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
3536 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
3537 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
3538 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
3539 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
3540 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
3541 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
3542 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
3543 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
3544 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
3545 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
3546 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
3547 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
3548 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
3549 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
3550 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
3551 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
3552 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
3553 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
3554 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
3555 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
3556 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
3557 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
3558 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
3559 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
3560 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
3561 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
3562 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
3563 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
3564 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
3565 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
3566 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
3567 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
3568 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
3569 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
3570 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
3571 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
3572 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
3573 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
3574 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
3575 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
3576 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
3577 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
3578 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
3579 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
3580 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
3581 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
3582 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
3583 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
3584 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
3585 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
3586 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
3587 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
3588 Require >= 2.
3589 (FLT_ROUNDS): Expect as macro, not constant.
3590 (FLT_MANT_DIG): Use macro-int-constant.
3591 (DBL_MANT_DIG): Likewise.
3592 (LDBL_MANT_DIG): Likewise.
3593 (FLT_DIG): Likewise.
3594 (DBL_DIG): Likewise.
3595 (LDBL_DIG): Likewise.
3596 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
3597 (DBL_MIN_EXP): Likewise.
3598 (LDBL_MIN_EXP): Likewise.
3599 (FLT_MAX_EXP): Use macro-int-constant.
3600 (DBL_MAX_EXP): Likewise.
3601 (LDBL_MAX_EXP): Likewise.
3602 (FLT_MAX_10_EXP): Likewise.
3603 (DBL_MAX_10_EXP): Likewise.
3604 (LDBL_MAX_10_EXP): Likewise.
3605 (FLT_MAX): Use macro-constant.
3606 (DBL_MAX): Likewise.
3607 (LDBL_MAX): Likewise.
3608 (FLT_EPSILON): Use macro-constant. Give upper bound.
3609 (DBL_EPSILON): Likewise.
3610 (LDBL_EPSILON): Likewise.
3611 (FLT_MIN): Likewise.
3612 (DBL_MIN): Likewise.
3613 (LDBL_MIN): Likewise.
3614 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
3615 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
3616 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
3617 [ISO11] (FLT_HAS_SUBNORM): Likewise.
3618 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
3619 [ISO11] (DBL_DECIMAL_DIG): Likewise.
3620 [ISO11] (FLT_DECIMAL_DIG): Likewise.
3621 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
3622 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
3623 [ISO11] (FLT_TRUE_MIN): Likewise.
3624 [ISO11] (LDBL_TRUE_MIN): Likewise.
3625 [ISO || ISO99 || ISO11] (*_t): Do not allow.
3626 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
3627 (SCHAR_MIN): Use macro-int-constant. Specify type.
3628 (SCHAR_MAX): Likewise.
3629 (UCHAR_MAX): Likewise.
3630 (CHAR_MIN): Likewise.
3631 (CHAR_MAX): Likewise.
3632 (MB_LEN_MAX): Use macro-int-constant.
3633 (SHRT_MIN): Use macro-int-constant. Specify type.
3634 (SHRT_MAX): Likewise.
3635 (USHRT_MAX): Likewise.
3636 (INT_MAX): Likewise.
3637 (INT_MIN): Use macro-int-constant. Specify type. Make upper
3638 bound negative.
3639 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
3640 bound with "U".
3641 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
3642 bound with "L".
3643 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
3644 bound negative. Suffix upper bound with "L".
3645 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
3646 bound with "UL".
3647 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
3648 Specify type.
3649 [C99-based standards] (LLONG_MAX): Likewise.
3650 [C99-based standards] (ULLONG_MAX): Likewise.
3651 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
3652 == 0.
3653 [ISO11] (max_align_t): Require type.
3654 [ISO || ISO99 || ISO11] (*_t): Do not allow.
3655
c9140a62
JM
3656 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
3657 from $CFLAGS, without defining away __attribute__ calls.
3658 (checknamespace): Use $CFLAGS_namespace.
3659
9af0bf29
JM
3660 * conform/conformtest.pl (@keywords): Only include C99 keywords
3661 for standards based on C99 or C11.
3662
343222a2
JM
3663 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
3664 Disable tests.
3665 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
3666 UNIX98]: Likewise.
3667
661f8cf0
JM
3668 * conform/conformtest.pl: Handle "macro-int-constant" and test for
3669 usability of symbols in #if.
3670
ee74b9cb
JM
3671 * conform/conformtest.pl: If macro or constant types start
3672 "promoted:", expect the symbol to be of the following type
3673 promoted by the integer promotions.
62fde54f 3674
aafc49b3
JM
3675 * conform/conformtest.pl: Parse all "constant" and "macro" lines
3676 in one place. Also handle "macro-constant".
3677
fefdf574
JM
3678 * conform/conformtest.pl: Only accept expected macro values with
3679 "==". Parse all "macro" lines in one place.
3680 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
3681
f2d922fe
JM
3682 * conform/conformtest.pl: Handle braced types on "constant" lines
3683 instead of handling "typed-constant".
3684 * conform/data/signal.h-data: Use "constant" instead of
3685 "typed-constant".
3686
d22956c9
JM
3687 * conform/conformtest.pl: Handle "optional-" at start of lines in
3688 one place rather than duplicating several cases. Handle each
3689 format of "macro" line with initial "optional-".
3690
028e2e38
JM
3691 * conform/conformtest.pl: Only accept expected constant or
3692 optional-constant values with "==". Parse all "constant" lines in
3693 one place. Parse all "optional-constant" lines in one place.
3694 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
3695 * conform/data/fmtmsg.h-data: Likewise.
3696 * conform/data/netinet/in.h-data: Likewise.
3697 * conform/data/tar.h-data: Likewise.
3698 * conform/data/limits.h-data: Use "==" form on "constant" and
3699 "optional-constant" lines.
3700
1b8f2850
JM
3701 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
3702 Use -std=c99 for XOPEN2K.
3703 (@knownproblems): Remove.
3704 (newtoken): Don't check %isknown.
3705
a05a144b
JM
3706 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
3707 Do not expect macro.
3708 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
3709 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
3710 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
3711 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
3712 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
3713 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
3714 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
3715 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
3716 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
3717 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
3718 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
3719 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
3720 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
3721 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
3722 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
3723 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
3724 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
3725 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
3726 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
3727 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
3728 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
3729 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
3730 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
3731 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
3732 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
3733 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
3734 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
3735 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
3736 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
3737 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
3738 [XPG3] (acosh): Likewise.
3739 [XPG3] (asinh): Likewise.
3740 [XPG3] (atanh): Likewise.
3741 [XPG3] (cbrt): Likewise.
3742 [XPG3] (expm1): Likewise.
3743 [XPG3] (ilogb): Likewise.
3744 [XPG3] (log1p): Likewise.
3745 [XPG3] (logb): Likewise.
3746 [XPG3] (nextafter): Likewise.
3747 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
3748 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
3749 [XPG3] (remainder): Likewise.
3750 [XPG3] (rint): Likewise.
3751 [XPG3 || XPG4 || UNIX98] (round): Likewise.
3752 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
3753 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
3754 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
3755 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
3756 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
3757 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
3758 [UNIX98 || XOPEN2K] (scalb): Expect.
3759 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
3760 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
3761 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
3762 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
3763 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
3764 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
3765 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
3766 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
3767 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
3768 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
3769 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
3770 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
3771 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
3772 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
3773 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
3774 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
3775 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
3776 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
3777 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
3778 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
3779 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
3780 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
3781 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
3782 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
3783 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
3784 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
3785 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
3786 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
3787 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
3788 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
3789 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
3790 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
3791 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
3792 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
3793 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
3794 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
3795 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
3796 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
3797 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
3798 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
3799 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
3800 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
3801 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
3802 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
3803 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
3804 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
3805 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
3806 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
3807 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
3808 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
3809 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
3810 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
3811 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
3812 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
3813 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
3814 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
3815 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
3816 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
3817 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
3818 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
3819 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
3820 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
3821 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
3822 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
3823 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
3824 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
3825 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
3826 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
3827 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
3828 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
3829 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
3830 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
3831 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
3832 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
3833 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
3834 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
3835 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
3836 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
3837 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
3838 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
3839 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
3840 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
3841 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
3842 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
3843 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
3844 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
3845 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
3846 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
3847 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
3848 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
3849 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
3850 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
3851 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
3852 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
3853 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
3854 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
3855 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
3856 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
3857 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
3858 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
3859 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
3860 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
3861 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
3862 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
3863 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
3864 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
3865 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
3866 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
3867 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
3868 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
3869 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
3870 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
3871 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
3872 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
3873 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
3874 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
3875 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
3876 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
3877 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
3878 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
3879 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
3880 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
3881 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
3882 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
3883 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
3884 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
3885 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
3886 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
3887 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
3888 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
3889 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
3890 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
3891 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
3892 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
3893 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
3894 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
3895 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
3896
73c5ebe3
JM
3897 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
3898 _XOPEN_SOURCE_EXTENDED for XPG4.
3899
39c33b6c
JM
3900 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
3901
62fde54f
JM
3902 * Makeconfig (localtime): Remove variable.
3903 (inst_localtime-file): Likewise.
3904
0741d64c
AS
39052012-05-01 Andreas Schwab <schwab@linux-m68k.org>
3906
3907 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
3908 Update.
3909 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
3910 Update.
3911 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
3912 Update.
3913 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
3914 Update.
3915 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
3916 Update.
3917 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
3918 Update.
3919 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
3920 Update.
3921 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
3922 Update.
3923 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
3924 Update.
3925
7cb029ee
JM
39262012-05-01 Joseph Myers <joseph@codesourcery.com>
3927
3928 [BZ #2550]
3929 [BZ #2570]
3930 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
3931 comparisons to determine direction to adjust input.
3932 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
3933 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
3934 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
3935 Likewise.
3936 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
3937 Likewise.
3938 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
3939 Likewise.
3940 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
3941 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
3942 Likewise.
3943 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
3944 Likewise.
3945 * math/libm-test.inc (nexttoward_test): Add more tests.
3946
412bd966
AS
39472012-05-01 Andreas Schwab <schwab@linux-m68k.org>
3948
3949 [BZ #14040]
3950 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
3951 in version GLIBC_2.1, not GLIBC_2.0.
3952 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
3953 Likewise.
3954
9568c0c2
JM
39552012-04-30 Joseph Myers <joseph@codesourcery.com>
3956
adfbc8ac
JM
3957 [BZ #13942]
3958 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
3959 (1 - x) * (1 + x).
3960 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
3961 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
3962 * math/libm-test.inc (acos_test): Add more tests.
3963 (asin_test): Likewise.
3964 * sysdeps/i386/fpu/libm-test-ulps: Update.
3965 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3966
5ba3cc69
JM
3967 [BZ #14034]
3968 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
3969 of square root.
3970 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
3971 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
3972 * math/libm-test.inc (acos_test_tonearest): New function.
3973 (acos_test_towardzero): Likewise.
3974 (acos_test_downward): Likewise.
3975 (acos_test_upward): Likewise.
3976 (asin_test_tonearest): Likewise.
3977 (asin_test_towardzero): Likewise.
3978 (asin_test_downward): Likewise.
3979 (asin_test_upward): Likewise.
3980 (main): Call the new functions.
3981 * sysdeps/i386/fpu/libm-test-ulps: Update.
3982 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3983
9568c0c2
JM
3984 [BZ #13884]
3985 [BZ #13924]
3986 * math/e_exp10.c: Include <float.h>.
3987 (__ieee754_exp10): Handle underflow here rather than multiplying
3988 large negative argument by M_LN10.
3989 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
3990 of __ieee754_expf.
3991 * math/e_exp10l.c: Include <float.h>.
3992 (__ieee754_exp10l): Handle underflow here rather than multiplying
3993 large negative argument by M_LN10l.
3994 * math/libm-test.inc (exp10_test): Add another test. Do not allow
3995 spurious overflow exception on underflow.
3996
5ac3ea17
MP
39972012-04-29 Marek Polacek <polacek@redhat.com>
3998
3999 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
4000 (__fortify_function): New macro.
4001 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
4002 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
4003 __extern_always_inline.
4004 * libio/bits/stdio2.h: Likewise.
4005 * libio/bits/stdio.h: Likewise.
4006 * string/string.h: Likewise.
4007 * string/bits/string3.h: Likewise.
4008 * include/stdio.h: Likewise.
4009 * stdlib/bits/stdlib.h: Likewise.
4010 * stdlib/stdlib.h: Likewise.
4011 * rt/bits/mqueue2.h: Likewise.
4012 * rt/mqueue.h: Likewise.
4013 * posix/bits/unistd.h: Likewise.
4014 * posix/unistd.h: Likewise.
4015 * io/bits/poll2.h: Likewise.
4016 * io/bits/fcntl2.h: Likewise.
4017 * io/fcntl.h: Likewise.
4018 * io/sys/poll.h: Likewise.
4019 * misc/bits/syslog.h: Likewise.
4020 * misc/bits/syslog-ldbl.h: Likewise.
4021 * misc/sys/syslog.h: Likewise.
4022 * socket/bits/socket2.h: Likewise.
4023 * socket/sys/socket.h: Likewise.
4024 * debug/tst-chk1.c: Likewise.
4025 * wcsmbs/bits/wchar2.h: Likewise.
4026 * wcsmbs/bits/wchar-ldbl.h: Likewise.
4027 * wcsmbs/wchar.h: Likewise.
4028
ecf0ebfb
AJ
40292012-04-29 Andreas Jaeger <aj@suse.de>
4030
4031 * Makerules (tests): Remove enable-check-abi protection.
4032 (check-abi-warn): Remove.
4033 (check-abi-%): Remove check-abi-warn usage.
4034
4035 * configure.in: Remove check-abi configure option.
4036 * configure: Regenerated.
4037 * config.make.in (enable-check-abi): Remove.
4038
6d5c57fa
AS
40392012-04-28 Andreas Schwab <schwab@linux-m68k.org>
4040
24c5d07e 4041 [BZ #14033]
ded5180a
AS
4042 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
4043 double functions to double *_finite functions.
4044
7e0d315d
AS
4045 [BZ #13941]
4046 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
4047 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
4048 LDBL_MIN_EXP.
4049 * stdio-common/Makefile (tests): Add tst-sprintf3.
4050 * stdio-common/tst-sprintf3.c: New file.
4051
6d5c57fa
AS
4052 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
4053 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
4054
0749ff8b
JM
40552012-04-28 Joseph Myers <joseph@codesourcery.com>
4056
4057 * conform/conformtest.pl: Remove duplicate typed-constant
4058 handling.
4059
8dbd5d7b
DM
40602012-04-28 David S. Miller <davem@davemloft.net>
4061
4062 * Makerules (%.abilist): Add vpath on sysdep_dirs.
4063 (check-abi-%): Remove AWK script prerequisite and explicit
4064 abilist directory.
4065 (check-abi): Rewrite to just diff the symlist with the abilist.
4066 (config-tls, config-abi-config): Delete, no longer used.
4067 (update-abi-%): Remove AWK script and explicit abilist directory.
4068 (update-abi): Rewrite to simply compare and conditionally copy the
4069 symlist and the sysdep abilist file. Remove update-abi-config
4070 checks.
4071 * abilist/ld.abilist: Remove.
4072 * abilist/libBrokenLocale.abilist: Remove.
4073 * abilist/libanl.abilist: Remove.
4074 * abilist/libcrypt.abilist: Remove.
4075 * abilist/libdl.abilist: Remove.
4076 * abilist/librt.abilist: Remove.
4077 * abilist/libthread_db.abilist: Remove.
4078 * abilist/libutil.abilist: Remove.
4079 * scripts/extract-abilist.awk: Remove.
4080 * scripts/merge-abilist.awk: Remove.
4081 * sysdeps/generic/libcidn.abilist: New file.
4082 * sysdeps/generic/libnss_compat.abilist: New file.
4083 * sysdeps/generic/libnss_db.abilist: New file.
4084 * sysdeps/generic/libnss_dns.abilist: New file.
4085 * sysdeps/generic/libnss_files.abilist: New file.
4086 * sysdeps/generic/libnss_hesiod.abilist: New file.
4087 * sysdeps/generic/libnss_nis.abilist: New file.
4088 * sysdeps/generic/libnss_nisplus.abilist: New file.
4089 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
4090 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
4091 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
4092 file.
4093 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
4094 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
4095 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
4096 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
4097 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
4098 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
4099 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
4100 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
4101 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
4102 file.
4103 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
4104 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
4105 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
4106 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
4107 file.
4108 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
4109 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
4110 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
4111 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
4112 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
4113 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
4114 file.
4115 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
4116 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
4117 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
4118 file.
4119 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
4120 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
4121 New file.
4122 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
4123 New file.
4124 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
4125 New file.
4126 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
4127 New file.
4128 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
4129 New file.
4130 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
4131 New file.
4132 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
4133 New file.
4134 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
4135 New file.
4136 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
4137 New file.
4138 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
4139 New file.
4140 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
4141 New file.
4142 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
4143 New file.
4144 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
4145 New file.
4146 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
4147 file.
4148 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
4149 New file.
4150 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
4151 New file.
4152 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
4153 file.
4154 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
4155 New file.
4156 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
4157 New file.
4158 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
4159 file.
4160 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
4161 New file.
4162 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
4163 New file.
4164 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
4165 New file.
4166 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
4167 New file.
4168 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
4169 New file.
4170 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
4171 New file.
4172 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
4173 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
4174 file.
4175 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
4176 New file.
4177 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
4178 file.
4179 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
4180 file.
4181 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
4182 file.
4183 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
4184 file.
4185 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
4186 file.
4187 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
4188 New file.
4189 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
4190 file.
4191 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
4192 file.
4193 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
4194 New file.
4195 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
4196 file.
4197 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
4198 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
4199 file.
4200 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
4201 New file.
4202 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
4203 file.
4204 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
4205 file.
4206 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
4207 file.
4208 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
4209 file.
4210 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
4211 file.
4212 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
4213 New file.
4214 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
4215 file.
4216 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
4217 file.
4218 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
4219 New file.
4220 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
4221 file.
4222 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
4223 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
4224 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
4225 file.
4226 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
4227 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
4228 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
4229 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
4230 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
4231 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
4232 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
4233 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
4234 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
4235 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
4236 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
4237 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
4238 file.
4239 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
4240 New file.
4241 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
4242 file.
4243 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
4244 file.
4245 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
4246 file.
4247 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
4248 file.
4249 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
4250 file.
4251 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
4252 New file.
4253 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
4254 New file.
4255 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
4256 file.
4257 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
4258 New file.
4259 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
4260 file.
4261 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
4262 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
4263 file.
4264 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
4265 New file.
4266 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
4267 file.
4268 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
4269 file.
4270 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
4271 file.
4272 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
4273 file.
4274 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
4275 file.
4276 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
4277 New file.
4278 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
4279 New file.
4280 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
4281 file.
4282 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
4283 New file.
4284 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
4285 file.
4286
41d73a1b
JM
42872012-04-28 Joseph Myers <joseph@codesourcery.com>
4288
4289 * conform/conformtest.pl: Fix typo in handling typed-constant from
4290 allow-header.
4291
28aeeda4
JM
42922012-04-27 Joseph Myers <joseph@codesourcery.com>
4293
adae8f5e
JM
4294 * README: Cut down references to pre-2.6 Linux kernels and
4295 Linuxthreads. Update lists of configurations in libc and ports
4296 and sort alphabetically. Say "or newer" with Linux kernel version
4297 requirements.
4298
28aeeda4
JM
4299 * config.h.in [IS_IN_build]: Allow compiling without optimization.
4300
a462cb63
RA
43012012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
4302
4303 [BZ #887]
4304 * math/libm-test.inc (logb_test_downward): New test to expose
4305 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
4306 rounding mode.
4307
6ad3493e
JM
43082012-04-27 Joseph Myers <joseph@codesourcery.com>
4309
4310 [BZ #14027]
4311 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
4312 to be done.
4313 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
4314 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
4315
2ce4f015
JM
43162012-04-26 Joseph Myers <joseph@codesourcery.com>
4317
5aeb141a
JM
4318 * sysdeps/unix/i386/brk.S: Remove file.
4319 * sysdeps/unix/i386/dl-brk.S: Likewise.
4320 * sysdeps/unix/i386/pipe.S: Likewise.
4321 * sysdeps/unix/i386/sigreturn.S: Likewise.
4322 * sysdeps/unix/i386/syscall.S: Likewise.
4323 * sysdeps/unix/i386/vfork.S: Likewise.
4324 * sysdeps/unix/i386/wait.S: Likewise.
4325
7143acae
JM
4326 * sysdeps/unix/common/tcsendbrk.c: Move to ...
4327 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
4328
2ce4f015
JM
4329 * configure.in (arm*-none*): Do not allow without
4330 --enable-hacker-mode.
4331 (netbsd*): Remove case setting base_os.
4332 (386bsd*): Likewise.
4333 (freebsd*): Likewise.
4334 (bsdi*): Likewise.
4335 (osf*): Likewise.
4336 (sunos*): Likewise.
4337 (ultrix*): Likewise.
4338 (newsos*): Likewise.
4339 (dynix*): Likewise.
4340 (*bsd*): Likewise.
4341 (sysv*): Likewise.
4342 (isc*): Likewise.
4343 (esix*): Likewise.
4344 (sco*): Likewise.
4345 (minix*): Likewise.
4346 (irix4*): Likewise.
4347 (irix6*): Likewise.
4348 (solaris[2-9]*): Likewise.
4349 (none): Likewise.
4350 * configure: Regenerated.
4351
0ac229c8
AZ
43522012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4353
4354 [BZ #11521]
4355 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
4356 overflow or cancellation in calculating denominator.
4357 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
4358 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
4359 down expression to avoid unexpected rounding in newer GCCs.
4360 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
4361
33f244f4
DM
43622012-04-26 David S. Miller <davem@davemloft.net>
4363
4364 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
4365 long-double compat symbols.
4366 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
4367 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
4368 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
4369 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
4370 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
4371 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
4372 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
4373 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
4374 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
4375 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
4376 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
4377 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
4378 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
4379
cfa1f3e8
DM
43802012-04-25 David S. Miller <davem@davemloft.net>
4381
4382 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
4383 HWCAP_* values only after the memory barriers have been defined.
4384 (atomic_full_barrier): Define.
4385 (atomic_read_barrier): Define.
4386 (atomic_write_barrier): Define.
4387
6e236b92
SP
43882012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
4389
4390 * shlib-versions: Add libgcc_s version information.
4391 * sysdeps/generic/libgcc_s.h: Remove.
4392 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
4393 libgcc_s.h.
4394 * sysdeps/gnu/unwind-resume.c: Likewise.
4395 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
4396
aab39a09
DM
43972012-04-25 David S. Miller <davem@davemloft.net>
4398
4399 * sysdeps/unix/sparc/brk.S: Delete.
4400 * sysdeps/unix/sparc/dl-brk.S: Delete.
4401 * sysdeps/unix/sparc/pipe.S: Delete.
4402 * sysdeps/unix/sparc/sysdep.S: Delete.
4403 * sysdeps/unix/sparc/sysdep.h: Delete.
4404 * sysdeps/unix/sparc/vfork.S: Delete.
4405 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
4406 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
4407 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
4408 ret_ERRVAL, r0, r1, MOVE): Define.
4409 (JUMPTARGET): Remove.
4410 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
4411 sysdeps/unix/sparc/sysdep.h
4412 (ENTRY, END): Remove.
4413 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
4414
a3cc4f48
JM
44152012-04-25 Joseph Myers <joseph@codesourcery.com>
4416
2ed8cda2
JM
4417 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
4418 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
4419 -DIS_IN_build.
4420
35d76d59
JM
4421 * timezone/README: Update upstream location and email address for
4422 tzcode and tzdata.
4423 * timezone/zdump.c: Update from tzcode 2012b.
4424 * timezone/zic.c: Likewise.
4425
a3cc4f48
JM
4426 * configure.in (libc_cv_as_needed): Remove test.
4427 * configure: Regenerated.
4428 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
4429 conditional definition.
4430 [$(have-as-needed) != yes] (no-as-needed): Likewise.
4431 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
4432 * config.make.in (have-as-needed): Remove variable.
4433
ceab42c3
SP
44342012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
4435 Paul Pluzhnikov <ppluzhnikov@google.com>
4436
4437 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
4438 strings correctly.
4439
3ce2865f
CLT
44402012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
4441
4442 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
4443 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
4444 * sysdeps/sh/strlen.S: Likewise.
4445
f37e0d68
JM
44462012-04-24 Joseph Myers <joseph@codesourcery.com>
4447
ae186e9a
JM
4448 * sysdeps/unix/fork.S: Remove file.
4449 * sysdeps/unix/i386/fork.S: Likewise.
4450 * sysdeps/unix/sparc/fork.S: Likewise.
4451
b96914af
JM
4452 * sysdeps/unix/system.c: Remove file.
4453 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
4454
f37e0d68
JM
4455 * sysdeps/unix/getegid.S: Remove file.
4456 * sysdeps/unix/geteuid.S: Likewise.
4457
87ef29ca
RM
44582012-04-24 Roland McGrath <roland@hack.frob.com>
4459
83bcd236
RM
4460 * scripts/check-localplt.awk: New file.
4461 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
4462 of diff.
4463 * scripts/data/localplt-generic.data: Add a comment.
4464
87ef29ca
RM
4465 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
4466 NODE when __dir_mkfile failed.
4467 * sysdeps/mach/hurd/symlinkat.c: Likewise.
4468 Reported by Ludovic Courtès <ludo@gnu.org>.
4469
e5a6e567
AJ
44702012-04-24 Andreas Jaeger <aj@suse.de>
4471
4472 * Makerules (common-clean): Also remove gen-as-const-headers
4473 files.
4474
c1820385
JM
44752012-04-24 Joseph Myers <joseph@codesourcery.com>
4476
4477 * Makerules (native-compile): Do not change working directory for
4478 build. Use $(OUTPUT_OPTION) in command.
4479 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
4480
94e02fc4
AZ
44812012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4482
4483 [BZ #13886]
4484 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
4485 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
4486 * math/libm-test.inc (floor_test): Add more tests.
4487 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
4488
3a533ca3
JM
44892012-04-24 Joseph Myers <joseph@codesourcery.com>
4490
940ab4b3
JM
4491 * sysdeps/unix/getdents.c: Remove file.
4492 * sysdeps/unix/sysv/getdents.c: Likewise.
4493 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
4494
90e037bd
JM
4495 * sysdeps/unix/syscalls.list (madvise): Add syscall from
4496 sysdeps/unix/mman/syscalls.list.
4497 (mmap): Likewise.
4498 (mprotect): Likewise.
4499 (msync): Likewise.
4500 (munmap): Likewise.
4501 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
4502 * sysdeps/unix/mman/syscalls.list: Remove.
4503 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
4504
3a533ca3
JM
4505 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
4506 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
4507 * configure: Regenerated.
4508 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
4509 $(libgcc_s_suffix).
4510 * config.make.in (libgcc_s_suffix): Remove variable.
4511
1ad743de
JM
45122012-04-23 Joseph Myers <joseph@codesourcery.com>
4513
4ad451e2
JM
4514 * sysdeps/unix/sysv/gethostname.c: Move to ...
4515 * sysdeps/posix/gethostname.c: ... here.
4516
5e37ce39
JM
4517 * sysdeps/unix/execve.S: Remove file.
4518
1ad743de
JM
4519 * sysdeps/unix/_exit.S: Remove file.
4520
4e681b5b
AJ
45212012-04-23 Andreas Jaeger <aj@suse.de>
4522
4523 [BZ #13739]
4524 * manual/Makefile: Remove make dist support, there's no
4525 need for a stand-alone documentation tar ball.
4526 (TEXI2DVI): Define always, it's not in Makeconfig.
4527 (dist): Removed.
4528 (tar-it): Removed.
4529 (edition): Removed.
4530 (glibc-doc-$(edition).tar): Removed
4531 (%.Z): Removed.
4532 (%.gz): Removed.
4533 (%.uu): Removed.
4534 (ETAGS): Remove, it's in Makeconfig.
4535 (move-if-change): Remove, it's in Makeconfig.
4536
c0baea34
PE
45372013-04-23 Paul Eggert <eggert@cs.ucla.edu>
4538
4539 [BZ #13970]
4540 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
4541 (strtod, strtof, strtold, strtol, strtoul, strtoq)
4542 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
4543 (strtod_l, strtof_l, strtold_l): Remove __wur.
4544 It is not necessarily an error to ignore strtol's return value.
4545 One can reliably look at the stored endptr to decide whether
4546 the number had valid syntax.
4547
7c0616fa
AJ
45482012-04-21 Andreas Jaeger <aj@suse.de>
4549
803cb6b7 4550 [BZ #13739]
7c0616fa
AJ
4551 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
4552
b0fe253f
JM
45532012-04-21 Joseph Myers <joseph@codesourcery.com>
4554
4555 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
4556 * sysdeps/unix/sysv/Versions: Remove file.
4557
8280f22d
MT
45582012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
4559
4560 [BZ #13927]
4561 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4562
75ce411f 45632012-04-21 Nick Alcock <nick.alcock@oracle.com>
b8e33728
N
4564
4565 [BZ #7064]
4566 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
4567 version from __vm86.
4568
097d59fa
JM
45692012-04-20 Joseph Myers <joseph@codesourcery.com>
4570
a90f3bcb
JM
4571 * sysdeps/unix/common/lxstat.c: Remove file.
4572 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
4573
edc7ea78
JM
4574 * sysdeps/unix/sysv/Makefile: Remove file.
4575
cb78c221
JM
4576 * sysdeps/unix/sysv/direct.h: Remove file.
4577
efa6a45f
JM
4578 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
4579 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
4580 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
4581 * sysdeps/unix/sysv/bits/signum.h: Likewise.
4582 * sysdeps/unix/sysv/bits/stat.h: Likewise.
4583 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
4584 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
4585
9c9f2d0c
JM
4586 * sysdeps/unix/sysv/setrlimit.c: Remove file.
4587
4541c83b
JM
4588 * sysdeps/unix/xmknod.c: Remove file.
4589 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
4590
f5d153a0
JM
4591 * sysdeps/unix/sysv/settimeofday.c: Remove file.
4592
aa746595
JM
4593 * sysdeps/unix/sysv/i386/time.S: Remove file.
4594
cce5905e
JM
4595 * sysdeps/unix/fxstat.c: Remove file.
4596 * sysdeps/unix/xstat.c: Likewise.
4597 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
4598
37fa3841
JM
4599 * sysdeps/unix/sysv/sigaction.c: Remove file.
4600
ff1962a3
JM
4601 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
4602 (sysdep_headers): Remove variable.
4603 [termio.h not in sysdep_headers] (generated): Likewise.
4604 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
4605 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
4606 * sysdeps/unix/sysv/tcdrain.c: Likewise.
4607 * sysdeps/unix/sysv/tcflow.c: Likewise.
4608 * sysdeps/unix/sysv/tcflush.c: Likewise.
4609 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
4610 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
4611 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
4612 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
4613 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
4614
e7740d31
JM
4615 * sysdeps/unix/siglist.c: Remove file.
4616
ee06f18b
JM
4617 * sysdeps/unix/getppid.S: Remove file.
4618
097d59fa
JM
4619 * sysdeps/unix/mkdir.c: Remove file.
4620 * sysdeps/unix/rmdir.c: Likewise.
4621
ff3d51ec
AS
46222012-04-19 Andreas Schwab <schwab@linux-m68k.org>
4623
4624 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
4625 ERR_MAX value.
4626 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
4627 errlist-compat value.
4628
50f81fd7
DM
46292012-04-18 David S. Miller <davem@davemloft.net>
4630
4631 * sysdeps/generic/memcopy.h (reg_char): Delete.
4632 * debug/strcat_chk.c: Use char, not reg_char.
4633 * debug/strcpy_chk.c: Likewise.
4634 * debug/strncat_chk.c: Likewise.
4635 * debug/strncpy_chk.c: Likewise.
4636 * string/memchr.c: Likewise.
4637 * string/memrchr.c: Likewise.
4638 * string/rawmemchr.c: Likewise.
4639 * string/strcat.c: Likewise.
4640 * string/strchr.c: Likewise.
4641 * string/strchrnul.c: Likewise.
4642 * string/strcmp.c: Likewise.
4643 * string/strcpy.c: Likewise.
4644 * string/strncat.c: Likewise.
4645 * string/strncmp.c: Likewise.
4646 * string/strncpy.c: Likewise.
4647
8ff41c46
WS
46482012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
4649
4650 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
4651 __builtin_memcopy is called when src and dest ranges are known to not
4652 overlap.
4653
6b652f46
WS
46542012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
4655
4656 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
4657 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
4658 fwd_align_merge macro call.
4659 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
4660 bwd_align_merge macro call.
4661 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
4662
b282631e
WS
46632012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
4664
4665 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
4666 bwd_align_merge macros.
4667 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
4668 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
4669 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
4670
95aa737c
DM
46712012-04-18 David S. Miller <davem@davemloft.net>
4672
4673 * sysdeps/sparc/sparc64/memcopy.h: Delete.
4674
7a99a614
AJ
46752012-04-18 Andreas Jaeger <aj@suse.de>
4676
4677 [BZ# 6794]
4678 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
4679 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
4680 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
4681
4682 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
4683 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
4684 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
4685
4686 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
4687 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
4688 Adjust for changed ldbl-128 files.
4689
4690 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
4691 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
4692 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
4693
e5270c23
DM
46942012-04-17 David S. Miller <davem@davemloft.net>
4695
4696 * sysdeps/sparc/sparc32/memcopy.h: Delete.
4697
fb5e92c9
AS
46982012-04-17 Andreas Schwab <schwab@linux-m68k.org>
4699
4700 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
4701 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
4702 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
4703 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
4704 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
4705 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
4706
76da7265
AZ
47072012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4708
4709 [BZ #6794]
4710 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
4711 * math/libm-test.inc: Add ilogb errno and exception tests.
4712 * math/w_ilogb.c: New file: ilogb wrapper.
4713 * math/w_ilogbf.c: New file: ilogbf wrapper.
4714 * math/w_ilogbl.c: New file: ilogbl wrapper.
4715 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
4716 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
4717 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
4718 exception being thrown with 0.0 as argument.
4719 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
4720 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
4721 exception being thrown with 0.0 as argument.
4722 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
4723 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
4724 exception being thrown with 0.0 as argument.
4725 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
4726 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
4727 exception being thrown with 0.0 as argument.
4728 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
4729 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
7a99a614 4730 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
76da7265
AZ
4731 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
4732 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
4733 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
4734 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
4735 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
4736 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
4737
0396e69d
PB
47382012-04-17 Petr Baudis <pasky@ucw.cz>
4739
4740 * include/sys/uio.h: Change __vector to __iovec to avoid clash
4741 with altivec.
4742
750b5926
MP
47432012-04-16 Marek Polacek <polacek@redhat.com>
4744
4745 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
4746
751728a1
MP
47472012-04-16 Marek Polacek <polacek@redhat.com>
4748
4749 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
4750 operands of fdivp instruction.
4751
34a27407
L
47522012-04-13 H.J. Lu <hongjiu.lu@intel.com>
4753
4754 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
4755 * elf/tst-auditmod3b.c: Likewise.
4756 * elf/tst-auditmod4b.c: Likewise.
4757 * elf/tst-auditmod5b.c: Likewise.
4758 * elf/tst-auditmod6b.c: Likewise.
4759 * elf/tst-auditmod6c.c: Likewise.
4760 * elf/tst-auditmod7b.c: Likewise.
4761 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
4762 * sysdeps/x86_64/preconfigure.in: Likewise.
4763 * sysdeps/x86_64/preconfigure: Regenerated.
4764
7e73e17d
L
47652012-04-13 H.J. Lu <hongjiu.lu@intel.com>
4766
4767 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
4768 __ILP32__.
4769
c7a6ab72
AB
47702012-04-13 Antoine Balestrat <merkil33@gmail.com>
4771
4772 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
4773 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
4774
a9e8e0e0
CL
47752012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
4776
4777 [BZ #13973]
4778 * locale/iso-639.def: Fix gl language name. Spotted by
4779 Yaron Shahrabani.
4780
ec98af7d
RM
47812012-04-12 Roland McGrath <roland@hack.frob.com>
4782
4783 [BZ #2074]
4784 * libio/libio.h (__io_write_fn): Update comment.
4785
247c3ede
PB
47862012-04-12 Petr Baudis <pasky@ucw.cz>
4787
4788 [BZ #2074]
4789 * stdio.texi (Hook Functions): The user provided writer function
4790 is not allowed to return -1.
4791
55939d6d
DM
47922012-04-11 David S. Miller <davem@davemloft.net>
4793
4794 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4795
90020f5a
MF
47962012-04-11 Mike Frysinger <vapier@gentoo.org>
4797
4798 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
4799 Add a leading slash to rtkaio.
4800
288f9098
JM
48012012-04-11 Jim Meyering <meyering@redhat.com>
4802
90020f5a
MF
4803 [BZ #11959]
4804 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
4805 It is not necessarily an error to ignore fwrite's return
4806 value. One can reliably use ferror to test for errors after
4807 the fact.
288f9098 4808
4be2b570
L
48092012-04-10 H.J. Lu <hongjiu.lu@intel.com>
4810
4811 * bits/types.h (__snseconds_t): New type.
4812 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
4813
4814 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
4815 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
4816 (__SNSECONDS_T_TYPE): Likewise.
4817 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
4818 (__SNSECONDS_T_TYPE): Likewise.
4819 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
4820 (__SNSECONDS_T_TYPE): Likewise.
4821
288f9098 48222012-04-10 Andreas Jaeger <aj@suse.de>
4cfd8026
AJ
4823
4824 [BZ #2636]
4825 * manual/time.texi (Processor Time): Return type of times is
4826 elapsed real time since an arbitrary point in the past.
4827 (CPU Time): Move CLK_TCK from here...
4828 (Processor Time): ...to here. Correct description.
4829 * manual/conf.texi (Constants for Sysconf): Correct description of
4830 _SC_CLK_TCK.
4831
d7dd4413
DM
48322012-04-10 David S. Miller <davem@davemloft.net>
4833
4834 [BZ #13967]
4835 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
4836 where the is a gap between DT_REL(A) and DT_JMPREL.
4837
b46068fc
L
48382012-04-10 H.J. Lu <hongjiu.lu@intel.com>
4839
4840 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
4841 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
4842 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
4843
73d65cc3
SP
48442012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
4845
4846 * elf/dl-support.c (_dl_inhibit_cache): New variable.
4847 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
4848 (dl_main): Handle --inhibit-cache.
4849 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
4850 _dl_inhibit_cache.
4851 * elf/dl-load.c (_dl_map_object): Use it.
4852 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
4853
bcc8d661
JM
48542012-04-09 Joseph Myers <joseph@codesourcery.com>
4855
8f9a2fae
JM
4856 [BZ #13872]
4857 * sysdeps/i386/fpu/e_powl.S (p78): New object.
4858 (__ieee754_powl): Saturate large exponents rather than testing for
4859 overflow of y*log2(x).
4860 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
4861 * math/libm-test.inc (pow_test): Do not permit spurious overflow
4862 exceptions.
4863
bcc8d661
JM
4864 [BZ #11521]
4865 * math/s_ctan.c: Include <float.h>.
4866 (__ctan): Avoid internal overflow or cancellation in calculating
4867 denominator.
4868 * math/s_ctanf.c: Likewise.
4869 * math/s_ctanl.c: Likewise.
4870 * math/s_ctanh.c: Likewise.
4871 * math/s_ctanhf.c: Likewise.
4872 * math/s_ctanhl.c: Likewise.
4873 * math/libm-test.inc (ctan_test): Add more tests.
4874 (ctanh_test): Likewise.
4875 * sysdeps/i386/fpu/libm-test-ulps: Update.
4876 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4877
823fbbb4
AJ
48782012-04-09 Andreas Jaeger <aj@suse.de>
4879
03879793
AJ
4880 [BZ #6894]
4881 * manual/filesys.texi (Directory Entries): Mention that d_namlen
4882 is an optional BSD extension.
4883
823fbbb4
AJ
4884 [BZ #10254]
4885 * manual/stdio.texi (Opening Streams): Document additional fopen
4886 parameters.
4887
8de131cb
RM
48882012-04-09 Roland McGrath <roland@hack.frob.com>
4889
4890 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
4891 %eax without telling the compiler.
4892
c0ed9d7d
CD
48932012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
4894
4895 [BZ # 13963]
4896 * manual/install.texi: Use sourceware.org.
4897
c483f6b4
JM
48982012-04-09 Joseph Myers <joseph@codesourcery.com>
4899
d7dd9453
JM
4900 [BZ #13873]
4901 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
4902 (__ieee754_pow): Generate overflow and underflow using huge*huge
4903 and tiny*tiny rather than just returning constant infinity or zero
4904 for large exponents.
4905 * math/libm-test.inc (pow_test): Require overflow exceptions for
4906 applicable cases of large exponents.
4907
c483f6b4
JM
4908 [BZ #706]
4909 * sysdeps/i386/fpu/e_pow.S (p10): New object.
4910 (__ieee754_pow): Use iterative multiplication algorithm only for
4911 integer exponents with absolute value below 1024. Check for odd
4912 integer exponents when using algorithm for real exponents.
4913 * math/libm-test.inc (pow_test): Add more tests.
4914 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4915
d2de7579
JM
49162012-04-08 Joseph Myers <joseph@codesourcery.com>
4917
4918 [BZ #13705]
4919 * math/libm-test.inc (exp_test): Do not allow overflow exception
4920 on underflow test.
4921
f77f1232
AJ
49222012-04-08 Aurelien Jarno <aurelien@aurel32.net>
4923
4924 [BZ #13705]
4925 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
4926 instead of __kernel_standard_f.
4927
3884932b
MF
49282012-04-08 Mike Frysinger <vapier@gentoo.org>
4929
4930 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
4931 * sysdeps/x86_64/memset_chk.S: Likewise.
4932
54472e9c
AJ
49332012-04-08 Andreas Jaeger <aj@suse.de>
4934
6ab0fbfc
AJ
4935 [BZ #10153]
4936 * manual/startup.texi (Environment Access): Describe return value
4937 for putenv and setenv.
4938
61efba8c
AJ
4939 [BZ #6895]
4940 * manual/filesys.texi (Directory Entries): Add description for
4941 DT_LNK.
4942
95c3f29a
AJ
4943 [BZ #6890]
4944 * manual/filesys.texi (Directory Entries): Clarify that it's file
4945 system not operating system in the description of DT_UNKNOWN.
4946
54472e9c
AJ
4947 [BZ #6578]
4948 * manual/syslog.texi (closelog): Fix reference, it's openlog.
4949
624254b1
SC
49502012-04-08 Stephen Compall <s11@member.fsf.org>
4951
4952 [BZ #6649]
4953 * manual/llio.texi (Opening and Closing Files): Add cross
4954 reference to explain mode argument.
4955
1e4920e0
MF
49562012-04-07 Mike Frysinger <vapier@gentoo.org>
4957
4958 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
4959 * sysdeps/x86_64/memset_chk.S: Likewise.
4960
5ed848f3
DM
49612012-04-07 David S. Miller <davem@davemloft.net>
4962
4963 * elf/elf.h (R_SPARC_WDISP10): Define.
4964 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
4965 R_SPARC_SIZE32.
4966 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
4967 R_SPARC_SIZE64 and R_SPARC_H34.
4968
96154cd8
CD
49692012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
4970
4971 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
4972 conditions and remove no longer applicable assertion.
4973
9904dc47
L
49742012-04-06 H.J. Lu <hongjiu.lu@intel.com>
4975
4976 * bits/byteswap.h: Include <features.h>.
4977 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
4978 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
4979
f8887d0a
L
49802012-04-06 H.J. Lu <hongjiu.lu@intel.com>
4981
4982 * bits/byteswap.h (__bswap_16): Removed.
4983 Include <bits/byteswap-16.h> to get __bswap_16.
4984 * sysdeps/i386/bits/byteswap.h: Likewise.
4985 * sysdeps/s390/bits/byteswap.h: Likewise.
4986 * sysdeps/x86_64/bits/byteswap.h: Likewise.
4987 * bits/byteswap-16.h: New file.
4988 * sysdeps/i386/bits/byteswap-16.h: Likewise.
4989 * sysdeps/s390/bits/byteswap-16.h: Likewise.
4990 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
4991 * string/Makefile (headers): Add bits/byteswap-16.h.
4992
62470f60
PP
49932012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
4994
4995 [BZ #13895]
4996 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
4997 extra indirection.
4998 * nss/Makefile (tests-static, tests): Add tst-nss-static.
4999 * nss/tst-nss-static.c: New.
5000
4dad7bab
RM
50012012-04-06 Robert Millan <rmh@gnu.org>
5002
5003 [BZ #6486]
5004 * manual/llio.texi (File Position Primitive): lseek
5005 refers to WHENCE when it really means OFFSET.
5006
e9142a17
AJ
50072012-04-06 Andreas Jaeger <aj@suse.de>
5008
2c040eff
AJ
5009 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
5010 strncmp declarations.
5011
e9142a17
AJ
5012 * abilist/libc.abilist: Add __poll and __ppoll.
5013
ff9f1c5f
DM
50142012-04-05 David S. Miller <davem@davemloft.net>
5015
dcd2ae90
DM
5016 * scripts/check-local-headers.sh: Accept a host triplet in the
5017 path matched by the exclude regexp.
5018
993eb054
DM
5019 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
5020 definition.
5021 * sysdeps/powerpc/powerpc32/dl-machine.h
5022 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
5023 * sysdeps/s390/s390-32/dl-machine.h
5024 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
5025 * sysdeps/sparc/sparc32/dl-machine.h
5026 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
5027 * sysdeps/sparc/sparc64/dl-machine.h
5028 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
5029
ff9f1c5f
DM
5030 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
5031 lazy binding.
48e2e132 5032 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
ff9f1c5f
DM
5033 undefined symbol errors.
5034
48e2e132 5035 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
ff9f1c5f
DM
5036 DT_NEEDED entries.
5037
e80d6f94
MM
50382012-04-05 Michael Matz <matz@suse.de>
5039
5040 [BZ #13592]
5041 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
5042
349fa79f
AJ
50432012-04-05 Andreas Jaeger <aj@suse.de>
5044
5045 [BZ #13908]
5046 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
5047 comment.
5048
f402708f
KK
50492012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
5050
5051 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
5052 which ROUND is no valid rounding mode.
5053
2ecccfc9
KK
50542012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
5055
5056 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
5057 read again.
5058 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
5059
8a53f50f
KK
50602012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
5061
5062 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
5063 an exception using FPU order intentionally.
5064
50652012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
5066
5067 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
5068 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
5069 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
5070 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
5071
d653abb7
SJ
50722012-04-05 Simon Josefsson <simon@josefsson.org>
5073
5074 [BZ #12340]
5075 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
5076 EINVAL when BUFLEN is too smal.
5077
c3b1bf7d
TS
50782012-04-05 Thomas Schwinge <thomas@codesourcery.com>
5079
5080 [BZ #13553]
5081 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
5082 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
5083
b1aa60f3
AJ
50842012-04-03 Andreas Jaeger <aj@suse.de>
5085
c3b1bf7d 5086 [BZ #13938]
67f60a26
AJ
5087 * manual/setjmp.texi (System V contexts): Fix sentence.
5088
b1aa60f3
AJ
5089 [BZ #13926]
5090 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
5091 New macro for this case.
5092 [!__GNUC__] (__bswap_64): New inline function for this case.
5093 * sysdeps/x86_64/bits/byteswap.h: Likewise.
5094 * bits/byteswap.h: Likewise.
5095 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
5096 ull, guard with __GLIBC_HAVE_LONG_LONG.
5097
5098 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
5099 __GLIBC_HAVE_LONG_LONG.
5100
5101 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
5102 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
5103
39c59c35
TMQMF
51042012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
5105
5106 [BZ #13691]
5107 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
5108 inptr and inend, rather than using last_ch.
5109
135ffda8
DM
51102012-04-02 David S. Miller <davem@davemloft.net>
5111
5112 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
5113 * stdio-common/printf-parse.h (read_int): Change return type to
5114 'int', return -1 on INT_MAX overflow.
5115 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
5116 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
5117 overflows INT_MAX. Check for overflow of in-format-string precision
5118 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
5119 SIZE_MAX not INT_MAX for integer overflow test.
5120 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
5121 skip the construct in the format string but do not record anything.
5122 * stdio-common/bug22.c: Adjust to test both width/prevision
5123 INT_MAX overflow as well as total length INT_MAX overflow. Check
5124 explicitly for proper errno values.
5125
228c019e
TS
51262012-04-02 Thomas Schwinge <thomas@codesourcery.com>
5127
302cadd3
TS
5128 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
5129 CHAR_MAX.
5130 * string/test-strcmp.c [! WIDE]: Likewise.
5131 * time/tst-mktime2.c: Likewise for INT_MAX.
5132 * string/test-string.h: #include <sys/param.h> for MIN.
5133
228c019e
TS
5134 * csu/init-first.c (__libc_init_first): Call __ctype_init.
5135 * sysdeps/i386/init-first.c (init): Likewise.
5136 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
5137 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
5138 * sysdeps/sh/init-first.c (init): Likewise.
5139
cfa633f5
UD
51402012-04-01 Ulrich Drepper <drepper@gmail.com>
5141
5142 * po/ru.po: Update from translation team.
d1635ef8 5143 * po/vi.po: Likewise.
cfa633f5 5144
6cd0a5ea
SP
51452012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
5146
5147 * resolv/nss_dns/dns-host.c: Merge copyright years.
5148
4b43400f
LD
51492012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
5150
5151 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
5152 Optimize memcpy with prefetch if
5153 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
5154 src, dst pointers have unequal 16 byte alignments.
5155
48c41d04
SP
51562012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
5157
5158 [BZ #13928]
5159 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
5160 from a CNAME entry and return the minimum ttl for the query.
5161 (gaih_getanswer_slice): Likewise.
5162
b8dc394d
JL
51632012-03-30 Jeff Law <law@redhat.com>
5164
5165 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
5166 due to long keys.
5167 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
5168 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
5169
2f5a5ed0
JL
5170 * resolv/nss_dns/dns-host.c: Update copyright year.
5171
1d39e359
UD
51722012-03-30 Ulrich Drepper <drepper@gmail.com>
5173
c030f70c 5174 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8e6d1083 5175 requests to save a system call. Fix check that all bytes are sent.
c030f70c 5176
1d39e359
UD
5177 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
5178 comments for sendmmsg.
5179
51802012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
e64d2de5
TMQMF
5181
5182 [BZ #13691]
5183 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
5184 with only 1 character between 0x0041 and 0x01b0.
5185 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
5186 * wcsmbs/tst-mbsnrtowcs.c: New file.
5187
20fde227
DM
51882012-03-29 David S. Miller <davem@davemloft.net>
5189
5190 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
5191 small copies by hand.
5192
984a4237
JL
51932012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
5194
5195 [BZ #13761]
5196 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
5197 _nss_compat_initgroups_dyn): Fall back to malloc/free
5198 for large group memberships.
5199
18c9d62b
DM
52002012-03-28 David S. Miller <davem@davemloft.net>
5201
88d85d4f
DM
5202 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
5203 that branches into memcpy.
5204 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
5205 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
5206 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
5207 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
5208 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
5209 bits.
5210 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
5211 implementation too.
5212 * sysdeps/sparc/mempcpy.S: New file.
5213
e5aa83e1
DM
5214 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
5215 the IFUNC routine in the libc case.
5216 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
5217
88570753
DM
5218 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
5219 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
5220 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
5221 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
5222 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
5223 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
5224 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
5225 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
5226
249d7567
DM
5227 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
5228 loop to 256 bytes instead of 64 bytes and fix test signedness.
5229
18c9d62b
DM
5230 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
5231 * sysdeps/sparc/sparc32/Makefile: rather than here...
5232 * sysdeps/sparc/sparc64/Makefile: and here.
5233
05f3d1f6
UD
52342012-03-28 Ulrich Drepper <drepper@gmail.com>
5235
5236 * malloc/mallocbug.c: Avoid warnings about unused variables.
5237
86ae07a8
JL
52382012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
5239
5240 [BZ #13760]
5241 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
5242 in the right place. Discard and retry query if response is
5243 larger than input buffer size.
5244
41bf21a1
JM
52452012-03-28 Joseph Myers <joseph@codesourcery.com>
5246
d6270972
JM
5247 [BZ #369]
5248 [BZ #2678]
5249 [BZ #3866]
5250 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
5251 x for large integer exponent.
5252 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
5253 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
5254 sign of result as needed afterwards.
5255 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
5256 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
5257 result for underflowing pow the same as for overflow.
5258 (__kernel_standard_l): Handle powl overflow and underflow here
5259 rather than calling __kernel_standard.
5260 * math/libm-test.inc (pow_test): Add more tests.
5261
414fca03 5262 [BZ #3868]
41bf21a1
JM
5263 [BZ #13879]
5264 [BZ #13910]
5265 [BZ #13911]
5266 [BZ #13912]
5267 [BZ #13913]
5268 [BZ #13915]
5269 [BZ #13916]
5270 [BZ #13917]
5271 [BZ #13918]
5272 [BZ #13919]
5273 [BZ #13920]
5274 [BZ #13921]
5275 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
5276 * sysdeps/ieee754/k_standard.c: Include <float.h>.
5277 (__kernel_standard_l): New function.
5278 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
5279 __kernel_standard.
5280 * math/w_acosl.c (__acosl): Likewise.
5281 * math/w_asinl.c (__asinl): Likewise.
5282 * math/w_atan2l.c (__atan2l): Likewise.
5283 * math/w_atanhl.c (__atanhl): Likewise.
5284 * math/w_coshl.c (__coshl): Likewise.
5285 * math/w_exp10l.c (__exp10l): Likewise.
5286 * math/w_exp2l.c (__exp2l): Likewise.
5287 * math/w_fmodl.c (__fmodl): Likewise.
5288 * math/w_hypotl.c (__hypotl): Likewise.
5289 * math/w_j0l.c (__j0l, __y0l): Likewise.
5290 * math/w_j1l.c (__j1l, __y1l): Likewise.
5291 * math/w_jnl.c (__jnl, __ynl): Likewise.
5292 * math/w_lgammal.c (__lgammal): Likewise.
5293 * math/w_log10l.c (__log10l): Likewise.
5294 * math/w_log2l.c (__log2l): Likewise.
5295 * math/w_logl.c (__logl): Likewise.
5296 * math/w_powl.c (__powl): Likewise.
5297 * math/w_remainderl.c (__remainderl): Likewise.
5298 * math/w_scalbl.c (sysv_scalbl): Likewise.
5299 * math/w_sinhl.c (__sinhl): Likewise.
5300 * math/w_sqrtl.c (__sqrtl): Likewise.
5301 * math/w_tgammal.c (__tgammal): Likewise.
5302 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
5303 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
5304 * math/libm-test.inc (acos_test): Add more tests.
5305 (acosh_test): Likewise.
5306 (asin_test): Likewise.
5307 (atanh_test): Likewise.
5308 (exp_test): Likewise.
5309 (exp10_test): Likewise.
5310 (exp2_test): Likewise.
5311 (expm1_test): Likewise.
5312 (lgamma_test): Likewise.
5313 (log_test): Likewise.
5314 (log10_test): Likewise.
5315 (log1p_test): Likewise.
5316 (log2_test): Likewise.
5317 (pow_test): Do not allow some spurious overflow exceptions.
5318 (sqrt_test): Add more tests.
5319 (tgamma_test): Likewise.
5320 (y0_test): Likewise.
5321 (y1_test): Likewise.
5322 (yn_test): Likewise.
5323
dd62fda6
AB
53242012-03-27 Anton Blanchard <anton@samba.org>
5325
5326 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
5327 MAP_HUGETLB.
5328 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
5329 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
5330 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
5331
1e3cdfda
AJ
53322012-03-27 David S. Miller <davem@davemloft.net>
5333
b855ab85
DM
5334 * conform/Makefile: Run run-conformtest.sh using $(BASH).
5335
1e3cdfda
AJ
5336 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
5337 have-as-vis3 check.
5338
53392012-03-27 Andreas Jaeger <aj@suse.de>
5340
5341 * sysdeps/x86_64/elf/configure.in: Moved to ...
5342 * sysdeps/x86_64/configure.in: ... here.
5343 * sysdeps/x86_64/elf/start.S: Moved to ...
5344 * sysdeps/x86_64/start.S: ... here.
5345 * sysdeps/x86_64/elf/configure: Delete.
5346
5347 * sysdeps/x86_64/configure.in: Merge contents from
5348 sysdeps/i386/configure.in (without i686 check).
5349
5350 * sysdeps/i386/elf/Versions: Merge into ...
5351 * sysdeps/i386/Versions: ... this.
5352 * sysdeps/i386/elf/Versions: Delete file.
5353 * sysdeps/i386/elf/start.S: Moved to ...
5354 * sysdeps/i386/start.S: ...here.
5355 * sysdeps/i386/elf/configure.in: Merge into...
5356 * sysdeps/i386/configure.in: ...here.
5357 * sysdeps/i386/elf/configure.in: Delete file.
5358 * sysdeps/i386/elf/configure: Delete file.
5359
5360 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
5361 * debug/backtracesyms.c: ... here.
5362 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
5363 * debug/backtracesymsfd.c: ... here.
5364 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
5365 * sysdeps/generic/ifunc-sel.h: ... here.
5366
5367 * sysdeps/unix/i386/start.c: Delete file.
5368 * sysdeps/unix/sparc/start.c: Delete file.
5369 * sysdeps/unix/start.c: Delete file.
5370
5371 * sysdeps/sh/elf/configure.in: Moved to ...
5372 * sysdeps/sh/configure.in: ... here.
5373 * sysdeps/sh/elf/start.S: Moved to ...
5374 * sysdeps/sh/start.S: ... here.
5375 * sysdeps/sh/elf/configure: Delete file.
5376
5377 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
5378 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
5379 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
5380 * sysdeps/powerpc/powerpc64/entry.h: ... here.
5381 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
5382 * sysdeps/powerpc/powerpc64/start.S: here.
5383 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
5384 * sysdeps/powerpc/powerpc64/Makefile: ... this.
5385 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
5386 * sysdeps/powerpc/powerpc64/configure.in: ... this.
5387 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
5388
5389 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
5390 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
5391 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
5392 * sysdeps/powerpc/powerpc32/start.S: ... here.
5393 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
5394 * sysdeps/powerpc/powerpc32/configure.in: ... this.
5395 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
5396
5397 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
5398 * sysdeps/powerpc/ifunc-sel.h: ... here.
5399 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
5400 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
5401
5402 * sysdeps/sparc/elf/configure.in: Moved to ...
5403 * sysdeps/sparc/configure.in: ... here.
5404 * sysdeps/sparc/elf/configure: Delete file.
5405 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
5406 * sysdeps/sparc/sparc32/start.S: ... here.
5407 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
5408 * sysdeps/sparc/sparc64/start.S: ... here.
5409 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
5410 * sysdeps/sparc/sparc32/Makefile: ... this.
5411 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
5412 * sysdeps/sparc/sparc64/Makefile: ... this.
5413
5414 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
5415 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
5416 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
5417 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
5418 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
5419 * sysdeps/s390/s390-32/setjmp.S: ... here.
5420 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
5421 * sysdeps/s390/s390-32/configure.in: ... here.
5422 * sysdeps/s390/s390-32/elf/configure: Delete file.
5423 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
5424 * sysdeps/s390/s390-32/start.S: ... here.
5425
5426 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
5427 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
5428 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
5429 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
5430 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
5431 * sysdeps/s390/s390-64/setjmp.S: ... here.
5432 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
5433 * sysdeps/s390/s390-64/configure.in: ... here
5434 * sysdeps/s390/s390-64/elf/configure: Delete file.
5435 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
5436 * sysdeps/s390/s390-64/start.S: ... here.
5437 * sysdeps/s390/s390-64/elf/configure: Delete.
5438
5439 * configure.in: Remove support for elf directories in sysdeps.
5440
5441 * configure: Regenerated.
5442 * sysdeps/i386/configure: Regenerated.
5443 * sysdeps/powerpc/powerpc32/configure: Regenerated.
5444 * sysdeps/powerpc/powerpc64/configure: Regenerated.
5445 * sysdeps/s390/s390-32/configure: Regenerated.
5446 * sysdeps/s390/s390-64/configure: Regenerated.
5447 * sysdeps/sh/configure: Regenerated.
5448 * sysdeps/sparc/configure: Regenerated.
5449 * sysdeps/x86_64/configure: Regenerated.
5450
a3f61311
AS
54512012-03-26 Andreas Schwab <schwab@linux-m68k.org>
5452
c876e002
AS
5453 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5454
a3f61311
AS
5455 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
5456 denormal result into account.
5457
ac4c54f0
RM
54582012-03-25 Roland McGrath <roland@hack.frob.com>
5459
5460 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
5461 Reported by Allan McRae <allan@archlinux.org>.
5462
6a9b9c02
JL
54632012-03-23 Jeff Law <law@redhat.com>
5464
5465 * nss/getnssent.c (__nss_getent): Fix typo.
5466
4c42a0c1
DM
54672012-03-23 David S. Miller <davem@davemloft.net>
5468
5469 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5470
1532c7ac
L
54712012-03-23 H.J. Lu <hongjiu.lu@intel.com>
5472
5473 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
5474 to pad to uint64_t for each field.
5475 (dl_tls_index): Replace unsigned long with uint64_t.
5476
3ff42526
PP
54772012-03-23 Daniel Jacobowitz <dmj@google.com>
5478 Paul Pluzhnikov <ppluzhnikov@google.com>
5479
5480 [BZ #6528]
5481 * grp/Makefile (otherlibs): Don't set it.
5482 * inet/Makefile (otherlibs): Likewise.
5483 * login/Makefile (otherlibs): Likewise.
5484 * nscd/Makefile (otherlibs): Likewise.
5485 * posix/Makefile (otherlibs): Likewise.
5486 * pwd/Makefile (otherlibs): Likewise.
5487 * rt/Makefile (otherlibs): Likewise.
5488 * sunrpc/Makefile (otherlibs): Likewise.
5489 * nss/Makefile (otherlibs): Likewise.
5490 Add libnss_files to routines and static-only-routines.
5491 ($(objpfx)getent): Remove rule.
5492 * resolv/Makefile: Add libnss_dns and libresolv to routines and
5493 static-only-routines.
5494
7c69cd14
JM
54952012-03-22 Joseph Myers <joseph@codesourcery.com>
5496
5497 [BZ #13892]
5498 * math/s_cexp.c: Include <float.h>.
5499 (__cexp): Handle exp result overflowing not necessarily
5500 overflowing both real and imaginary parts of result.
5501 * math/s_cexpf.c: Likewise.
5502 * math/s_cexpl.c: Likewise.
5503 * math/libm-test.inc (cexp_test): Add more tests.
5504 * sysdeps/i386/fpu/libm-test-ulps: Update.
5505 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5506
81b035fe
L
55072012-03-22 H.J. Lu <hongjiu.lu@intel.com>
5508
5509 * include/link.h (ELFW): New macro.
5510 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
5511 Replace ELF64_R_TYPE with ELFW(R_TYPE).
5512
1da7940c
L
55132012-03-22 H.J. Lu <hongjiu.lu@intel.com>
5514
5515 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
5516 with uint64_t.
5517
b749dbb9
L
55182012-03-22 H.J. Lu <hongjiu.lu@intel.com>
5519
5520 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
5521 declaration.
5522 (struct La_x32_retval): Likewise.
5523
2ff87f3f
L
55242012-03-22 H.J. Lu <hongjiu.lu@intel.com>
5525
5526 * sysdeps/x86_64/preconfigure.in: New file.
5527 * sysdeps/x86_64/preconfigure: New generated file.
5528
c0df8e69
JM
55292012-03-22 Joseph Myers <joseph@codesourcery.com>
5530
48e44791
JM
5531 [BZ #13824]
5532 * math/e_exp2l.c: Include <float.h>.
5533 (__ieee754_exp2l): Handle overflow and underflow cases
5534 separately. Only pass fractional part of argument to
5535 __ieee754_expl.
5536 * math/libm-test.inc (exp2_test): Add more tests.
5537
c0df8e69
JM
5538 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
5539 negating x to take absolute value.
5540 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
5541 Likewise.
5542 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
5543 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
5544 Likewise.
5545 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
5546 computing low part if x was negated.
5547 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
5548
c8e43ba7
L
55492012-03-21 H.J. Lu <hongjiu.lu@intel.com>
5550
5551 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
5552 la_x32_gnu_pltexit.
5553 (pltexit): Cast int_retval to ptrdiff_t.
5554 * elf/tst-auditmod3b.c: Likewise.
5555 * elf/tst-auditmod4b.c: Likewise.
5556 * elf/tst-auditmod5b.c: Likewise.
5557 * elf/tst-auditmod6b.c: Likewise.
5558 * elf/tst-auditmod6c.c: Likewise.
5559 * elf/tst-auditmod7b.c: Likewise.
5560
5561 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
5562 and x32_gnu_pltexit.
5563
5564 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
5565 __ELF_NATIVE_CLASS.
5566 (La_x32_regs): New macro.
5567 (La_x32_retval): Likewise.
5568 (la_x32_gnu_pltenter): New function prototype.
5569 (la_x32_gnu_pltexit): Likewise.
5570
7998fa78
AS
55712012-03-21 Andreas Schwab <schwab@linux-m68k.org>
5572
dcb33988
AS
5573 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
5574 exponent.
5575
233fc563
AS
5576 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5577
7998fa78
AS
5578 * configure.in (libc_cv_cc_nofma): Check for option to disable
5579 generation of FMA instructions.
5580 * configure: Regenerate.
5581 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
5582 * sysdeps/ieee754/dbl-64/Makefile: New file.
5583 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
5584 Remove brandred-fma4.
5585 (CFLAGS-brandred-fma4.c): Remove.
5586 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
5587 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
5588 define.
5589 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
5590 define.
5591
8e95c99a
L
55922012-03-21 H.J. Lu <hongjiu.lu@intel.com>
5593
5594 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
5595 LLONG_MAX != LONG_MAX.
5596 (_itoa_word): Use _ITOA_WORD_TYPE on value.
5597 (_fitoa_word): Likewise.
5598 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
5599 LLONG_MAX != LONG_MAX.
5600 * stdio-common/_itowa.h: Include <_itoa.h>.
5601 (_itowa_word): Use _ITOA_WORD_TYPE on value.
5602 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
5603 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
5604 only if not defined.
5605 (_ITOA_WORD_TYPE): Likewise.
5606 (_itoa_word): Use _ITOA_WORD_TYPE on value.
5607 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
5608
6f4db457
DM
56092012-03-21 David S. Miller <davem@davemloft.net>
5610
5611 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5612
7785fe5a
L
56132012-03-21 H.J. Lu <hongjiu.lu@intel.com>
5614
5615 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
5616 of x86_64 when setting libc_cv_slibdir, libdir and
5617 libc_cv_localedir.
5618 * sysdeps/unix/sysv/linux/configure: Regenerated.
5619
4535cd55
JM
56202012-03-21 Joseph Myers <joseph@codesourcery.com>
5621
5622 * manual/lang.texi (Old Varargs): Remove section.
5623 (How Variadic): Update menu.
5624 (va_start): Do not mention varargs.h.
5625
17228132
TS
56262012-03-21 Thomas Schwinge <thomas@codesourcery.com>
5627 Joseph Myers <joseph@codesourcery.com>
5628
5629 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
5630 link test.
5631 * configure: Regenerated.
5632
8149f976
TS
56332012-03-21 Thomas Schwinge <thomas@codesourcery.com>
5634
05f3d1f6
UD
5635 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
5636 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
5637 conformtest.pl
8149f976 5638
1a4ac776
JM
56392012-03-21 Joseph Myers <joseph@codesourcery.com>
5640
be22ce65
JM
5641 * NOTES: Remove.
5642 * Makefile (files-for-dist): Remove NOTES.
5643 (NOTES): Remove rule.
5644 * README: Don't refer to NOTES.
5645 * manual/creature.texi: Don't include macros.texi.
5646 * manual/intro.texi (creature.texi): Remove comment referring to
5647 NOTES.
5648
40b601fb
JM
5649 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
5650 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
5651 * configure: Regenerated.
5652 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
5653 LIBC_TRY_CC_OPTION.
5654 (libc_cv_as_i686): Likewise.
5655 (libc_cv_cc_avx): Likewise.
5656 (libc_cv_cc_sse2avx): Likewise.
5657 (libc_cv_cc_fma4): Likewise.
5658 (libc_cv_cc_novzeroupper): Likewise.
5659 * sysdeps/i386/configure: Regenerated.
5660
1a4ac776
JM
5661 [BZ #13883]
5662 * sysdeps/i386/fpu/s_cexp.S: Remove.
5663 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
5664 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
5665 * math/libm-test.inc (cexp_test): Add more tests.
5666 * sysdeps/i386/fpu/libm-test-ulps: Update.
5667 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5668
a458e7fe
AM
56692012-03-21 Allan McRae <allan@archlinux.org>
5670
5671 * timezone/Makefile: Do not install iso3166.tab and zone.tab
5672
0cb7efc5
JM
56732012-03-21 Joseph Myers <joseph@codesourcery.com>
5674
5675 [BZ #13871]
5676 * math/w_exp2.c: Do not include <float.h>.
5677 (o_threshold, u_threshold): Remove.
5678 (__exp2): Calculate result before checking finiteness and calling
5679 __kernel_standard.
5680 * math/w_exp2f.c: Likewise.
5681 * math/w_exp2l.c: Likewise.
5682 * math/libm-test.inc (exp2_test): Require overflow exception for
5683 1e6 input.
2460d3aa
JM
5684
5685 [BZ #3866]
5686 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
5687 range of signed 64-bit integers before using fistpll. Remove
5688 checks for whether integers fit in mantissa bits.
5689 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
5690 the range of signed 32-bit integers before using fistpl. Remove
5691 checks for whether integers fit in mantissa bits.
5692 * sysdeps/i386/fpu/e_powl.S (p64): New object.
5693 (__ieee754_powl): Test for y outside the range of signed 64-bit
5694 integers before using fistpll. Reduce 64-bit values to 63-bit
5695 ones as needed.
5696 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
5697 divide-by-zero is raised for zero to large negative powers.
5698 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
5699 (__ieee754_powl): Test for y outside the range of signed 64-bit
5700 integers before using fistpll. Reduce 64-bit values to 63-bit
5701 ones as needed.
5702 * math/libm-test.inc (pow_test): Add more tests.
5703
eb96ffb0
L
57042012-03-20 H.J. Lu <hongjiu.lu@intel.com>
5705
5706 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
5707 <stdio-common/_itoa.h>.
5708 * debug/segfault.c: Likewise.
5709 * elf/dl-cache.c: Likewise.
5710 * elf/dl-minimal.c: Likewise.
5711 * elf/dl-misc.c: Likewise.
5712 * elf/dl-sysdep.c: Likewise.
5713 * elf/dl-version.c: Likewise.
5714 * elf/rtld.c: Likewise.
5715 * hurd/hurdsock.c: Likewise.
5716 * hurd/lookup-retry.c: Likewise.
5717 * malloc/malloc.c: Likewise.
5718 * malloc/mtrace.c: Likewise.
5719 * nscd/nscd_getgr_r.c: Likewise.
5720 * nscd/nscd_getpw_r.c: Likewise.
5721 * nscd/nscd_getserv_r.c: Likewise.
5722 * posix/getopt_init.c: Likewise.
5723 * posix/wordexp.c: Likewise.
5724 * stdio-common/_itoa.c: Likewise.
5725 * stdio-common/printf_fphex.c: Likewise.
5726 * stdio-common/vfprintf.c: Likewise.
5727 * string/_strerror.c: Likewise.
5728 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
5729 * sysdeps/i386/i686/hp-timing.h: Likewise.
5730 * sysdeps/mach/_strerror.c: Likewise.
5731 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
5732 * sysdeps/mach/hurd/sethostid.c: Likewise.
5733 * sysdeps/mach/hurd/xmknodat.c: Likewise.
5734 * sysdeps/mach/xpg-strerror.c: Likewise.
5735 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
5736 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
5737 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
5738 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
5739 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
5740 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
5741 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
5742 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
5743 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
5744 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
5745 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
5746 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
5747 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
5748 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
5749 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
5750 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
5751 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
5752 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
5753 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
5754 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
5755 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
5756
5757 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
5758
5759 * stdio-common/_itoa.h: Moved to ...
5760 * sysdeps/generic/_itoa.h: Here.
5761
5762 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
5763
5764 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
5765 instead of "_itoa.h" and "_itowa.h".
5766 * stdio-common/vfprintf.: Likewise.
5767
d1af992d
L
57682012-03-20 H.J. Lu <hongjiu.lu@intel.com>
5769
5770 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
5771 <bits/wordsize.h>.
5772 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
5773 (__signbit): Likwise.
5774 (llrintf): Likwise.
5775 (llrint): Likwise.
5776
114883e0
L
57772012-03-20 H.J. Lu <hongjiu.lu@intel.com>
5778
5779 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
5780 __WORDSIZE != 64.
5781
c135cc1b
JM
57822012-03-20 Joseph Myers <joseph@codesourcery.com>
5783
5784 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
5785 OVERFLOW_EXCEPTION_OK.
5786 * math/libm-test.inc ("Philosophy"): Update comment about
5787 exception testing.
5788 (OVERFLOW_EXCEPTION): Define.
5789 (OVERFLOW_EXCEPTION_OK): Likewise.
5790 (INVALID_EXCEPTION_OK): Renumber.
5791 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
5792 (IGNORE_ZERO_INF_SIGN): Likewise.
5793 (test_exceptions): Handle FE_OVERFLOW.
5794 (exp10_test): Expect overflow exceptions.
5795 (exp2_test): Likewise.
5796 (expm1_test): Likewise.
5797 (nextafter_test): Likewise.
5798 (pow_test): Likewise.
5799 (scalbn_test): Likewise.
5800 (scalbln_test): Likewise.
5801
95443d88
L
58022012-03-19 H.J. Lu <hongjiu.lu@intel.com>
5803
5804 * sysdeps/x86_64/bits/atomic.h
5805 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
5806 64bit integer.
5807 (atomic_exchange_acq): Likewise.
5808 (__arch_exchange_and_add_body): Likewise.
5809 (__arch_add_body): Likewise.
5810 (atomic_add_negative): Likewise.
5811 (atomic_add_zero): Likewise.
5812
490df6c4
L
58132012-03-19 H.J. Lu <hongjiu.lu@intel.com>
5814
c2722551 5815 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
5816 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
5817
5e52b189
L
58182012-03-19 H.J. Lu <hongjiu.lu@intel.com>
5819
5820 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
5821 Check __x86_64__ instead of __WORDSIZE.
5822
a9879d4c
L
58232012-03-19 H.J. Lu <hongjiu.lu@intel.com>
5824
5825 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
5826
5df98260
DM
58272012-03-19 David S. Miller <davem@davemloft.net>
5828
e1497744
DM
5829 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5830
5df98260
DM
5831 * sysdeps/sparc/fpu/fenv_private.h: New file.
5832 * sysdeps/sparc/fpu/math_private.h: Use it.
5833 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
5834 Remove.
5835 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
5836 (libc_feholdexcept_setroundl): Remove.
5837 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
5838 Remove.
5839 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
5840 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
5841
b4c35121
L
58422012-03-19 H.J. Lu <hongjiu.lu@intel.com>
5843
5844 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
5845 int64_t instead of long int.
5846 (INSERT_WORDS64): Likwise.
5847
56965fd7
L
58482012-03-19 H.J. Lu <hongjiu.lu@intel.com>
5849
5850 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
5851 _Unwind_GetCFA return to _Unwind_Ptr first.
5852
83d1aec8
JM
58532012-03-19 Joseph Myers <joseph@codesourcery.com>
5854
1897ad44
JM
5855 [BZ #13629]
5856 * math/s_clog.c: Include <float.h>.
5857 (__clog): Scale large or subnormal inputs.
5858 * math/s_clogf.c: Likewise.
5859 * math/s_clogl.c: Likewise.
5860 * math/s_clog10.c: Include <float.h>.
5861 (M_LOG10_2): Define.
5862 (__clog10): Scale large or subnormal inputs.
5863 * math/s_clog10f.c: Likewise.
5864 * math/s_clog10l.c: Likewise.
5865 * math/libm-test.inc (clog_test): Add more tests.
5866 (clog10_test): Likewise.
5867 * sysdeps/i386/fpu/libm-test-ulps: Update.
5868 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5869
7726d6a9
JM
5870 [BZ #11451]
5871 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
5872 x and y.
5873 * math/libm-test.inc (atan2_test): Add another test.
5874
83d1aec8
JM
5875 * Makerules (common-objdir-compile): Remove.
5876 * sysdeps/unix/Makefile (config-generated): Do not add
5877 $(unix-generated) to variable.
5878 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
5879 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
5880 Remove rule.
5881 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
5882 Likewise.
5883 [generic bits/local_lim.h] (before-compile): Do not append to
5884 variable.
5885 [generic bits/local_lim.h] (common-generated): Likewise.
5886 [generic sys/param.h] (before-compile): Do not append to variable.
5887 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
5888 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
5889 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
5890 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
5891 include.
5892 [generic sys/param.h] (sys/param.h-includes): Remove variable.
5893 [generic sys/param.h] (sys/param.h-includes): Remove rule.
5894 [generic sys/param.h] ($(addprefix
5895 $(common-objpfx),$(sys/param.h-includes))): Likewise.
5896 [generic sys/param.h] (common-generated): Do not append to
5897 variable.
5898 [generic sys/param.h] (sysdep_headers): Likewise.
5899 [generic bits/errno.h] (before-compile): Do not append to
5900 variable.
5901 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
5902 rule.
5903 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
5904 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
5905 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
5906 [generic bits/errno.h] (common-generated): Do not append to
5907 variable.
5908 [generic bits/ioctls.h] (before-compile): Do not append to
5909 variable.
5910 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
5911 rule.
5912 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
5913 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
5914 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
5915 rule.
5916 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
5917 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
5918 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
5919 [generic bits/ioctls.h] (common-generated): Do not append to
5920 variable.
5921 [generic sys/syscall.h] (syscall.h): Remove variable.
5922 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
5923 rule.
5924 [generic sys/syscall.h] (before-compile): Do not append to
5925 variable.
5926 [generic sys/syscall.h] (common-generated): Likewise.
5927 * sysdeps/unix/errnos-tmpl.c: Remove file.
5928 * sysdeps/unix/errnos.awk: Likewise.
5929 * sysdeps/unix/ioctls-tmpl.c: Likewise.
5930 * sysdeps/unix/ioctls.awk: Likewise.
5931 * sysdeps/unix/mk-local_lim.c: Likewise.
5932 * sysdeps/unix/snarf-ioctls: Likewise.
5933
4851a949
RH
59342012-03-19 Richard Henderson <rth@twiddle.net>
5935
bd37f2ee
RH
5936 * sysdeps/i386/fpu/fenv_private.h: New file.
5937 * sysdeps/i386/fpu/math_private.h: Use it.
5938 (math_opt_barrier, math_force_eval): Remove.
5939 (libc_feholdexcept_setround_53bit): Remove.
5940 (libc_feupdateenv_53bit): Remove.
5941 * sysdeps/x86_64/fpu/math_private.h: Likewise.
5942 (math_opt_barrier, math_force_eval): Remove.
5943 (libc_feholdexcept): Remove.
5944 (libc_feholdexcept_setround): Remove.
5945 (libc_fetestexcept, libc_fesetenv): Remove.
5946 (libc_feupdateenv_test): Remove.
5947 (libc_feupdateenv, libc_feholdsetround): Remove.
5948 (libc_feresetround): Remove.
5949
d0adc922
RH
5950 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
5951 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
5952
0fe0f1f8
RH
5953 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
5954 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
5955 (libc_feupdateenv_testl): New.
5956 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
5957 (libc_feupdateenv_testf): New.
5958 (libc_feupdateenv): Use libc_feupdateenv_test.
5959 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
5960 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
5961
eb92c487
RH
5962 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
5963 (libc_feholdsetroundf, libc_feholdsetroundl): New.
5964 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
5965 (libc_feresetround_noex): New.
5966 (libc_feresetround_noexf): New.
5967 (libc_feresetround_noexl): New.
5968 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
5969 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
5970 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
5971 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
5972 SET_RESTORE_ROUND.
5973 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
5974 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
5975 (__cos): Likewise.
5976 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
5977 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
5978 SET_RESTORE_ROUND_NOEX.
5979 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
5980 SET_RESTORE_ROUND_NOEXF.
5981 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
5982 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
5983 (libc_feholdsetroundf): New.
5984 (libc_feresetround, libc_feresetroundf): New.
5985
7d2e8012
RH
5986 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
5987 (libc_feholdexcept_setround_53bit): Convert from macro to function.
5988 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
5989
b4dabbb4
RH
5990 * sysdeps/generic/math_private.h: Include <fenv.h>.
5991 (default_libc_feholdexcept): New.
5992 (default_libc_feholdexcept_setround): New.
5993 (default_libc_fesetenv, default_libc_feupdateenv): New.
5994 (libc_feholdexcept): Only define if undefined.
5995 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
5996 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
5997 (libc_feholdexcept_setroundl): Likewise.
5998 (libc_feholdexcept_setround_53bit): Likewise.
5999 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
6000 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
6001 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
6002 (libc_feupdateenv_53bit): Likewise.
6003 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
6004 (libc_feholdexcept): Convert from macro to inline function.
6005 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
6006 (libc_fesetenv, libc_feupdateenv): Likewise.
6007
4851a949
RH
6008 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
6009 not previously defined.
6010 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
6011 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
6012 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
6013 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
6014 * sysdeps/ieee754/flt-32/math_private.h: New file.
6015 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
6016 math_private.h below SET_FLOAT_WORD.
6017 (__isnan, __isinf_ns, __finite): Remove.
6018 (__isnanf, __isinf_nsf, __finitef): Remove.
6019
e79d442e
AS
60202012-03-18 Andreas Schwab <schwab@linux-m68k.org>
6021
6022 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6023
90b80344
DM
60242012-03-17 David S. Miller <davem@davemloft.net>
6025
6026 [BZ #6471]
6027 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
6028 for 2.16.
6029
edc21804
DM
60302012-03-16 David S. Miller <davem@davemloft.net>
6031
77e927af
DM
6032 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
6033 warnings.
6034
374976dd
DM
6035 [BZ #6471]
6036 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
6037 properly.
6038 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
6039 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
6040 sysdep_routines when subdir is sysvipc.
6041 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
6042 __getshmlba helper.
6043
edc21804
DM
6044 * sysdeps/sparc/fpu/libm-test/ulps: Update.
6045
473c3ef3
L
60462012-03-16 H.J. Lu <hongjiu.lu@intel.com>
6047
6048 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
6049 [__LP64__].
6050
eb0f39b6
L
60512012-03-16 H.J. Lu <hongjiu.lu@intel.com>
6052
6053 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
6054 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
6055 (__lround): Renamed to ...
6056 (__llround): This. Replace long int with long long int.
6057 Define lround functions as aliases of llround functions.
6058 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
6059
6b6cd74b
L
60602012-03-16 H.J. Lu <hongjiu.lu@intel.com>
6061
6062 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
6063 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
6064 adresses to uintptr_t. Replace "long int" and "unsigned long
6065 int" with "greg_t" on va_arg.
6066
f1a77b01
L
60672012-03-16 H.J. Lu <hongjiu.lu@intel.com>
6068
6069 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
6070 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
6071
6072 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
6073 Move e_machine check before EI_CLASS check. Handle x32
6074 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
6075 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
6076 SKIP_EM_IA_64 and include
6077 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
6078
6079 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
6080 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
6081 (add_system_dir): New macro.
6082
6083 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
6084 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
6085
11b90b9f
JM
60862012-03-16 Joseph Myers <joseph@codesourcery.com>
6087
c36e1d23
JM
6088 [BZ #2551]
6089 [BZ #2552]
6090 [BZ #2553]
6091 [BZ #2554]
6092 [BZ #2562]
6093 [BZ #2563]
6094 [BZ #2565]
6095 [BZ #2566]
6096 [BZ #2576]
6097 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
6098 (y0): Likewise.
6099 * math/w_j0f.c (j0f): Likewise.
6100 (y0f): Likewise.
6101 * math/w_j0l.c (__j0l): Likewise.
6102 (__y0l): Likewise.
6103 * math/w_j1.c (j1): Likewise.
6104 (y1): Likewise.
6105 * math/w_j1f.c (j1f): Likewise.
6106 (y1f): Likewise.
6107 * math/w_j1l.c (__j1l): Likewise.
6108 (__y1l): Likewise.
6109 * math/w_jn.c (jn): Likewise.
6110 (yn): Likewise.
6111 * math/w_jnf.c (jnf): Likewise.
6112 (ynf): Likewise.
6113 * math/w_jnl.c (__jnl): Likewise.
6114 (__ynl): Likewise.
6115 * math/libm-test.inc (j0_test): Add more tests.
6116 (j1_test): Likewise.
6117 (jn_test): Likewise. Add trailing semicolon to existing test.
6118 (y0_test): Likewise.
6119 (y1_test): Likewise.
6120 * sysdeps/i386/fpu/libm-test-ulps: Update.
6121 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6122
11b90b9f
JM
6123 [BZ #13851]
6124 [BZ #13854]
6125 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
6126 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
6127 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
6128 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
6129 (__tanl): Set errno for infinite argument.
6130 * sysdeps/i386/fpu/mptan.c: Remove.
6131 * sysdeps/i386/fpu/s_tan.S: Likewise.
6132 * sysdeps/i386/fpu/s_tanl.S: Likewise.
6133 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
6134 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
6135 * math/libm-test.inc (tan_test): Add more tests and enable more
6136 tests for double and long double.
6137 * sysdeps/i386/fpu/libm-test-ulps: Update.
6138 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6139
6a1bd2a1
JK
61402012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
6141
6142 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
6143 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
6144
10a803e0
RM
61452012-03-16 Roland McGrath <roland@hack.frob.com>
6146
6147 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
6148 * configure.in: Use it for both main tree and add-ons.
6149 * configure: Regenerated.
6150
f196c7f7
L
61512012-03-16 H.J. Lu <hongjiu.lu@intel.com>
6152
6153 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
6154
8848d99d
JM
61552012-03-16 Joseph Myers <joseph@codesourcery.com>
6156
96cbe7f4
JM
6157 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
6158 in comment.
6159
8848d99d
JM
6160 [BZ #13851]
6161 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
6162 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
6163 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
6164 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
6165 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
6166 infinite argument.
6167 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
6168 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
6169 != 0 for prec == 2.
6170 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
6171 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
6172 * sysdeps/i386/fpu/s_cosl.S: Likewise.
6173 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
6174 * sysdeps/i386/fpu/s_sinl.S: Likewise.
6175 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
6176 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
6177 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
6178 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
6179 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
6180 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
6181 * math/libm-test.inc (cos_test): Add more tests and enable more
6182 tests for long double.
6183 (sin_test): Likewise.
6184 (sincos_test): Likewise.
6185 * sysdeps/i386/fpu/libm-test-ulps: Update.
6186 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6187
dd7f4703
DM
61882012-03-16 David S. Miller <davem@davemloft.net>
6189
6190 * sysdeps/sparc/fpu/math_private.h: New file.
6191
006f1daa
DM
61922012-03-15 David S. Miller <davem@davemloft.net>
6193
c0c83bc8
DM
6194 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
6195 file.
e6a62e18 6196 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
6197 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
6198 file.
e6a62e18
DM
6199 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
6200 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
6201 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
6202 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
6203 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
6204 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
6205 sysdep routines.
6206 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
6207
88cb87d9
DM
6208 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
6209 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
6210
006f1daa 6211 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
6212 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
6213 sparc-ifunc.h
006f1daa 6214 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
6215 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
6216 Likewise.
6217 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
6218 Likewise.
006f1daa
DM
6219 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
6220 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
6221 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
6222 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
6223 Likewise.
006f1daa
DM
6224 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
6225 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
6226 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
6227 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
6228 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
6229 Likewise.
6230 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
6231 Likewise.
006f1daa
DM
6232 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
6233 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
6234 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
6235 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
6236 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
6237 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
6238 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
6239 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
6240 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
6241 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
6242 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
6243 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
6244 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
6245 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
6246 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
6247 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
6248 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
6249 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
6250 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
6251 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
6252 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
6253 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
6254 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
6255 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
6256
11e0098e
AS
62572012-03-15 Andreas Schwab <schwab@linux-m68k.org>
6258
6259 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
6260 scaling.
6261 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6262
e85b09d0
AJ
62632012-03-15 Andreas Jaeger <aj@suse.de>
6264
6265 [BZ #13852]
6266 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
6267 ieee754/flt-32 implementation for sin, cos and sincos.
6268 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
6269 * sysdeps/i386/fpu/s_cosf.S: Likewise.
6270 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
6271 * sysdeps/i386/fpu/s_sinf.S: Likewise.
6272 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
6273 ieee754/flt-32 implementation for tan.
6274
6275 * math/libm-test.inc (cos_test): Enable some large input tests for
6276 float as well
6277 (sin_test): Likewise.
6278 (sincos_test): Likewise.
6279 (tan_test): Add tests for large input.
6280
6281 * sysdeps/i386/fpu/libm-test-ulps: Update.
6282
81c64153
AJ
62832012-03-15 Andreas Jaeger <aj@suse.de>
6284
6285 [BZ #13658]
6286 * math/libm-test.inc (cos_test): Add more test cases.
6287 (sin_test): Likewise.
6288 (sincos_test): Likewise.
6289
7bbfa5c6
AJ
62902012-03-15 Andreas Jaeger <aj@suse.de>
6291
6292 [BZ #13837]
6293 * math/libm-test.inc (cos_test): Add a test case for large input
6294 value.
6295 (sin_test): Likewise.
6296 (sincos_test): Likewise.
6297
62982012-03-15 Andreas Jaeger <aj@suse.de>,
6299 Joseph Myers <joseph@codesourcery.com>
6300
6301 [BZ #13658]
0671f479 6302 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
6303 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
6304 * sysdeps/i386/fpu/branred.c: Likewise.
6305 * sysdeps/i386/fpu/dosincos.c: Likewise.
6306 * sysdeps/i386/fpu/mpa.c: Likewise.
6307 * sysdeps/i386/fpu/s_cos.S: Likewise.
6308 * sysdeps/i386/fpu/s_sin.S: Likewise.
6309 * sysdeps/i386/fpu/s_sincos.S: Likewise.
6310 * sysdeps/i386/fpu/sincos32.c: Likewise.
6311
6312 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
6313 Define.
6314 (libc_feupdateenv_53bit): Define.
6315 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
6316 Define.
6317 (libc_feupdateenv_53bit): Define.
6318
6319 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
6320 53 bit (without extend i386 double precision).
6321
6322 * math/libm-test.inc (sincos_test): Add tests for large input.
6323 (sin): Likewise.
6324 (cos): Likewise.
6325
6326 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
6327
9cad04ea
AS
63282012-03-15 Andreas Schwab <schwab@linux-m68k.org>
6329
6330 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6331
f7062b9a
DM
63322012-03-15 David S. Miller <davem@davemloft.net>
6333
6334 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
6335 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
6336 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
6337 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
6338 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
6339 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
6340 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
6341 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
6342 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
6343 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
6344 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
6345 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
6346 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
6347 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
6348 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
6349 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
6350 file.
f7062b9a 6351 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
6352 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
6353 file.
f7062b9a 6354 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
6355 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
6356 file.
f7062b9a 6357 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
6358 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
6359 file.
f7062b9a
DM
6360 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
6361 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
6362 fmin/fmax sysdep routines.
6363 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
6364
7bd951ff
DM
63652012-03-14 David S. Miller <davem@davemloft.net>
6366
559398ab
DM
6367 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
6368 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
6369 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
6370 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
6371 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
6372 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
6373 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
6374 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
6375 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
6376 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
6377 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
6378 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
6379 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
6380 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
6381 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
6382 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
6383 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
6384 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
6385 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
6386 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
6387 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
6388 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
6389 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
6390 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
6391 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
6392 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
6393 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
6394 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
6395 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
6396 routines.
6397 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
6398 file.
559398ab 6399 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
6400 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
6401 file.
559398ab 6402 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
6403 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
6404 file.
559398ab 6405 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
6406 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
6407 file.
559398ab 6408 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
6409 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
6410 file.
559398ab 6411 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
6412 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
6413 file.
6414 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
6415 file.
6416 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
6417 file.
6418 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
6419 file.
6420 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
6421 New file.
6422 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
6423 file.
6424 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
6425 file.
559398ab 6426 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
6427 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
6428 file.
559398ab 6429 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
6430 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
6431 file.
559398ab 6432 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
6433 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
6434 file.
559398ab 6435 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
6436 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
6437 VIS3 routines.
559398ab
DM
6438
6439 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
6440 New file.
6441
5a1c1e32
DM
6442 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6443
eae47a36
DM
6444 * sysdeps/sparc/configure.in: New file.
6445 * sysdeps/sparc/configure: Generate.
6446 * configure.in (libc_cv_sparc_as_vis3): Substitute.
6447 * configure: Regenerate.
6448 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
6449 * config.make.in (have-as-vis3): New.
6450 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
6451 available use -Av9d instead of -Av9a.
6452 * sysdeps/sparc/sparc64/Makefile: Likewise.
6453 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
6454 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
6455 New file.
6456 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
6457 file.
6458 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
6459 New file.
6460 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
6461 file.
eae47a36
DM
6462 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
6463 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
6464 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
6465 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
6466 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
6467
c0c83bc8
DM
6468 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
6469 fzeros/fnegs to load 0x80000000 into a float register instead of
6470 using the stack.
7bd951ff
DM
6471 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
6472
bd951ccb
JM
64732012-03-14 Joseph Myers <joseph@codesourcery.com>
6474
6475 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
6476 bits/syscall.h.
6477 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
6478 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
6479 ($(inst_includedir)/bits/syscall.h): Remove rule.
6480 ($(objpfx)bits/syscall.d): Include instead of
6481 $(objpfx)syscall-list.d.
6482 (generated): Change syscall-list.h and syscall-list.d to
6483 bits/syscall.h and bits/syscall.d.
6484
bb4e6db2
RM
64852012-03-14 Roland McGrath <roland@hack.frob.com>
6486
6487 [BZ #13846]
6488 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
6489
aa4a2ae1
JM
64902012-03-14 Joseph Myers <joseph@codesourcery.com>
6491
e456826d
JM
6492 [BZ #13841]
6493 * math/s_csqrt.c: Include <float.h>.
6494 (__csqrt): Scale large or subnormal inputs.
6495 * math/s_csqrtf.c: Likewise.
6496 * math/s_csqrtl.c: Likewise.
6497 * math/libm-test.inc (csqrt_test): Add more tests.
6498 * sysdeps/i386/fpu/libm-test-ulps: Update.
6499 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6500
aa4a2ae1
JM
6501 [BZ #13840]
6502 * math/libm-test.inc (hypot_test): Add more tests.
6503
7c10fd35
DM
65042012-03-13 David S. Miller <davem@davemloft.net>
6505
6506 [BZ #13840]
6507 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
6508 double-precision for the calculation instead of scaling.
6509
f453b98b
JM
65102012-03-13 Joseph Myers <joseph@codesourcery.com>
6511
6512 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
6513 manipulate bits before adding and subtracting TWO52[sx].
6514 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
6515 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
6516 Likewise.
6517 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
6518
09a3453f
DM
65192012-03-13 David S. Miller <davem@davemloft.net>
6520
8e59da90
DM
6521 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
6522 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
6523 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
6524 rtld-global-offsets.h
6525 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
6526
2a8ab7f2
DM
6527 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
6528 large parameters.
6529
10f62770
DM
6530 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
6531
5f0bdb18
DM
6532 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
6533 'err' in the ifdef scope in which it is actually used.
6534
09a3453f
DM
6535 * nss/nss_db/db-init.c: Include string.h
6536
b4b2eb5e
DM
65372012-03-12 David S. Miller <davem@davemloft.net>
6538
98bb2f1c
DM
6539 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
6540 masking out of the most significant byte of random value used.
6541 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
6542 Fix coding style in previous change.
6543
b4b2eb5e
DM
6544 * sysdeps/unix/sysv/linux/kernel-features.h
6545 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
6546 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
6547 expression.
6548 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
6549 later.
6550
6e226b09
DM
65512012-03-11 David S. Miller <davem@davemloft.net>
6552
a1bcbd40
DM
6553 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
6554 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
6555 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
6556 for 'resultvar' otherwise things get truncated on 64-bit.
6557
cb9d6174
DM
6558 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
6559 Fix masking out of the most significant byte of random value used.
6560
6e226b09
DM
6561 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6562
058c132d
AS
65632012-03-10 Andreas Schwab <schwab@linux-m68k.org>
6564
6565 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6566
2d2cd515
DM
65672012-03-09 David S. Miller <davem@davemloft.net>
6568
6569 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
6570 variables with appropriate CPP guards.
6571 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
6572 frame pointer, not the stack pointer. Correct layout comments. Fix test
6573 on resulting framesize and the management of the outregs buffer for pltexit.
6574 Preserve floating point return values across _dl_call_pltexit call.
6575 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
6576 framesize and the management of the outregs buffer for pltexit.
6577 Preserve floating point return values across _dl_call_pltexit
6578 call.
6579 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
6580 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
6581 (print_exit): Fix format string for return register value.
6582
9a07f9d0
JM
65832012-03-10 Joseph Myers <joseph@codesourcery.com>
6584
6585 * sunrpc/Makefile (others): Add rpcgen.
6586 ($(objpfx)rpcgen): Remove special build rule and dependency on
6587 libc.
6588 * sunrpc/rpcgen.c: New file.
6589
547b5e30
PE
65902012-03-09 Paul Eggert <eggert@cs.ucla.edu>
6591
c524201a
PE
6592 [BZ #13673]
6593 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
6594 * stdio-common/bug-vfprintf-nargs.c: Likewise.
6595 * sysdeps/i386/crti.S: Likewise.
6596 * sysdeps/i386/crtn.S: Likewise.
6597 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
6598 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
6599 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
6600 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
6601 * sysdeps/sh/crti.S: Likewise.
6602 * sysdeps/sh/crtn.S: Likewise.
6603 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
6604
7b6235f2
PE
6605 [BZ #13673]
6606 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
6607 with URL.
6608 * locale/programs/locfile-kw.gperf: Likewise.
6609 * locale/programs/charmap-kw.h: Regenerated.
6610 * locale/programs/locfile-kw.h: Likewise.
6611
547b5e30
PE
6612 [BZ #13673]
6613 * intl/plural.y: Replace FSF snail mail address with URL.
6614 * intl/plural.c: Regenerated.
6615
5f0a5dae
RH
66162012-03-09 Richard Henderson <rth@twiddle.net>
6617
6618 * include/math_private.h: Remove file.
6619 * math/math_private.h: Move file ...
6620 * sysdeps/generic/math_private.h: ... here.
6621
b8c03620
RH
6622 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
6623 * sysdeps/powerpc/fpu/math_private.h: Likewise.
6624 * sysdeps/x86_64/fpu/math_private.h: Likewise.
6625
4e234f5d 6626 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
6627 and <math_private.h>.
6628 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
6629 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
6630 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
6631 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
6632 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
6633 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
6634 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
6635 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
6636 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
6637 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
6638 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
6639 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
6640 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
6641 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
6642 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
6643 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
6644 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
6645 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
6646 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
6647 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
6648 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
6649 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
6650 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
6651 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
6652 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
6653 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
6654 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
6655 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
6656 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
6657 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
6658 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
6659 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
6660 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
6661 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
6662 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
6663 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
6664 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
6665 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
6666 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
6667 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
6668 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
6669 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
6670 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
6671 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
6672 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
6673 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
6674 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
6675 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
6676 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
6677 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
6678 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
6679 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
6680 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
6681 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
6682 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
6683 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
6684 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
6685 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
6686 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
6687 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
6688 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
6689 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
6690 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
6691 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
6692 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
6693 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
6694 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
6695 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
6696 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
6697 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
6698 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
6699 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
6700 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
6701 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
6702 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
6703 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
6704 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
6705 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
6706 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
6707 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
6708 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
6709 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
6710 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
6711 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
6712 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
6713 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
6714 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
6715 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
6716 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
6717 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
6718 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
6719 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
6720 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
6721 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
6722 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
6723 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
6724 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
6725 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
6726 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
6727 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
6728 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
6729 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
6730 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
6731 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
6732 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
6733 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
6734 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
6735 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
6736 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
6737 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
6738 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
6739 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
6740 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
6741 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
6742 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
6743 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
6744 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
6745 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
6746 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
6747 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
6748 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
6749 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
6750 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
6751 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
6752 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
6753 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
6754 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
6755 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
6756 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
6757 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
6758 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
6759 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
6760 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
6761 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
6762 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
6763 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
6764 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
6765 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
6766 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
6767 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
6768 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
6769 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
6770 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
6771 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
6772 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
6773 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
6774 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
6775 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
6776 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
6777 * sysdeps/ieee754/k_standard.c: Likewise.
6778 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
6779 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
6780 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
6781 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
6782 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
6783 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
6784 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
6785 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
6786 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
6787 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
6788 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
6789 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
6790 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
6791 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
6792 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
6793 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
6794 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
6795 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
6796 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
6797 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
6798 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
6799 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
6800 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
6801 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
6802 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
6803 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
6804 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
6805 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
6806 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
6807 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
6808 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
6809 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
6810 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
6811 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
6812 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
6813 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
6814 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
6815 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
6816 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
6817 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
6818 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
6819 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
6820 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
6821 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
6822 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
6823 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
6824 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
6825 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
6826 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
6827 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
6828 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
6829 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
6830 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
6831 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
6832 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
6833 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
6834 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
6835 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
6836 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
6837 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
6838 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
6839 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
6840 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
6841 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
6842 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
6843 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
6844 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
6845 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
6846 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
6847 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
6848 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
6849 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
6850 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
6851 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
6852 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
6853 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
6854 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
6855 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
6856 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
6857 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
6858 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
6859 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
6860 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
6861 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
6862 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
6863 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
6864 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
6865 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
6866 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
6867 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
6868 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
6869 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
6870 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
6871 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
6872 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
6873 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
6874 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
6875 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
6876 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
6877 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
6878 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
6879 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
6880 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
6881 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
6882 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
6883 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
6884 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
6885 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
6886 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
6887 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
6888 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
6889 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
6890 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
6891 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
6892 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
6893 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
6894 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
6895 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
6896 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
6897 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
6898 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
6899 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
6900 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
6901 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
6902 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
6903 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
6904 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
6905 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
6906 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
6907 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
6908 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
6909 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
6910 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
6911 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
6912 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
6913 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
6914 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
6915 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
6916 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
6917 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
6918 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
6919 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
6920 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
6921 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
6922 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
6923 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
6924 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
6925 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
6926 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
6927 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
6928 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
6929 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
6930 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
6931 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
6932 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
6933 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
6934 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
6935 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
6936 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
6937 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
6938 * sysdeps/ieee754/s_lib_version.c: Likewise.
6939 * sysdeps/ieee754/s_matherr.c: Likewise.
6940 * sysdeps/ieee754/s_signgam.c: Likewise.
6941 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
6942 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
6943 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
6944 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
6945 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
6946 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
6947 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
6948 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
6949 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
6950 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
6951 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
6952 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
6953 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
6954 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
6955 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
6956 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
6957 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
6958 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
6959 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
6960 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
6961 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 6962
1991fa03
JM
69632012-03-09 Joseph Myers <joseph@codesourcery.com>
6964
6965 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
6966 * sunrpc/rpc_main.c: Likewise.
6967 * sunrpc/rpc_svcout.c: Likewise.
6968
60d6f5a6
DM
69692012-03-09 David S. Miller <davem@davemloft.net>
6970
6971 * include/math_private.h: New file.
6972
4962050e
JM
69732012-03-09 Joseph Myers <joseph@codesourcery.com>
6974
02a6f887
JM
6975 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
6976 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
6977 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
6978 from <bits/socket_type.h>.
6979 (enum __socket_type): Don't define here.
6980 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
6981 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
6982 bits/socket_type.h.
6983
c6e013c1
JM
6984 [BZ #13566]
6985 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
6986 checking __USE_GNU.
6987
4962050e
JM
6988 * Makerules ($(inst_includedir)/%.h): New rule.
6989 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
6990 (install-others): Remove variable setting.
6991 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
6992
38842f45
RH
69932012-03-08 Richard Henderson <rth@twiddle.net>
6994
67bb6da6
RH
6995 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
6996 from macro to inline function; merge with the
6997 !__LIBC_INTERNAL_MATH_INLINES version.
6998 (__ieee754_sqrtf): Likewise.
6999
15194b4b
RH
7000 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
7001 to inline function.
7002 (__rintf, __floor, __floorf): Likewise.
7003
64e21ede
RH
7004 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
7005 macro to inline function.
7006 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
7007
38842f45
RH
7008 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
7009 not <math/math_private.h>.
7010
c64bf5fe
DM
70112012-03-08 David S. Miller <davem@davemloft.net>
7012
7013 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
7014 copyright year.
7015 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
7016
82d86f28
TS
70172012-03-08 Thomas Schwinge <thomas@codesourcery.com>
7018
7019 * resolv/gai_misc.c (handle_requests): Fix struct timespec
7020 normalization.
7021 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
7022 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
7023
aea5d727
UD
70242012-03-08 Ulrich Drepper <drepper@gmail.com>
7025
7026 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
7027 be defined individually, they must be defined as a block. Define
7028 S for printing a string instead of hidint the different by using a
7029 macro for adding the 'l'.
7030 * stdio-common/tst-fphex-wide.c: Adjust.
7031
70bca0a3
MP
70322012-03-07 Marek Polacek <polacek@redhat.com>
7033
7034 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
7035
65b81130
MP
70362012-03-08 Marek Polacek <polacek@redhat.com>
7037
7038 [BZ #13806]
7039 * stdio-common/Makefile (tests): Add tst-fphex-wide.
7040 * stdio-common/tst-fphex.c: Define a few macros to make the
7041 test reusable. Use them.
7042 * stdio-common/tst-fphex-wide.c: New file.
7043
07037eeb
JM
70442012-03-08 Joseph Myers <joseph@codesourcery.com>
7045
a7a93d50
JM
7046 [BZ #6911]
7047 * manual/macros.texi (gnusystems): New macro.
7048 (nongnusystems): Likewise.
7049 (gnulinuxhurdsystems): Likewise.
7050 (gnuhurdsystems): Likewise..
7051 (gnulinuxsystems): Likewise.
7052 * manual/charset.texi: Use new macros or @theglibc{} to refer to
7053 variants of the GNU system, not "GNU system".
7054 * manual/conf.texi: Likewise.
7055 * manual/errno.texi: Likewise. Update example of errno macro
7056 expansion.
7057 * manual/filesys.texi: Likewise.
7058 (getumask): Document as specific to GNU/Hurd.
7059 * manual/install.texi: Likewise. Reword some references to
7060 GNU/Linux.
7061 * manual/intro.texi: Likewise.
7062 * manual/io.texi: Likewise.
7063 (File Name Portability): Detail which constraints are inapplicable
7064 to all GNU systems and which are only inapplicable to GNU/Hurd.
7065 * manual/job.texi: Likewise.
7066 * manual/llio.texi: Likewise.
7067 (O_NOCTTY): Document as present on GNU/Linux.
7068 * manual/maint.texi: Likewise.
7069 * manual/memory.texi: Likewise.
7070 * manual/pattern.texi: Likewise.
7071 * manual/pipe.texi: Likewise.
7072 * manual/process.texi: Likewise.
7073 * manual/resource.texi: Likewise.
7074 (RUSAGE_CHILDREN): Remove statement about specifying a particular
7075 child on GNU/Hurd.
7076 * manual/setjmp.texi: Likewise.
7077 * manual/signal.texi: Likewise.
7078 * manual/startup.texi: Likewise.
7079 * manual/stdio.texi: Likewise.
7080 * manual/terminal.texi: Likewise.
7081 (ONLCR): Document as POSIX.
7082 (OXTABS): Document availability on GNU/Linux as XTABS.
7083 (ONOEOT): Document availability separately from other bits.
7084 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
7085 * manual/time.texi: Likewise.
7086 * manual/users.texi: Likewise.
7087 * INSTALL: Regenerated.
7088 * sysdeps/gnu/errlist.c: Regenerated.
7089
07037eeb
JM
7090 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
7091 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
7092 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
7093 puts.
7094 * configure: Regenerated.
7095
d1d3431a
JM
70962012-03-07 Joseph Myers <joseph@codesourcery.com>
7097
af6a1e37
JM
7098 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
7099 default includes instead of AC_HEADER_CHECK.
7100 * sysdeps/i386/configure: Regenerated.
7101
d1d3431a
JM
7102 [BZ #10716]
7103 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
7104 * math/s_cacoshf.c (__cacoshf): Likewise.
7105 * math/s_cacoshl.c (__cacoshl): Likewise.
7106 * math/s_casinh.c (__casinh): Set signs of result from argument.
7107 * math/s_casinhf.c (__casinhf): Likewise.
7108 * math/s_casinhl.c (__casinhl): Likewise.
7109 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
7110 (casinh_test): Add more tests.
7111 * sysdeps/i386/fpu/libm-test-ulps: Update.
7112 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7113
482ff4da
UD
71142012-03-07 Ulrich Drepper <drepper@gmail.com>
7115
872fda05
UD
7116 * po/zh_TW.po: Update from translation team.
7117
a4300c7a
UD
7118 * login/Makefile (distribute): Remove variable.
7119 * catgets/Makefile: Likewise.
7120 * mach/Makefile: Likewise.
7121 * malloc/Makefile: Likewise.
7122 * misc/Makefile: Likewise.
7123 * iconv/Makefile: Likewise.
7124 * nscd/Makefile: Likewise.
7125 * hurd/Makefile: Likewise.
7126 * manual/Makefile: Likewise.
7127 * locale/Makefile: Likewise.
7128 * intl/Makefile: Likewise.
7129 * conform/Makefile: Likewise.
7130 * nss/Makefile: Likewise.
7131 * time/Makefile: Likewise.
7132 * soft-fp/Makefile: Likewise.
7133 * dirent/Makefile: Likewise.
7134 * gmon/Makefile: Likewise.
7135 * po/Makefile: Likewise.
7136 * rt/Makefile: Likewise.
7137 * socket/Makefile: Likewise.
7138 * math/Makefile: Likewise.
7139 * signal/Makefile: Likewise.
7140 * debug/Makefile: Likewise.
7141 * elf/Makefile: Likewise.
7142 * timezone/Makefile: Likewise.
7143 * stdlib/Makefile: Likewise.
7144 * iconvdata/Makefile: Likewise.
7145 * sunrpc/Makefile: Likewise.
7146 * io/Makefile: Likewise.
7147 * argp/Makefile: Likewise.
7148 * inet/Makefile: Likewise.
7149 * hesiod/Makefile: Likewise.
7150 * grp/Makefile: Likewise.
7151 * csu/Makefile: Likewise.
7152 * wctype/Makefile: Likewise.
7153 * crypt/Makefile: Likewise.
7154 * libio/Makefile: Likewise.
7155 * string/Makefile: Likewise.
7156 * nis/Makefile: Likewise.
7157 * resolv/Makefile: Likewise.
7158 * stdio-common/Makefile: Likewise.
7159 * wcsmbs/Makefile: Likewise.
7160 * dlfcn/Makefile: Likewise.
7161 * posix/Makefile: Likewise.
7162
3b7c4e74 7163 [BZ #6959]
482ff4da
UD
7164 * timezone/Makefile: Don't install timezone files, just the programs
7165 and scripts.
7166
f72ed77d
UD
71672012-03-06 Ulrich Drepper <drepper@gmail.com>
7168
a000466f
UD
7169 * nss/databases.def: Add missing gshadow entry.
7170
f72ed77d
UD
7171 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
7172
a53b7a4e
MP
71732012-03-06 Marek Polacek <polacek@redhat.com>
7174
7175 [BZ #13726]
7176 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
7177 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
7178 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
7179 * stdio-common/tst-long-dbl-fphex.c: New file.
7180
e9258400
DM
71812012-03-06 David S. Miller <davem@davemloft.net>
7182
7183 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
7184 (set_obp_int): New function.
7185 (get_obp_int): New function.
7186 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
7187 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
7188 Avoid unused variable warnings on 'val' and use builtin_expect.
7189 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
7190 __builtin_expect.
e9258400
DM
7191 (INLINE_CLONE_SYSCALL): Likewise.
7192
3bd2c723
DM
71932012-03-05 David S. Miller <davem@davemloft.net>
7194
7195 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7196
bbb78d03
AS
71972012-03-05 Andreas Schwab <schwab@linux-m68k.org>
7198
884c5db4
AS
7199 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7200
bbb78d03
AS
7201 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
7202 only for |x| >= 40.
7203 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
7204
1c9f702a 72052012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
7206
7207 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
7208 Replace gettimeofday with __vdso_gettimeofday.
7209
7be16f82
RM
7210 * sysdeps/unix/sysv/linux/x86_64/init-first.c
7211 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
7212 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
7213
7214 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
7215 time with __vdso_time.
7216
ed58a00f
JM
72172012-03-05 Joseph Myers <joseph@codesourcery.com>
7218
7219 * manual/lang.texi (size_t): Note types to which size_t may be
7220 equivalent with the GNU C Library, but do not describe when
7221 differences between them are significant.
7222
30ee4ced
AJ
72232012-03-05 Andreas Jaeger <aj@suse.de>
7224
7225 * sysdeps/i386/fpu/libm-test-ulps: Update.
7226
b7cd39e8
JM
72272012-03-05 Joseph Myers <joseph@codesourcery.com>
7228
7229 [BZ #3976]
7230 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
7231 (__ieee754_pow): Save and restore rounding mode and use
7232 round-to-nearest for main computations.
7233 * math/libm-test.inc (pow_test_tonearest): New function.
7234 (pow_test_towardzero): Likewise.
7235 (pow_test_downward): Likewise.
7236 (pow_test_upward): Likewise.
7237 (main): Call the new functions.
7238 * sysdeps/i386/fpu/libm-test-ulps: Update.
7239 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
7240
7241 [BZ #3976]
7242 * math/libm-test.inc (cosh_test_tonearest): New function.
7243 (cosh_test_towardzero): Likewise.
7244 (cosh_test_downward): Likewise.
7245 (cosh_test_upward): Likewise.
7246 (sinh_test_tonearest): Likewise.
7247 (sinh_test_towardzero): Likewise.
7248 (sinh_test_downward): Likewise.
7249 (sinh_test_upward): Likewise.
7250 (main): Call the new functions.
7251 * sysdeps/i386/fpu/libm-test-ulps: Update.
7252 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7253
6c6a98c9
TV
72542012-03-05 Tom de Vries <tom@codesourcery.com>
7255
7256 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
7257 default stack guard is set in last bytes.
7258 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
7259
21bb2d2e 72602012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 7261
21bb2d2e 7262 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 7263
21bb2d2e
AJ
7264 [BZ #13656]
7265 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
7266 possibly allocate from heap instead of stack.
7267 * stdio-common/bug-vfprintf-nargs.c: New file.
7268 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 7269
c6922934
AS
72702012-03-03 Andreas Schwab <schwab@linux-m68k.org>
7271
7272 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7273
bc957d53
MP
72742012-03-03 Marek Polacek <polacek@redhat.com>
7275
7276 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
7277 * math/math_private.h: Likewise.
7278 * stdlib/tst-strtod.c: Likewise.
7279 * sysdeps/i386/i486/bits/atomic.h: Likewise.
7280 * sysdeps/x86_64/bits/atomic.h: Likewise.
7281
6358490d
DM
72822012-03-02 David S. Miller <davem@davemloft.net>
7283
7284 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
7285 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
7286 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
7287 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
7288 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
7289 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
7290 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
7291 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
7292
01ae168d
RM
72932012-03-02 Roland McGrath <roland@hack.frob.com>
7294
d9a17c07
RM
7295 [BZ #13792]
7296 * manual/examples/README: New file, says the example source files
7297 can be used under GPL>=2.
7298 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
7299 line containing just "*/".
7300 * manual/examples/add.c: Add copyright header (GPL>=2).
7301 * manual/examples/argp-ex1.c: Likewise.
7302 * manual/examples/argp-ex2.c: Likewise.
7303 * manual/examples/argp-ex3.c: Likewise.
7304 * manual/examples/argp-ex4.c: Likewise.
7305 * manual/examples/atexit.c: Likewise.
7306 * manual/examples/db.c: Likewise.
7307 * manual/examples/dir.c: Likewise.
7308 * manual/examples/dir2.c: Likewise.
7309 * manual/examples/execinfo.c: Likewise.
7310 * manual/examples/filecli.c: Likewise.
7311 * manual/examples/filesrv.c: Likewise.
7312 * manual/examples/fmtmsgexpl.c: Likewise.
7313 * manual/examples/genpass.c: Likewise.
7314 * manual/examples/inetcli.c: Likewise.
7315 * manual/examples/inetsrv.c: Likewise.
7316 * manual/examples/isockad.c: Likewise.
7317 * manual/examples/longopt.c: Likewise.
7318 * manual/examples/memopen.c: Likewise.
7319 * manual/examples/memstrm.c: Likewise.
7320 * manual/examples/mkfsock.c: Likewise.
7321 * manual/examples/mkisock.c: Likewise.
7322 * manual/examples/mygetpass.c: Likewise.
7323 * manual/examples/pipe.c: Likewise.
7324 * manual/examples/popen.c: Likewise.
7325 * manual/examples/rprintf.c: Likewise.
7326 * manual/examples/search.c: Likewise.
7327 * manual/examples/select.c: Likewise.
7328 * manual/examples/setjmp.c: Likewise.
7329 * manual/examples/sigh1.c: Likewise.
7330 * manual/examples/sigusr.c: Likewise.
7331 * manual/examples/stpcpy.c: Likewise.
7332 * manual/examples/strdupa.c: Likewise.
7333 * manual/examples/strftim.c: Likewise.
7334 * manual/examples/strncat.c: Likewise.
7335 * manual/examples/subopt.c: Likewise.
7336 * manual/examples/swapcontext.c: Likewise.
7337 * manual/examples/termios.c: Likewise.
7338 * manual/examples/testopt.c: Likewise.
7339 * manual/examples/testpass.c: Likewise.
7340 * manual/examples/timeval_subtract.c: Likewise.
7341
01ae168d
RM
7342 [BZ #13792]
7343 * manual/time.texi (Elapsed Time): Move timeval_subtract example
7344 function to ...
7345 * manual/timeval_subtract.c.texi: ... here, new file.
7346
49efa33d
DM
73472012-03-02 David S. Miller <davem@davemloft.net>
7348
7349 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
7350
28afd92d
JM
73512012-03-02 Joseph Myers <joseph@codesourcery.com>
7352
804360ed
JM
7353 [BZ #3976]
7354 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
7355 (__sin): Save and restore rounding mode and use round-to-nearest
7356 for all computations.
7357 (__cos): Save and restore rounding mode and use round-to-nearest
7358 for all computations.
7359 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
7360 <fenv.h>.
7361 (tan): Save and restore rounding mode and use round-to-nearest for
7362 all computations.
7363 * math/libm-test.inc (cos_test_tonearest): New function.
7364 (cos_test_towardzero): Likewise.
7365 (cos_test_downward): Likewise.
7366 (cos_test_upward): Likewise.
7367 (sin_test_tonearest): Likewise.
7368 (sin_test_towardzero): Likewise.
7369 (sin_test_downward): Likewise.
7370 (sin_test_upward): Likewise.
7371 (tan_test_tonearest): Likewise.
7372 (tan_test_towardzero): Likewise.
7373 (tan_test_downward): Likewise.
7374 (tan_test_upward): Likewise.
7375 (main): Call the new functions.
7376 * sysdeps/i386/fpu/libm-test-ulps: Update.
7377 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7378
a6d06d7b
JM
7379 [BZ #10135]
7380 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
7381 small n, then large n, before computing and testing k+n.
7382 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
7383 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
7384 Likewise.
7385 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
7386 Likewise.
7387 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
7388 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
7389 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
7390 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
7391 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
7392 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
7393 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
7394 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
7395 * math/libm-test.inc (scalbn_test): Add more tests.
7396 (scalbln_test): Likewise.
7397
07e12bb3
JM
7398 * manual/filesys.texi (mode_t): Describe constraints on size and
7399 signedness, not exact equivalence to a particular type.
7400 (ino_t): Likewise.
7401 (ino64_t): Likewise.
7402 (dev_t): Likewise.
7403 (nlink_t): Likewise.
7404 (blkcnt_t): Likewise.
7405 (blkcnt64_t): Likewise.
7406 * manual/llio.texi (off_t): Likewise.
7407
28afd92d
JM
7408 [BZ #3976]
7409 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
7410 (__ieee754_exp): Save and restore rounding mode and use
7411 round-to-nearest for all computations.
7412 * math/libm-test.inc (exp_test_tonearest): New function.
7413 (exp_test_towardzero): Likewise.
7414 (exp_test_downward): Likewise.
7415 (exp_test_upward): Likewise.
7416 (main): Call the new functions.
7417 * sysdeps/i386/fpu/libm-test-ulps: Update.
7418 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7419
b1eeb65d
CD
74202012-03-01 Chris Demetriou <cgd@google.com>
7421
7422 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
7423 have predictable order.
7424
53362a4b
DM
74252012-03-01 David S. Miller <davem@davemloft.net>
7426
3c969083
DM
7427 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
7428
759707de
DM
7429 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
7430 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
7431 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
7432 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
7433
dfdb8ff2
DM
7434 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
7435 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
7436 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
7437 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
7438 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
7439 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
7440 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
7441 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
7442 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
7443
ead89f96
DM
7444 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7445
7f66bd07
DM
7446 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
7447 * sysdeps/sparc/fpu/libm-test-ulps: to here.
7448 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
7449
53362a4b
DM
7450 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
7451 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
7452 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
7453 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
7454 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
7455 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
7456 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
7457 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
7458 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
7459 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
7460 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
7461 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
7462 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
7463 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
7464 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
7465 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
7466 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
7467 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
7468 * sysdeps/sparc/elf/configure: Regenerated.
7469
7b1902cb
JM
74702012-03-01 Joseph Myers <joseph@codesourcery.com>
7471
bec039bc
JM
7472 * configure.in (AS, LD): Require binutils 2.20 or later.
7473 * configure: Regenerated.
7474 * manual/install.texi (Tools for Compilation): Give binutils 2.20
7475 as required minimum version.
7476 * INSTALL: Regenerated.
7477
7b1902cb
JM
7478 [BZ #2541]
7479 [BZ #4108]
7480 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
7481 before squaring exponent.
7482 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
7483 bottom long double and 27 bits of top long double before squaring
7484 exponent.
7485 * math/libm-test.inc (erfc_test): Add more tests.
7486 * sysdeps/i386/fpu/libm-test-ulps: Update.
7487 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
7488 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7489
f775c276
KT
74902012-03-01 Kai Tietz <ktietz@redhat.com>
7491
7492 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
7493 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
7494 containing bit-fields.
7495 * soft-fp/extended.h (_FP_UNION_E): Likewise.
7496 * soft-fp/single.h (_FP_UNION_S): Likewise.
7497 * soft-fp/double.h (_FP_UNION_D): Likewise.
7498
5b8a4d4a
JM
74992012-02-29 Joseph Myers <joseph@codesourcery.com>
7500
0bab47b6
JM
7501 [BZ #13786]
7502 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
7503 not include ../strcmp.S.
7504 [USE_AS_STRNCASECMP_L]: Likewise.
7505 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
7506 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
7507 * sysdeps/i386/i686/multiarch/strncase_l-c.c
7508 (__strncasecmp_l_ia32): Define as alias to
7509 __strncasecmp_l_nonascii.
7510
0fcad3e2
JM
7511 [BZ #5794]
7512 * math/libm-test.inc (expm1_test): Add test for bug 5794.
7513 * sysdeps/i386/fpu/libm-test-ulps: Update.
7514 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7515
5b8a4d4a
JM
7516 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
7517 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7518
8fdceb2e
JL
75192012-02-29 Jeff Law <law@redhat.com>
7520
7521 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
7522 out of bounds read.
7523
1f393a11
MP
75242012-02-29 Marek Polacek <polacek@redhat.com>
7525
7526 [BZ #13706]
7527 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
7528 * elf/Makefile: Add rules to run tst-unused-dep.out.
7529
8847f037
DM
75302012-02-28 David S. Miller <davem@davemloft.net>
7531
7532 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
7533 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
7534 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
7535 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
7536 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
7537 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
7538
169d7f11
JM
75392012-02-29 Joseph Myers <joseph@codesourcery.com>
7540
7541 * math/libm-test.inc (llround_test): Move one test from
7542 lround_test. Use TEST_f_L in moved test.
7543 (lround_test): Move misplaced test to llround_test. Add testcase
7544 from bug 2561.
7545
39adf059
UD
75462012-02-28 Ulrich Drepper <drepper@gmail.com>
7547
7548 * sysdeps/x86_64/fpu/e_expf.S: New file.
7549 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
7550
71b5d1c5
SB
75512012-02-28 Stanislav Brabec <sbrabec@suse.cz>
7552
7553 [BZ #13637]
7554 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
7555 of remain_len that may cause incomplete multi-byte character and
7556 false match.
7557 * posix/bug-regex33.c: New file.
7558 * posix/Makefile (tests): Add bug-regex33.
7559
1f77f049
JM
75602012-02-28 Joseph Myers <joseph@codesourcery.com>
7561
7562 * manual/macros.texi: New file.
7563 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
7564 * manual/libc.texinfo: Include macros.texi.
7565 * manual/creatute.texi: Likewise.
7566 * manual/install.texi: Likewise.
7567 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
7568 @glibcadj{} in references to the GNU C Library.
7569 * manual/charset.texi: Likewise.
7570 * manual/conf.texi: Likewise.
7571 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
7572 when not using those macros.
7573 * manual/creature.texi: Likewise.
7574 * manual/crypt.texi: Likewise.
7575 * manual/errno.texi: Likewise.
7576 * manual/filesys.texi: Likewise.
7577 * manual/header.texi: Likewise.
7578 * manual/install.texi: Likewise.
7579 * manual/intro.texi: Likewise.
7580 * manual/io.texi: Likewise.
7581 * manual/job.texi: Likewise.
7582 * manual/lang.texi: Likewise.
7583 * manual/libc.texiinfo: Likewise.
7584 * manual/llio.texi: Likewise.
7585 * manual/locale.texi: Likewise.
7586 * manual/maint.texi: Likewise.
7587 * manual/math.texi: Likewise.
7588 * manual/memory.texi: Likewise.
7589 * manual/message.texi: Likewise.
7590 * manual/nss.texi: Likewise.
7591 * manual/pattern.texi: Likewise.
7592 * manual/process.texi: Likewise.
7593 * manual/resource.texi: Likewise.
7594 * manual/search.texi: Likewise.
7595 * manual/setjmp.texi: Likewise.
7596 * manual/signal.texi: Likewise.
7597 * manual/socket.texi: Likewise.
7598 * manual/startup.texi: Likewise.
7599 * manual/stdio.texi: Likewise.
7600 * manual/string.texi: Likewise.
7601 * manual/sysinfo.texi: Likewise.
7602 * manual/syslog.texi: Likewise.
7603 * manual/terminal.texi: Likewise.
7604 * manual/time.texi: Likewise.
7605 * manual/users.texi: Likewise.
7606 * INSTALL: Regenerated.
7607 * NOTES: Regenerated.
d40c5d54 7608 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 7609
450bf206
AS
76102012-02-28 Andreas Schwab <schwab@linux-m68k.org>
7611
7612 * include/dirent.h: Include <dirstream.h> before
7613 <dirent/dirent.h>.
7614
741a235b
DM
76152012-02-28 David S. Miller <davem@davemloft.net>
7616
7617 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
7618 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
7619 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
7620 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
7621
d6b5aa58
DM
76222012-02-27 David S. Miller <davem@davemloft.net>
7623
1aff59a3
DM
7624 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
7625 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
7626 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
7627 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
7628
d6b5aa58
DM
7629 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
7630 frame pointer instead of stack pointer relative arg slot.
7631 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
7632 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
7633 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
7634
433f48bf
CD
76352012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
7636
7637 [BZ #3992]
7638 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
7639
d674b76d
DM
76402012-02-27 David S. Miller <davem@davemloft.net>
7641
7642 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
7643 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
7644 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
7645 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
7646 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
7647 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
7648 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
7649 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
7650
0e7727f7
JM
76512012-02-27 Joseph Myers <joseph@codesourcery.com>
7652
7653 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
7654 later. Allow versions 5-9.
43be4ca2 7655 * configure: Regenerated.
0e7727f7
JM
7656 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
7657 required minimum version and 4.6 as recommended version. Do not
7658 mention bugs in GCC 2.7 and 2.8.
43be4ca2 7659 * INSTALL: Regenerated.
0e7727f7 7660
a78bc654
DM
76612012-02-27 David S. Miller <davem@davemloft.net>
7662
428d5830
DM
7663 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
7664 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
7665 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
7666 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
7667 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
7668 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
7669 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
7670 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
7671
a78bc654
DM
7672 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
7673 manipulate bits before adding and subtracting TWO112[sx].
7674 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
7675
4579f81c
RM
76762012-02-27 Roland McGrath <roland@hack.frob.com>
7677
36c8acb4
RM
7678 [BZ #13775]
7679 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
7680 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
7681 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
7682 being in POSIX, because they are in 1003.1-2008.
7683
84ad622b
RM
7684 * rt/tst-aio.c: Include <fcntl.h>.
7685 * rt/tst-aio7.c: Likewise.
7686 * rt/tst-aio64.c: Likewise.
7687
4579f81c
RM
7688 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
7689
abd923db
JM
76902012-02-27 Joseph Myers <joseph@codesourcery.com>
7691
7692 * manual/install.texi (--with-headers): Describe headers as
7693 interface headers, not private headers.
7694 (Specific advice for GNU/Linux systems): Describe use of headers
7695 from "make headers_install", not private headers from older
7696 kernels.
43be4ca2 7697 * INSTALL: Regenerated.
abd923db
JM
7698 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
7699 Change to 2.6.19.
7700 * sysdeps/unix/sysv/linux/configure: Regenerated.
7701
6664049b
JM
7702 * manual/llio.texi (fclean): Remove documentation.
7703
bb8b6697
JM
7704 * manual/Makefile (libc-texi-generated): New variable. Include
7705 version.texi.
7706 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
7707 $(libc-texi-generated), not duplicated list of files.
7708 (version.texi, stamp-version): New rules.
7709 (realclean): Remove $(libc-texi-generated), not individual files
7710 from that list. Do not remove dir-add.texinfo.
7711 * manual/libc.texinfo: Comment out uses of edition numbers and
7712 references to printed manual. Remove last-updated dates.
7713 (EDITION): Comment out.
7714 (ISBN): Likewise.
7715 (VERSION, UPDATED): Remove.
7716 (version.texi): Include.
7717
12e5c3b9
AS
77182012-02-27 Andreas Schwab <schwab@linux-m68k.org>
7719
7720 * sysdeps/posix/spawni.c: Include <signal.h>.
7721 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
7722 * sysdeps/pthread/aio_fsync.c: Likewise.
7723
4efeffc1 77242012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 7725
ba63ba08
UD
7726 * conform/Makefile (tests): Run only when not cross-compiling and
7727 when fast-check is not defined.
7728
d94a4670
UD
7729 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
7730 * conform/data/limits.h-data: Fixes for POSIX2008.
7731 * conform/run-conformtest.sh: Run all tests.
7732 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
7733 headers.
7734 * include/bits/dlfcn.h: Likewise.
7735 * include/langinfo.h: Likewise.
7736 * include/monetary.h: Likewise.
7737 * include/sys/poll.h: Likewise.
7738
7739 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
7740 for __USE_GNU.
7741 * posix/spawn.h: Define __need_sigset_t.
7742 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
7743 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
7744 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
7745 to get sigevent_t only.
7746 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
7747 only for __USE_GNU.
7748 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
7749 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
7750 process_vm_writev only for __USE_GNU.
7751 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
7752
7753 * conform/Makefile: For now ignore errors from run-conformtest.
7754 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
7755 POSIX to avoid namespace pollution. Don't prepend headers.
7756 * conform/data/aio.h-data: Fixes for POSIX testing.
7757 * conform/data/fcntl.h-data: Likewise.
7758 * conform/data/glob.h-data: Likewise.
7759 * conform/data/grp.h-data: Likewise.
7760 * conform/data/pthread.h-data: Likewise.
7761 * conform/data/pwd.h-data: Likewise.
7762 * conform/data/signal.h-data: Likewise.
7763 * conform/data/spawn.h-data: Likewise.
7764 * conform/data/stdio.h-data: Likewise.
7765 * conform/data/stdlib.h-data: Likewise.
7766 * conform/data/stropts.h-data: Likewise.
7767 * conform/data/sys/mman.h-data: Likewise.
7768 * conform/data/sys/stat.h-data: Likewise.
7769 * conform/data/sys/types.h-data: Likewise.
7770 * conform/data/sys/wait.h-data: Likewise.
7771 * conform/data/time.h-data: Likewise.
7772 * conform/data/unistd.h-data: Likewise.
7773 * conform/data/utime.h-data: Likewise.
7774
7775 * io/sys/stat.h: fchmod was always in POSIX.
7776 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
7777 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
7778 * rt/aio.h: Define __need_timespec before including <time.h>.
7779 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
7780 struct. Add forward declaration of pthread_attr_t and use it in
7781 sigevent.
7782 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
7783 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
7784 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
7785 always remove CLK_TCK definition.
7786
c20105c3
AS
77872012-02-26 Andreas Schwab <schwab@linux-m68k.org>
7788
7789 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
7790
7a270350
UD
77912012-02-25 Ulrich Drepper <drepper@gmail.com>
7792
31341567
UD
7793 * conform/run-conformtest.sh: New file.
7794 * conform/Makefile: Run run-conformtest for tests.
7795 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
7796 support.
7797
7798 * conform/data/uchar.h-data: New file.
7799 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
7800 * conform/data/arpa/inet.h-data: Likewise.
7801 * conform/data/assert.h-data: Likewise.
7802 * conform/data/complex.h-data: Likewise.
7803 * conform/data/cpio.h-data: Likewise.
7804 * conform/data/ctype.h-data: Likewise.
7805 * conform/data/dirent.h-data: Likewise.
7806 * conform/data/dlfcn.h-data: Likewise.
7807 * conform/data/errno.h-data: Likewise.
7808 * conform/data/fcntl.h-data: Likewise.
7809 * conform/data/float.h-data: Likewise.
7810 * conform/data/fmtmsg.h-data: Likewise.
7811 * conform/data/fnmatch.h-data: Likewise.
7812 * conform/data/ftw.h-data: Likewise.
7813 * conform/data/glob.h-data: Likewise.
7814 * conform/data/grp.h-data: Likewise.
7815 * conform/data/iconv.h-data: Likewise.
7816 * conform/data/inttypes.h-data: Likewise.
7817 * conform/data/langinfo.h-data: Likewise.
7818 * conform/data/libgen.h-data: Likewise.
7819 * conform/data/limits.h-data: Likewise.
7820 * conform/data/locale.h-data: Likewise.
7821 * conform/data/math.h-data: Likewise.
7822 * conform/data/monetary.h-data: Likewise.
7823 * conform/data/mqueue.h-data: Likewise.
7824 * conform/data/ndbm.h-data: Likewise.
7825 * conform/data/net/if.h-data: Likewise.
7826 * conform/data/netdb.h-data: Likewise.
7827 * conform/data/netinet/in.h-data: Likewise.
7828 * conform/data/nl_types.h-data: Likewise.
7829 * conform/data/poll.h-data: Likewise.
7830 * conform/data/pthread.h-data: Likewise.
7831 * conform/data/pwd.h-data: Likewise.
7832 * conform/data/regex.h-data: Likewise.
7833 * conform/data/sched.h-data: Likewise.
7834 * conform/data/search.h-data: Likewise.
7835 * conform/data/semaphore.h-data: Likewise.
7836 * conform/data/setjmp.h-data: Likewise.
7837 * conform/data/signal.h-data: Likewise.
7838 * conform/data/spawn.h-data: Likewise.
7839 * conform/data/stdarg.h-data: Likewise.
7840 * conform/data/stdio.h-data: Likewise.
7841 * conform/data/stdlib.h-data: Likewise.
7842 * conform/data/string.h-data: Likewise.
7843 * conform/data/strings.h-data: Likewise.
7844 * conform/data/stropts.h-data: Likewise.
7845 * conform/data/sys/ipc.h-data: Likewise.
7846 * conform/data/sys/mman.h-data: Likewise.
7847 * conform/data/sys/msg.h-data: Likewise.
7848 * conform/data/sys/resource.h-data: Likewise.
7849 * conform/data/sys/select.h-data: Likewise.
7850 * conform/data/sys/sem.h-data: Likewise.
7851 * conform/data/sys/shm.h-data: Likewise.
7852 * conform/data/sys/socket.h-data: Likewise.
7853 * conform/data/sys/stat.h-data: Likewise.
7854 * conform/data/sys/statvfs.h-data: Likewise.
7855 * conform/data/sys/time.h-data: Likewise.
7856 * conform/data/sys/timeb.h-data: Likewise.
7857 * conform/data/sys/times.h-data: Likewise.
7858 * conform/data/sys/types.h-data: Likewise.
7859 * conform/data/sys/uio.h-data: Likewise.
7860 * conform/data/sys/un.h-data: Likewise.
7861 * conform/data/sys/utsname.h-data: Likewise.
7862 * conform/data/sys/wait.h-data: Likewise.
7863 * conform/data/syslog.h-data: Likewise.
7864 * conform/data/tar.h-data: Likewise.
7865 * conform/data/termios.h-data: Likewise.
7866 * conform/data/utime.h-data: Likewise.
7867 * conform/data/utmpx.h-data: Likewise.
7868 * conform/data/varargs.h-data: Likewise.
7869 * conform/data/wchar.h-data: Likewise.
7870 * conform/data/wctype.h-data: Likewise.
7871 * conform/data/wordexp.h-data: Likewise.
7872
7873 * include/stropts.h: New file.
7874 * include/uchar.h: New file.
7875 * include/aio.h: Changes to allow conformtest.pl to use the headers.
7876 * include/assert.h: Likewise.
7877 * include/ctype.h: Likewise.
7878 * include/dirent.h: Likewise.
7879 * include/dlfcn.h: Likewise.
7880 * include/fcntl.h: Likewise.
7881 * include/fnmatch.h: Likewise.
7882 * include/glob.h: Likewise.
7883 * include/grp.h: Likewise.
7884 * include/libio.h: Likewise.
7885 * include/locale.h: Likewise.
7886 * include/math.h: Likewise.
7887 * include/net/if.h: Likewise.
7888 * include/netdb.h: Likewise.
7889 * include/netinet/in.h: Likewise.
7890 * include/pthread.h: Likewise.
7891 * include/pwd.h: Likewise.
7892 * include/regex.h: Likewise.
7893 * include/sched.h: Likewise.
7894 * include/search.h: Likewise.
7895 * include/setjmp.h: Likewise.
7896 * include/signal.h: Likewise.
7897 * include/stdio.h: Likewise.
7898 * include/stdlib.h: Likewise.
7899 * include/string.h: Likewise.
7900 * include/sys/cdefs.h: Likewise.
7901 * include/sys/mman.h: Likewise.
7902 * include/sys/msg.h: Likewise.
7903 * include/sys/resource.h: Likewise.
7904 * include/sys/select.h: Likewise.
7905 * include/sys/socket.h: Likewise.
7906 * include/sys/stat.h: Likewise.
7907 * include/sys/statvfs.h: Likewise.
7908 * include/sys/time.h: Likewise.
7909 * include/sys/times.h: Likewise.
7910 * include/sys/uio.h: Likewise.
7911 * include/sys/utsname.h: Likewise.
7912 * include/sys/wait.h: Likewise.
7913 * include/termios.h: Likewise.
7914 * include/time.h: Likewise.
7915 * include/ulimit.h: Likewise.
7916 * include/unistd.h: Likewise.
7917 * include/utime.h: Likewise.
7918 * include/wchar.h: Likewise.
7919 * include/wctype.h: Likewise.
7920 * include/wordexp.h: Likewise.
7921
7922 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
7923
7a270350
UD
7924 * time/time.h: TIME_UTC must be a macro.
7925 Make timespec_get available for ISO C11 only as well.
7926
7724defc
UD
79272012-02-24 Ulrich Drepper <drepper@gmail.com>
7928
7929 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
7930 Reported by Peng Haitao <penght@cn.fujitsu.com>.
7931
6b1d1d46
JM
79322012-02-24 Joseph Myers <joseph@codesourcery.com>
7933
7934 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 7935
0f8bbd69
JM
79362012-02-24 Joseph Myers <joseph@codesourcery.com>
7937
7938 * manual/texinfo.tex: Update to version 2012-01-19.16.
7939
66ab80bc
JM
79402012-02-24 Joseph Myers <joseph@codesourcery.com>
7941
7942 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
7943
74981cc5
RM
79442012-02-24 Roland McGrath <roland@hack.frob.com>
7945
ee968201
RM
7946 [BZ #13738]
7947 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
7948 * manual/fdl-1.3.texi: New file.
7949 * manual/fdl-1.1.texi: File removed.
7950
74981cc5
RM
7951 [BZ #13738]
7952 * manual/libc.texinfo (FDL_VERSION): New @set.
7953 Use it for mention of FDL in cover text.
7954 (Documentation License): Use it in @include file name.
7955
7bb764bc
JM
79562012-02-22 Joseph Myers <joseph@codesourcery.com>
7957 Roland McGrath <roland@hack.frob.com>
7958
7959 [BZ #5461]
7960 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
7961 not LONG_LONG_MAX and LONG_LONG_MIN.
7962 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
7963 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
7964 name.
7965 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
7966
6cbeae47
JM
79672012-02-22 Joseph Myers <joseph@codesourcery.com>
7968
7969 [BZ #2547]
7970 [BZ #11365]
7971 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
7972 manipulate bits before adding and subtracting TWO23[sx].
7973 * math/libm-test.inc (nearbyint_test): Add more tests.
7974
fe45ce09
JM
79752012-02-22 Joseph Myers <joseph@codesourcery.com>
7976
7977 [BZ #2548]
7978 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
7979 bits before adding and subtracting TWO23[sx].
7980 * math/libm-test.inc (rint_test): Add more tests.
7981 (rint_test_tonearest): Likewise.
7982 (rint_test_towardzero): Likewise.
7983 (rint_test_downward): Likewise.
7984 (rint_test_upward: Likewise.
7985
ff3b3d82
JM
79862012-02-22 Joseph Myers <joseph@codesourcery.com>
7987
7988 [BZ #10110]
7989 * include/stdc-predef.h: New file. Extracted from features.h.
7990 * include/features.h: Include stdc-predef.h.
7991 * Makefile (headers): Add stdc-predef.h.
7992 * CONFORMANCE (Compiler limitations): Update.
7993
ef0aab35
JM
79942012-02-22 Joseph Myers <joseph@codesourcery.com>
7995
7996 * manual/libc.texinfo (VERSION, UPDATED): Revert.
7997
58639409
DM
79982012-02-21 David S. Miller <davem@davemloft.net>
7999
8000 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
8001 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
8002
c0e70b25
DM
80032012-02-20 David S. Miller <davem@davemloft.net>
8004
8005 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
8006 using a normal save/restore sequence, rather than allocating a
8007 dummy stack frame just to store a frame pointer and restore.
8008 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
8009
fb06851d
JM
80102012-02-21 Joseph Myers <joseph@codesourcery.com>
8011
8012 * manual/install.texi: Fix stray word in line-wrapped comment.
8013
7a8b71c3
DM
80142012-02-20 David S. Miller <davem@davemloft.net>
8015
d510c123
DM
8016 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
8017 both binutils and gcc support GOTDATA.
8018
0722d7c2
DM
8019 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
8020 "rd %pc" in the PIC register setup sequences.
8021
3d2b3019
DM
8022 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
8023 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
8024 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
8025 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
8026 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
8027 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
8028 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
8029 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
8030 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
8031 (SYSCALL_ERROR_HANDLER): Likewise.
8032 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
8033 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
8034 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
8035 (SYSCALL_ERROR_HANDLER): Likewise.
8036
c80098a9
DM
8037 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
8038 (HAVE_GCC_GOTDATA): New.
8039 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
8040 relocation support in both binutils and gcc.
8041 * sysdeps/sparc/elf/configure: Regenerate.
8042
3a2545a0
DM
8043 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
8044 * sysdeps/sparc/sparc32/elf/configure: Delete.
8045 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
8046 * sysdeps/sparc/sparc64/elf/configure: Delete.
8047 * sysdeps/sparc/elf/configure.in: New file.
8048 * sysdeps/sparc/elf/configure: Generate.
8049
7a8b71c3
DM
8050 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
8051 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
8052 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
8053 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
8054 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
8055
f1e86fca
JM
80562012-02-21 Joseph Myers <joseph@codesourcery.com>
8057
8058 * manual/install.texi: Do not mention specific glibc version
8059 numbers.
8060 * manual/libc.texinfo (VERSION, UPDATED): Update.
8061 (@copying): Use @copyright{} and range of years.
8062
0e7dfaef
JM
80632012-02-21 Joseph Myers <joseph@codesourcery.com>
8064
8065 [BZ #13695]
8066 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
8067 [crti.S not in sysdirs] (generated): Do not append.
8068 [crti.S not in sysdirs] (omit-deps): Likewise.
8069 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
8070 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
8071 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
8072 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
8073 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
8074 Likewise.
8075 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
8076 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
8077 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
8078 * csu/defs.awk: Remove file.
8079 * sysdeps/generic/initfini.c: Likewise.
8080 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
8081 variable.
8082 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
8083 Likewise.
8084
599af3ca
JM
80852012-02-20 Joseph Myers <joseph@codesourcery.com>
8086
8087 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
8088 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
8089 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
8090 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
8091 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
8092 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
8093 <bits/epoll.h>.
8094 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
8095 (__EPOLL_PACKED): Define to empty if not defined by
8096 <bits/epoll.h>.
8097 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
8098 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
8099 bits/epoll.h.
8100
0e499750
JM
81012012-02-20 Joseph Myers <joseph@codesourcery.com>
8102
8103 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
8104 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
8105 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
8106 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
8107 <bits/timerfd.h>.
8108 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
8109 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
8110 bits/timerfd.h.
8111
5ad91f6e
JM
81122012-02-20 Joseph Myers <joseph@codesourcery.com>
8113
8114 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
8115 in C locale.
8116 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
8117 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
8118 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
8119 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8120
06b99b02
AJ
81212012-02-20 Aurelien Jarno <aurelien@aurel32.net>
8122
8123 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
8124 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
8125
7638c0fd
AS
81262012-02-19 Andreas Schwab <schwab@linux-m68k.org>
8127
8128 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
8129 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
8130 defined.
8131 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
8132 Likewise.
8133 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
8134 entry for 2.16.
8135
92221550
AJ
81362012-02-19 Aurelien Jarno <aurelien@aurel32.net>
8137
8138 * math/w_acos.c: Use non-signaling floating-point comparisons.
8139 * math/w_acosf.c: Likewise.
8140 * math/w_acosh.c: Likewise.
8141 * math/w_acoshf.c: Likewise.
8142 * math/w_acoshl.c: Likewise.
8143 * math/w_acosl.c: Likewise.
8144 * math/w_asin.c: Likewise.
8145 * math/w_asinf.c: Likewise.
8146 * math/w_asinl.c: Likewise.
8147 * math/w_atanh.c: Likewise.
8148 * math/w_atanhf.c: Likewise.
8149 * math/w_atanhl.c: Likewise.
8150 * math/w_exp2.c: Likewise.
8151 * math/w_exp2f.c: Likewise.
8152 * math/w_exp2l.c: Likewise.
8153 * math/w_j0.c: Likewise.
8154 * math/w_j0f.c: Likewise.
8155 * math/w_j0l.c: Likewise.
8156 * math/w_j1.c: Likewise.
8157 * math/w_j1f.c: Likewise.
8158 * math/w_j1l.c: Likewise.
8159 * math/w_jn.c: Likewise.
8160 * math/w_jnf.c: Likewise.
8161 * math/w_log.c: Likewise.
8162 * math/w_log10.c: Likewise.
8163 * math/w_log10f.c: Likewise.
8164 * math/w_log10l.c: Likewise.
8165 * math/w_log2.c: Likewise.
8166 * math/w_log2f.c: Likewise.
8167 * math/w_log2l.c: Likewise.
8168 * math/w_logf.c: Likewise.
8169 * math/w_logl.c: Likewise.
8170 * math/w_sqrt.c: Likewise.
8171 * math/w_sqrtf.c: Likewise.
8172 * math/w_sqrtl.c: Likewise.
8173 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
8174 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
8175 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
8176 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
8177 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
8178
ebaf36eb
JM
81792012-02-19 Joseph Myers <joseph@codesourcery.com>
8180
8181 [BZ #9739]
8182 * manual/string.texi (strnlen): Use correct parameter name in
8183 equivalent expression.
8184
71c254a6
JM
81852012-02-19 Joseph Myers <joseph@codesourcery.com>
8186
8187 [BZ #11174]
8188 * manual/users.texi (seteuid): Consistently use neweuid for
8189 argument name.
8190
16d2c631
JM
81912012-02-19 Joseph Myers <joseph@codesourcery.com>
8192
8193 [BZ #13704]
8194 * manual/nss.texi (Services in the NSS configuration): Correct
8195 list of services in example configuration file.
8196
cd837b09
NB
81972012-02-19 Nick Bowler <nbowler@draconx.ca>
8198
8199 [BZ #11322]
8200 * manual/arith.texi: Remove statements about negative zero
8201 behaving identically to zero.
8202
02c4bbad
JM
82032012-02-18 Joseph Myers <joseph@codesourcery.com>
8204
8205 [BZ #5993]
8206 * manual/install.texi: Do not document upgrading from libc5.
8207
366842e7
JM
82082012-02-18 Joseph Myers <joseph@codesourcery.com>
8209
8210 [BZ #4596]
8211 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
8212
dd54084d
DM
82132012-02-18 David S. Miller <davem@davemloft.net>
8214
8215 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
8216 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
8217 %o7 across the call.
8218 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
8219 instead.
8220 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
8221 SETUP_PIC_REG_LEAF.
8222 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
8223 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
8224 * sysdeps/sparc/crtn.S: Likewise.
8225
2bcc53a3
UD
82262012-02-17 Ulrich Drepper <drepper@gmail.com>
8227
8228 * aout/Makefile: Remove.
8229
09c093b5
RK
82302012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
8231
8232 [BZ #13058]
8233 * manual/examples/argp-ex1.c (main): Format definition in GNU
8234 style.
8235 * manual/examples/argp-ex2.c (main): Likewise.
8236 * manual/examples/argp-ex3.c (main): Likewise.
8237 * manual/examples/argp-ex4.c (main): Likewise.
8238 * manual/examples/longopt.c (main): Use new-style prototype
8239 definition.
8240 * manual/examples/strncat.c (main): Specify return type and use
8241 (void) for arguments.
8242 * manual/examples/subopt.c (main): Use char **argv argument.
8243
2ee633a2
JM
82442012-02-17 Joseph Myers <joseph@codesourcery.com>
8245
8246 [BZ #5077]
8247 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
8248 rounding modes.
8249
0520adde
FB
82502012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
8251
8252 [BZ #6907]
8253 * manual/string.texi (strchr): Change when strchrnul is
8254 recommended.
8255
3f4081cd
DGM
82562012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
8257
8258 [BZ #174]
8259 * manual/locale.texi (setlocale): Document LOCPATH.
8260
d1b10e78
JM
82612012-02-17 Joseph Myers <joseph@codesourcery.com>
8262
8263 [BZ #10210]
8264 * manual/process.texi (execle): Move @dots{} before last argument.
8265
79c6869c
PB
82662012-02-17 Paul Bolle <pebolle@tiscali.nl>
8267
8268 [BZ #12047]
8269 * manual/charset.texi (Generic Charset Conversion): Fix typo
8270 (LC_TYPE -> LC_CTYPE).
8271
cc6e48bc
NB
82722012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
8273
8274 [BZ #5805]
8275 * manual/arith.texi (scalbn): Use @var{} on parameter names.
8276 (scalbnf): Likewise.
8277 (scalbnl): Likewise.
8278 (scalbln): Likewise.
8279 (scalblnf): Likewise.
8280 (scalblnl): Likewise.
8281 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
8282 (vwarnx): Likewise.
8283 (verr): Likewise.
8284 (verrx): Likewise.
8285 * manual/filesys.texi (telldir): Use braces around return type.
8286 * manual/llio.texi (mmap): Add space after comma.
8287 (mmap64): Likewise.
8288 * manual/math.texi (jn): Use @var{} on parameter names.
8289 (jnf): Likewise.
8290 (jnl): Likewise.
8291 (yn): Likewise.
8292 (ynf): Likewise.
8293 (ynl): Likewise.
8294 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
8295 line.
8296 * manual/resource.texi (ulimit): Use @dots{} instead of literal
8297 "...".
8298 (sched_get_priority_min): Remove semicolon on @deftypefun line.
8299 (sched_get_priority_max): Likewise.
8300 * manual/signal.texi (sigvec): Add space after comma.
8301 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
8302 names.
8303 (if_indextoname): Likewise.
8304 (if_freenameindex): Likewise.
8305 (sendto): Use ',' instead of '.' in prototype.
8306 * manual/startup.texi (syscall): Use @dots{} instead of literal
8307 "...".
8308 * manual/stdio.texi (__fpending): Separate initial words of
8309 paragraph from @deftypefun line.
8310 * manual/syslog.texi (syslog): Use @dots{} instead of literal
8311 "...".
8312 (vsyslog): Use @var{} on parameter names.
8313 * manual/terminal.texi (stty): Use @var{} on parameter names.
8314 * manual/users.texi (getutmp): Use @var{} on parameter names.
8315 (getutmpx): Likewise.
8316
5b23062f
JM
83172012-02-17 Joseph Myers <joseph@codesourcery.com>
8318
8319 [BZ #6884]
8320 * manual/stdio.texi (fopen): Fix typos in description of
8321 ",ccs=STRING".
8322
8dee4833
AJ
83232012-02-17 Aurelien Jarno <aurelien@aurel32.net>
8324
8325 [BZ #4026]
8326 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
8327 get clock_id definition.
8328
9078ce93
TS
83292012-02-17 Thomas Schwinge <thomas@schwinge.name>
8330
8331 [BZ #4822]
8332 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
8333 (madvise): Cast every argument to void on its own.
8334
3835c55f
JM
83352012-02-17 Joseph Myers <joseph@codesourcery.com>
8336
8337 [BZ #9902]
8338 * manual/startup.texi (Exit Status): Fix typo.
8339
35c47e37
JM
83402012-02-17 Joseph Myers <joseph@codesourcery.com>
8341
8342 [BZ #10140]
8343 * manual/examples/argp-ex1.c: Include <stdlib.h>.
8344 * manual/examples/argp-ex2.c: Likewise.
8345 * manual/examples/argp-ex3.c: Likewise.
8346
e3b69ca7
RH
83472012-02-16 Richard Henderson <rth@redhat.com>
8348
8349 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
8350 * sysdeps/s390/s390-32/initfini.c: Remove.
8351 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
8352 * sysdeps/s390/s390-64/initfini.c: Remove.
8353
df83af67
KK
83542012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
8355
8356 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
8357 compiler output for sysdeps/generic/initfini.c.
8358 * sysdeps/sh/elf/initfini.c: Remove file.
8359
f63f3380
DM
83602012-02-16 David S. Miller <davem@davemloft.net>
8361
fb59b3a4
DM
8362 [BZ #11494]
8363 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
8364
f63f3380
DM
8365 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
8366 * sysdeps/sparc/crti.S: New file.
8367 * sysdeps/sparc/crtn.S: New file.
8368 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
8369 * sysdeps/sparc/sparc64/Makefile: Likewise.
8370
df6a4a4a
MF
83712012-02-15 Mike Frysinger <vapier@gentoo.org>
8372
6dd8f3dc 8373 [BZ #3335]
df6a4a4a
MF
8374 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
8375
1cac7236
RM
83762012-02-15 Roland McGrath <roland@hack.frob.com>
8377
d2c736f8
RM
8378 [BZ #4822]
8379 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
8380
1cac7236
RM
8381 * mach/devstream.c (cookie_io_functions_t): Macro removed.
8382 (write, read, close): Likewise.
8383 Patch by Aurelien Jarno <aurelien@aurel32.net>.
8384
8e475601
JM
83852012-02-15 Joseph Myers <joseph@codesourcery.com>
8386
8387 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
8388 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
8389 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
8390 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
8391 <bits/signalfd.h>.
8392 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
8393 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
8394 bits/signalfd.h.
8395
ed656b40
MP
83962012-02-14 Marek Polacek <polacek@redhat.com>
8397
8398 * sysdeps/x86_64/crti.S: New file.
8399 * sysdeps/x86_64/crtn.S: New file.
8400 * sysdeps/x86_64/elf/initfini.c: Remove file.
8401
2a979d3a
JM
84022012-02-13 Joseph Myers <joseph@codesourcery.com>
8403
8404 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
8405 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
8406 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
8407 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
8408 <bits/inotify.h>.
8409 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
8410 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
8411 bits/inotify.h.
8412
2a418ac3
JM
84132012-02-13 Joseph Myers <joseph@codesourcery.com>
8414
8415 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
8416 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
8417 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
8418 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
8419 <bits/eventfd.h>.
8420 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
8421 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
8422 bits/eventfd.h.
8423
fb779be7
TS
84242012-02-10 Thomas Schwinge <thomas@codesourcery.com>
8425
e19e83c5
RM
8426 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
8427 __feraiseexcept instead of feraiseexcept.
7c35ffed 8428
fb779be7
TS
8429 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
8430 nanosleep invocations.
8431 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
8432 strings, and add error checking for a nanosleep invocations.
8433
59ba27a6
PE
84342012-02-09 Paul Eggert <eggert@cs.ucla.edu>
8435
8436 Replace FSF snail mail address with URLs, as per GNU coding standards.
8437 Most of the snail mail addresses were wrong anyway, and omitting
8438 them makes the source code easier to maintain. Almost all of the
8439 changes are to license notices and to locale LC_IDENTIFICATION
8440 addresses, except for this one:
8441 * manual/libc.texinfo: In "Published by", give the FSF's URL,
8442 not its snail mail address.
8443
57b957eb
RH
84442012-02-09 Richard Henderson <rth@twiddle.net>
8445
af850b1c
RH
8446 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
8447 of kernel-features.h.
8448
57b957eb
RH
8449 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
8450
6b73181a
MP
84512012-02-08 Marek Polacek <polacek@redhat.com>
8452
8453 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
8454 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
8455 * sysdeps/gnu/_G_config.h: Likewise.
8456 * sysdeps/generic/_G_config.h: Likewise.
8457
26ecc33a
AS
84582012-02-08 Andreas Schwab <schwab@linux-m68k.org>
8459
6c6dbc63
AS
8460 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
8461 tests.
8462 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8463
e216c012
AS
8464 * sysdeps/powerpc/powerpc32/crti.S: New file.
8465 * sysdeps/powerpc/powerpc32/crtn.S: New file.
8466 * sysdeps/powerpc/powerpc64/crti.S: New file.
8467 * sysdeps/powerpc/powerpc64/crtn.S: New file.
8468
26ecc33a
AS
8469 * Makeconfig (have-initfini): Don't set.
8470 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
8471 * configure.in (nopic_initfini): Don't substitute.
8472 * config.h.in (HAVE_INITFINI): Don't #undef.
8473 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
8474 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
8475
3add8e13
JM
84762012-02-08 Joseph Myers <joseph@codesourcery.com>
8477
8478 Support crti.S and crtn.S provided directly by architectures.
8479 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
8480 [crti.S in sysdirs] (omit-deps): Likewise.
8481 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
8482 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
8483 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
8484 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
8485 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
8486 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
8487 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
8488 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
8489 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
8490 compiler output for sysdeps/generic/initfini.c.
8491 * sysdeps/i386/elf/Makefile: Remove file.
8492 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
8493
a22f12b4
MP
84942012-02-07 Marek Polacek <polacek@redhat.com>
8495
8496 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
8497 * sysdeps/gnu/_G_config.h: Likewise.
8498 * sysdeps/mach/hurd/_G_config.h: Likewise.
8499
148cf100
MP
85002012-02-07 Marek Polacek <polacek@redhat.com>
8501
8502 * math/Makefile (tests): Add tst-CMPLX2.
8503 * math/tst-CMPLX2.c: New file.
8504
cfdc0dd7
AS
85052012-02-07 Andreas Schwab <schwab@linux-m68k.org>
8506
84ba42c4
AS
8507 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
8508
cfdc0dd7
AS
8509 * math/libm-test.inc (jn_test): Add missing L suffix.
8510
622c86f4
MP
85112012-02-06 Marek Polacek <polacek@redhat.com>
8512
8513 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
8514 * sysdeps/i386/fpu/e_powf.S: Likewise.
8515 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
8516 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
8517 * sysdeps/i386/fpu/e_acosh.S: Likewise.
8518 * sysdeps/i386/fpu/e_pow.S: Likewise.
8519 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
8520 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
8521 * sysdeps/i386/fpu/s_expm1.S: Likewise.
8522 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
8523 * sysdeps/i386/fpu/e_log2.S: Likewise.
8524 * sysdeps/i386/fpu/e_log2l.S: Likewise.
8525 * sysdeps/i386/fpu/e_scalb.S: Likewise.
8526 * sysdeps/i386/fpu/e_powl.S: Likewise.
8527 * sysdeps/i386/fpu/s_log1p.S: Likewise.
8528 * sysdeps/i386/fpu/e_log10f.S: Likewise.
8529 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
8530 * sysdeps/i386/fpu/e_logl.S: Likewise.
8531 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
8532 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
8533 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
8534 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
8535 * sysdeps/i386/fpu/e_log2f.S: Likewise.
8536 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
8537 * sysdeps/i386/fpu/e_log.S: Likewise.
8538 * sysdeps/i386/fpu/s_cexp.S: Likewise.
8539 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
8540 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
8541 * sysdeps/i386/fpu/e_logf.S: Likewise.
8542 * sysdeps/i386/fpu/e_log10l.S: Likewise.
8543 * sysdeps/i386/fpu/e_atanh.S: Likewise.
8544 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
8545 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
8546 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
8547 * sysdeps/i386/fpu/e_log10.S: Likewise.
8548 * sysdeps/i386/fpu/s_frexp.S: Likewise.
8549 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
8550 * sysdeps/i386/fpu/s_asinh.S: Likewise.
8551 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
8552 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
8553 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
8554 * sysdeps/i386/asm-syntax.h: Likewise.
8555 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
8556 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
8557 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
8558 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
8559 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
8560 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
8561 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
8562 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
8563 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
8564 * sysdeps/powerpc/sysdep.h: Likewise.
8565 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
8566 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
8567
d4a54ac6
JM
85682012-02-06 Joseph Myers <joseph@codesourcery.com>
8569
8570 [BZ #411]
8571 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
8572
314054ea
JM
85732012-02-06 Joseph Myers <joseph@codesourcery.com>
8574
8575 * sysdeps/i386/sysdep.h: Include <features.h>.
8576 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
8577 version.
8578
d8e0ca50
JM
85792012-02-05 Joseph Myers <joseph@codesourcery.com>
8580
8581 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
8582 Define.
8583 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
8584 LOAD_PIC_REG_STR.
8585
b1da7dd9
JM
85862012-02-03 Joseph Myers <joseph@codesourcery.com>
8587
8588 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
8589 (SETUP_PIC_REG): Use GET_PC_THUNK.
8590 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
8591 macro.
8592
9a1d9254
JM
85932012-02-03 Joseph Myers <joseph@codesourcery.com>
8594
8595 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
8596 for non-PIC compilation.
8597 (SETUP_PIC_REG): Add .p2align directive.
8598 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
8599 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
8600 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
8601 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
8602 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
8603 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
8604 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
8605 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
8606 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
8607 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
8608 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
8609 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
8610 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
8611 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
8612 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
8613 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
8614 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
8615 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
8616 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
8617 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
8618 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
8619 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
8620 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
8621 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
8622 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
8623 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
8624 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
8625 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
8626 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
8627 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
8628 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
8629 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
8630 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
8631 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
8632 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
8633 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
8634 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
8635 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
8636 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
8637 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
8638 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
8639
65dc3b75
JM
86402012-02-03 Joseph Myers <joseph@codesourcery.com>
8641
8642 * math/tst-CMPLX.c: Include <stdio.h>.
8643
d55bf177
JM
86442012-01-31 Joseph Myers <joseph@codesourcery.com>
8645
8646 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
8647 float.
8648 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
8649 * sysdeps/sparc/bits/mathdef.h: Likewise.
8650
69db4f8f
MP
86512012-01-31 Marek Polacek <polacek@redhat.com>
8652
8653 * libio/libio.h: Don't define _PARAMS.
8654 * locale/programs/config.h: Don't define PARAMS.
8655 * stdlib/strtol_l.c: Likewise.
8656 (__strtol_l): Remove PARAMS from the prototype.
8657
41b81892
UD
86582012-01-31 Ulrich Drepper <drepper@gmail.com>
8659
3b49edc0
UD
8660 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
8661 names. Just use the correct names. Remove unnecessary wrapper
8662 functions.
8663 * malloc/arena.c: Likewise.
8664 * malloc/hooks.c: Likewise.
8665
41b81892
UD
8666 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
8667 ARENA_TEST says not to. Simplify test for creation of a new arena.
8668 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
8669
27a25b6e
UD
86702012-01-30 Ulrich Drepper <drepper@gmail.com>
8671
8672 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
8673 into tail calls.
8674 (update_get_addr): New function.
8675 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
8676 GET_ADDR_MODULE parameter.
8677
c8a89e7d
JM
86782012-01-30 Joseph Myers <joseph@codesourcery.com>
8679
8680 * crypt/cert.c: Remove __STDC__ conditionals.
8681 * crypt/crypt-entry.c: Likewise.
8682 * crypt/crypt_util.c: Likewise.
8683 * libio/filedoalloc.c: Likewise.
8684 * libio/fileops.c: Likewise.
8685 * libio/genops.c: Likewise.
8686 * libio/iofclose.c: Likewise.
8687 * libio/iofdopen.c: Likewise.
8688 * libio/iofopen.c: Likewise.
8689 * libio/iofopen64.c: Likewise.
8690 * libio/iogetdelim.c: Likewise.
8691 * libio/iopopen.c: Likewise.
8692 * libio/obprintf.c: Likewise.
8693 * libio/oldfileops.c: Likewise.
8694 * libio/oldiofclose.c: Likewise.
8695 * libio/oldiofdopen.c: Likewise.
8696 * libio/oldiofopen.c: Likewise.
8697 * libio/oldiopopen.c: Likewise.
8698 * libio/wfiledoalloc.c: Likewise.
8699 * libio/wgenops.c: Likewise.
8700 * locale/programs/xmalloc.c: Likewise.
8701 * misc/syslog.c: Likewise.
8702 * stdio-common/xbug.c: Likewise.
8703 * string/memchr.c: Likewise.
8704 * string/memcmp.c: Likewise.
8705 * string/memrchr.c: Likewise.
8706 * string/rawmemchr.c: Likewise.
8707 * sysdeps/posix/getcwd.c: Likewise.
8708 * time/strftime_l.c: Likewise.
8709
3b100462
JM
87102012-01-30 Joseph Myers <joseph@codesourcery.com>
8711
8712 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
8713 * config.make.in (config-cflags-sse2avx): Define.
8714 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
8715 Fix typo.
8716
607998af
CM
87172012-01-29 Chris Metcalf <cmetcalf@tilera.com>
8718
8719 * scripts/config.guess: Update from upstream config git repository.
8720 * scripts/config.sub: Likewise.
8721
3601428f
CM
87222012-01-28 Chris Metcalf <cmetcalf@tilera.com>
8723
3ac8b282
CM
8724 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
8725 (EM_NUM): Update.
8726 (R_TILEPRO_*, R_TILEGX_*): New macros.
8727
e034841e
CM
8728 * scripts/firstversions.awk: Fix bug in version range handling.
8729
540d7568
CM
8730 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
8731
3601428f
CM
8732 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
8733
463de862
CM
8734 * include/sys/epoll.h: New file.
8735 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
8736 libc_hidden_def.
8737
73139a76
UD
87382012-01-28 Ulrich Drepper <drepper@gmail.com>
8739
96bc5b45
UD
8740 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
8741 Avoid unnecessary __WORDSIZE == 64 test.
8742 (fmaxf): Use VEX format if possible.
8743 (fmax): Likewise.
8744 (fminf): Likewise.
8745 (fmin): Likewise.
8746
56f6f6a2
UD
8747 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
8748 * math/math_private.h: Remove libc_fegetround* and
8749 libc_fesetround*.
8750 * sysdeps/i386/configure.in: Check for -msse2avx.
8751 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
8752 also if SSE2AVX is defined.
8753 Remove libc_fegetround* and libc_fesetround*.
8754 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
8755 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
8756 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
8757 of HAS_YMM_USABLE.
8758 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
8759 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
8760 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
8761 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
8762 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
8763
73139a76
UD
8764 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
8765
d73f93a4
AZ
87662012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8767
8768 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
8769 size is not set.
8770 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
8771
6ee65ed6
UD
87722012-01-27 Ulrich Drepper <drepper@gmail.com>
8773
8774 [BZ #13618]
8775 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
8776 relocation.
8777 * Makeconfig (libm): Define.
8778 * elf/Makefile: Add rules to build and run tst-relsort1.
8779 * elf/tst-relsort1.c: New file.
8780 * elf/tst-relsort1mod1.c: New file.
8781 * elf/tst-relsort1mod2.c: New file.
8782
8db21882
JM
87832012-01-27 Joseph Myers <joseph@codesourcery.com>
8784
8785 * math/s_ldexp.c: Remove __STDC__ conditionals.
8786 * math/s_ldexpf.c: Likewise.
8787 * math/s_ldexpl.c: Likewise.
8788 * math/s_nextafter.c: Likewise.
8789 * math/s_nexttowardf.c: Likewise.
8790 * math/s_significand.c: Likewise.
8791 * math/s_significandf.c: Likewise.
8792 * math/s_significandl.c: Likewise.
8793 * math/w_jnl.c: Likewise.
8794 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
8795 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
8796 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
8797 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
8798 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
8799 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
8800 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
8801 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
8802 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
8803 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
8804 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
8805 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
8806 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
8807 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
8808 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
8809 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
8810 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
8811 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
8812 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
8813 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
8814 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
8815 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
8816 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
8817 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
8818 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
8819 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
8820 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
8821 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
8822 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
8823 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
8824 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
8825 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
8826 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
8827 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
8828 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
8829 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
8830 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
8831 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
8832 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
8833 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
8834 * sysdeps/ieee754/k_standard.c: Likewise.
8835 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
8836 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
8837 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
8838 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
8839 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
8840 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
8841 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
8842 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
8843 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
8844 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
8845 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
8846 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
8847 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
8848 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
8849 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
8850 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
8851 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
8852 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
8853 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
8854 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
8855 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
8856 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
8857 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
8858 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
8859 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
8860 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
8861 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
8862 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
8863 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
8864 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
8865 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
8866 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
8867 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
8868 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
8869 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
8870 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
8871 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
8872 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
8873 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
8874 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
8875 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
8876 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
8877 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
8878 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
8879 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
8880 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
8881 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
8882 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
8883 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
8884 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
8885 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
8886 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
8887 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
8888 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
8889 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
8890 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
8891 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
8892 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
8893 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
8894 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
8895 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
8896 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
8897 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
8898 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
8899 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
8900 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
8901 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
8902 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
8903 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
8904 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
8905 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
8906 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
8907 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
8908 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
8909 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
8910 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
8911 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
8912 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
8913 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
8914 * sysdeps/ieee754/s_matherr.c: Likewise.
8915 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
8916 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
8917 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
8918 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
8919
965a54a4
JM
89202012-01-26 Joseph Myers <joseph@codesourcery.com>
8921
8922 * crypt/md5.h: Remove __STDC__ conditionals.
8923 * libio/libioP.h: Likewise.
8924 * locale/programs/config.h: Likewise.
8925 * sysdeps/generic/sysdep.h: Likewise.
8926 * sysdeps/i386/asm-syntax.h: Likewise.
8927 * sysdeps/s390/asm-syntax.h: Likewise.
8928 * sysdeps/unix/sysdep.h: Likewise.
8929 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
8930 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
8931
7071ad79
JM
89322012-01-26 Joseph Myers <joseph@codesourcery.com>
8933
8934 * libio/libio.h: Remove __STDC__ conditionals.
8935 * malloc/obstack.h: Likewise.
8936 * math/complex.h: Likewise.
8937 * math/math.h: Likewise.
8938 * sysdeps/generic/_G_config.h: Likewise.
8939 * sysdeps/gnu/_G_config.h: Likewise.
8940 * sysdeps/mach/hurd/_G_config.h: Likewise.
8941 * sysdeps/powerpc/bits/mathdef.h: Likewise.
8942 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
8943 * sysdeps/sparc/bits/mathdef.h: Likewise.
8944
afc5ed09
UD
89452012-01-26 Ulrich Drepper <drepper@gmail.com>
8946
8947 [BZ #13583]
8948 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 8949 Clean up HAS_* macros.
afc5ed09 8950 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
8951 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
8952 possible.
8953 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
8954 HAS_AVX.
8955 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
8956 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
8957 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
8958 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
8959 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 8960
bdb6de1d
JM
89612012-01-25 Joseph Myers <joseph@codesourcery.com>
8962
8963 * elf/tst-unique3.cc (gets): Remove declaration.
8964 * elf/tst-unique3lib.cc (gets): Likewise.
8965 * elf/tst-unique3lib2.cc (gets): Likewise.
8966 * elf/tst-unique4.cc (gets): Likewise.
8967
b15549e6
UD
89682012-01-24 Ulrich Drepper <drepper@gmail.com>
8969
8970 * include/stdio.h: Add C++ protection. Add gets declarations and
8971 definitions.
8972 * debug/tst-chk1.c: Don't declare gets here.
8973 * stdio-common/tst-gets.c: Likewise.
8974
a037381f
JM
89752012-01-24 Joseph Myers <joseph@codesourcery.com>
8976
8977 * posix/glob: Remove directory.
8978
f1d4aa75
JM
89792012-01-24 Joseph Myers <joseph@codesourcery.com>
8980
8981 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
8982
81c0c964
PT
89832012-01-22 Pino Toscano <toscano.pino@tiscali.it>
8984
8985 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
8986 of the non-standard EPFNOSUPPORT.
8987
0ea698ae
ST
89882011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
8989
8990 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
8991 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
8992 ANYWHERE set to 1 only on KERN_NO_SPACE error.
8993
d220b117
UD
89942012-01-21 Ulrich Drepper <drepper@gmail.com>
8995
8996 * wcsmbs/uchar.h: Test __STDC_VERSION__.
8997
3e1aa84e
UD
89982012-01-20 Ulrich Drepper <drepper@gmail.com>
8999
9000 * nscd/aicache.c (addhstaiX): Do not cache negative results of
9001 transient errors.
9002 * nscd/grpcache.c (cache_addgr): Likewise.
9003 * nscd/hstcache.c (cache_addhst): Likewise.
9004 * nscd/initgrcache.c (addinitgroupsX): Likewise.
9005 * nscd/pwdcache.c (cache_addpw): Likewise.
9006 * nscd/servicescache.c (cache_addserv): Likewise.
9007
400aa020
UD
90082012-01-16 Ulrich Drepper <drepper@gmail.com>
9009
d77e7869
UD
9010 * malloc/malloc.c: Various cleanups.
9011 * malloc/hooks.c: Likewise.
9012
400aa020
UD
9013 * stdlib/Makefile (tests): Add bug-fmtmsg1.
9014 * stdlib/bug-fmtmsg1.c: New file.
9015
9016 * stdlib/fmtmsg.c (init): Add missing unlock.
9017 Patch by Peng Haitao <penght@cn.fujitsu.com>.
9018
e0a309cf
MP
90192012-01-12 Marek Polacek <polacek@redhat.com>
9020
9021 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
9022 and _GNU_SOURCE.
9023
929d11c7
WS
90242012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
9025
9026 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
9027 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
9028 macro to ensure uniqueness of label name.
9029 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
9030 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
9031
41d0e869
UD
90322012-01-11 Ulrich Drepper <drepper@gmail.com>
9033
0cc5ed3b
UD
9034 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
9035
41d0e869
UD
9036 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
9037 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
9038 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
9039 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
9040
a47a831a
UD
90412012-01-10 Ulrich Drepper <drepper@gmail.com>
9042
daa891c0
UD
9043 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
9044
9045 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
9046 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
9047 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
9048
e58ef0f2
UD
9049 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
9050
a47a831a 9051 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
9052 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
9053 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 9054 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
9055
9056 * math/bits/math-finite.h: Add ldexp support.
9057
a0bfc9c7
MP
90582012-01-10 Marek Polacek <polacek@redhat.com>
9059
9060 * locale/programs/localedef.h (show_archive_content): Add noreturn
9061 attribute.
9062
d6e97a1d
UD
90632012-01-09 Ulrich Drepper <drepper@gmail.com>
9064
9065 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
9066
d5835c26
UD
90672012-01-08 Ulrich Drepper <drepper@gmail.com>
9068
e5f484c6
UD
9069 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
9070
d5835c26
UD
9071 * io/Makefile (headers): Add bits/poll2.h.
9072
d1f741e9
WS
90732011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
9074
9075 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
9076 typo #include statement.
9077
ec09c1c4
UD
90782012-01-08 Ulrich Drepper <drepper@gmail.com>
9079
9080 * include/sys/cdefs.h: Define __attribute_alloc_size.
9081 * catgets/gencat.c: Add alloc_size attribute and apply consistently
9082 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
9083 * elf/pldd.c: Likewise.
9084 * iconv/iconv_charmap.c: Likewise.
9085 * iconv/iconvconfig.c: Likewise.
9086 * iconv/strtab.c: Likewise.
9087 * locale/programs/locale.c: Likewise.
9088 * locale/programs/localedef.h: Likewise.
9089 * locale/programs/simple-hash.c: Likewise.
9090 * nscd/nscd.h: Likewise.
9091 * nss/makedb.c: Likewise.
9092 * sysdeps/generic/ldconfig.h: Likewise.
9093 * locale/programs/localedef.c: Remove xmalloc prototype.
9094 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
9095
20b38e03
PP
90962012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
9097
9098 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
9099 appropriate.
9100
a0da5fe1
UD
91012012-01-08 Ulrich Drepper <drepper@gmail.com>
9102
1d5a644a 9103 * math/Makefile (tests): Add tst-CMPLX.
669704fd 9104 * math/tst-CMPLX.c: New file.
1d5a644a 9105
8784a6db
UD
9106 * math/complex.h (CMPLXL): Fix typo.
9107
d9a216c0
UD
9108 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
9109 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
9110 GLIBC_2.16.
9111 * debug/tst-chk1.c: Add poll and ppoll tests.
9112 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
9113 * include/sys/poll.h: Add hidden proto for ppoll.
9114 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
9115 * sysdeps/mach/hurd/ppoll.c: Likewise.
9116 * io/ppoll.c: Likewise.
9117 * debug/poll_chk.c: New file.
9118 * debug/ppoll_chk.c: New file.
9119 * include/bits/poll2.h: New file.
9120 * io/bits/poll2.h: New file.
9121
ac097f5c
UD
9122 [BZ #1350]
9123 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
9124
2119dcfa
UD
9125 * configure.in: static is always set to yes. Remove.
9126 * config.make.in: Don't set build-static.
9127 * Makeconfig: Remove use of build-static.
9128 * dlfcn/Makefile: Likewise.
9129 * elf/Makefile: Likewise.
9130 * math/Makefile: Likewise.
9131 * misc/Makefile: Likewise.
9132 * nptl/Makefile: Likewise.
9133 * sysdeps/mach/hurd/Makefile: Likewise.
9134
121766a9
UD
9135 * configure.in: PWD_P is not used anymore.
9136 * config.make.in: Remove PWD_P entry.
9137
51a1d39c 9138 * configure.in: Remove last remnants of RANLIB.
8720d066 9139 No need to check for signed size_t anymore.
215f4bdc
UD
9140 Don't set libc_commonpagesize and libc_relro_required here for Alpha
9141 and IA-64.
3857022a 9142 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
9143 * aclocal.m4: Likewise.
9144
d3ed7225
UD
9145 * wcsmbs/mbrtoc16.c: Implement using towc function.
9146 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
9147 * wcsmbs/wcsmbsload.c: Likewise.
9148 * iconv/gconv_simple.c: Likewise.
9149 * iconv/gconv_int.h: Likewise.
9150 * iconv/gconv_builtin.h: Likewise.
9151 * iconv/iconv_prog.c: Remove CHAR16 handling.
9152
9153 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
9154
9155 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
9156
a0da5fe1
UD
9157 * configure.in: Remove --with-elf and --enable-bounded options.
9158 Dont set base_machine for ia64. More non-ELF conditions removed.
9159 Remove testing and setting of leading underscore information.
9160 * config.make.in (build-bounded): Set to no.
9161 * config.h.in: Remove NO_UNDERSCORES entry.
9162 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
9163 them.
9164 * csu/start.c: Remove !NO_UNDERSCORE code.
9165 * locale/localeinfo.h: Likewise.
9166 * sysdeps/generic/machine-gmon.h: Likewise.
9167 * sysdeps/generic/sysdep.h: Likewise.
9168 * sysdeps/i386/sysdep.h: Likewise.
9169 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
9170 * sysdeps/mach/sysdep.h: Likewise.
9171 * sysdeps/s390/s390-32/sysdep.h: Likewise.
9172 * sysdeps/s390/s390-64/sysdep.h: Likewise.
9173 * sysdeps/sh/sysdep.h: Likewise.
9174 * sysdeps/sparc/sparc32/alloca.S: Likewise.
9175 * sysdeps/unix/i386/sysdep.S: Likewise.
9176 * sysdeps/unix/sparc/start.c: Likewise.
9177 * sysdeps/unix/sparc/sysdep.S: Likewise.
9178 * sysdeps/unix/sparc/sysdep.h: Likewise.
9179 * sysdeps/unix/start.c: Likewise.
9180 * sysdeps/unix/x86_64/sysdep.S: Likewise.
9181 * sysdeps/x86_64/sysdep.h: Likewise.
9182
df78418a
UD
91832012-01-07 Ulrich Drepper <drepper@gmail.com>
9184
a784e502
UD
9185 [BZ #13553]
9186 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
9187 for non-gcc.
9188 * argp/argp-fmtstream.h: Use const instead __const.
9189 * argp/argp.h: Likewise.
9190 * assert/assert.h: Likewise.
9191 * bits/fenv.h: Likewise.
9192 * bits/sched.h: Likewise.
9193 * bits/sigset.h: Likewise.
9194 * bits/sigthread.h: Likewise.
9195 * catgets/nl_types.h: Likewise.
9196 * conform/data/pthread.h-data: Likewise.
9197 * crypt/crypt-private.h: Likewise.
9198 * crypt/crypt.h: Likewise.
9199 * crypt/crypt_util.c: Likewise.
9200 * ctype/ctype.h: Likewise.
9201 * debug/execinfo.h: Likewise.
9202 * debug/mbsnrtowcs_chk.c: Likewise.
9203 * debug/mbsrtowcs_chk.c: Likewise.
9204 * debug/wcsnrtombs_chk.c: Likewise.
9205 * debug/wcsrtombs_chk.c: Likewise.
9206 * debug/wcstombs_chk.c: Likewise.
9207 * dirent/dirent.h: Likewise.
9208 * dlfcn/dlfcn.h: Likewise.
9209 * elf/neededtest4.c: Likewise.
9210 * grp/grp.h: Likewise.
9211 * gshadow/gshadow.h: Likewise.
9212 * iconv/gconv.h: Likewise.
9213 * iconv/gconv_int.h: Likewise.
9214 * iconv/gconv_simple.c: Likewise.
9215 * iconv/iconv.h: Likewise.
9216 * iconv/loop.c: Likewise.
9217 * iconv/skeleton.c: Likewise.
9218 * include/aio.h: Likewise.
9219 * include/aliases.h: Likewise.
9220 * include/argz.h: Likewise.
9221 * include/arpa/inet.h: Likewise.
9222 * include/assert.h: Likewise.
9223 * include/dirent.h: Likewise.
9224 * include/dlfcn.h: Likewise.
9225 * include/execinfo.h: Likewise.
9226 * include/fcntl.h: Likewise.
9227 * include/fenv.h: Likewise.
9228 * include/glob.h: Likewise.
9229 * include/grp.h: Likewise.
9230 * include/libintl.h: Likewise.
9231 * include/mntent.h: Likewise.
9232 * include/netdb.h: Likewise.
9233 * include/pwd.h: Likewise.
9234 * include/rpc/netdb.h: Likewise.
9235 * include/sched.h: Likewise.
9236 * include/search.h: Likewise.
9237 * include/shadow.h: Likewise.
9238 * include/signal.h: Likewise.
9239 * include/stdio.h: Likewise.
9240 * include/stdlib.h: Likewise.
9241 * include/string.h: Likewise.
9242 * include/sys/socket.h: Likewise.
9243 * include/sys/stat.h: Likewise.
9244 * include/sys/statfs.h: Likewise.
9245 * include/sys/statvfs.h: Likewise.
9246 * include/sys/syslog.h: Likewise.
9247 * include/sys/time.h: Likewise.
9248 * include/sys/uio.h: Likewise.
9249 * include/time.h: Likewise.
9250 * include/unistd.h: Likewise.
9251 * include/utmp.h: Likewise.
9252 * include/wchar.h: Likewise.
9253 * include/wctype.h: Likewise.
9254 * inet/aliases.h: Likewise.
9255 * inet/arpa/inet.h: Likewise.
9256 * inet/netinet/ether.h: Likewise.
9257 * inet/netinet/in.h: Likewise.
9258 * intl/libintl.h: Likewise.
9259 * io/bits/fcntl2.h: Likewise.
9260 * io/fcntl.h: Likewise.
9261 * io/ftw.h: Likewise.
9262 * io/sys/poll.h: Likewise.
9263 * io/sys/stat.h: Likewise.
9264 * io/sys/statfs.h: Likewise.
9265 * io/sys/statvfs.h: Likewise.
9266 * io/utime.h: Likewise.
9267 * libio/bits/stdio.h: Likewise.
9268 * libio/bits/stdio2.h: Likewise.
9269 * libio/libio.h: Likewise.
9270 * libio/libioP.h: Likewise.
9271 * libio/stdio.h: Likewise.
9272 * locale/lc-ctype.c: Likewise.
9273 * locale/locale.h: Likewise.
9274 * login/utmp.h: Likewise.
9275 * malloc/arena.c: Likewise.
9276 * malloc/malloc.c: Likewise.
9277 * malloc/malloc.h: Likewise.
9278 * malloc/mcheck.c: Likewise.
9279 * malloc/mtrace.c: Likewise.
9280 * math/bits/mathcalls.h: Likewise.
9281 * math/fenv.h: Likewise.
9282 * math/math_private.h: Likewise.
9283 * misc/bits/error.h: Likewise.
9284 * misc/bits/syslog.h: Likewise.
9285 * misc/err.h: Likewise.
9286 * misc/error.h: Likewise.
9287 * misc/fstab.h: Likewise.
9288 * misc/mntent.h: Likewise.
9289 * misc/regexp.h: Likewise.
9290 * misc/search.h: Likewise.
9291 * misc/sgtty.h: Likewise.
9292 * misc/sys/mman.h: Likewise.
9293 * misc/sys/syslog.h: Likewise.
9294 * misc/sys/uio.h: Likewise.
9295 * misc/sys/xattr.h: Likewise.
9296 * misc/ttyent.h: Likewise.
9297 * nis/rpcsvc/ypclnt.h: Likewise.
9298 * nss/nss.h: Likewise.
9299 * posix/bits/unistd.h: Likewise.
9300 * posix/fnmatch.h: Likewise.
9301 * posix/glob.h: Likewise.
9302 * posix/sched.h: Likewise.
9303 * posix/spawn.h: Likewise.
9304 * posix/sys/wait.h: Likewise.
9305 * posix/unistd.h: Likewise.
9306 * posix/wordexp.h: Likewise.
9307 * pwd/pwd.h: Likewise.
9308 * resolv/netdb.h: Likewise.
9309 * resource/sys/resource.h: Likewise.
9310 * rt/aio.h: Likewise.
9311 * rt/bits/mqueue2.h: Likewise.
9312 * rt/mqueue.h: Likewise.
9313 * shadow/shadow.h: Likewise.
9314 * signal/signal.h: Likewise.
9315 * socket/send.c: Likewise.
9316 * socket/sendto.c: Likewise.
9317 * socket/sys/socket.h: Likewise.
9318 * stdio-common/printf.h: Likewise.
9319 * stdlib/bits/stdlib.h: Likewise.
9320 * stdlib/fmtmsg.h: Likewise.
9321 * stdlib/monetary.h: Likewise.
9322 * stdlib/stdlib.h: Likewise.
9323 * stdlib/ucontext.h: Likewise.
9324 * streams/stropts.h: Likewise.
9325 * string/argz.h: Likewise.
9326 * string/bits/string2.h: Likewise.
9327 * string/string.h: Likewise.
9328 * string/strings.h: Likewise.
9329 * sunrpc/rpc/auth.h: Likewise.
9330 * sunrpc/rpc/auth_des.h: Likewise.
9331 * sunrpc/rpc/clnt.h: Likewise.
9332 * sunrpc/rpc/netdb.h: Likewise.
9333 * sunrpc/rpc/pmap_clnt.h: Likewise.
9334 * sunrpc/rpc/xdr.h: Likewise.
9335 * sysdeps/generic/inttypes.h: Likewise.
9336 * sysdeps/generic/net/if.h: Likewise.
9337 * sysdeps/generic/sys/swap.h: Likewise.
9338 * sysdeps/gnu/net/if.h: Likewise.
9339 * sysdeps/gnu/utmpx.h: Likewise.
9340 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
9341 * sysdeps/i386/i486/bits/string.h: Likewise.
9342 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
9343 * sysdeps/s390/bits/string.h: Likewise.
9344 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
9345 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
9346 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
9347 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
9348 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
9349 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
9350 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
9351 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
9352 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
9353 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
9354 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
9355 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
9356 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
9357 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
9358 * sysdeps/unix/sysv/linux/readv.c: Likewise.
9359 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
9360 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
9361 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
9362 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
9363 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
9364 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
9365 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
9366 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
9367 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
9368 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
9369 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
9370 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
9371 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
9372 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
9373 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
9374 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
9375 * sysvipc/sys/ipc.h: Likewise.
9376 * sysvipc/sys/msg.h: Likewise.
9377 * sysvipc/sys/sem.h: Likewise.
9378 * sysvipc/sys/shm.h: Likewise.
9379 * termios/termios.h: Likewise.
9380 * time/sys/time.h: Likewise.
9381 * time/time.h: Likewise.
9382 * wcsmbs/bits/wchar2.h: Likewise.
9383 * wcsmbs/uchar.h: Likewise.
9384 * wcsmbs/wchar.h: Likewise.
9385 * wctype/wctype.h: Likewise.
9386
0269750c
UD
9387 [BZ #13551]
9388 * Makeconfig: Remove all but ELF support including AIX support.
9389 * Makerules: Likewise.
9390 * config.h.in: Likewise.
9391 * config.make.in: Likewise.
9392 * configure: Likewise.
9393 * configure.in: Likewise.
9394 * csu/Makefile: Likewise.
9395 * csu/version.c: Likewise.
9396 * debug/Makefile: Likewise.
9397 * dlfcn/Makefile: Likewise.
9398 * elf/Makefile: Likewise.
9399 * extra-lib.mk: Likewise.
9400 * iconv/Makefile: Likewise.
9401 * include/libc-symbols.h: Likewise.
9402 * include/shlib-compat.h: Likewise.
9403 * resolv/Makefile: Likewise.
9404 * resolv/res_libc.c: Likewise.
9405 * rt/Makefile: Likewise.
9406 * sysdeps/i386/asm-syntax.h: Likewise.
9407 * sysdeps/i386/sysdep.h: Likewise.
9408 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
9409 * sysdeps/mach/sysdep.h: Likewise.
9410 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
9411 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
9412 * sysdeps/s390/asm-syntax.h: Likewise.
9413 * sysdeps/s390/s390-32/sysdep.h: Likewise.
9414 * sysdeps/s390/s390-64/sysdep.h: Likewise.
9415 * sysdeps/sh/sysdep.h: Likewise.
9416 * sysdeps/unix/sparc/sysdep.h: Likewise.
9417 * sysdeps/wordsize-32/divdi3.c: Likewise.
9418 * sysdeps/x86_64/sysdep.h: Likewise.
9419
00bbd29b
UD
9420 * argp/Versions: Remove _argp_unlock_xxx.
9421
9422 [BZ #13559]
9423 * abilist/ld.abilist: Update. Adjust for removal of tls option.
9424 * abilist/libBrokenLocale.abilist: Likewise.
9425 * abilist/libanl.abilist: Likewise.
9426 * abilist/libc.abilist: Likewise.
9427 * abilist/libcrypt.abilist: Likewise.
9428 * abilist/libdl.abilist: Likewise.
9429 * abilist/libm.abilist: Likewise.
9430 * abilist/libnsl.abilist: Likewise.
9431 * abilist/libpthread.abilist: Likewise.
9432 * abilist/libresolv.abilist: Likewise.
9433 * abilist/librt.abilist: Likewise.
9434 * abilist/libthread_db.abilist: Likewise.
9435 * abilist/libutil.abilist: Likewise.
9436 * abilist/libnss_db.abilist: New file.
9437
9438 * scripts/abilist.awk: Add support for indirect functions.
9439
a2693a0e
UD
9440 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
9441
3f05895f
UD
9442 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
9443
ecb6fb48
UD
9444 * shlib-versions: Remove entries for ports architectures.
9445
664f8cb9
UD
9446 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
9447 files in ports.
9448 * elf/stackguard-macros.h: Remove support for IA-64.
9449 * elf/tst-auditmod1.c: Likewise.
9450 * sysdeps/generic/ldsodefs.h: Likewise.
9451
7ae81d88
UD
9452 * sysdeps/unix/sysv/linux/configure.in: Ports should define
9453 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
9454 configure files.
9455
bdeba135
UD
9456 [BZ #13552]
9457 * configure.in: Remove --enable-omitfp support.
9458 * FAQ.in: Adjust.
9459 * config.make.in: Likewise.
9460 * Makeconfig: Likewise.
9461 * manual/install.texi: Likewise.
9462
d75a0a62
UD
9463 In case anyone cares, the IA-64 architecture could move to ports.
9464 * sysdeps/ia64/*: Removed.
9465 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 9466 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 9467
dcc9756b
UD
9468 [BZ #13555]
9469 * configure.in: Remove entries for unsupported architectures.
9470
d3761ebc 9471 [BZ #13533]
9954432e
UD
9472 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
9473 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
9474 routines.
9475 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
9476 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
9477 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
9478 fall back to using wcrtomb.
9479 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
9480 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
9481 renaming.
9482 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
9483 * wcsmbs/tst-c16c32-1.c: New file.
9484
9485 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
9486 local variable.
9487
c3a87236
UD
9488 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
9489
28926a1b
UD
9490 * elf/tst-unique3.cc: Add explicit declaration of gets.
9491 * elf/tst-unique3lib.cc: Likewise.
9492 * elf/tst-unique3lib2.cc: Likewise.
9493 * elf/tst-unique4.cc: Likewise.
9494
df78418a
UD
9495 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
9496
8ecd6b2a
JM
94972012-01-06 Joseph Myers <joseph@codesourcery.com>
9498
9499 [BZ #13566]
9500 * assert/assert.h (static_assert): Don't define for C++.
9501 * libio/stdio.h (gets): Do declare for C++ <= C++11.
9502 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
9503
9f115170
UD
95042012-01-03 Ulrich Drepper <drepper@gmail.com>
9505
5e0d0300
UD
9506 * iconv/loop.c (single loop): Fix assertion in storing of
9507 remaining bytes.
9508
9f115170
UD
9509 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
9510
81fb02b0
UD
95112012-01-01 Ulrich Drepper <drepper@gmail.com>
9512
9513 * posix/getconf.c: Update copyright year.
9514 * nss/getent.c: Likewise.
a316c1f6 9515 * nss/makedb.c: Likewise.
81fb02b0
UD
9516 * iconv/iconvconfig.c: Likewise.
9517 * iconv/iconv_prog.c: Likewise.
9518 * elf/ldconfig.c: Likewise.
a316c1f6
UD
9519 * elf/pldd.c: Likewise.
9520 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
9521 * catgets/gencat.c: Likewise.
9522 * csu/version.c: Likewise.
9523 * elf/ldd.bash.in: Likewise.
9524 * elf/sprof.c (print_version): Likewise.
9525 * locale/programs/locale.c: Likewise.
9526 * locale/programs/localedef.c: Likewise.
a316c1f6 9527 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
9528 * nscd/nscd.c (print_version): Likewise.
9529 * debug/xtrace.sh: Likewise.
9530 * malloc/memusage.sh: Likewise.
9531 * malloc/mtrace.pl: Likewise.
9532 * debug/catchsegv.sh: Likewise.
9533
2ba92745
JJ
95342011-12-30 Jakub Jelinek <jakub@redhat.com>
9535
9536 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
9537 pure attribute.
9538
dadebdae
UD
95392011-12-24 Ulrich Drepper <drepper@gmail.com>
9540
d3761ebc 9541 [BZ #13533]
db6af3eb
UD
9542 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
9543 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
9544 transformations.
9545 * iconv/gconv_int.h: Likewise.
9546 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
9547 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
9548 from libc for GLIBC_2.16.
9549 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
9550 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
9551 * wcsmbs/uchar.h: Really define mbstate_t.
9552 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
9553 * wcsmbs/c16rtomb.c: New file.
9554 * wcsmbs/mbrtoc16.c: New file.
9555 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
9556 for C/POSIX locale.
9557 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
9558 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
9559
dadebdae
UD
9560 * wcsmbs/wchar.h: Add missing __restrict.
9561
67371b56
UD
95622011-12-23 Ulrich Drepper <drepper@gmail.com>
9563
74033a25
UD
9564 [BZ #13532]
9565 * time/Makefile (routines): Add timespec_get.
9566 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
9567 * time/time.h: Define TIME_UTC and declare timespec_get. Define
9568 timespec for ISO C11.
9569 * time/timespec_get.c: New file.
9570 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
9571 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
9572
380d7e87
UD
9573 [BZ #13531]
9574 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
9575 * stdlib/stdlib.h: Declare aligned_alloc.
9576 * Versions.def: Add GLIBC_2.16 for libc.
9577 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
9578
4e9e7a35
UD
9579 [BZ 13527]
9580 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
9581 ISO C11.
9582
380d7e87 9583 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
9584 code.
9585
03a71829
UD
9586 [BZ #13528]
9587 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
9588
839e283e
UD
9589 [BZ #13529]
9590 * assert/assert.h (static_assert): Define.
9591
ce5294e2 9592 * version.h: Update for 2.16 development version.
90fa7312 9593
8d44e150 9594 [BZ #13526]
d7809905
UD
9595 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
9596 _ISOC11_SOURCE.
9597
c0da14cd
UD
9598 * version.h (RELEASE): Bump for 2.15 release.
9599 * include/features.h (__GLIBC_MINOR__): Bump to 15.
9600
530a3249
MP
9601 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
9602 Patch by Marek Polacek <mpolacek@redhat.com>.
9603
67371b56
UD
9604 * bits/byteswap.h: Protect long long constants with __extension__.
9605 * sysdeps/i386/bits/byteswap.h: Likewise.
9606 * sysdeps/ia64/bits/byteswap.h: Likewise.
9607 * sysdeps/s390/bits/byteswap.h: Likewise.
9608 * sysdeps/x86_64/bits/byteswap.h: Likewise.
9609
15db4de1
LD
96102011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9611
9612 [BZ #13540]
bbe315ea
LD
9613 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
9614 destination buffer.
15db4de1
LD
9615 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
9616
2b2596b1
MP
96172011-12-23 Marek Polacek <polacek@redhat.com>
9618
9619 * elf/dl-addr.c (determine_info): Add inline keyword.
9620 * elf/tst-auditmod4b.c (check_avx): Likewise.
9621 * elf/tst-auditmod6b.c (check_avx): Likewise.
9622 * elf/tst-auditmod6c.c (check_avx): Likewise.
9623 * elf/tst-auditmod7b.c (check_avx): Likewise.
9624
70c6c246
UD
96252011-12-23 Ulrich Drepper <drepper@gmail.com>
9626
9627 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
9628 !__SSE_MATH__.
9629
c044cf14
LD
96302011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9631
15db4de1 9632 [BZ #13540]
c044cf14
LD
9633 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
9634 processing for last bytes.
9635
6b13d9d9
BH
96362011-08-06 Bruno Haible <bruno@clisp.org>
9637
d455f537
BH
9638 [BZ #13061]
9639 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
9640 U+0385, not to U+1FEE.
9641
6b13d9d9
BH
9642 [BZ #13062]
9643 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
9644 entry for U+00A5 U+0301.
9645
db910efd
UD
96462011-12-22 Ulrich Drepper <drepper@gmail.com>
9647
27deeafc
UD
9648 [BZ #13166]
9649 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
9650 buffer for the output is too small.
9651
aed9d171
UD
9652 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
9653 optimization.
9654
db910efd
UD
9655 [BZ #13185]
9656 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
9657 SSE flags if possible.
9658
2bd779ae
LD
96592011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9660
e7f9dac3 9661 [BZ #13540]
2bd779ae
LD
9662 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
9663 processing for last bytes.
9664
154bfc16
JM
96652011-12-22 Joseph Myers <joseph@codesourcery.com>
9666
9667 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
9668 (syscall-list-default-options, syscall-list-default-condition)
9669 (syscall-list-includes): Define.
9670 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
9671 list of ABIs and options and #if conditions for each ABI. Do not
9672 handle common syscalls between ABIs specially.
9673 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
9674 Remove.
9675 (syscall-list-variants, syscall-list-32bit-options)
9676 (syscall-list-32bit-condition, syscall-list-64bit-options)
9677 (syscall-list-64bit-condition): Define.
9678 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
9679 (syscall-list-variants, syscall-list-32bit-options)
9680 (syscall-list-32bit-condition, syscall-list-64bit-options)
9681 (syscall-list-64bit-condition): Define.
9682 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
9683 Remove.
9684 (syscall-list-variants, syscall-list-32bit-options)
9685 (syscall-list-32bit-condition, syscall-list-64bit-options)
9686 (syscall-list-64bit-condition): Define.
9687 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
9688 Remove.
9689 (syscall-list-variants, syscall-list-32bit-options)
9690 (syscall-list-32bit-condition, syscall-list-64bit-options)
9691 (syscall-list-64bit-condition): Define.
9692
21eaf3a5
UD
96932011-12-22 Ulrich Drepper <drepper@gmail.com>
9694
16c6f992
UD
9695 * locale/iso-639.def: Add brx entry.
9696
41043168
UD
9697 [BZ #13328]
9698 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
9699 Proposed by Mariusz_Cukr <marcukr@op.pl>.
9700
21eaf3a5
UD
9701 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
9702 __feraiseexcept_renamed.
9703
e3a851a2
UD
97042011-12-21 Ulrich Drepper <drepper@gmail.com>
9705
4920765e
UD
9706 [BZ #13538]
9707 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
9708 EPOLLET with unsigned values.
9709 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
9710 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
9711
e3a851a2
UD
9712 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
9713 to large cancellation.
9714 * math/s_cacoshf.c: Likewise.
9715 * math/s_cacoshl.c: Likewise.
9716
b27e24b8
RK
97172011-11-18 Richard B. Kreckel <kreckel@ginac.de>
9718
9719 [BZ #13305]
aebefeee 9720 [BZ #12786]
b27e24b8
RK
9721 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
9722 * math/s_cacoshf.c: Likewise.
9723 * math/s_cacoshl.c: Likewise.
9724
ee190f67
UD
97252011-12-21 Ulrich Drepper <drepper@gmail.com>
9726
9727 [BZ #13439]
9728 * iconv/gconv.h: Define __GCONV_SWAP.
9729 * iconvdata/unicode.c: The swap bit must be stored in __flags.
9730 * iconvdata/utf-16.c: Likewise.
9731 * iconvdata/utf-32.c: Likewise.
9732
707f25df
AS
97332011-12-21 Andreas Schwab <schwab@linux-m68k.org>
9734
9735 [BZ #13524]
9736 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
9737 numerator after shifting it by one limb.
9738
d2daaa1e
RÁE
97392011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
9740
9741 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
9742 under [__USE_EXTERN_INLINES].
9743
a4647e72
UD
97442011-12-17 Ulrich Drepper <drepper@gmail.com>
9745
9746 [BZ #13446]
9747 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
9748
f0b264f1
AZ
97492011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9750
9751 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
9752 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
9753 optimized code.
9754 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
9755 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
9756 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
9757 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
9758 for strncasecmp/strncasecmp_l compilation.
9759 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
9760 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
9761
8ef4f244
MP
97622011-12-08 Marek Polacek <mpolacek@redhat.com>
9763
9764 [BZ #13484]
9765 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
9766 of __asm__.
9767
97ac2654
UD
97682011-12-17 Ulrich Drepper <drepper@gmail.com>
9769
9770 [BZ #13506]
9771 * time/tzfile.c (__tzfile_read): Check values from file header.
9772
91d2a845
WS
97732011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
9774
9775 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
9776 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
9777 * powerpc/powerpc32/dl-start.S: Likewise.
9778 * powerpc/powerpc32/elf/start.S: Likewise.
9779 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
9780 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
9781 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
9782 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
9783 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
9784 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
9785 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
9786 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
9787 * powerpc/powerpc32/fpu/s_round.S: Likewise.
9788 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
9789 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
9790 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
9791 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
9792 * powerpc/powerpc32/memset.S: Likewise.
9793 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
9794 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
9795 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
9796 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
9797 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
9798 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
9799 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
9800 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
9801 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
9802 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
9803 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
9804 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
9805 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
9806
a1267ba1
AZ
98072011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9808
9809 * math/libm-test.inc: Added more nearbyint tests.
9810 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
9811 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
9812 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
9813 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
9814
ad8ac1bd
RL
98152011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
9816
9817 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
9818 FD_CLOEXEC.
9819
1d3e4b61
UD
98202011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9821
9822 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
9823 Add wcscpy-ssse3 wcscpy-c.
9824 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
9825 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
9826 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
9827 * sysdeps/x86_64/wcschr.S: New file.
9828 * sysdeps/x86_64/wcsrchr.S: New file.
9829 * string/test-strcmp.c: Remove checking of wcscmp function for
9830 wrong alignments.
9831 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
9832 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
9833 wcsrchr-sse2 wcsrchr-c.
9834 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
9835 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
9836 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
9837 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
9838 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
9839 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
9840 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
9841 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
9842 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
9843 * wcsmbc/wcschr.c (WCSCHR): New macro.
9844
5b330a2d
UD
98452011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9846
9847 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
9848 * wcsmbs/test-wcsrchr.c: New file.
9849 * string/test-strrchr.c: Add wcsrchr support.
9850 (WIDE): New macro.
9851 * wcsmbs/test-wcscpy.c: New file.
9852 * string/test-strcpy.c: Add wcscpy support.
9853 (WIDE): New macro.
26428b7c 9854
f039c043
UD
98552011-12-10 Ulrich Drepper <drepper@gmail.com>
9856
9857 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
9858 the inner loop.
9859
850fb039
AS
98602011-12-06 Andreas Schwab <schwab@linux-m68k.org>
9861
9862 [BZ #13472]
9863 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
9864
4efbd5cb
UD
98652011-12-04 Ulrich Drepper <drepper@gmail.com>
9866
52ff5dd0 9867 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 9868 Minor optimizations.
52ff5dd0 9869
4efbd5cb
UD
9870 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
9871 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
9872 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
9873
8a426e12
UD
98742011-12-03 Ulrich Drepper <drepper@gmail.com>
9875
aff2453d
UD
9876 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
9877 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
9878 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
9879 for gcc to avoid warnings.
9880 * inet/Makefile (tests): Add tst-checks.
9881 * inet/tst-checks.c: New file.
9882
9883 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
9884 warning.
9885
9886 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
9887 __wmemcmp_sse2.
9888
9889 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
9890 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
9891
8a426e12
UD
9892 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
9893
9bea3473
UD
98942011-12-02 Ulrich Drepper <drepper@gmail.com>
9895
3a965496
UD
9896 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
9897 problem.
9898
9bea3473
UD
9899 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
9900
f101631b
UD
99012011-11-29 Joseph Myers <joseph@codesourcery.com>
9902
9903 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
9904 conditional on GCC version.
9905 (__arch_compare_and_exchange_val_8_acq)
9906 (__arch_compare_and_exchange_val_16_acq)
9907 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
9908 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
9909 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
9910
a98275aa
UD
99112011-12-02 Joseph Myers <joseph@codesourcery.com>
9912
9913 * sysdeps/sh/backtrace.c: New file.
9914
d4cc29a2
AS
99152011-12-02 Andreas Schwab <schwab@redhat.com>
9916
9917 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
9918 parenthesis.
9919
6257af2d
AS
99202011-12-01 Andreas Schwab <schwab@redhat.com>
9921
9922 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
9923 falling back to utime.
9924
b5f44c1a
AS
99252011-11-30 Andreas Schwab <schwab@redhat.com>
9926
9927 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
9928 expectations for float.
9929
f3a6cc0a
AS
99302011-11-29 Andreas Schwab <schwab@redhat.com>
9931
9932 * locale/weight.h (findidx): Add parameter len.
9933 * locale/weightwc.h (findidx): Likewise.
9934 * posix/fnmatch_loop.c (FCT): Adjust caller.
9935 * posix/regcomp.c (build_equiv_class): Likewise.
9936 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
9937 * posix/regexec.c (check_node_accept_bytes): Likewise.
9938 * string/strcoll_l.c (STRCOLL): Likewise.
9939 * string/strxfrm_l.c (STRXFRM): Likewise.
9940
9d65ea3a
UD
99412011-11-17 Ulrich Drepper <drepper@gmail.com>
9942
9943 * Makefile.in: Remove CVSOPT handling.
9944 * configure.in: Remove use of AC_REVISION.
9945 * iconvdata/Makefile (distribute): No need to filter out CVS.
9946 * scripts/list-sources.sh: Remove CVS, subversion and monotone
9947 handling.
9948
5583a086
AS
99492011-11-16 Andreas Schwab <schwab@redhat.com>
9950
9951 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
9952 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
9953 [USE_AS_STRNCASECMP_L]: Likewise.
9954 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
9955 NO_TLS_DIRECT_SEG_REFS.
9956 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
9957 Fix argument offsets for non-PIC.
9958 [USE_AS_STRNCASECMP_L]: Likewise.
9959 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
9960 NO_TLS_DIRECT_SEG_REFS.
9961
d62a8200
UD
99622011-11-15 Ulrich Drepper <drepper@gmail.com>
9963
9d65ea3a 9964 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
9965 O_CLOEXEC.
9966 * locale/loadlocale.c (_nl_load_locale): Likewise.
9967
09f93bd3
AS
99682011-11-15 Andreas Schwab <schwab@redhat.com>
9969
446514f9
AS
9970 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
9971 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
9972 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
9973 (SYSCALL_GETTIME): Set errno on error.
9974
09f93bd3
AS
9975 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
9976 count references to noai6ai_cached.
9977
312be3f9
UD
99782011-11-15 Ulrich Drepper <drepper@gmail.com>
9979
9980 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
9981
9982 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
9983 FD_CLOEXEC for /proc/self/maps.
9984
9985 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
9986 FD_CLOEXEC for /proc/meminfo.
9987
9988 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
9989 gai.conf.
9990
9991 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
9992 FD_CLOEXEC for given file.
9993
9994 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
9995
9996 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
9997 FD_CLOEXEC for /etc/hosts.
9998 (_gethtent): Likewise.
9999
10000 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
10001
10002 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
10003 cancellation and set FD_CLOEXEC for /etc/netgroup.
10004
10005 * nss/nss_files/files-key.c (search): Don't allow cancellation when
10006 reading /etc/publickey.
10007
10008 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
10009 allow cancellation when reading /etc/group.
10010
10011 * nss/nss_files/files-alias.c (internal_setent): Don't allow
10012 cancellation.
10013 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
10014
10015 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
10016 when using data file.
10017
10018 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
10019
10020 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
10021 (write_nis_obj): Use "c" and "e" in fopen.
10022
10023 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
10024
10025 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
10026
10027 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
10028
10029 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
10030
10031 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
10032 locale.alias.
10033
10034 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
10035
10036 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
10037
10038 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
10039
10040 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
10041 file parsing and set FD_CLOEXEC.
10042
82af0fa8
UD
100432011-11-14 Ulrich Drepper <drepper@gmail.com>
10044
10045 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
10046
a5fb313c
AS
100472011-11-14 Andreas Schwab <schwab@redhat.com>
10048
10049 * malloc/arena.c (arena_get2): Don't call reused_arena when
10050 _int_new_arena failed.
10051
6abf3465
UD
100522011-11-14 Ulrich Drepper <drepper@gmail.com>
10053
10054 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
10055 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
10056 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
10057 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
10058 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
10059 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
10060 to compile strcasecmp and strncasecmp.
10061 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
10062 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
10063
10064 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
10065
76e3966e
UD
100662011-11-13 Ulrich Drepper <drepper@gmail.com>
10067
10068 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
10069 locale-defines.sym to gen-as-const-headers.
10070 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
10071 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
10072 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
10073 to compile strcasecmp and strncasecmp.
10074 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
10075 strcasecmp_l and strncasecmp_l.
10076 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
10077 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
10078 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
10079 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
10080 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
10081 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
10082 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
10083 * sysdeps/i386/i686/multiarch/strncase.S: New file.
10084 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
10085 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
10086 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
10087
ab26144e
UD
100882011-11-12 Ulrich Drepper <drepper@gmail.com>
10089
7edb22ef
UD
10090 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
10091 result of SYSDEP_GETTIME_CPU to retval.
10092 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
10093 parameter list to macro. Remove trailing semicolon. Adjust users.
10094
9694fc44
UD
10095 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
10096 variable.
10097
8ad89ef8
UD
10098 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
10099 mantissa words.
10100 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
10101
0c822ef9
UD
10102 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
10103 from unused variable.
10104
874e0564
UD
10105 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
10106 DWARF definitions.
10107 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
10108 for assembling.
10109
3a2edc79
UD
10110 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
10111 over namespaces.
10112
f3c2577f
UD
10113 * sunrpc/rpc_prot.c (rejected): Fix case value.
10114
294ce126
UD
10115 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
10116 unsigned long long int to avoid warnings in shift.
10117
5e2b63c6
UD
10118 * posix/regex_internal.c (re_string_reconstruct): Actually use result
10119 of use of trans.
10120 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
10121 variable tmp.
10122
e7f4b08e
UD
10123 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
10124 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
10125 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
10126
ab26144e
UD
10127 * nis/nis_table.c (nis_list): Use variable of correct type for
10128 result of __follow_path call.
10129
8a6d5255
AZ
101302011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10131
10132 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
10133 of math functions ceil, trunc, floor, round, and sqrt, when
10134 avaliable on the platform.
10135 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
10136 name clash.
10137 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
10138 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
10139 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
10140
aaddc98c
MP
101412011-10-30 Marek Polacek <mpolacek@redhat.com>
10142
10143 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
10144 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
10145
95b7042b
RM
101462011-11-11 Roland McGrath <roland@hack.frob.com>
10147
10148 * include/unistd.h: Fix __readlink return type.
10149 Reported by Chris Metcalf <cmetcalf@tilera.com>.
10150
57769839
UD
101512011-11-11 Ulrich Drepper <drepper@gmail.com>
10152
10153 * stdlib/ucontext.h: Undo last change for makecontext.
10154
edc5984d
AS
101552011-11-11 Andreas Schwab <schwab@redhat.com>
10156
98591e58
AS
10157 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
10158
edc5984d
AS
10159 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
10160 * setjmp/setjmp.h: Mark functions as non-leaf.
10161 * setjmp/bits/setjmp2.h: Likewise.
10162 * stdlib/ucontext.h: Likewise.
10163
77cdc054
AS
101642011-11-10 Andreas Schwab <schwab@redhat.com>
10165
10166 * malloc/arena.c (_int_new_arena): Don't increment narenas.
10167 (reused_arena): Don't check arena limit.
10168 (arena_get2): Atomically check arena limit.
10169
fe72eebd
UD
101702011-11-08 Ulrich Drepper <drepper@gmail.com>
10171
5f078c32
UD
10172 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
10173 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
10174
fe72eebd
UD
10175 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
10176 instructions.
10177
ae1bc2fa
AS
101782011-11-07 Andreas Schwab <schwab@redhat.com>
10179
7583a88d
AS
10180 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
10181 handler when locking.
10182
ae1bc2fa
AS
10183 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
10184 Fix size of allocated buffer.
10185
10fb0bfa
AS
101862011-11-04 Andreas Schwab <schwab@redhat.com>
10187
998832a4
AS
10188 [BZ #10103]
10189 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
10190 declarations for long double functions.
10191 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
10192
10fb0bfa
AS
10193 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
10194
3d7ba52b
AS
101952011-11-03 Andreas Schwab <schwab@redhat.com>
10196
a9ae54a1
AS
10197 * nscd/nscd.c (main): Don't start AVC thread until credentials are
10198 installed.
10199
3d7ba52b
AS
10200 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
10201 is disabled.
10202
bc8db248
ST
102032011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
10204
10205 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
10206
45b96dd6
AS
102072011-11-01 Andreas Schwab <schwab@linux-m68k.org>
10208
647776f6
AS
10209 * include/alloca.h (stackinfo_alloca_round): Define.
10210 (extend_alloca): Use it.
10211 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
10212 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
10213 here.
10214
d91a8b93
AS
10215 * scripts/check-local-headers.sh: Ignore libaudit.h.
10216
45b96dd6
AS
10217 * nscd/Makefile (extra-objs): Make recursively expanded.
10218
432d41ce
UD
102192011-11-01 Ulrich Drepper <drepper@gmail.com>
10220
34372fc6
UD
10221 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
10222 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
10223
fadb59f8
UD
10224 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
10225 * posix/tst-rfc3484-2.c: Likewise.
10226 * posix/tst-rfc3484-3.c: Likewise.
10227
78239589
UD
10228 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
10229 process_vm_writev.
10230 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
10231 process_vm_writev.
10232 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
10233 process_vm_writev from libc using GLIBC_2.15 version.
10234
432d41ce
UD
10235 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
10236
02f9c6cf
PP
102372011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
10238
10239 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
10240 stack usage.
10241
3a2c0242
UD
102422011-10-31 Ulrich Drepper <drepper@gmail.com>
10243
f4ec4833
UD
10244 [BZ #13367]
10245 * nss/getent.c (initgroups_keys): Show error message in case no group
10246 names are given.
10247
3a2c0242
UD
10248 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
10249 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
10250 __bump_nl_timestamp.
10251 * nscd/connections (nscd_init): When host database is served open
10252 netlink socket and request notification about configuration changes.
10253 (main_loop_poll): Track netlink file descriptor and bump timestamp
10254 in case data becomes available.
10255 (main_loop_epoll): Likewise.
10256 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
10257 (database_pers_head): Add extra_data fileds.
10258 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
10259 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
10260 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
10261 Adjust caller.
10262 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
10263 in6ai data, call __free_in6ai.
10264 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
10265 Add -DHAVE_NETLINK.
10266 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
10267 interface information. Reuse previous data if netlink timestamp
10268 is not changed.
10269 (__bump_nl_timestamp): New function.
10270 (__free_in6ai): New function.
10271
636064eb
UD
102722011-10-30 Ulrich Drepper <drepper@gmail.com>
10273
10274 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
10275 close_not_cancel_no_status here.
10276 (__check_pf): Reorganize code a bit to not call close twice if OOM.
10277
9beb2334
UD
102782011-10-29 Ulrich Drepper <drepper@gmail.com>
10279
6ef76f3b
UD
10280 [BZ #13276]
10281 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
10282 return value.
10283
0ffc4f3e 10284 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
10285 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
10286 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
10287
cb95113e
UD
102882011-07-03 Andreas Jaeger <aj@suse.de>
10289
10290 [BZ #10709]
10291 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
10292 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
10293 * math/libm-test.inc (sin_test): Add test case.
10294
a1b560ff
UD
102952011-10-29 Ulrich Drepper <drepper@gmail.com>
10296
c9aaface
UD
10297 [BZ #13337]
10298 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
10299 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
10300
d272e7f1
UD
10301 * elf/chroot_canon.c (chroot_canon): Cleanups.
10302
1bc33071
UD
10303 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
10304
1760874d
TJ
10305 [BZ #13335]
10306 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
10307 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
10308
51d91b18
UD
10309 * string/test-strchr.c: Make usable for strchrnul testing.
10310 * string/test-strchrnul.c: New file.
10311 * string/Makefile (strop-tests): Add strchrnul.
10312
a1b560ff 10313 * po/it.po: Update from translation team.
b611fb81 10314 * po/es.po: Likewise.
a1b560ff 10315
a5b81e1f
UD
103162011-10-28 Ulrich Drepper <drepper@gmail.com>
10317
fd52bc6d
UD
10318 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
10319 the three constants needed as parameters. Drop the others.
10320 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
10321 __m128i_strloadu_tolower.
52e4b9eb
UD
10322 Create and initialize variable zero and use it in all the places
10323 where _mm_setzero_si128 was used.
fd52bc6d 10324
a5b81e1f
UD
10325 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
10326 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
10327 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
10328 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
10329 anymore.
10330 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
10331 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
10332 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
10333 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
10334 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
10335 __mpranred, __mptan.
10336 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
10337 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
10338 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
10339 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
10340 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
10341 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
10342 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
10343 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
10344 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
10345
b4343346
AS
103462011-10-28 Andreas Schwab <schwab@redhat.com>
10347
0c92d8a8
AS
10348 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
10349 redefine if SHARED.
10350 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
10351
b4343346
AS
10352 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
10353 wide char related routines to wcsmbs subdir.
10354
3871f58f
AS
103552011-10-27 Andreas Schwab <schwab@redhat.com>
10356
10357 [BZ #13344]
10358 * misc/sys/cdefs.h (__THROWNL): Define.
10359 * posix/unistd.h: Use __THREADNL instead of __THREAD
10360 for memory synchronization functions.
10361
94d44d9f
RM
103622011-10-26 Roland McGrath <roland@hack.frob.com>
10363
21b64b15 10364 [BZ #13349]
94d44d9f
RM
10365 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
10366 doesn't exist.
10367 * manual/stdio.texi (Obstack Streams): Node removed.
10368
f6ce9294
AS
103692011-10-26 Andreas Schwab <schwab@redhat.com>
10370
80479147
AS
10371 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
10372 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
10373 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
10374
f6ce9294
AS
10375 * math/math_private.h (math_force_eval): Allow non-addressable
10376 arguments.
10377 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
10378
618280a1
UD
103792011-10-25 Ulrich Drepper <drepper@gmail.com>
10380
e0016b11
UD
10381 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
10382 file is not needed.
10383
10384 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
10385 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
10386 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
10387 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
10388 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
10389 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
10390 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
10391 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
10392 Add AVX variants.
10393 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
10394 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
10395 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
10396 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
10397 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
10398 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
10399 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
10400 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
10401 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
10402 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
10403 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
10404 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
10405 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
10406 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
10407 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
10408 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
10409 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
10410 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
10411 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
10412
10413 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
10414 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
10415
618280a1
UD
10416 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
10417 place. Use VEX encoding when compiling for AVX.
10418
37822576
AS
104192011-10-25 Andreas Schwab <schwab@redhat.com>
10420
1f1e1947
AS
10421 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
10422 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
10423
37822576
AS
10424 * string/test-strchr.c (do_test): Don't generate NUL bytes.
10425
31ea014d
UD
104262011-10-25 Ulrich Drepper <drepper@gmail.com>
10427
d7826aa1 10428 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 10429 useless if() expression.
d7826aa1
UD
10430 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
10431 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
10432 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
10433 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
10434 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
10435 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
10436 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
10437 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
10438 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
10439 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
10440 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
10441 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
10442 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
10443 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
10444 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
10445 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
10446 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
10447 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
10448 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
10449
31ea014d
UD
10450 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
10451
16437fec
AS
104522011-10-25 Andreas Schwab <schwab@redhat.com>
10453
10454 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
10455 condition.
10456 * elf/dl-fini.c (_dl_sort_fini): Likewise.
10457
31d3cc00
UD
104582011-10-25 Ulrich Drepper <drepper@gmail.com>
10459
10460 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
10461 .text section. Avoid duplicate constants.
10462 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
10463 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
10464 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
10465 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
10466 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
10467 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
10468 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
10469 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
10470 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
10471 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
10472 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
10473 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
10474 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
10475 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
10476 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
10477 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
10478 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
10479 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
10480 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
10481 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
10482 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
10483 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
10484 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
10485 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
10486 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
10487 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
10488 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
10489 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
10490 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
10491 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
10492 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
10493 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
10494 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
10495 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
10496 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
10497 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
10498 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
10499 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
10500 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
10501 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
10502 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
10503 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
10504 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
10505 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
10506 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
10507
58985aa9
UD
105082011-10-24 Ulrich Drepper <drepper@gmail.com>
10509
202c9deb
UD
10510 * sysdeps/x86_64/dla.h: Move to ...
10511 * sysdeps/x86_64/fpu/dla.h: ...here.
10512 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
10513 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 10514
af968f62
UD
10515 * config.make.in: Add have-mfma4 entry.
10516 * configure.in: Substitute libc_cv_cc_fma4.
10517 * math/Makefile (dbl-only-routines): Add sincostab.
10518 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
10519 Use __sincostab not sincos.
10520 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
10521 name is a macro.
10522 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
10523 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
10524 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
10525 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
10526 using __copysign.
10527 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
10528 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
10529 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
10530 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
10531 and __inv.
10532 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
10533 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
10534 __copysign.
10535 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
10536 define aliases when function name is a macro.
10537 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
10538 sysdeps/ieee754/dbl-64/sincos.tbl.
10539 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
10540 fma4-enabled routines.
10541 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
10542 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
10543 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
10544 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
10545 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
10546 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
10547 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
10548 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
10549 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
10550 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
10551 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
10552 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
10553 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
10554 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
10555 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
10556 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
10557 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
10558 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
10559 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
10560 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
10561 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
10562 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
10563 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
10564 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
10565 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
10566 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
10567 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
10568 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
10569 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
10570 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
10571
58985aa9
UD
10572 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
10573 rename.
10574 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
10575 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
10576 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
10577 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
10578 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
10579 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
10580 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
10581 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
10582
a201fbcf
AS
105832011-10-24 Andreas Schwab <schwab@redhat.com>
10584
10585 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
10586
fc2ee42a
LD
105872011-10-23 Ulrich Drepper <drepper@gmail.com>
10588
bb3129bd
UD
10589 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
10590
0275fff8
UD
10591 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
10592 prediction.
10593 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
10594
2fa2ae85
UD
10595 * string/strnlen.c: Don't define STRNLEN, reverse logic.
10596 Remove unused variable magic_bits.
10597 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
10598
fc2ee42a
LD
10599 * string/strnlen.c: Define and use STRNLEN macro.
10600 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
10601 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
10602 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
10603 * wcsmbs/wcslen.c: Define and use WCSLEN.
10604 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
10605 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
10606 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
10607 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
10608 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
10609 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
10610 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
10611
ce7dd29f
LD
106122011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10613
10614 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
10615 strnlen-sse2-no-bsf.
10616 Rename strlen-no-bsf to strlen-sse2-no-bsf.
10617 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
10618 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
10619 Add strnlen support.
10620 (USE_AS_STRNLEN): New macro.
10621 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
10622 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
10623 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
10624 * sysdeps/x86_64/wcslen.S: New file.
10625
979c70a3
MZ
106262011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
10627
10628 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
10629 XMM-moves are used for copying on small sizes.
10630
2d09f82f
LD
106312011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10632
10633 * wcsmbs/Makefile (strop-tests): Add wcschr.
10634 * wcsmbs/test-wcschr.c: New file.
10635 * string/test-strchr.c: Update.
10636 Add wcschr support.
10637 (WIDE): New macro.
10638
619fccca
LD
106392011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10640
2d09f82f 10641 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
10642 * wcsmbs/test-wcslen.c: New file.
10643 * string/test-strlen.c: Update.
10644 Add wcslen support.
10645 (WIDE): New macro.
10646
09f699ea
UD
106472011-10-23 Ulrich Drepper <drepper@gmail.com>
10648
10649 * po/it.po: Update from translation team.
10650
95584d3b
LD
106512011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10652
10653 * sysdeps/x86_64/wcscmp.S: Update.
10654 Fix wrong comparison semantics.
10655 wcscmp shall use signed comparison not unsigned.
10656 Don't use substraction to avoid overflow bug.
10657 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
10658 * wcsmbc/wcscmp.c: Likewise.
10659 * string/test-strcmp.c: Likewise.
10660 Add new tests to check cases with negative values.
10661
c8b3296b
UD
106622011-10-23 Ulrich Drepper <drepper@gmail.com>
10663
10664 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
10665 * sysdeps/x86_64/dla.h: ...here. New file.
10666 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
10667 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
10668 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
10669 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
10670 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
10671 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
10672 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
10673 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
10674 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
10675
246ad57a
AS
106762011-10-23 Andreas Schwab <schwab@linux-m68k.org>
10677
10678 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
10679 __ynl_finite aliases.
10680
a1a87169
UD
106812011-10-22 Ulrich Drepper <drepper@gmail.com>
10682
0d355eb7
UD
10683 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10684
a1a87169
UD
10685 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
10686 define DLA_FMA.
10687 [DLA_FMA] (EMULV): Use DLA_FMA.
10688 [DLA_FMA] (MUL12): Use EMULV.
10689 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
10690 that are not needed.
10691 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
10692 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
10693 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
10694 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
10695 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
10696 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
10697 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
10698
ee2aafe0
AS
106992011-10-22 Andreas Schwab <schwab@linux-m68k.org>
10700
10701 * math/s_nan.c: Undef __nan.
10702 * math/s_nanf.c: Undef __nanf.
10703 * math/s_nanl.c: Undef __nanl.
10704 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
10705 "math_private.h".
10706
bc62c2fb
UD
107072011-10-22 Ulrich Drepper <drepper@gmail.com>
10708
77425c63
UD
10709 * math/s_catan.c: Add branch predictions.
10710 * math/s_catanf.c: Likewise.
10711 * math/s_catanh.c: Likewise.
10712 * math/s_catanhf.c: Likewise.
10713 * math/s_catanhl.c: Likewise.
10714 * math/s_catanl.c: Likewise.
10715 * math/s_cexp.c: Likewise.
10716 * math/s_cexpf.c: Likewise.
10717 * math/s_cexpl.c: Likewise.
10718 * math/s_clog.c: Likewise.
10719 * math/s_clog10.c: Likewise.
10720 * math/s_clog10f.c: Likewise.
10721 * math/s_clog10l.c: Likewise.
10722 * math/s_clogf.c: Likewise.
10723 * math/s_clogl.c: Likewise.
10724 * math/s_csqrt.c: Likewise.
10725 * math/s_csqrtf.c: Likewise.
10726 * math/s_csqrtl.c: Likewise.
10727 * math/s_ctanf.c: Likewise.
10728 * math/s_ctanh.c: Likewise.
10729 * math/s_ctanhf.c: Likewise.
10730 * math/s_ctanhl.c: Likewise.
10731 * math/s_ctanl.c: Likewise.
10732
bc62c2fb
UD
10733 * math/math_private.h: Define __nan, __nanf, __nanl.
10734 * math/s_cacosh.c: Include <math_private.h>.
10735 * math/s_cacoshl.c: Likewise.
10736 * math/s_casinh.c: Likewise.
10737 * math/s_casinhf.c: Likewise.
10738 * math/s_casinhl.c: Likewise.
10739 * math/s_ccos.c: Rely entire on ccosh.
10740 * math/s_ccosf.c: Rely entire on ccoshf.
10741 * math/s_ccosl.c: Rely entirely on ccoshl.
10742 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
10743 Remove tests for FE_INVALID.
10744 * math/s_ccoshf.c: Likewise.
10745 * math/s_ccoshl.c: Likewise.
10746 * math/s_csin.c: Likewise.
10747 * math/s_csinf.c: Likewise.
10748 * math/s_csinh.c Likewise.
10749 * math/s_csinhf.c: Likewise.
10750 * math/s_csinhl.c: Likewise.
10751 * math/s_csinl.c: Likewise.
10752 * math/s_ctan.c: Likewise.
10753 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
10754 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
10755 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
10756
8ec250a4
UD
107572011-10-21 Ulrich Drepper <drepper@gmail.com>
10758
c196fed8
UD
10759 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
10760 compilation problems.
10761
8ec250a4
UD
10762 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
10763 __builtin_expect.
10764
8d4f46c6
UD
107652011-10-20 Ulrich Drepper <drepper@gmail.com>
10766
ed72b654
UD
10767 * sysdeps/i386/configure.in: Test for -mfma4 option.
10768 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
10769 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
10770 COMMON_CPUID_INDEX_80000001.
10771 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
10772 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
10773 use it if FMA3 is not supported.
10774 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
10775
8d4f46c6
UD
10776 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
10777 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
10778
d45c60c2
AS
107792011-10-20 Andreas Schwab <schwab@redhat.com>
10780
10781 [BZ #12892]
10782 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
10783 it would create a cycle with a link time dependency.
10784
d9a4d2ab
UD
107852011-10-19 Ulrich Drepper <drepper@gmail.com>
10786
855d1560
UD
10787 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
10788 instruction.
10789 * string/Makefile (strop-tests): Add rawmemchr.
10790 * string/test-rawmemchr.c: New file.
10791
d9a4d2ab
UD
10792 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
10793 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
10794 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
10795 when compiling str{,n}casecmp and when AVX is available. Hook up
10796 new optimized code in initializers.
10797
8f3b1ffe
AS
107982011-10-19 Andreas Schwab <schwab@redhat.com>
10799
10800 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
10801 __feraiseexcept instead of feraiseexcept.
10802
d38f1dba
UD
108032011-10-18 Ulrich Drepper <drepper@gmail.com>
10804
d9a8d0ab
UD
10805 * math/math_private.h: Define defaults for libc_fetestexcept and
10806 libc_feupdateenv.
10807 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
10808 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
10809 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
10810 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
10811 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
10812 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
10813 libc_fetestexcept and libc_feupdateenv.
10814
4855e3dd
UD
10815 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
10816 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
10817 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
10818 * sysdeps/x86_64/fpu/math_private.h: Define special version of
10819 libc_feholdexcept_setround.
10820
581d30e3
UD
10821 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
10822 Add s_nearbyint-c and s_nearbyintf-c.
10823 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
10824 nearbyintf inlines.
10825 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
10826 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
10827 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
10828 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
10829
d38f1dba
UD
10830 * math/math_private.h: Define defaults for libc_fegetround,
10831 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
10832 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
10833 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
10834 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
10835 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
10836 standard functions.
10837 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
10838 Remove comments and hacks for old compiler versions.
10839 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
10840 libc_fegetround, libc_fesetround, libc_feholdexcept, and
10841 libc_feholdexceptl.
10842
caa6c9d8
AS
108432011-10-18 Andreas Schwab <schwab@redhat.com>
10844
10845 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
10846 (__feraiseexcept_renamed): Add __NTH.
10847 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
10848 namespace violations.
10849
97c066e6
UD
108502011-10-17 Ulrich Drepper <drepper@gmail.com>
10851
99ce7b04
UD
10852 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
10853
1004d182
UD
10854 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
10855
228a984d
UD
10856 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
10857 recently added interfaces.
10858 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
10859
c8553a6a
UD
10860 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
10861 about macro parameter expansion.
10862
ed22dcf6
UD
10863 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
10864 __NO_MATH_INLINES is defined. Cleanups.
10865
10866 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
10867 and __floorf is target has SSE4.1.
10868 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
10869 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
10870 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
10871 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
10872
b171c137
UD
10873 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
10874 name.
10875 (floorf): Likewise.
10876
97c066e6
UD
10877 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
10878
629f62ef
AS
108792011-10-17 Andreas Schwab <schwab@redhat.com>
10880
49a43d80
AS
10881 * misc/sys/cdefs.h: Fix last change.
10882
629f62ef
AS
10883 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
10884 database lookup.
10885
e453f6cd
UD
108862011-10-16 Ulrich Drepper <drepper@gmail.com>
10887
aa78043a
UD
10888 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
10889
ad0f5cad
UD
10890 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
10891 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
10892 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
10893 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
10894 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
10895 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
10896 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
10897 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
10898 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
10899 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
10900 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
10901 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
10902 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
10903 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
10904 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
10905 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
10906 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
10907 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
10908 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
10909 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
10910 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
10911 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
10912
10913 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
10914 ceil, ceilf, floor, floorf.
10915
10916 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
10917 Perform IRELATIVE relocations last.
10918
e453f6cd
UD
10919 * elf/do-rel.h: Add another parameter nrelative, replacing the
10920 local variable with the same name. Change name of the function
10921 to end in Rel or Rela (uppercase).
10922 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
10923 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
10924 elf_dynamic_do_##reloc function.
10925
fd5bdc09
UD
109262011-10-15 Ulrich Drepper <drepper@gmail.com>
10927
79b195b5
UD
10928 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
10929 is sufficient, at least on modern CPUs.
10930
d4a28569
UD
10931 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
10932
b61099b5
UD
10933 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
10934 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
10935
bcf01e6d
UD
10936 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
10937 __expl_finite.
10938 * math/bits/math-finite.h: Add entries for exp.
10939 * math/e_expl.c: Add __*_finite alias.
10940 * sysdeps/i386/fpu/e_exp.S: Likewise.
10941 * sysdeps/i386/fpu/e_expf.S: Likewise.
10942 * sysdeps/i386/fpu/e_expl.c: Likewise.
10943 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
10944 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
10945 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
10946 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
10947 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
10948 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
10949 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
10950
ba1a0d59
UD
10951 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
10952 is sufficient, at least on modern CPUs.
10953
fd5bdc09
UD
10954 * ctype/ctype-info.c (__ctype_init): Define.
10955 * include/ctype.h (__ctype_init): Declare.
10956 (__ctype_b_loc): The variable is always initialized.
10957 (__ctype_toupper_loc): Likewise.
10958 (__ctype_tolower_loc): Likewise.
10959 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
10960 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
10961
7872cfb0
AS
109622011-10-15 Andreas Schwab <schwab@linux-m68k.org>
10963
b468825a
AS
10964 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
10965
7872cfb0
AS
10966 * configure.in: Also look in $cxxmachine/include for C++ system
10967 headers.
10968
be13f7bf
LD
109692011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10970
10971 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
10972 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
10973 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
10974 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
10975 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
10976 (USE_AS_WMEMCMP): New macro.
10977 Fixing indents.
10978 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
10979 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
10980 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
10981 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
10982 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
10983 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
10984 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
10985 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
10986 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
10987 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
10988 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
10989 (USE_AS_WMEMCMP): New macro.
10990 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
10991 * sysdeps/string/test-memcmp.c: Update.
10992 Fix simple_wmemcmp.
10993 Add new tests.
10994 * wcsmbs/wmemcmp.c: Update.
10995 (WMEMCMP): New macro.
10996 Fix overflow bug.
10997
556a2007
AJ
109982011-10-12 Andreas Jaeger <aj@suse.de>
10999
11000 [BZ #13268]
11001 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
11002
538faaa7
UD
110032011-10-15 Ulrich Drepper <drepper@gmail.com>
11004
ab6737ff
UD
11005 * libio/iofwide.c (do_length): Avoid warning.
11006
538faaa7
UD
11007 * ctype/ctype.h (__isctype_f): Add missing __THROW.
11008
396a21b1
UD
110092011-10-14 Ulrich Drepper <drepper@gmail.com>
11010
cdf2901f
UD
11011 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
11012
38ad40ce
UD
11013 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
11014 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
11015 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
11016 * sysdeps/i386/i686/fpu/e_log.S: New file.
11017 * sysdeps/i386/i686/fpu/e_logf.S: New file.
11018 * sysdeps/i386/i686/fpu/e_logl.S: New file.
11019
396a21b1
UD
11020 * ctype/ctype.h: Add support for inlined isXXX functions when
11021 compiling C++ code.
11022
6b1f68c9
AS
110232011-10-14 Andreas Schwab <schwab@redhat.com>
11024
349290c0
AS
11025 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
11026
6b1f68c9
AS
11027 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
11028
f2282d42
RM
110292011-10-13 Roland McGrath <roland@hack.frob.com>
11030
11031 [BZ #13291]
11032 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
11033
5298ffa8
AS
110342011-10-13 Andreas Schwab <schwab@redhat.com>
11035
714fad23
AS
11036 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
11037 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
11038 feraiseexcept.
11039
81dcc7fb
AS
11040 * sysdeps/x86_64/memrchr.S: Check for zero size.
11041
5298ffa8
AS
11042 * string/stratcliff.c: Add memrchr tests.
11043
951fbcec
LD
110442011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
11045
11046 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
11047 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
11048 rawmemchr-sse2 rawmemchr-sse2-bsf.
11049 * sysdeps/i386/i686/multiarch/memchr.S: New file.
11050 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
11051 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
11052 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
11053 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
11054 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
11055 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
11056 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
11057 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
11058 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
11059 * string/memrchr.c (MEMRCHR): New macro.
11060
0ac5ae23
UD
110612011-10-12 Ulrich Drepper <drepper@gmail.com>
11062
11063 Add integration with gcc's -ffinite-math-only and optimize wrapper
11064 functions in libm.
11065 * Versions.def: Define GLIBC_2.15 version for libm.
11066 * math/Makefile (headers): Add bits/math-finite.h.
11067 * math/bits/math-finite.h: New file.
11068 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
11069 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
11070 * math/e_acoshl.c: Add __*_finite alias.
11071 * math/e_acosl.c: Likewise.
11072 * math/e_asinl.c: Likewise.
11073 * math/e_atan2l.c: Likewise.
11074 * math/e_atanhl.c: Likewise.
11075 * math/e_coshl.c: Likewise.
11076 * math/e_exp10.c: Likewise.
11077 * math/e_exp10f.c: Likewise.
11078 * math/e_exp10l.c: Likewise.
11079 * math/e_exp2l.c: Likewise.
11080 * math/e_fmodl.c: Likewise.
11081 * math/e_gammal_r.c: Likewise.
11082 * math/e_hypotl.c: Likewise.
11083 * math/e_j0l.c: Likewise.
11084 * math/e_j1l.c: Likewise.
11085 * math/e_jnl.c: Likewise.
11086 * math/e_lgammal_r.c: Likewise.
11087 * math/e_log10l.c: Likewise.
11088 * math/e_log2l.c: Likewise.
11089 * math/e_logl.c: Likewise.
11090 * math/e_powl.c: Likewise.
11091 * math/e_sinhl.c: Likewise.
11092 * math/e_sqrtl.c: Likewise.
11093 * math/e_scalb.c: Completely rewritten and optimized.
11094 * math/e_scalbf.c: Likewise.
11095 * math/e_scalbl.c: Likewise.
11096 * math/w_acos.c: Likewise.
11097 * math/w_acosf.c: Likewise.
11098 * math/w_acosl.c: Likewise.
11099 * math/w_acosh.c: Likewise.
11100 * math/w_acoshf.c: Likewise.
11101 * math/w_acoshl.c: Likewise.
11102 * math/w_asin.c: Likewise.
11103 * math/w_asinf.c: Likewise.
11104 * math/w_asinl.c: Likewise.
11105 * math/w_atan2.c: Likewise.
11106 * math/w_atan2f.c: Likewise.
11107 * math/w_atan2l.c: Likewise.
11108 * math/w_atanh.c: Likewise.
11109 * math/w_atanhf.c: Likewise.
11110 * math/w_atanhl.c: Likewise.
11111 * math/w_exp10.c: Likewise.
11112 * math/w_exp10f.c: Likewise.
11113 * math/w_exp10l.c: Likewise.
11114 * math/w_fmod.c: Likewise.
11115 * math/w_fmodf.c: Likewise.
11116 * math/w_fmodl.c: Likewise.
11117 * math/w_j0.c: Likewise.
11118 * math/w_j0f.c: Likewise.
11119 * math/w_j0l.c: Likewise.
11120 * math/w_j1.c: Likewise.
11121 * math/w_j1f.c: Likewise.
11122 * math/w_j1l.c: Likewise.
11123 * math/w_jn.c: Likewise.
11124 * math/w_jnf.c: Likewise.
11125 * math/w_log.c: Likewise.
11126 * math/w_logf.c: Likewise.
11127 * math/w_logl.c: Likewise.
11128 * math/w_log10.c: Likewise.
11129 * math/w_log10f.c: Likewise.
11130 * math/w_log10l.c: Likewise.
11131 * math/w_log2.c: Likewise.
11132 * math/w_log2f.c: Likewise.
11133 * math/w_log2l.c: Likewise.
11134 * math/w_pow.c: Likewise.
11135 * math/w_powf.c: Likewise.
11136 * math/w_powl.c: Likewise.
11137 * math/w_remainder.c: Likewise.
11138 * math/w_remainderf.c: Likewise.
11139 * math/w_remainderl.c: Likewise.
11140 * math/w_scalb.c: Likewise.
11141 * math/w_scalbf.c: Likewise.
11142 * math/w_scalbl.c: Likewise.
11143 * math/w_sqrt.c: Likewise.
11144 * math/w_sqrtf.c: Likewise.
11145 * math/w_sqrtl.c: Likewise.
11146 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
11147 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
11148 used.
11149 * math/math_private.h: Declare __kernel_standard_f.
11150 * math/w_cosh.c: Remove cruft and optimize a bit.
11151 * math/w_coshf.c: Likewise.
11152 * math/w_coshl.c: Likewise.
11153 * math/w_exp2.c: Likewise.
11154 * math/w_exp2f.c: Likewise.
11155 * math/w_exp2l.c: Likewise.
11156 * math/w_hypot.c: Likewise.
11157 * math/w_hypotf.c: Likewise.
11158 * math/w_hypotl.c: Likewise.
11159 * math/w_lgamma.c: Likewise.
11160 * math/w_lgamma_r.c: Likewise.
11161 * math/w_lgammaf.c: Likewise.
11162 * math/w_lgammaf_r.c: Likewise.
11163 * math/w_lgammal.c: Likewise.
11164 * math/w_lgammal_r.c: Likewise.
11165 * math/w_sinh.c: Likewise.
11166 * math/w_sinhf.c: Likewise.
11167 * math/w_sinhl.c: Likewise.
11168 * math/w_tgamma.c: Likewise.
11169 * math/w_tgammaf.c: Likewise.
11170 * math/w_tgammal.c: Likewise.
11171 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
11172 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
11173 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
11174 Minor optimizations. Pretty printing. Remove cruft.
11175 * sysdeps/i386/fpu/e_acosf.S: Likewise.
11176 * sysdeps/i386/fpu/e_acosh.S: Likewise.
11177 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
11178 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
11179 * sysdeps/i386/fpu/e_acosl.c: Likewise.
11180 * sysdeps/i386/fpu/e_asin.S: Likewise.
11181 * sysdeps/i386/fpu/e_asinf.S: Likewise.
11182 * sysdeps/i386/fpu/e_atan2.S: Likewise.
11183 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
11184 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
11185 * sysdeps/i386/fpu/e_atanh.S: Likewise.
11186 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
11187 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
11188 * sysdeps/i386/fpu/e_exp10.S: Likewise.
11189 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
11190 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
11191 * sysdeps/i386/fpu/e_exp2.S: Likewise.
11192 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
11193 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
11194 * sysdeps/i386/fpu/e_fmod.S: Likewise.
11195 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
11196 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
11197 * sysdeps/i386/fpu/e_hypot.S: Likewise.
11198 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
11199 * sysdeps/i386/fpu/e_log.S: Likewise.
11200 * sysdeps/i386/fpu/e_log10.S: Likewise.
11201 * sysdeps/i386/fpu/e_log10f.S: Likewise.
11202 * sysdeps/i386/fpu/e_log10l.S: Likewise.
11203 * sysdeps/i386/fpu/e_log2.S: Likewise.
11204 * sysdeps/i386/fpu/e_log2f.S: Likewise.
11205 * sysdeps/i386/fpu/e_log2l.S: Likewise.
11206 * sysdeps/i386/fpu/e_logf.S: Likewise.
11207 * sysdeps/i386/fpu/e_logl.S: Likewise.
11208 * sysdeps/i386/fpu/e_pow.S: Likewise.
11209 * sysdeps/i386/fpu/e_powf.S: Likewise.
11210 * sysdeps/i386/fpu/e_powl.S: Likewise.
11211 * sysdeps/i386/fpu/e_remainder.S: Likewise.
11212 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
11213 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
11214 * sysdeps/i386/fpu/e_scalb.S: Likewise.
11215 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
11216 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
11217 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
11218 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
11219 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
11220 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
11221 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
11222 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
11223 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
11224 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
11225 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
11226 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
11227 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
11228 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
11229 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
11230 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
11231 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
11232 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
11233 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
11234 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
11235 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
11236 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
11237 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
11238 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
11239 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
11240 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
11241 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
11242 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
11243 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
11244 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
11245 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
11246 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
11247 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
11248 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
11249 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
11250 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
11251 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
11252 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
11253 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
11254 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
11255 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
11256 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
11257 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
11258 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
11259 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
11260 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
11261 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
11262 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
11263 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
11264 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
11265 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
11266 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
11267 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
11268 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
11269 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
11270 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
11271 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
11272 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
11273 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
11274 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
11275 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
11276 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
11277 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
11278 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
11279 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
11280 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
11281 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
11282 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
11283 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
11284 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
11285 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
11286 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
11287 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
11288 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
11289 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
11290 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
11291 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
11292 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
11293 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
11294 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
11295 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
11296 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
11297 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
11298 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
11299 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
11300 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
11301 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
11302 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
11303 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
11304 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
11305 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
11306 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
11307 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
11308 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
11309 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
11310 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
11311 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
11312 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
11313 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
11314 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
11315 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
11316 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
11317 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
11318 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
11319 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
11320 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
11321 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
11322 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
11323 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
11324 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
11325 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
11326 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
11327 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
11328 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
11329 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
11330 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
11331 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
11332 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
11333 (__isnanf): Likewise.
11334 (__isinf_ns): Likewise.
11335 (__isinf_nsf): Likewise.
11336 (__finite): Likewise.
11337 (__finitef): Likewise.
11338 (__ieee754_sqrt): Define as macro.
11339 (__ieee754_sqrtf): Define as macro.
11340 (__ieee754_sqrtl): Define as macro.
11341 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
11342 inlined copy.
11343 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
11344 __FINITE_MATH_ONLY__ consistent.
11345 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
11346
12cc2fcd
AS
113472011-10-10 Andreas Schwab <schwab@linux-m68k.org>
11348
a843a204
AS
11349 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
11350 of rawmemchr.
11351
12cc2fcd
AS
11352 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
11353
c853acd5
UD
113542011-10-09 Ulrich Drepper <drepper@gmail.com>
11355
11356 * po/ja.po: Update from translation team.
11357
c658d255
RM
113582011-10-08 Roland McGrath <roland@hack.frob.com>
11359
110946e4
RM
11360 * locale/programs/locarchive.c (prepare_address_space): New function.
11361 (create_archive, enlarge_archive, open_archive): Use it.
11362
50604220
RM
11363 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
11364 inside [SHARED], where it is used.
11365
c658d255
RM
11366 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
11367
11368 * nss/getent.c (netgroup_keys): Remove unused variable.
11369 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
11370
6a621eb7
UD
113712011-10-08 Ulrich Drepper <drepper@gmail.com>
11372
7edb55ce
UD
11373 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
11374 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
11375 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
11376 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
11377 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
11378 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
11379 * math/Makefile (libm-calls): Add s_isinf_ns.
11380 * math/divtc3.c: Use __isinf_nsl instead of isinf.
11381 * math/multc3.c: Likewise.
11382 * math/s_casin.c: Likewise.
11383 * math/s_casinf.c: Likewise.
11384 * math/s_casinl.c: Likewise.
11385 * math/s_ccos.c: Likewise.
11386 * math/s_ccosf.c: Likewise.
11387 * math/s_ccosl.c: Likewise.
11388 * math/s_ctan.c: Likewise.
11389 * math/s_ctanf.c: Likewise.
11390 * math/s_ctanh.c: Likewise.
11391 * math/s_ctanhf.c: Likewise.
11392 * math/s_ctanhl.c: Likewise.
11393 * math/s_ctanl.c: Likewise.
11394 * math/w_fmod.c: Likewise.
11395 * math/w_fmodf.c: Likewise.
11396 * math/w_fmodl.c: Likewise.
11397 * math/w_remainder.c: Likewise.
11398 * math/w_remainderf.c: Likewise.
11399 * math/w_remainderl.c: Likewise.
11400 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
11401 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
11402 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
11403 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
11404 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
11405 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
11406 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
11407 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
11408
187da0ae
UD
11409 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
11410 of the number.
11411 * stdio-common/printf_fphex.c: Likewise.
11412 * stdio-common/printf_size.c: Likewise.
11413
9277c064
UD
11414 * math/e_exp10.c: Include math_private.h using <...> not "...".
11415 * math/e_exp10f.c: Likewise.
11416 * math/e_exp10l.c: Likewise.
11417 * math/e_exp2l.c: Likewise.
11418 * math/e_j0l.c: Likewise.
11419 * math/e_j1l.c: Likewise.
11420 * math/e_jnl.c: Likewise.
11421 * math/e_lgammal_r.c: Likewise.
11422 * math/e_rem_pio2l.c: Likewise.
11423 * math/e_scalb.c: Likewise.
11424 * math/e_scalbf.c: Likewise.
11425 * math/e_scalbl.c: Likewise.
11426 * math/k_cosl.c: Likewise.
11427 * math/k_sinl.c: Likewise.
11428 * math/k_tanl.c: Likewise.
11429 * math/s_cacoshf.c: Likewise.
11430 * math/s_catan.c: Likewise.
11431 * math/s_catanf.c: Likewise.
11432 * math/s_catanh.c: Likewise.
11433 * math/s_catanhf.c: Likewise.
11434 * math/s_catanhl.c: Likewise.
11435 * math/s_catanl.c: Likewise.
11436 * math/s_ccosh.c: Likewise.
11437 * math/s_ccoshf.c: Likewise.
11438 * math/s_ccoshl.c: Likewise.
11439 * math/s_cexp.c: Likewise.
11440 * math/s_cexpf.c: Likewise.
11441 * math/s_cexpl.c: Likewise.
11442 * math/s_clog.c: Likewise.
11443 * math/s_clog10.c: Likewise.
11444 * math/s_clog10f.c: Likewise.
11445 * math/s_clog10l.c: Likewise.
11446 * math/s_clogf.c: Likewise.
11447 * math/s_clogl.c: Likewise.
11448 * math/s_csin.c: Likewise.
11449 * math/s_csinf.c: Likewise.
11450 * math/s_csinh.c: Likewise.
11451 * math/s_csinhf.c: Likewise.
11452 * math/s_csinhl.c: Likewise.
11453 * math/s_csinl.c: Likewise.
11454 * math/s_csqrt.c: Likewise.
11455 * math/s_csqrtf.c: Likewise.
11456 * math/s_csqrtl.c: Likewise.
11457 * math/s_ctan.c: Likewise.
11458 * math/s_ctanf.c: Likewise.
11459 * math/s_ctanh.c: Likewise.
11460 * math/s_ctanhf.c: Likewise.
11461 * math/s_ctanhl.c: Likewise.
11462 * math/s_ctanl.c: Likewise.
11463 * math/s_ldexp.c: Likewise.
11464 * math/s_ldexpf.c: Likewise.
11465 * math/s_ldexpl.c: Likewise.
11466 * math/s_significand.c: Likewise.
11467 * math/s_significandf.c: Likewise.
11468 * math/s_significandl.c: Likewise.
11469 * math/w_acos.c: Likewise.
11470 * math/w_acosf.c: Likewise.
11471 * math/w_acosh.c: Likewise.
11472 * math/w_acoshf.c: Likewise.
11473 * math/w_acoshl.c: Likewise.
11474 * math/w_acosl.c: Likewise.
11475 * math/w_asin.c: Likewise.
11476 * math/w_asinf.c: Likewise.
11477 * math/w_asinl.c: Likewise.
11478 * math/w_atan2.c: Likewise.
11479 * math/w_atan2f.c: Likewise.
11480 * math/w_atan2l.c: Likewise.
11481 * math/w_atanh.c: Likewise.
11482 * math/w_atanhf.c: Likewise.
11483 * math/w_atanhl.c: Likewise.
11484 * math/w_cosh.c: Likewise.
11485 * math/w_coshf.c: Likewise.
11486 * math/w_coshl.c: Likewise.
11487 * math/w_dremf.c: Likewise.
11488 * math/w_exp10.c: Likewise.
11489 * math/w_exp10f.c: Likewise.
11490 * math/w_exp10l.c: Likewise.
11491 * math/w_exp2.c: Likewise.
11492 * math/w_exp2f.c: Likewise.
11493 * math/w_fmod.c: Likewise.
11494 * math/w_fmodf.c: Likewise.
11495 * math/w_fmodl.c: Likewise.
11496 * math/w_hypot.c: Likewise.
11497 * math/w_hypotf.c: Likewise.
11498 * math/w_hypotl.c: Likewise.
11499 * math/w_j0.c: Likewise.
11500 * math/w_j0f.c: Likewise.
11501 * math/w_j0l.c: Likewise.
11502 * math/w_j1.c: Likewise.
11503 * math/w_j1f.c: Likewise.
11504 * math/w_j1l.c: Likewise.
11505 * math/w_jn.c: Likewise.
11506 * math/w_jnf.c: Likewise.
11507 * math/w_jnl.c: Likewise.
11508 * math/w_lgamma.c: Likewise.
11509 * math/w_lgamma_r.c: Likewise.
11510 * math/w_lgammaf.c: Likewise.
11511 * math/w_lgammaf_r.c: Likewise.
11512 * math/w_lgammal.c: Likewise.
11513 * math/w_lgammal_r.c: Likewise.
11514 * math/w_log.c: Likewise.
11515 * math/w_log10.c: Likewise.
11516 * math/w_log10f.c: Likewise.
11517 * math/w_log10l.c: Likewise.
11518 * math/w_log2.c: Likewise.
11519 * math/w_log2f.c: Likewise.
11520 * math/w_log2l.c: Likewise.
11521 * math/w_logf.c: Likewise.
11522 * math/w_logl.c: Likewise.
11523 * math/w_pow.c: Likewise.
11524 * math/w_powf.c: Likewise.
11525 * math/w_powl.c: Likewise.
11526 * math/w_remainder.c: Likewise.
11527 * math/w_remainderf.c: Likewise.
11528 * math/w_remainderl.c: Likewise.
11529 * math/w_scalb.c: Likewise.
11530 * math/w_scalbf.c: Likewise.
11531 * math/w_scalbl.c: Likewise.
11532 * math/w_sinh.c: Likewise.
11533 * math/w_sinhf.c: Likewise.
11534 * math/w_sinhl.c: Likewise.
11535 * math/w_sqrt.c: Likewise.
11536 * math/w_sqrtf.c: Likewise.
11537 * math/w_sqrtl.c: Likewise.
11538 * math/w_tgamma.c: Likewise.
11539 * math/w_tgammaf.c: Likewise.
11540 * math/w_tgammal.c: Likewise.
11541
6a621eb7
UD
11542 * po/ja.po: Update from translation team.
11543
bf582445
AJ
115442011-09-29 Andreas Jaeger <aj@suse.de>
11545
f9efbf3a
AJ
11546 [BZ #13179]
11547 * sunrpc/netname.c (netname2host): Fix logic.
11548
bf582445
AJ
11549 [BZ #6779]
11550 [BZ #6783]
11551 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
11552 correctly.
11553 * math/w_remainder.c (__remainder): Likewise.
11554 * math/w_remainderf.c (__remainderf): Likewise.
11555 * math/libm-test.inc (remainder_test): Add test cases.
11556
48693bea
AK
115572011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11558
11559 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
11560 sdiv_qrnnd.
11561
42622229
LD
115622011-10-07 Ulrich Drepper <drepper@gmail.com>
11563
11564 * string/test-memcmp.c: Avoid unncessary #defines.
11565 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
11566
093ecf92
LD
115672011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
11568
11569 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
11570 Use new sse2 version for core i3 - i7 as it's faster
11571 than sse42 version.
11572 (bit_Prefer_PMINUB_for_stringop): New.
11573 * sysdeps/x86_64/rawmemchr.S: Update.
11574 Replace with faster SSE2 version.
11575 * sysdeps/x86_64/memrchr.S: New file.
11576 * sysdeps/x86_64/memchr.S: Update.
11577 Replace with faster SSE2 version.
11578
fde56e5c
MP
115792011-09-12 Marek Polacek <mpolacek@redhat.com>
11580
11581 * elf/dl-load.c (lose): Add cast to avoid warning.
11582
21fd49a9
UD
115832011-10-07 Ulrich Drepper <drepper@gmail.com>
11584
5a06e643
UD
11585 * po/ca.po: Update from translation team.
11586
684ae515
UD
11587 * inet/getnetgrent_r.c: Hook up nscd.
11588 * nscd/Makefile (routines): Add nscd_netgroup.
11589 (nscd-modules): Add netgroupcache.
11590 (CFLAGS-netgroupcache.c): Define.
11591 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
11592 (cache_search): Add const to second parameter.
11593 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
11594 INNETGR.
11595 (dbs): Add netgrdb entry.
11596 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
11597 (verify_persistent_db): Handle netgrdb.
11598 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
11599 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
11600 GETFDNETGR.
11601 (netgroup_response_header): Define.
11602 (innetgroup_response_header): Define.
11603 (datahead): Add netgroup_response_header and innetgroup_response_header
11604 elements.
11605 * nscd/nscd.conf: Add entries for netgroup cache.
11606 * nscd/nscd.h (dbtype): Add netgrdb.
11607 (_PATH_NSCD_NETGROUP_DB): Define.
11608 (netgroup_iov_disabled): Declare.
11609 (xmalloc, xcalloc, xrealloc): Move declarations here.
11610 (cache_search): Adjust prototype.
11611 Add netgroup-related prototypes.
11612 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
11613 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
11614 (__nscd_innetgr): Declare.
11615 * nscd/selinux.c (perms): Use access_vector_t as element type and
11616 add netgroup-related initializers.
11617 * nscd/netgroupcache.c: New file.
11618 * nscd/nscd_netgroup.c: New file.
11619 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
11620 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
11621 For four parameters use innetgr.
11622 * nss/nss_files/files-init.c: Add definition and callback for netgr.
11623 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
11624 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
11625 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
11626
21fd49a9
UD
11627 * nscd/connections.c (register_traced_file): Don't register file
11628 for disabled databases.
11629
054c0457
UD
116302011-10-06 Ulrich Drepper <drepper@gmail.com>
11631
32b63198
UD
11632 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
11633
054c0457
UD
11634 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
11635 from tree and freeing node.
11636
64031225
JO
116372011-09-25 Jiri Olsa <jolsa@redhat.com>
11638
11639 * nss/nsswitch.c (__nss_database_lookup): Handle
11640 nss_parse_service_list out of memory case.
11641
0490345c
JO
116422011-09-15 Jiri Olsa <jolsa@redhat.com>
11643
11644 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
11645 out of memory case.
11646
3a62d00d
AS
116472011-10-04 Andreas Schwab <schwab@redhat.com>
11648
11649 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
11650 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
11651 pass it down.
11652 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
11653 elf_machine_rela, elf_machine_lazy_rel.
11654 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
11655 (ELF_DYNAMIC_DO_REL): Likewise.
11656 (ELF_DYNAMIC_DO_RELA): Likewise.
11657 (ELF_DYNAMIC_RELOCATE): Likewise.
11658 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
11659 to ELF_DYNAMIC_DO_REL.
11660 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
11661 (dl_main): In trace mode always set __RTLD_NOIFUNC.
11662 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
11663 elf_machine_rela.
11664 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
11665 skip_ifunc, don't call ifunc function if non-zero.
11666 (elf_machine_rela): Likewise.
11667 (elf_machine_lazy_rel): Likewise.
11668 (elf_machine_lazy_rela): Likewise.
11669 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
11670 (elf_machine_lazy_rel): Likewise.
11671 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
11672 Likewise.
11673 (elf_machine_lazy_rel): Likewise.
11674 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
11675 Likewise.
11676 (elf_machine_lazy_rel): Likewise.
11677 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
11678 (elf_machine_lazy_rel): Likewise.
11679 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
11680 (elf_machine_lazy_rel): Likewise.
11681 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
11682 (elf_machine_lazy_rel): Likewise.
11683 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
11684 (elf_machine_lazy_rel): Likewise.
11685 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
11686 (elf_machine_lazy_rel): Likewise.
11687 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
11688 (elf_machine_lazy_rel): Likewise.
11689
68577918
UD
116902011-09-28 Ulrich Drepper <drepper@gmail.com>
11691
11692 * nss/nss_files/files-init.c (_nss_files_init): Use static
11693 initialization for all the *_traced_file variables.
11694
68822d74
AS
116952011-09-28 Andreas Schwab <schwab@redhat.com>
11696
11697 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
11698
2056100b
RM
116992011-09-27 Roland McGrath <roland@hack.frob.com>
11700
11701 [BZ #13226]
11702 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
11703
32c76b63
AS
117042011-09-27 Andreas Schwab <schwab@redhat.com>
11705
11706 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
11707 Reread the line before reparsing it.
11708
bf972c9d
AS
117092011-09-26 Andreas Schwab <schwab@redhat.com>
11710
11711 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
11712
e057a1b5
JM
117132011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
11714 Maxim Kuvyrkov <maxim@codesourcery.com>
11715 Joseph Myers <joseph@codesourcery.com>
11716
11717 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
11718 if needed for __stack_chk_guard.
11719
bc7e1c36
RM
117202011-09-19 Roland McGrath <roland@hack.frob.com>
11721
ecb1482f
RM
11722 * sysdeps/posix/spawni.c (script_execute): Always define it.
11723 It will be optimized away if unused.
11724 (maybe_script_execute): New function.
11725 (__spawni): Call it.
11726
bc7e1c36
RM
11727 * Makerules: Don't include tls.make.
11728 (config-tls): Always set to thread.
11729 * tls.make.c: File removed.
11730
1c3b002b
MF
117312011-09-19 Mike Frysinger <vapier@gentoo.org>
11732
11733 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
11734 * config.make.in (CPPFLAGS-config): New substituted variable.
11735
2840865d
UD
117362011-09-15 Ulrich Drepper <drepper@gmail.com>
11737
88738eb6
UD
11738 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
11739
cbf645a6 11740 [BZ #13192]
2840865d
UD
11741 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
11742 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
11743
b402e91a
RM
117442011-09-15 Roland McGrath <roland@hack.frob.com>
11745
11746 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
11747 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
11748 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
11749 (CALL_FAIL): Likewise.
11750 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
11751 (CALL_FAIL): Macro removed.
11752 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
11753
4c1a1f71
UD
117542011-09-15 Ulrich Drepper <drepper@gmail.com>
11755
11756 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
11757 for __FINITE_MATH_ONLY__ == 1.
11758
edc121be
AS
117592011-09-15 Andreas Schwab <schwab@redhat.com>
11760
11761 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
11762 __ieee754_sqrt instead of sqrt.
11763 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
11764 __ieee754_sqrtf instead of sqrtf.
11765 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
11766 __floorf instead of floorf.
11767 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
11768 __floorf, __truncf instead of floorf, truncf.
11769
cd205654
UD
117702011-09-14 Ulrich Drepper <drepper@gmail.com>
11771
ee4d0315
UD
11772 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
11773
cd205654
UD
11774 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
11775 __extern_always_inline.
11776 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
11777 32-bit.
11778
48b67d71
AS
117792011-09-14 Andreas Schwab <schwab@redhat.com>
11780
11781 * elf/rtld.c (dl_main): Also relocate in dependency order when
11782 doing symbol dependency testing.
11783
1ae12c75
AS
117842011-09-13 Andreas Schwab <schwab@linux-m68k.org>
11785
11786 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
11787 Always define `refsym'.
11788
995a80df
AS
117892011-09-13 Andreas Schwab <schwab@redhat.com>
11790
e529793b
AS
11791 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
11792 (__FD_ELT): Renamed from __FDELT.
11793 * misc/bits/select2.h (__FD_ELT): Likewise.
11794 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
11795 __FD_MASK instead of __FDELT, __FDMASK.
11796 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
11797 Likewise.
11798 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
11799 Likewise.
11800
52d4fef8
AS
11801 * elf/Makefile (gen-ldd): Fix pattern.
11802
995a80df
AS
11803 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
11804 (init_tls): Likewise.
11805
8682f8b0
UD
118062011-09-12 Ulrich Drepper <drepper@gmail.com>
11807
11808 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
11809
de82006d
AS
118102011-09-12 Andreas Schwab <schwab@redhat.com>
11811
a7c8e6a1
AS
11812 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
11813 `struct cmsghdr *' instead of `void *'.
11814 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
11815 Likewise.
11816
0f31fe77
AS
118172011-09-11 Andreas Schwab <schwab@linux-m68k.org>
11818
11819 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
11820 if non-absolute.
11821 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
11822 ldd_rewrite_script.
0f31fe77 11823
32b4c839
UD
118242011-09-11 Ulrich Drepper <drepper@gmail.com>
11825
83cd1420
UD
11826 * configure.in: Remove --with-tls option.
11827 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
11828 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
11829 out in case it is missing.
11830 * sysdeps/ia64/elf/configure.in: Likewise.
11831 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
11832 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
11833 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
11834 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
11835 * sysdeps/sh/elf/configure.in: Likewise.
11836 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
11837 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
11838 * sysdeps/x86_64/elf/configure.in: Likewise.
11839 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
11840 * sysdeps/mach/hurd/tls.h: Likewise.
11841
633f745d
UD
11842 [BZ #13067]
11843 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
11844
f318beb8
UD
11845 [BZ #13090]
11846 * configure.in: Fix use of AC_INIT.
11847
32b4c839
UD
11848 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
11849
3ce1f295
UD
118502011-09-10 Ulrich Drepper <drepper@gmail.com>
11851
bb016596
UD
11852 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
11853 __set_errno.
8e58439c
UD
11854 * malloc/hooks.c: Likewise.
11855
aebae053 11856 [BZ #11929]
02d46fc4
UD
11857 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
11858 variables statically.
11859 (narenas): Initialize.
11860 (list_lock): Initialize.
bb016596
UD
11861 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
11862 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
11863 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
11864 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
11865 Add initializers to main_arena and mp_.
11866 (malloc_state): Remove pagesize member. Change all users to use
11867 GLRO(dl_pagesize).
11868
11869 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
11870 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
11871 is always initialized.
11872
22a89187
UD
11873 * malloc/malloc.c: Removed unused configurations and dead code.
11874 * malloc/arena.c: Likewise.
11875 * malloc/hooks.c: Likewise.
02d46fc4 11876 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 11877
d063d164
UD
11878 * include/tls.h: Removed. USE___THREAD must always be defined.
11879 * bits/libc-tsd.h: Don't handle !USE___THREAD.
11880 * elf/dl-libc.c: Likewise.
11881 * elf/dl-tsd.c: Likewise.
11882 * include/errno.h: Likewise.
11883 * include/netdb.h: Likewise.
11884 * include/resolv.h: Likewise.
11885 * inet/herrno-loc.c: Likewise.
11886 * inet/herrno.c: Likewise.
11887 * malloc/arena.c: Likewise.
11888 * malloc/hooks.c: Likewise.
11889 * malloc/malloc.c: Likewise.
11890 * resolv/res-state.c: Likewise.
11891 * resolv/res_libc.c: Likewise.
11892 * sysdeps/i386/dl-machine.h: Likewise.
11893 * sysdeps/ia64/dl-machine.h: Likewise.
11894 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
11895 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
11896 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
11897 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
11898 * sysdeps/sh/dl-machine.h: Likewise.
11899 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
11900 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
11901 * sysdeps/unix/i386/sysdep.S: Likewise.
11902 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
11903 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
11904 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
11905 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
11906 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
11907 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
11908 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
11909 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
11910 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
11911 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
11912 * sysdeps/unix/x86_64/sysdep.S: Likewise.
11913 * sysdeps/x86_64/dl-machine.h: Likewise.
11914 * tls.make.c: Likewise.
11915
3ce1f295
UD
11916 * configure.in: Remove --with-__thread option. Make tests for
11917 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
11918 tls_model attribute fail if no support is available. Remove
11919 USE_IN_LIBIO.
11920 * Makeconfig: Adjust for dropped configure option. All features are
11921 now mandatory.
11922 * Makerules: Likewise.
11923 * Versions.def: Likewise.
11924 * argp/argp-fmtstream.c: Likewise.
11925 * argp/argp-fmtstream.h: Likewise.
11926 * argp/argp-help.c: Likewise.
11927 * assert/assert.c: Likewise.
11928 * config.h.in: Likewise.
11929 * config.make.in: Likewise.
11930 * configure: Likewise.
11931 * configure.in: Likewise.
11932 * csu/Versions: Likewise.
11933 * csu/init.c: Likewise.
11934 * elf/tst-audit2.c: Likewise.
11935 * elf/tst-tls10.c: Likewise.
11936 * elf/tst-tls10.h: Likewise.
11937 * elf/tst-tls11.c: Likewise.
11938 * elf/tst-tls12.c: Likewise.
11939 * elf/tst-tls14.c: Likewise.
11940 * elf/tst-tlsmod11.c: Likewise.
11941 * elf/tst-tlsmod12.c: Likewise.
11942 * elf/tst-tlsmod13.c: Likewise.
11943 * elf/tst-tlsmod13a.c: Likewise.
11944 * elf/tst-tlsmod14a.c: Likewise.
11945 * elf/tst-tlsmod15b.c: Likewise.
11946 * elf/tst-tlsmod16a.c: Likewise.
11947 * elf/tst-tlsmod16b.c: Likewise.
11948 * elf/tst-tlsmod7.c: Likewise.
11949 * elf/tst-tlsmod8.c: Likewise.
11950 * elf/tst-tlsmod9.c: Likewise.
11951 * gmon/gmon.c: Likewise.
11952 * grp/fgetgrent_r.c: Likewise.
11953 * grp/putgrent.c: Likewise.
11954 * hurd/fopenport.c: Likewise.
11955 * include/libc-symbols.h: Likewise.
11956 * include/tls.h: Likewise.
11957 * intl/gettextP.h: Likewise.
11958 * intl/loadinfo.h: Likewise.
11959 * locale/global-locale.c: Likewise.
11960 * locale/localeinfo.h: Likewise.
11961 * mach/devstream.c: Likewise.
11962 * malloc/arena.c: Likewise.
11963 * malloc/set-freeres.c: Likewise.
11964 * misc/err.c: Likewise.
11965 * misc/getttyent.c: Likewise.
11966 * misc/mntent_r.c: Likewise.
11967 * posix/getopt.c: Likewise.
11968 * posix/wordexp.c: Likewise.
11969 * pwd/fgetpwent_r.c: Likewise.
11970 * resolv/Versions: Likewise.
11971 * resolv/res_hconf.c: Likewise.
11972 * shadow/fgetspent_r.c: Likewise.
11973 * shadow/putspent.c: Likewise.
11974 * stdio-common/printf_fphex.c: Likewise.
11975 * stdio-common/tmpfile.c: Likewise.
11976 * stdlib/abort.c: Likewise.
11977 * stdlib/fmtmsg.c: Likewise.
11978 * sunrpc/auth_unix.c: Likewise.
11979 * sunrpc/clnt_perr.c: Likewise.
11980 * sunrpc/clnt_tcp.c: Likewise.
11981 * sunrpc/clnt_udp.c: Likewise.
11982 * sunrpc/clnt_unix.c: Likewise.
11983 * sunrpc/openchild.c: Likewise.
11984 * sunrpc/svc_simple.c: Likewise.
11985 * sunrpc/svc_tcp.c: Likewise.
11986 * sunrpc/svc_udp.c: Likewise.
11987 * sunrpc/svc_unix.c: Likewise.
11988 * sunrpc/xdr.c: Likewise.
11989 * sunrpc/xdr_array.c: Likewise.
11990 * sunrpc/xdr_rec.c: Likewise.
11991 * sunrpc/xdr_ref.c: Likewise.
11992 * sunrpc/xdr_stdio.c: Likewise.
11993
1248c1c4
PB
119942011-09-09 Ulrich Drepper <drepper@gmail.com>
11995
11996 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
11997
119982011-07-03 Andreas Jaeger <aj@suse.de>
11999
12000 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
12001 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
12002 regenerate with gen-libm-tests.pl.
12003
120042010-05-12 Petr Baudis <pasky@suse.cz>
12005
12006 [BZ #11589]
12007 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
12008 around j0() zero points by switching to j1().
12009 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
12010 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
12011 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
12012 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
12013
f22e1074
UD
120142011-09-09 Ulrich Drepper <drepper@gmail.com>
12015
f19009c1
UD
12016 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
12017 instead of 0.
12018 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
12019 instead of 0. .
12020 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
12021 Patch in part by Pavel Roskin <proski@gnu.org>.
12022
3f8cc204
UD
12023 [BZ #13138]
12024 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
12025 realloc.
12026 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
12027 Free memory block if necessary.
12028
f22e1074
UD
12029 [BZ #12847]
12030 * libio/genops.c (INTDEF): For string streams the _lock pointer can
12031 be NULL. Don't lock in this case.
12032
0a2349f9
RM
120332011-09-09 Roland McGrath <roland@hack.frob.com>
12034
12035 * elf/elf.h (ELFOSABI_GNU): New macro.
12036 (ELFOSABI_LINUX): Define to that.
12037
f3cdd467
DZ
120382011-07-29 Denis Zaitceff <zaitceff@gmail.com>
12039
12040 * string/strncat.c (strncat): Undef the symbol in case it has been
12041 defined in bits/string.h.
12042
74718d13
UD
120432011-09-09 Ulrich Drepper <drepper@gmail.com>
12044
633e9e0f
UD
12045 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
12046
0a2349f9 12047 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
12048 link map.
12049
f9924780
AJ
120502011-08-17 Andreas Jaeger <aj@suse.de>
12051
12052 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
12053
7f5517aa
PP
120542011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
12055 Ian Lance Taylor <iant@google.com>
12056
12057 * math/libm-test.inc (lround_test): New testcase.
12058 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
12059
762011fe
UD
120602011-09-08 Ulrich Drepper <drepper@gmail.com>
12061
92963737
UD
12062 * Makefile: Remove support for automatic cvs check-ins.
12063 * Makerules: Likewise.
12064 * config.make.in: Likewise.
12065 * configure.in: Likewise.
12066 * intl/Makefile: Likewise.
12067 * locale/Makefile: Likewise.
12068 * po/Makefile: Likewise.
12069 * posix/Makefile: Likewise.
12070 * sysdeps/gnu/Makefile: Likewise.
12071 * sysdeps/mach/hurd/Makefile: Likewise.
12072 * sysdeps/sparc/sparc32/Makefile: Likewise.
12073
b0727fd8
JS
12074 [BZ #13118]
12075 * posix/Makefile (bug-regex32-ENV): Define.
12076 Patch by John Stanley <jpsinthemix@verizon.net>.
12077
a0f33f99
UD
12078 * misc/Makefile (headers): Add bits/select2.h.
12079 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
12080 * misc/bits/select2.h: New file.
12081 * include/bits/select2.h: New file.
12082 * debug/Makefile (routines): Add fdelt_chk.
12083 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
12084 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
12085 FD_ISSET.
12086 * debug/fdelt_chk.c: New file.
12087
762011fe
UD
12088 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
12089 * wcsmbs/test-wmemcmp.c: Likewise.
12090 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 12091 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
12092
120932011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12094
12095 * string/Makefile (strop-tests): Add memcmp.
12096 * string/test-wmemcmp.c: New file.
12097 * string/test-memcmp.c: Add wmemcmp support.
12098
7f513ec8
RM
120992011-09-08 Roland McGrath <roland@hack.frob.com>
12100
0442afb4
RM
12101 [BZ #13153]
12102 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
12103 2011-07-19 change.
12104
7f513ec8
RM
12105 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
12106 garbage value in a __mach_port_mod_refs call in the cases of the
12107 task-self and thread-self ports.
12108
a12b2239
ST
121092011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
12110
12111 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
12112
610f9ab4
AS
121132011-09-08 Andreas Schwab <schwab@redhat.com>
12114
7f513ec8 12115 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 12116
48882a1a
LD
121172011-09-07 Ulrich Drepper <drepper@gmail.com>
12118
b49865be
UD
12119 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
12120
fdc86bc9
UD
12121 * elf/dl-libc.c (dlerror_run): Pass back error code from
12122 dl_catch_error.
12123
c966526a
UD
12124 [BZ #13123]
12125 * elf/dl-load.c (lose): Free l_origin if it is valid.
12126
48882a1a
LD
12127 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
12128 names.
12129 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
12130 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
12131 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
12132 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
12133 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
12134 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
12135
77a2a8b4
AZ
121362011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12137
12138 * sysdeps/powerpc/fpu/e_hypot.c: New file.
12139 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
12140 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
12141 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
12142 * sysdeps/powerpc/fpu/k_cosf.c: New file.
12143 * sysdeps/powerpc/fpu/k_sinf.c: New file.
12144 * sysdeps/powerpc/fpu/s_cosf.c: New file.
12145 * sysdeps/powerpc/fpu/s_sinf.c: New file.
12146 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
12147 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
12148
24f579d8
AM
121492011-08-15 Alan Modra <amodra@gmail.com>
12150
12151 [BZ #13092]
12152 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
12153 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
12154 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
12155 ppc_mcount to static-only-routines.
12156 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
12157 __mcount_internal.
12158 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
12159 __mcount_internal with usual JUMPTARGET. Remove useless nop.
12160
3d4837df
UD
121612011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
12162
12163 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
12164 for finite and infinity parameters.
12165
22700377
WS
121662011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
12167
12168 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
12169 and add nop instructions for throughput optimization.
12170 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
12171
5025581e
WS
121722011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
12173
12174 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
12175 aligned copy for power7 with vector-scalar instructions.
12176 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
12177
08a300c9
L
121782011-07-24 H.J. Lu <hongjiu.lu@intel.com>
12179
12180 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
12181 AVX check.
12182
59178ef9
AS
121832011-09-07 Andreas Schwab <schwab@redhat.com>
12184
12185 [BZ #13144]
12186 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
12187 last change.
12188
e38ba7ab
UD
121892011-09-07 Ulrich Drepper <drepper@gmail.com>
12190
12191 * sysdeps/unix/sysv/linux/x86_64/init-first.c
12192 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
12193 syscall wrapper around clock_gettime in __vdso_clock_gettime.
12194 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
12195 clock_gettime.
12196
d53a73ac
UD
121972011-09-06 Ulrich Drepper <drepper@gmail.com>
12198
fc8bffcc
UD
12199 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
12200 Forgot to demangle the pointer.
12201
ceaa0c5d
UD
12202 * sysdeps/i386/sysdep.h: Define atom_text_section.
12203 * sysdeps/x86_64/sysdep.h: Likewise.
12204 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
12205 section with atom_text_section.
12206 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
12207 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
12208 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
12209 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
12210 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
12211
a77d3c17
UD
12212 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
12213 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
12214 already be defined. Change to take two parameters and don't assign
12215 result to variable. Adjust all users.
12216 Define INTERNAL_GETTIME if not already defined.
12217 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
12218 call.
12219 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
12220 HAVE_CLOCK_GETTIME_VSYSCALL.
12221 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
12222
d53a73ac
UD
12223 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
12224 gettimeofday vsyscall, just use time.
12225
a8f84144
AS
122262011-09-06 Andreas Schwab <schwab@redhat.com>
12227
12228 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
12229 <errno.h>.
12230
ef606249
UD
122312011-09-06 Ulrich Drepper <drepper@gmail.com>
12232
12233 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
12234 syscall on x86-64.
12235 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
12236 syscall.
12237 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
12238 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
12239 syscall if possible.
12240
6585cb60
UD
122412011-09-05 Ulrich Drepper <drepper@gmail.com>
12242
12243 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
12244 e_ident. Don't pass to find_mapsXX.
12245 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
12246
a5f524e4
LD
122472011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
12248
12249 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
12250 strchr-sse2-no-bsf strrchr-sse2-no-bsf
12251 * sysdeps/x86_64/multiarch/strchr.S: Update.
12252 Check bit_slow_BSF bit.
12253 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
12254 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
12255 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
12256
554881ef
UD
122572011-09-05 Ulrich Drepper <drepper@gmail.com>
12258
d96de963
UD
12259 [BZ #13134]
12260 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
12261 before glibc 2.15.
12262 (tryshell): Define.
12263 (__spawni): Change last parameter to be flag. Test
12264 SPAWN_XFLAGS_USE_PATH flag to use path or not.
12265 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
12266 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
12267 * posix/spawni.c: Likewise.
12268 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
12269 * posix/spawnp.c: Likewise. Change normal version to use
12270 SPAWN_XFLAGS_USE_PATH.
12271 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
12272 SPAWN_XFLAGS_TRY_SHELL.
12273
d48e5868
UD
12274 [BZ #13150]
12275 * posix/glob.h: Remove gcc 1.x support.
12276
554881ef
UD
12277 [BZ #13068]
12278 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
12279
693fb948
LD
122802011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
12281
12282 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
12283 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
12284 strrchr-sse2-bsf
12285 * sysdeps/i386/i686/multiarch/strchr.S: New file.
12286 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
12287 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
12288 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
12289 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
12290 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
12291
1b48c537
UD
122922011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12293
49d42c37
UD
12294 * sysdeps/x86_64/wcscmp.S: New file.
12295
1b48c537
UD
12296 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
12297 wcscmp-c wcscmp-sse2
12298 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
12299 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
12300 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
12301 * wcsmbs/wcscmp.c: Allow renaming.
12302
15c95c5d
DM
123032011-09-05 David S. Miller <davem@davemloft.net>
12304
12305 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
12306 stack slot, rather than the struct return pointer slot.
12307 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
12308 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
12309 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
12310 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
12311
2f0ad8f3
UD
123122011-09-05 Ulrich Drepper <drepper@gmail.com>
12313
d88ae418
UD
12314 * po/ja.po: Update from translation team.
12315
2f0ad8f3
UD
12316 [BZ #13144]
12317 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
12318 kernel in 64-bit binaries.
12319
5f4318d1
DM
123202011-09-01 David S. Miller <davem@davemloft.net>
12321
12322 * elf/elf.h (HWCAP_SPARC_*): Move to..
12323 * sysdeps/sparc/sysdep.h: this new file and add new values.
12324 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
12325 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
12326 _DL_HWCAP_COUNT to 24.
12327 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
12328 entries.
12329 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
12330 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
12331 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
12332 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
12333 instead of magic constants.
12334 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
12335
3ba57516
DM
123362011-08-31 David S. Miller <davem@davemloft.net>
12337
12338 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
12339 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
12340 Reimplement to do errno handling inline.
12341 (SYSCALL_ERROR_HANDLER): New macro.
12342 (__SYSCALL_STRING): Do not do errno handling in asm.
12343 (__CLONE_SYSCALL_STRING): Delete.
12344 (__INTERNAL_SYSCALL_STRING): Delete.
12345 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
12346 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
12347 (PSEUDO): Reimplement to do errno handling inline.
12348 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
12349 (SYSCALL_ERROR_HANDLER): New macro.
12350 (__SYSCALL_STRING): Do not do errno handling in asm.
12351 (__CLONE_SYSCALL_STRING): Delete.
12352 (__INTERNAL_SYSCALL_STRING): Delete.
12353 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
12354 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
12355 i386.
12356 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
12357 (inline_syscall*): Add 'err' argument.
12358 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
12359 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
12360 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
12361 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
12362
12363 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
12364 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
12365
2bc17433
AS
123662011-08-30 Andreas Schwab <schwab@redhat.com>
12367
12368 * elf/rtld.c (dl_main): Relocate objects in dependency order.
12369
fbeb5f4d
JO
123702011-08-29 Jiri Olsa <jolsa@redhat.com>
12371
12372 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
12373 directive.
12374
ad69cc26
DM
123752011-08-24 David S. Miller <davem@davemloft.net>
12376
12377 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
12378
39dd69df
AS
123792011-08-24 Andreas Schwab <schwab@redhat.com>
12380
12381 * elf/Makefile: Add rules to build and run unload8 test.
12382 * elf/unload8.c: New file.
12383 * elf/unload8mod1.c: New file.
12384 * elf/unload8mod1x.c: New file.
12385 * elf/unload8mod2.c: New file.
12386 * elf/unload8mod3.c: New file.
12387
12388 * elf/dl-close.c (_dl_close_worker): Reset private search list if
12389 it wasn't used.
12390
2c0b250a
DM
123912011-08-23 David S. Miller <davem@davemloft.net>
12392
12393 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
12394 subtract stack bias.
12395 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
12396 %sp not %fp in calculations.
12397 (_JMPBUF_UNWINDS_ADJ): Likewise.
12398
22044b48
DM
12399 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
12400 (aio_suspend): Call it to force an exception region around the
12401 AIO_MISC_WAIT() invocation.
12402
2cae4995
AS
124032011-08-23 Andreas Schwab <schwab@redhat.com>
12404
12405 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
12406 backslash.
12407
873a772e
AJ
124082011-07-04 Aurelien Jarno <aurelien@aurel32.net>
12409
12410 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
12411 protection macro.
12412 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
12413 and <dl-machine.h>.
12414 (Elf64_FuncDesc): Remove.
12415
25ad0df1
DM
124162011-08-22 David S. Miller <davem@davemloft.net>
12417
12418 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
12419 sigaltstack check, add missing cfi directives.
12420 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
12421 missing cfi directives, and sigaltstack handling.
12422
e888bcbe
AS
124232011-08-16 Andreas Schwab <schwab@redhat.com>
12424
12425 [BZ #11724]
12426 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
12427 object is seen twice.
12428 * elf/dl-fini.c (_dl_sort_fini): Likewise.
12429
12430 * elf/Makefile (distribute): Add tst-initorder2.c.
12431 (tests): Add tst-initorder2.
12432 (modules-names): Add tst-initorder2a tst-initorder2b
12433 tst-initorder2c tst-initorder2d. Add rules to build them.
12434 ($(objpfx)tst-initorder2.out): New rule.
12435 * elf/tst-initorder2.c: New file.
12436 * elf/tst-initorder2.exp: New file.
12437
87162f46
AS
124382011-08-22 Andreas Schwab <schwab@redhat.com>
12439
70538b7f
AS
12440 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
12441
f55ffe58
AS
12442 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
12443 dependencies back to end of function.
12444
87162f46
AS
12445 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
12446 $(elfobjdir)/ld.so.
12447
91b392a4
UD
124482011-08-21 Ulrich Drepper <drepper@gmail.com>
12449
12450 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
12451 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
12452 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
12453 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
12454 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
12455 of __vdso_gettimeofday.
12456 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
12457 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
12458 attribute_hidden.
12459 (_libc_vdso_platform_setup): Remove initialization of
12460 __vdso_gettimeofday and __vdso_time.
12461
5c43483f
UD
124622011-08-20 Ulrich Drepper <drepper@gmail.com>
12463
775a77e7
UD
12464 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
12465 and fgetc_unlocked.
12466 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
12467 getc_unlocked.
89f447ed 12468
49c74ba9
UD
12469 * elf/dl-open.c (add_to_global): Report additions to the global scope
12470 for LD_DEBUG=scopes.
12471 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 12472 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 12473
5c43483f
UD
12474 [BZ #13114]
12475 * stdio-common/Makefile (tests): Add bug24.
12476 * stdio-common/bug24.c: New file.
12477
a101b025
AJ
124782011-08-19 Andreas Jaeger <aj@suse.de>
12479
12480 [BZ #13114]
12481 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
12482 non-existant file when using close-on-exec mode.
12483
c88f1766
UD
124842011-08-20 Ulrich Drepper <drepper@gmail.com>
12485
0276a718
UD
12486 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
12487 the very first instruction.
12488
c88f1766
UD
12489 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
12490 the CFI state in the end.
12491 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
12492 inclusion of dl-trampoline.h.
12493 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
12494
51ccffa0
AS
124952011-08-19 Andreas Schwab <schwab@redhat.com>
12496
94d7165f
AS
12497 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
12498 expectations for long double.
12499
51ccffa0
AS
12500 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
12501 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
12502
fd708658 125032011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
12504
12505 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
12506 artificual limit depends upon the system page size.
12507
44f0a71e
UD
125082011-08-17 Ulrich Drepper <drepper@gmail.com>
12509
12510 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
12511 * resolv/Makefile: Define CFLAGS-libresolv.
12512
8de79a24
AS
125132011-08-17 Andreas Schwab <schwab@redhat.com>
12514
12515 * nss/makedb.c (compute_tables): Make variables used in nested
12516 function static.
12517
27724598
UD
125182011-08-17 Ulrich Drepper <drepper@gmail.com>
12519
c5305d88
UD
12520 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
12521 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
12522 if buffer was too small.
12523
27724598
UD
12524 * elf/pldd.c (main): Attach to all threads in the process.
12525 Rewrite /proc handling to use *at functions.
12526
076fe015
UD
125272011-08-16 Ulrich Drepper <drepper@gmail.com>
12528
174baab3
UD
12529 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
12530 specifies first scope to show.
12531 (dl_open_worker): Update callers. Move printing scope of new
12532 object to before the relocation.
44f0a71e 12533 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
12534 * sysdeps/generic/ldsodefs.h: Update declaration.
12535
076fe015
UD
12536 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
12537 string for the scope number.
12538
a60df2c3
UD
125392011-08-14 Ulrich Drepper <drepper@gmail.com>
12540
12541 * nscd/servicescache.c (cache_addserv): Make sure written is always
12542 initialized.
12543
5e4287d1
RM
125442011-08-14 Roland McGrath <roland@hack.frob.com>
12545
85ae0589
RM
12546 * sysdeps/i386/i486/bits/atomic.h
12547 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
12548 statement expression, so as to suppress "set but not used" warning.
12549 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
12550
69f63097
RM
12551 * string/strncat.c (STRNCAT): Use prototype definition.
12552
675456ef
RM
12553 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
12554 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
12555 -Iprograms here.
12556 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
12557 (localedef-modules): Add localedef.
12558 (locale-modules): Add locale.
12559
5e4287d1
RM
12560 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
12561 * elf/rtld.c (dl_main): Invert order of assignment in last change,
12562 to avoid a warning.
12563
9c96ff23
DM
125642011-08-14 David S. Miller <davem@davemloft.net>
12565
12566 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
12567 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
12568
f9ddf089
UD
125692011-08-13 Ulrich Drepper <drepper@gmail.com>
12570
44f0a71e 12571 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
12572 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
12573 * elf/rtld.c (dl_main): Set l_name of vDSO.
12574 Call _dl_show_scope when DL_DEBUG_SCOPES.
12575 (process_dl_debug): Recognize scopes flag and also set it for all.
12576 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
12577 Declare _dl_show_scope.
12578
1dc27704
UD
12579 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
12580 (do_dlopen): Pass caller_dlopen to dl_open.
12581 (__libc_dlopen_mode): Initialize caller_dlopen.
12582
f9ddf089
UD
12583 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
12584 of libc. Make tolower call locale-independent. Optimize a bit by
12585 using isdigit instead of isalnum.
12586 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
12587
9ac533d3
UD
125882011-08-12 Ulrich Drepper <drepper@gmail.com>
12589
12590 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
12591 was a dependency or dynamically loaded.
12592
89edf2e9
UD
125932011-08-11 Ulrich Drepper <drepper@gmail.com>
12594
8e999d29
UD
12595 * intl/l10nflist.c: Allow architecture-specific pop function.
12596 * sysdeps/x86_64/l10nflist.c: New file.
12597
89edf2e9
UD
12598 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
12599 classification.
12600
14d96785
AS
126012011-08-10 Andreas Schwab <schwab@redhat.com>
12602
12603 * include/dirent.h: Add libc_hidden_proto for scandirat and
12604 scandirat64. Don't declare __scandirat64.
12605 * dirent/scandirat.c: Add libc_hidden_def.
12606 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
12607 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
12608
6761ac04
DM
126092011-08-10 David S. Miller <davem@davemloft.net>
12610
12611 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
12612 enum.
12613 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
12614 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
12615 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
12616
c55fbd1e
UD
126172011-08-09 Ulrich Drepper <drepper@gmail.com>
12618
12619 * Versions.def [libc]: Add GLIBC_2.15.
12620 * dirent/Makefile (routines): Add scandirat and scandirat64.
12621 * dirent/Versions [libc]: Export scandirat and scandirat64 for
12622 GLIBC_2.15.
12623 * dirent/dirent.h: Declare scandirat and scandirat64.
12624 * dirent/scandirat.c: New file.
12625 * dirent/scandirat64.c: New file.
12626 * sysdeps/wordsize-64/scandirat.c: New file.
12627 * sysdeps/wordsize-64/scandirat64.c: New file.
12628 * dirent/opendir.c: Define opendirat.
12629 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
12630 using scandirat.
12631 * dirent/scandir64.c: Adjust for scandir.c change.
12632 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
12633 __scandirat64, and __scandir_cancel_handler.
12634 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
12635 additional parameter and use openat instead of open (outside of ld.so).
12636 Add new __opendir as wrapper around __opendirat.
12637 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
12638 here without requiring old scandirat implementation.
12639
879165f2
UD
126402011-08-08 Ulrich Drepper <drepper@gmail.com>
12641
12642 * dirent/scandir.c (cancel_handler): Renamed to
12643 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
12644 defined. Adjust users.
12645 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
12646 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
12647
cb7e923b
UD
126482011-08-04 Ulrich Drepper <drepper@gmail.com>
12649
16292edd
UD
12650 * string/test-string.h (IMPL): Use __STRING to expand name and then
12651 stringify it.
12652
cb7e923b
UD
12653 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
12654 of cleanups.
12655
cff82933
LD
126562011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12657
12658 * string/Makefile: Update.
12659 (strop-tests): Append strncat.
12660 * string/test-wcscmp.c: New file.
12661 New comprehensive test for wcscmp.
12662 * string/test-strcmp.c: Update.
12663 (WIDE): New define.
12664
9be9bfcc
AS
126652011-07-22 Andreas Schwab <schwab@redhat.com>
12666
12667 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
12668 line.
12669
2e96f1c7
AS
126702011-07-26 Andreas Schwab <schwab@redhat.com>
12671
12672 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
12673 encoding to ACE if AI_IDN.
12674
85188888
JJ
126752011-08-01 Jakub Jelinek <jakub@redhat.com>
12676
12677 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
12678 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
12679
5fa16e9b
LD
126802011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
12681
12682 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
12683 Fix overflow bug in strncat.
12684 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
12685
12686 * string/test-strncat.c: Update.
12687 Add new tests for checking overflow bugs.
12688
126892011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
12690
12691 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
12692 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
12693 * sysdeps/i386/i686/multiarch/strcat.S: New file.
12694 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
12695 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
12696 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
12697 * sysdeps/i386/i686/multiarch/strncat.S: New file.
12698 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
12699 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
12700
12701 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
12702 (USE_AS_STRCAT): Define.
12703 Add strcat and strncat support.
12704 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
12705
8c1a459f
AS
127062011-07-25 Andreas Schwab <schwab@redhat.com>
12707
12708 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
12709 __n bigger than INT_MAX+1.
12710 (__strncmp_g): Likewise.
12711
bba33c28
UD
127122011-07-23 Ulrich Drepper <drepper@gmail.com>
12713
798be72d
UD
12714 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
12715 * libio/stido.h: Likewise.
12716
8accd4dc
UD
12717 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
12718 (AF_NFC): Define.
12719 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
12720 (AF_NFC): Define.
12721
cbff0d96
UD
12722 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
12723 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
12724 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
12725 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
12726 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
12727
9191c04a
UD
12728 [BZ #13021]
12729 * scripts/test-installation.pl: Don't expect libnss_test1 to be
12730 installed.
12731
bba33c28
UD
12732 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
12733 typo.
12734 (_dl_x86_64_save_sse): Likewise.
12735
90f139dd
UD
127362011-07-22 Ulrich Drepper <drepper@gmail.com>
12737
1aae088a
UD
12738 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
12739 OSXSAVE.
12740 (_dl_x86_64_save_sse): Likewise.
12741
8e2045f5
UD
12742 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
12743
90f139dd
UD
12744 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
12745
1d002f25
AS
127462011-07-21 Andreas Schwab <schwab@redhat.com>
12747
12748 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
12749 change.
12750 (_dl_x86_64_save_sse): Use correct AVX check.
12751
21137f89
UD
127522011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12753
12754 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
12755 bug in strncpy/strncat.
12756 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
12757
a65c0b7a
UD
127582011-07-21 Ulrich Drepper <drepper@gmail.com>
12759
12760 * string/tester.c (test_strcat): Add tests for different alignments
12761 of source and destination.
12762 (test_strncat): Likewise.
12763
6986b98a
UD
127642011-07-20 Ulrich Drepper <drepper@gmail.com>
12765
90bb2039
UD
12766 [BZ #12852]
12767 * posix/glob.c (glob): Check passed in values before using them in
12768 expressions to avoid some overflows.
12769 (glob_in_dir): Likewise.
12770
5644ef54
UD
12771 [BZ #13007]
12772 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
12773 check for AVX enablement so that we don't crash with old kernels and
12774 new hardware.
12775 * elf/tst-audit4.c: Add same checks here.
12776 * elf/tst-audit6.c: Likewise.
12777
12778 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 12779
bfc9dc9b
AS
127802011-07-09 Andreas Schwab <schwab@linux-m68k.org>
12781
12782 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
12783
702e64bb
UD
127842011-07-20 Ulrich Drepper <drepper@gmail.com>
12785
12786 * po/cs.po: Update from translation team.
12787 * po/bg.po: Likewise.
12788
295e904f
MP
127892011-07-12 Marek Polacek <mpolacek@redhat.com>
12790
12791 * misc/sys/cdefs.h: Add support for const attribute.
12792 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
12793 to gnu_dev_{major,minor,makedev} functions.
12794
3ff94596
MP
127952011-07-20 Marek Polacek <mpolacek@redhat.com>
12796
12797 * intl/dcigettext.c (get_output_charset): Add missing bracket.
12798
28b59fca
AS
127992011-07-20 Andreas Schwab <schwab@redhat.com>
12800
12801 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
12802 strlen results.
12803
19df733e
AK
128042011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12805
12806 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
12807 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
12808 register in order to avoid conflicts with the soft frame pointer
12809 being held in r11 when necessary.
12810 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
12811 (INTERNAL_VSYSCALL_NCS): Likewise.
12812
c8835729
MP
128132011-07-14 Marek Polacek <mpolacek@redhat.com>
12814
12815 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
12816 * elf/dl-fini.c (_dl_fini): Adjust caller.
12817 * elf/dl-close.c (_dl_close_worker): Likewise.
12818 * sysdeps/generic/ldsodefs.h: Adjust declaration.
12819
b902330c
MP
128202011-07-15 Marek Polacek <mpolacek@redhat.com>
12821
8991e135
MP
12822 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
12823 "aux_cache->nlibs < 0".
12824
b902330c
MP
12825 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
12826 in the reload-count case.
12827
99710781
LD
128282011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
12829
12830 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
12831 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
12832 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
12833 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
12834 * sysdeps/x86_64/multiarch/strcat.S: New file.
12835 * sysdeps/x86_64/multiarch/strncat.S: New file.
12836 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
12837 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
12838 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
12839 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
12840 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
12841 (USE_AS_STRCAT): Define.
12842 Add strcat and strncat support.
12843 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
12844 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
12845 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
12846 * string/strncat.c: Update.
12847 (USE_AS_STRNCAT): Define.
12848 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
12849 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
12850 and i7.
12851 * sysdeps/x86_64/multiarch/init-arch.h
12852 (bit_Prefer_PMINUB_for_stringop): New.
12853 (index_Prefer_PMINUB_for_stringop): Likewise.
12854 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
12855 bit_Prefer_PMINUB_for_stringop.
12856
7dc6bd90
UD
128572011-07-19 Ulrich Drepper <drepper@gmail.com>
12858
12859 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
12860 buffer64.
12861 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
12862 of casting of buffer.
12863 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
12864 buffer32 and buffer64.
12865 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
12866 writes instead of casting of buffer.
12867 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
12868 buffer32.
12869 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
12870 casting of buffer.
12871
e0e72284
AS
128722011-07-19 Andreas Schwab <schwab@redhat.com>
12873
12874 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
12875
feb1eb0b
UD
128762011-07-19 Ulrich Drepper <drepper@gmail.com>
12877
12878 * nscd/nscd.c (termination_handler): Don't do anything for a database
12879 if it has not yet been initialized.
12880
298711ff
UD
128812011-07-18 Ulrich Drepper <drepper@gmail.com>
12882
12883 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
12884
128852011-07-15 Marek Polacek <mpolacek@redhat.com>
12886
12887 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
12888
f9d68389
UD
128892011-07-18 Ulrich Drepper <drepper@gmail.com>
12890
12891 * po/nl.po: Update from translation team.
12892 * po/sv.po: Likewise.
12893
db290cf5
RM
128942011-07-16 Roland McGrath <roland@hack.frob.com>
12895
12896 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
12897 now disallowed by GCC.
5c550700 12898
fd5e21c7
RM
12899 * configure.in (use-default-link): Default to yes if a test -shared
12900 link meets our qualifications.
12901 * configure: Regenerated.
12902
5c550700
RM
12903 * config.make.in (output-format): New variable.
12904 * configure.in: Check for ld --print-output-format support.
12905 * configure: Regenerated.
12906 * Makerules ($(common-objpfx)format.lds)
12907 [$(output-format) != unknown]: Just use $(output-format),
12908 instead of the linker-script munging.
12909
9fa2c032
RM
129102011-07-14 Roland McGrath <roland@hack.frob.com>
12911
a6928d51
RM
12912 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
12913 of $(common-objpfx)shlib.lds.
12914 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
12915
661607b3
RM
12916 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
12917 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
12918
9fa2c032
RM
12919 * configure.in (-z relro check): Adjust test code to add a large
12920 writable data section after it.
12921 * configure: Regenerated.
12922
defe9061
RM
129232011-07-11 Roland McGrath <roland@hack.frob.com>
12924
12925 * configure.in (-z relro check): Fix test code to make the variable
12926 truly const.
12927 * configure: Regenerated.
12928
319b9ad4
UD
129292011-07-11 Ulrich Drepper <drepper@gmail.com>
12930
12931 * nscd/nscd.h (struct traced_file): Define.
12932 (struct database_dyn): Remove inotify_descr, reset_res, and filename
12933 elements. Add traced_files.
12934 (inotify_fd): Declare.
12935 (register_traced_file): Declare.
12936 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
12937 (inotify_fd): Export.
12938 (resolv_conf_descr): Remove.
12939 (nscd_init): Move inotify descriptor creation to main.
12940 Don't register files for notification here.
12941 (register_traced_file): New function.
12942 (invalidate_cache): Don't use reset_res to determine whether to call
12943 res_init, go through the list of registered files.
12944 (main_loop_poll): The inotify descriptors are now stored in the
12945 structures for the traced files.
12946 (main_loop_epoll): Likewise
12947 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
12948 to __nss_disable_nscd.
12949 * nscd/cache.c (prune_cache): There is no single inotify descriptor
12950 for a database anymore. Check the records for all the registered
12951 files instead.
12952 * nss/Makefile (libnss_files-routines): Add files-init.
12953 (libnss_db-routines): Add db-init.
12954 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
12955 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
12956 * nss/nss_db/db-init.c: New file.
12957 * nss/nss_files/files-init.c: New file.
12958 * nss/nsswitch.c (nss_load_library): New function. Broken out of
12959 __nss_lookup_function.
12960 (__nss_lookup_function): Call nss_load_library.
12961 (nss_load_all_libraries): New function.
12962 (__nss_disable_nscd): Take parameter with callback function for files
12963 to register. Set is_nscd. Load all the DSOs for the NSS modules
12964 used for the cached services.
12965 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
12966 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
12967 options for features to all the files in nscd.
12968
12969 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
12970
23bee3e8
RM
129712011-07-10 Roland McGrath <roland@hack.frob.com>
12972
12973 * csu/elf-init.c (__libc_csu_init): Comment typo.
12974
46a5b7f0
UD
129752011-07-09 Ulrich Drepper <drepper@gmail.com>
12976
12977 * po/pl.po: Update from translation team.
12978 * po/ja.po: Likewise.
12979 * po/ru.po: Likewise.
12980 * po/ko.po: Likewise.
12981 * po/fr.po: Likewise.
12982
d30cf5bb
RM
129832011-07-09 Roland McGrath <roland@hack.frob.com>
12984
113ddea4
RM
12985 * configure.in (.ctors/.dtors header and trailer check):
12986 Use an empirical test on a built program.
12987 * configure: Regenerated.
12988
574920b4
RM
12989 * configure.in (-z relro check): Use an empirical test on a built DSO.
12990 Detect, but do not require, on ia64.
12991 * configure: Regenerated.
12992
d30cf5bb
RM
12993 * configure.in (READELF): Find it with AC_CHECK_TOOL.
12994 Update tests that use readelf to use $READELF instead.
12995 * configure: Regenerated.
12996
8538fdb3
UD
129972011-07-08 Ulrich Drepper <drepper@gmail.com>
12998
12999 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
13000 if the result is not used.
13001
04d08991
AJ
130022011-07-05 Andreas Jaeger <aj@suse.de>
13003
13004 [BZ#9696]
13005 * stdlib/tst-strtod.c: Add testcase.
13006
de283087
AD
130072011-07-07 Ulrich Drepper <drepper@gmail.com>
13008
4e5f31c8 13009 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 13010 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
13011 The latter has a higher limit. Take additional parameter to pass to
13012 the new function.
13013 (__pathconf): Pass file to __statfs_link_max.
13014 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
13015 __statfs_link_max.
13016 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
13017 __statfs_link_max.
13018
de283087
AD
13019 [BZ #12868]
13020 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
13021 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
13022 Handle Lustre.
13023 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
13024 (__statfs_filesize_max): Likewise.
13025 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
13026
c75fa153
AJ
130272011-07-05 Andreas Jaeger <aj@suse.de>
13028
13029 * resolv/res_comp.c (dn_skipname): Remove unused variable.
13030
1a544854
UD
130312011-07-06 Marek Polacek <mpolacek@redhat.com>
13032
13033 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
13034 `status' variable.
13035 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
13036 Likewise.
13037
6f0eec67
UD
130382011-07-04 H.J. Lu <hongjiu.lu@intel.com>
13039
13040 * Makefile (strop-tests): Add strncat.
13041 * string/test-strncat.c: New file.
13042
aae30307
UD
130432011-06-30 Marek Polacek <mpolacek@redhat.com>
13044
13045 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
13046
c0cfb5eb
UD
130472011-06-21 Andreas Jaeger <aj@suse.de>
13048
13049 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
13050 Copy rule from iconvdata/Makefile.
13051
01636b21
UD
130522011-07-06 Ulrich Drepper <drepper@gmail.com>
13053
13054 [BZ #12922]
13055 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
13056 but no long options are defined, just return 'W'.
13057
9895c8bc
UD
130582011-06-22 Marek Polacek <mpolacek@redhat.com>
13059
13060 [BZ #9696]
13061 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
13062
5d4cf042
UD
130632011-07-06 Ulrich Drepper <drepper@gmail.com>
13064
13065 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
13066 netgroups to read.
960e5535 13067 (innetgr): Likewise.
5d4cf042 13068
751eb97e
RM
130692011-07-05 Roland McGrath <roland@hack.frob.com>
13070
13071 * config.make.in (install_root): Default to $(DESTDIR).
13072
f15f1e45
UD
130732011-07-05 Ulrich Drepper <drepper@gmail.com>
13074
13075 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
13076
4e34ac6a
RM
130772011-07-02 Roland McGrath <roland@hack.frob.com>
13078
5e9b6af4
RM
13079 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
13080
84f9ea0f
RM
13081 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
13082 containing directory rather than embedding absolute directory names.
13083
ea5ee9f7
RM
13084 * scripts/check-local-headers.sh: Rewritten using awk.
13085 Match by word, not by line. Print error messages for matches.
13086 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
13087
1b74661a
RM
13088 * Makerules [shlib-lds-flags empty]:
13089 ($(common-objpfx)libc_pic.opts): New target.
13090 ($(common-objpfx)libc_pic.os.clean): New target.
13091 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
13092
13093 * config.make.in (OBJCOPY): New variable.
13094 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
13095 * configure: Regenerated.
13096
f781ef40
RM
13097 * config.make.in (use-default-link): New variable.
13098 * configure.in (use_default_link): Grok --with-default-link to set it.
13099 * configure: Regenerated.
13100 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
13101 (shlib-lds, shlib-lds-flags): Define to empty.
13102
2d4fa81e
RM
13103 * Makerules (shlib-lds): New variable.
13104 (shlib-lds-flags): New variable.
13105 (build-shlib, build-moduile, build-module-asneeded): Use it.
13106 ($(common-objpfx)libc.so): Use $(shlib-lds).
13107 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
13108 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
13109
31fffa6b
RM
13110 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
13111 DT_FLAGS/DT_FLAGS_1 with zero flags.
13112
4e34ac6a
RM
13113 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
13114 linker script munging.
13115
fcfc776b
UD
131162011-07-02 Ulrich Drepper <drepper@gmail.com>
13117
13118 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
13119 as 128-bit value.
13120 * crypt/sha512.c (sha512_process_block): Perform total addition using
13121 128-bit if possible.
13122 (__sha512_finish_ctx): Likewise.
13123 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
13124 as 64-bit value.
13125 * crypt/sha256.c (SWAP64): Define.
13126 (sha256_process_block): Perform total addition using 64-bit if
13127 possible.
13128 (__sha256_finish_ctx): Likewise.
13129
99231d9a
UD
131302011-07-01 Ulrich Drepper <drepper@gmail.com>
13131
13132 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
13133 * nscd/initgrcache.c (addinitgroupsX): Likewise.
13134 * nscd/hstcache.c (cache_addhst): Likewise.
13135 * nscd/grpcache.c (cache_addgr): Likewise.
13136 * nscd/aicache.c (addhstaiX): Likewise
13137 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
13138
445b4a53
TK
131392011-07-01 Thorsten Kukuk <kukuk@suse.de>
13140
13141 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
13142 * nscd/initgrcache.c (addinitgroupsX): Likewise.
13143 * nscd/hstcache.c (cache_addhst): Likewise.
13144 * nscd/grpcache.c (cache_addgr): Likewise.
13145 * nscd/aicache.c (addhstaiX): Likewise
13146
6d4d8e8e
AS
131472011-07-01 Andreas Schwab <schwab@redhat.com>
13148
13149 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
13150 domain only when needed.
13151
89f654c5
AS
131522011-06-30 Andreas Schwab <schwab@redhat.com>
13153
13154 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
13155 is always restored.
13156
cf3b23ff
UD
131572011-06-29 Ulrich Drepper <drepper@gmail.com>
13158
13159 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
13160 are re-adding the entry.
13161 * nscd/servicescache.c (cache_addserv): Likewise.
13162
751626f9
AJ
131632011-06-30 Aurelien Jarno <aurelien@aurel32.net>
13164
13165 * sysdeps/generic/dl-irel.h: fix protection against multiple
13166 inclusions.
13167 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
13168
9113ea1f
UD
131692011-06-28 Ulrich Drepper <drepper@gmail.com>
13170
5c0b8d90
UD
13171 [BZ #12935]
13172 * malloc/memusage.sh: Fix quoting in message.
13173 * debug/xtrace.sh: Likewise.
13174
9113ea1f
UD
13175 * configure.in: Remove support for --experimental-malloc option, make
13176 it the default.
13177 * config.make.in: Likewise.
13178 * malloc/Makefile: Likewise.
13179
a4172181
AS
131802011-06-27 Andreas Schwab <schwab@redhat.com>
13181
13182 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
13183 two-byte characters.
13184
78a7eee7
RM
131852011-06-27 Roland McGrath <roland@hack.frob.com>
13186
62bede13
RM
13187 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
13188 AC_CACHE_CHECK invocation.
13189 * configure: Regenerated.
13190
78a7eee7
RM
13191 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
13192
5ce33a62
UD
131932011-06-27 Ulrich Drepper <drepper@gmail.com>
13194
034807a9
UD
13195 [BZ #12350]
13196 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
13197 bit from old_res_options.
13198
4902da17
UD
13199 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
13200
5ce33a62
UD
13201 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
13202 value type for setfct.
13203
c2344f56
L
132042011-06-23 H.J. Lu <hongjiu.lu@intel.com>
13205
13206 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
13207 __gettimeofday instead of gettimeofday.
13208
68468076
UD
132092011-06-26 Ulrich Drepper <drepper@gmail.com>
13210
13211 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
13212
acb0d739
L
132132011-06-24 H.J. Lu <hongjiu.lu@intel.com>
13214
13215 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
13216
13217 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
13218 info.
13219
8912479f
L
132202011-06-22 H.J. Lu <hongjiu.lu@intel.com>
13221
13222 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
13223 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
13224 strcpy-sse2-unaligned strncpy-sse2-unaligned
13225 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
13226 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
13227 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
13228 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
13229 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
13230 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
13231 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
13232 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
13233 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
13234 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
13235 (STRCPY): Support SSE2 and SSSE3 versions.
13236
d5495a11
UD
132372011-06-24 Ulrich Drepper <drepper@gmail.com>
13238
13239 [BZ #12874]
13240 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
13241 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
13242 kernels which artificially limit size of requests.
13243
0b1cbaae
L
132442011-06-22 H.J. Lu <hongjiu.lu@intel.com>
13245
13246 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
13247 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
13248 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
13249 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
13250 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
13251 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
13252 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
13253 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
13254 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
13255 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
13256 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
13257 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
13258 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
13259 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
13260 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
13261 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
13262 Enable unaligned load optimization for Intel Core i3, i5 and i7
13263 processors.
13264 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
13265 Define.
13266 (index_Fast_Unaligned_Load): Define.
13267 (HAS_FAST_UNALIGNED_LOAD): Define.
13268
07f494a0
MP
132692011-06-23 Marek Polacek <mpolacek@redhat.com>
13270
13271 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
13272
fa3fc0fe
UD
132732011-06-22 Ulrich Drepper <drepper@gmail.com>
13274
13275 [BZ #12907]
13276 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
13277 until it is clear that the information is realy needed.
13278 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
13279
e12df166
AS
132802011-06-22 Andreas Schwab <schwab@redhat.com>
13281
13282 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
13283
852eb34d
UD
132842011-06-22 Ulrich Drepper <drepper@gmail.com>
13285
84e2a551
UD
13286 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
13287 /sys/devices/system/cpu/online if it is usable.
13288
852eb34d
UD
13289 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
13290 reading the information from the /proc filesystem to once a second.
13291
6e502e19
UD
132922011-06-21 Andreas Jaeger <aj@suse.de>
13293
13294 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
13295 NULL after inclusion of kernel headers.
13296
75d39ff2
UD
132972011-06-21 Ulrich Drepper <drepper@gmail.com>
13298
51f9aa6a
UD
13299 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
13300 calls to internal_setent.
13301
c0244a9d
UD
13302 [BZ #12885]
13303 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
13304 addresses using gethostbyname4_r ignore IPv4 addresses.
13305
c5e3c2ae
UD
13306 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
13307 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
13308
75d39ff2
UD
13309 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
13310
42675c6f
DM
133112011-06-20 David S. Miller <davem@davemloft.net>
13312
13313 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
13314 inclusions.
13315 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
13316
13317 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
13318 (elf_irel): Use it.
13319 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
13320 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
13321 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
13322 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
13323 * sysdeps/x86_64/dl-irel.h: Likewise.
13324
13325 * elf/dl-runtime.c: Use elf_ifunc_invoke.
13326 * elf/dl-sym.c: Likewise.
13327
57912a71
UD
133282011-06-15 Ulrich Drepper <drepper@gmail.com>
13329
13330 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
13331 need to dereference resplen2.
13332
ee22793d
AS
133332011-06-14 Andreas Schwab <schwab@redhat.com>
13334
13335 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
13336
a9e836b0
UD
133372011-06-15 Ulrich Drepper <drepper@gmail.com>
13338
77fb9117
UD
13339 * Makeconfig: Define vardbdir and inst_vardbdir.
13340 * nss/Makefile: Add rules to install db-Makefile.
13341
40c1b22c
UD
13342 * nss/nss_db/db-XXX.c: Cleanup.
13343
9f2da732
UD
13344 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
13345 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
13346 GLIBC_PRIVATE.
13347 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
13348 * nss/makedb.c: Implement -g option to specify that value strings
13349 are generated and should not be added to table iterated over for
13350 get*ent calls.
13351 * nss/nss_db/db-initgroups.c: New file.
13352
82e9a1f7
UD
13353 * nss/getent.c: Add support for initgroups lookups through getgrouplist
13354 interface.
13355
c41af17e
UD
13356 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
13357 (internal_getgrouplist): Adjust to name change.
13358 Update use_initgroups_entry if this is not the first call.
13359 * nss/databases.def: Add initgroups entry.
13360
a9e836b0
UD
13361 * nss/makedb.c (compute_tables): Check result of multiple hash table
13362 sizes to minimize maximum chain length.
13363
2666d441
UD
133642011-06-14 Ulrich Drepper <drepper@gmail.com>
13365
13366 * Versions.def: Add entry for libnss_db.
13367 * shlib-versions: Likewise.
13368 * nss/Makefile: Add rules to build libnss_db.
13369 * nss/Versions: Add libnss_db information. Organize libnss_files
13370 entries better.
13371 * nss/db-Makefile: Add gshadow support. Change rules for the new
13372 makedb progra. Some minor improvements to generate smaller files.
13373 * nss/nss_db/nss_db.h: Move NSS database header data structures to
13374 here from...
13375 * nss/makedb.c: ...here.
13376 Improve database format to be smaller and require less memory at
13377 runtime.
13378 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
13379 db anymore.
13380 * nss/nss_db/db-netgrp.c: Likewise.
13381 * nss/nss_db/db-open.c: Likewise.
13382 * nss/nss_files/flies-XXX.x: Adjust comments.
13383 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
13384 * nss/nss_files/files-grp.c: Likewise.
13385 * nss/nss_files/files-hosts.c: Likewise.
13386 * nss/nss_files/files-network.c: Likewise.
13387 * nss/nss_files/files-proto.c: Likewise.
13388 * nss/nss_files/files-pwd.c: Likewise.
13389 * nss/nss_files/files-rpc.c: Likewise.
13390 * nss/nss_files/files-service.c: Likewise.
13391 * nss/nss_files/files-sgrp.c: Likewise.
13392 * nss/nss_files/files-spwd.c: Likewise.
13393 * nss/nss_db/db-alias.c: Removed.
13394 * nss/nss_db/dummy-db.h: Removed.
13395
9ee76b5a
UD
133962011-06-02 Ulrich Drepper <drepper@gmail.com>
13397
13398 * nss/makedb.c: Rewritten to not use database library.
13399 * nss/Makefile: Update to build new makedb program.
13400
c71ca1f8
AJ
134012011-06-14 Andreas Jaeger <aj@suse.de>
13402
13403 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
13404 memset declaration.
13405
3154bfb8
UD
134062011-06-10 Andreas Schwab <schwab@redhat.com>
13407
13408 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
13409 tmpbuf.
13410
b350afab
RM
134112011-06-10 Roland McGrath <roland@hack.frob.com>
13412
decd4e50
RM
13413 * Makerules (shlib.lds): Fail if the linker script comes out empty.
13414 * elf/Makefile ($(objpfx)ld.so): Likewise.
13415
5615eaf2
RM
13416 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
13417 Don't list ld.so twice in dependencies.
13418
13419 * posix/bug-regex31.c: Include <stdlib.h>.
13420
13421 * nscd/hstcache.c (cache_addhst): Remove unused variable.
13422
13423 * nis/nss_compat/compat-spwd.c
13424 (getspent_next_nss_netgr): Remove unused variable.
13425 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
13426
13427 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
13428 nonmembers" output to use the right array.
13429
13430 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
13431
13432 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
13433
13434 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
13435 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
13436 * catgets/gencat.c (read_input_file): Likewise.
13437 * locale/programs/locarchive.c (enlarge_archive): Likewise.
13438
13439 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
13440 variable definition inside #if's controlling its use.
13441
13442 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
13443
13444 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
13445
13446 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
13447
13448 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
13449 unreachable code.
13450
13451 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
13452
b68e08db
RM
13453 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
13454 * configure: Regenerated.
13455
b350afab
RM
13456 * Makerules: Revert last change.
13457 * elf/Makefile: Likewise.
13458
28368601
RM
134592011-06-09 Roland McGrath <roland@hack.frob.com>
13460
13461 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
13462 * elf/Makefile ($(objpfx)librtld.os): Likewise.
13463 (reloc-link): Likewise.
13464
11988f8f
UD
134652011-06-09 Ulrich Drepper <drepper@gmail.com>
13466
13467 * elf/Makefile: Add rules to build pldd.
13468 * elf/pldd.c: New file.
13469 * elf/pldd-xx.c: New file.
13470
e80fab37
UD
134712011-06-07 Ulrich Drepper <drepper@gmail.com>
13472
13473 * version.h: Update for 2.15 development version.
13474
9b849836
DM
134752011-06-07 David S. Miller <davem@davemloft.net>
13476
13477 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
13478 ifuncs.
13479 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
13480 elf_machine_lazy_rel): Likewise.
13481 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
13482 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
13483 elf_machine_lazy_rel): Likewise.
13484 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
13485 dl_hwcap via passed in argument.
13486 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
13487 Likewise.
13488
5a31b283
AK
134892011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13490
13491 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
13492
069e52f8
RM
134932011-06-06 Roland McGrath <roland@hack.frob.com>
13494
13495 [BZ #12849]
13496 * manual/fdl-1.1.texi: New file, verbatim from:
13497 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
13498 * manual/lgpl-2.1.texi: New file, verbatim from:
13499 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
13500 * manual/Makefile (licenses): New variable, list those new file names.
13501 (texis): Use it.
13502 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
13503
13504 * manual/fdl.texi: File removed.
13505 * manual/lesser.texi: File removed.
13506 * manual/libc.texinfo (Copying, Documentation License):
13507 Use new @include file names, put @appendix directive before @include.
13508
f16846a5
JJ
135092011-06-04 Jakub Jelinek <jakub@redhat.com>
13510
13511 [BZ #12841]
13512 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
13513 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
13514 (mq_open): Add __NTH.
13515
3d29045b
L
135162011-06-02 H.J. Lu <hongjiu.lu@intel.com>
13517
13518 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
13519 Assume Intel Core i3/i5/i7 processor if AVX is available.
13520
8c297311
UD
135212011-05-31 Ulrich Drepper <drepper@gmail.com>
13522
13523 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
13524 typo.
13525
c8fc0c91
UD
135262011-05-31 Andreas Schwab <schwab@redhat.com>
13527
13528 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
13529 memory. Use alloca_account. Fix memory leak when retrying.
13530
5b27a807
UD
135312011-05-31 Ulrich Drepper <drepper@gmail.com>
13532
356f8bc6
UD
13533 * version.h (RELEASE): Bump for 2.14 release.
13534 * include/features.h (__GLIBC_MINOR__): Bump to 14.
13535
5b27a807
UD
13536 * config.make.in (RANLIB): Remove entry.
13537
01f16ab0
UD
135382011-05-30 Ulrich Drepper <drepper@gmail.com>
13539
41fce8bd
UD
13540 * po/Makefile (po-sed-cmd): Add ksh to extensions.
13541 (libc.pot): Work around missing support for .ksh extension in xgettext.
13542
4769ae77
UD
13543 [BZ #12684]
13544 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
13545 if both request failed.
13546 (send_dg): In case of server errors clear resplen or *resplen2.
13547
6b1e7d19
UD
13548 [BZ #12454]
13549 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
13550 when there are multiple maps.
13551 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
13552 (_dl_fini): Remove test here.
13553
01f16ab0
UD
13554 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
13555
b1ebd700
UD
135562011-05-29 Ulrich Drepper <drepper@gmail.com>
13557
7ae22829
UD
13558 [BZ #12350]
13559 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
13560 bit from old_res_options.
13561 (gaih_inet): Likewise.
13562
553149f6 13563 [BZ #11099]
18a84741 13564 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
13565 as signed.
13566
652ffab1
UD
13567 * resolv/res_init.c (res_setoptions): Make the code more compact.
13568
16985fd0
UD
13569 [BZ #11558]
13570 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
13571 set RES_USEVC.
13572
0464f746
UD
13573 [BZ #11634]
13574 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
13575
7d17596c
UD
13576 * malloc/malloc.h: Mark malloc hook variables as deprecated.
13577
cf6bbbd7
UD
13578 [BZ #11781]
13579 * malloc/malloc.h: Declare malloc hook variables as volatile.
13580
13f1ab36
UD
13581 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
13582 in last patch.
13583
b1ebd700
UD
13584 [BZ #11799]
13585 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 13586 raise in the comment.
80e2212d
UD
13587 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
13588 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
13589 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 13590
ce67228d
UD
135912011-05-28 Ulrich Drepper <drepper@gmail.com>
13592
8887a920
UD
13593 [BZ #12811]
13594 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
13595 grow the buffers more if it already has to be sufficient.
13596 (build_wcs_upper_buffer): Likewise.
13597 * posix/regexec.c (check_matching): Likewise.
13598 (clean_state_log_if_needed): Likewise.
13599 (extend_buffers): Don't enlarge buffers beyond size of the input
13600 buffer.
13601 Patches mostly by Emil Wojak <emil@wojak.eu>.
13602 * posix/bug-regex32.c: New file.
13603 * posix/Makefile (tests): Add bug-regex32.
13604
4f031072
UD
13605 * locale/findlocale.c (_nl_find_locale): Return right away if
13606 _nl_explode_name failed.
13607 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
13608
d0478f0c
UD
13609 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
13610
de81b246
UD
13611 * debug/xtrace.sh: Unify messages.
13612 * malloc/memusage.sh: Likewise.
13613
c738465a
UD
13614 [BZ #12813]
13615 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
13616 time symbol from vDSO. Substitute with vsyscall if not available.
13617 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
13618 __vdso_time.
13619
f1f929d7
UD
13620 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
13621 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
13622 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
13623 Add sendmmsg and internal_sendmmsg.
13624 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
13625 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
13626 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
13627
ce67228d
UD
13628 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
13629 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
13630 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
13631
e57420c6
UD
136322011-05-27 Ulrich Drepper <drepper@gmail.com>
13633
a8509ca5
UD
13634 [BZ #12813]
13635 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
13636 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
13637 available.
13638 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
13639 __vdso_getcpu.
13640
e57420c6
UD
13641 [BZ #12814]
13642 * iconvdata/Makefile (tests): Add bug-iconv9.
13643 * iconvdata/bug-iconv9.c: New file.
13644
4d07db15
AS
136452011-05-27 Andreas Schwab <schwab@redhat.com>
13646
13647 [BZ #12814]
13648 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
13649
ea486f69
JJ
136502011-05-25 Jakub Jelinek <jakub@redhat.com>
13651
13652 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
13653 (struct user_regs_struct): Change intcs field back to cs.
13654
6f038433
UD
136552011-05-25 Ulrich Drepper <drepper@gmail.com>
13656
13657 * po/ja.po: Update from translation team.
13658
67f86a25
UD
136592011-05-23 Ulrich Drepper <drepper@gmail.com>
13660
13661 [BZ #12795]
13662 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
13663 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
13664
def7fbd6
AS
136652011-05-20 Andreas Schwab <schwab@redhat.com>
13666
13667 * stdlib/longlong.h: Update from GCC.
13668
f50ef8f1
AS
136692011-05-23 Andreas Schwab <schwab@redhat.com>
13670
13671 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
13672 parameter name.
13673 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
13674 Add parameter name.
13675 (__sysconf): Pass it down.
13676
de7ce8f1
UD
136772011-05-22 Ulrich Drepper <drepper@gmail.com>
13678
f2962a71
UD
13679 [BZ #12671]
13680 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
13681 some situations.
13682 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
13683 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
13684 add in in __libc_use_alloca calls. Adjust callers.
13685 (glob): Use malloc in some situations.
13686
de7ce8f1
UD
13687 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
13688 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
13689 pltexit.
13690
aec84f53
UD
136912011-05-21 Ulrich Drepper <drepper@gmail.com>
13692
05bb4a68
UD
13693 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
13694 and CLOCK_BOOTTIME_ALARM.
13695
7ea72f99
UD
13696 [BZ #12782]
13697 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
13698 is returned.
13699
7e4afad5
UD
13700 * string/_strerror.c (__strerror_r): Print negative errors as signed
13701 numbers.
13702
8e211fec
UD
13703 [BZ #12777]
13704 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
13705 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
13706 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
13707
f7d82dc9
UD
13708 * configure.in: Fix typo in redirection and correct removal of test
13709 files in two cases.
13710
cc9e536d
UD
13711 [BZ #12788]
13712 * locale/setlocale.c (new_composite_name): Fix test to check for
13713 identical name of all categories.
13714
aec84f53
UD
13715 [BZ #12792]
13716 * libio/filedoalloc.c (local_isatty): New function.
13717 (_IO_file_doallocate): Use local_isatty.
13718 * stdio-common/perror.c (perror): In case a new stream is used
13719 forward the stream error.
13720 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
13721 error flag.
13722
78e64fdc
RT
137232011-05-20 Ulrich Drepper <drepper@gmail.com>
13724
34a9094f
UD
13725 [BZ #11869]
13726 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
13727 alloca.
13728 * include/alloca.h (extend_alloca_account): Define.
13729
78e64fdc
RT
13730 [BZ #11857]
13731 * posix/regex.h: Fix comments with documentation of user-accessible
13732 fields after compilation and describe correct free'ing of pattern
13733 after re_compile_pattern.
13734 Patch by Reuben Thomas <rrt@sc3d.org>.
13735
457bddfc
RA
137362011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
13737
13738 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
13739 and -mno-altivec to prevent the compiler from using Altivec and/or
13740 VSX instructions when the corresponding registers are not available.
13741
a4527b51
AS
137422011-05-19 Andreas Schwab <schwab@redhat.com>
13743
13744 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
13745
ed690b2f
UD
137462011-05-19 Ulrich Drepper <drepper@gmail.com>
13747
13748 * libio/freopen.c (freopen): Use __dup2, not dup2.
13749 * libio/freopen64.c (freopen64): Likewise.
13750
8db73634
L
137512011-05-17 H.J. Lu <hongjiu.lu@intel.com>
13752
13753 [BZ #12775]
13754 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
13755 * math/Makefile (tests): Add test-powl.
13756 (CFLAGS-test-powl.c): Define.
13757 * math/test-powl.c: New file.
13758
0a197a9d
L
137592011-05-16 H.J. Lu <hongjiu.lu@intel.com>
13760
13761 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
13762
ee30c380
UD
137632011-05-17 Ulrich Drepper <drepper@gmail.com>
13764
13765 [BZ #11837]
13766 * iconvdata/gb18030.c: Update to GB18020-2005.
13767
6ce75379
UD
137682011-05-16 Ulrich Drepper <drepper@gmail.com>
13769
a4b89fd8
AR
13770 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
13771 RE_SYNTAX_POSIX_AWK): Update to match recent development.
13772 Patch by Aharon Robbins <arnold@skeeve.com>.
13773
ea389b12
UD
13774 [BZ #11892]
13775 * stdlib/putenv.c (putenv): Don't always create copy of the variable
13776 on the stack.
13777
68a3f91f
UD
13778 [BZ #11895]
13779 * misc/pselect.c (__pselect): Handle timeout value errors hidden
13780 through underflows.
13781
15cc7dd1
UD
13782 [BZ #12766]
13783 * misc/error.c (error_at_line): Ensure file_name and old_file_name
13784 point to strings before performing equality test for error_one_per_line
13785 mode.
13786
f3799213
UD
13787 [BZ #11697]
13788 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
13789
d79a9c94
UD
13790 [BZ #11820]
13791 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
13792 (struct user_fpregs_struct): Avoid __uint*_t types.
13793
56e5eb46
UD
13794 [BZ #6420]
13795 * malloc/mtrace.c (tr_where): Add additional parameter to point to
13796 symbol info. Use it instead of calling _dl_addr locally.
13797 (lock_and_info): New function.
13798 (tr_freehook): Call lock_and_info and pass symbol info as additional
13799 parameter to tr_where.
13800 (tr_mallochook): Likewise.
13801 (tr_reallochook): Likewise.
13802 (tr_memalignhook): Likewise.
13803
6ce75379
UD
13804 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
13805 used and couldn't be at all thread-safe.
13806
f8a3b5bf
UD
138072011-05-15 Ulrich Drepper <drepper@gmail.com>
13808
94b7cc37
UD
13809 * libio/freopen.c (freopen): Don't close old file descriptor
13810 before the new one is opened. Instead dup the new file descriptor
13811 to the old one after the new stream is created.
13812 * libio/freopen64.c (freopen64): Likewise.
13813 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
13814 * libio/fileops.c (_IO_new_file_close_it): Handle new
13815 _IO_FLAGS2_NOCLOSE flag.
13816 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
13817 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
13818 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
13819 _IO_FLAGS2_NOCLOSE flag.
13820 * include/unistd.h: Add hidden_proto for dup3.
13821 Define __have_dup3.
13822 * io/dup3.c: Define hidden symbol.
13823 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
13824
bd25564e
UD
13825 [BZ #7101]
13826 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
13827 when an incomplete long option is used.
13828 * posix/tst-getopt_long1.c: New file.
13829 * posix/Makefile (tests): Add tst-getopt_long1.
13830
c84cfef4
UD
13831 [BZ #10138]
13832 * scripts/config.guess: Update from autoconf-2.68.
13833 * scripts/config.sub: Likewise.
13834
3b85df27
UD
13835 [BZ #10157]
13836 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
13837 tests into ...
13838 (has_cpuclock): ...this. New function.
13839 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
13840 macro here based on has_cpuclock code.
13841
15a856b1
UD
13842 [BZ #10149]
13843 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
13844 First byte (not low byte) is now always NUL.
13845 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
13846
05f399e6
UD
13847 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
13848 Use non-cancelable interfaces.
13849
10a52685 13850 [BZ #9809]
94ecc67d
UD
13851 * locale/iso-639.def: Add entry for Sorani.
13852
f8a3b5bf
UD
13853 [BZ #11901]
13854 * include/stdlib.h: Move include protection to the right place.
13855 Define abort_msg_s. Declare __abort_msg with it.
13856 * stdlib/abort.c (__abort_msg): Adjust type.
13857 * assert/assert.c (__assert_fail_base): New function. Majority
13858 of code from __assert_fail. Allocate memory for __abort_msg with
13859 mmap.
13860 (__assert_fail): Now call __assert_fail_base.
13861 * assert/assert-perr.c: Remove bulk of implementation. Use
13862 __assert_fail_base.
13863 * include/assert.hL Declare __assert_fail_base.
13864 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
13865 mmap.
13866 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
13867
1af4e298
UD
138682011-05-14 Ulrich Drepper <drepper@gmail.com>
13869
f8a3b5bf 13870 [BZ #11952]
d26dfc60
MG
13871 [BZ #12453]
13872 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
13873 until all modules are registered in the DTV.
13874 * elf/Makefile: Add rules to build and run tst-tls19.
13875 * elf/tst-tls19.c: New file.
13876 * elf/tst-tls19mod1.c: New file.
13877 * elf/tst-tls19mod2.c: New file.
13878 * elf/tst-tls19mod3.c: New file.
13879 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
13880
2fc54d6f
UD
13881 [BZ #12083]
13882 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
13883 correctly.
13884
98d76b46
UD
13885 [BZ #12601]
13886 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
13887 two-byte sequence errors.
13888 * iconvdata/Makefile (tests): Add bug-iconv8.
13889 * iconvdata/bug-iconv8.c: New file.
13890
da3c19ef
UD
13891 [BZ #12626]
13892 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
13893 buf2 definition.
13894
ca408c15
UD
13895 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
13896
d6f67f7d
UD
13897 [BZ #12432]
13898 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
13899 (dummy_getcfa): New function.
13900 (init): Get _Unwind_GetCFA address, use dummy if not found.
13901 (backtrace_helper): In recursion check, also check whether CFA changes.
13902 (__backtrace): Completely initialize arg.
13903
1af4e298 13904 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
13905 storing incomplete byte sequence in state object. Avoid testing for
13906 guaranteed too small input if we know there is enough data available.
1af4e298 13907
da62f81b
AS
139082011-05-11 Andreas Schwab <schwab@redhat.com>
13909
13910 * Makeconfig (+link-pie): Indent.
13911 * Rules (binaries-pie): Define if $(have-fpie) and
13912 $(build-shared).
13913 (binaries-shared): Also filter out $(binaries-pie).
13914 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
13915 * nscd/Makefile (others-pie): Add nscd.
13916 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
13917 ($(objpfx)nscd): Remove command override.
13918 * login/Makefile (others-pie): Add pt_chown.
13919 ($(objpfx)pt_chown): Remove command override.
13920 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
13921 remove command overrides.
13922
fcabc0f8
UD
139232011-05-13 Ulrich Drepper <drepper@gmail.com>
13924
20030ae6
UD
13925 * libio/tst_putwc.c: Fix error messages.
13926
fcabc0f8
UD
13927 [BZ #12724]
13928 * libio/fileops.c (_IO_new_file_close_it): Always flush when
13929 currently writing and seek to current position when not.
13930 * libio/Makefile (tests): Add bug-fclose1.
13931 * libio/bug-fclose1.c: New file.
13932
320a5dc0
PB
139332011-05-12 Ulrich Drepper <drepper@gmail.com>
13934
13935 [BZ #12511]
13936 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
13937 don't set DF_1_NODELETE here.
13938 (do_lookup_x): When entering new entry test for copy relocation
13939 and if necessary set DF_1_NODELETE flag.
13940 * elf/tst-unique4.cc: New file.
13941 * elf/tst-unique4.h: New file.
13942 * elf/tst-unique4lib.cc: New file.
13943 * elf/Makefile: Add rules to build and run tst-unique4.
13944 Patch by Piotr Bury <pbury@goahead.com>.
13945
22836f52
UD
139462011-05-11 Ulrich Drepper <drepper@gmail.com>
13947
f574184a
UD
13948 [BZ #12052]
13949 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
13950
e1fb097f
UD
13951 [BZ #12625]
13952 * misc/mntent_r.c (addmntent): Flush the stream after the output
13953
22836f52
UD
13954 [BZ #12393]
13955 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
13956 (is_trusted_path_normalize): Skip initial colon. Append slash
13957 to empty buffer. Duplicate is_trusted_path code but allow
13958 constructed patch to be prefix.
13959 (is_dst): Allow $ORIGIN followed by /.
13960 (_dl_dst_substitute): Correct clearing of check_for_trusted.
13961 Correct testing of result of is_trusted_path_normalize
13962 (decompose_rpath): Fix warning.
13963
7b3b0b2a
UD
139642011-05-10 Ulrich Drepper <drepper@gmail.com>
13965
13966 [BZ #11257]
13967 * grp/initgroups.c (internal_getgrouplist): When we found the service
13968 list through the initgroups entry in nsswitch.conf do not always
13969 continue on a successful lookup. Don't always use the
eac80ce2 13970 __nss_group_database value if it is set.
7b3b0b2a
UD
13971 * nss/nsswitch.conf (initgroups): Change action for successful db
13972 lookup to continue for compatibility.
13973
2a81eaa5
UD
139742011-05-09 Ulrich Drepper <drepper@gmail.com>
13975
be97a69e
UD
13976 [BZ #11532]
13977 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
13978 and CP774 modules.
13979 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
13980 and CP774 modules.
13981 * iconvdata/tst-tables.sh: Likewise.
13982 * iconvdata/cp770.c: New file.
13983 * iconvdata/cp771.c: New file.
13984 * iconvdata/cp772.c: New file.
13985 * iconvdata/cp773.c: New file.
13986 * iconvdata/cp774.c: New file.
13987 * iconvdata/testdata/CP770: New file.
13988 * iconvdata/testdata/CP770..UTF8: New file.
13989 * iconvdata/testdata/CP771: New file.
13990 * iconvdata/testdata/CP771..UTF8: New file.
13991 * iconvdata/testdata/CP772: New file.
13992 * iconvdata/testdata/CP772..UTF8: New file.
13993 * iconvdata/testdata/CP773: New file.
13994 * iconvdata/testdata/CP773..UTF8: New file.
13995 * iconvdata/testdata/CP774: New file.
13996 * iconvdata/testdata/CP774..UTF8: New file.
13997
13998 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
13999 END CHARMAP line.
14000 * iconvdata/gen-8bit-gap.sh: Likewise.
14001 * iconvdata/gen-8bit.sh: Likewise.
14002
c1e9e399
UD
14003 * locale/iso-639.def: Add ary entry.
14004
24c55fb3 14005 [BZ #11258]
96b4b1b0
UD
14006 * locale/C-translit.h.in: Add U20A1 transliteration.
14007
bdc2f971
KB
14008 [BZ #12178]
14009 * locale/iso-639.def: Add wae entry.
14010 Patch by Kevin Bortis <bortis@translate-wae.ch>.
14011
2952b117
UD
14012 [BZ #12545]
14013 * locale/programs/localedef.c (construct_output_path): Use ssize_t
14014 for n.
14015
2a81eaa5
UD
14016 [BZ #12711]
14017 * locale/C-translit.h.in: Add entry for U20B9.
14018 Patch by pravin.d.s@gmail.com.
14019
28377d1b
UD
140202011-05-08 Ulrich Drepper <drepper@gmail.com>
14021
7fb90fb8
UD
14022 [BZ #12713]
14023 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
14024 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
14025 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
14026 in rtld. Use *stat64.
7fb90fb8 14027 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 14028 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 14029 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
14030 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
14031 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
14032 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
14033 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
14034 __fstatat64 macros.
7fb90fb8
UD
14035 * include/dirent.h: Add libc_hidden_proto for rewinddir.
14036 * dirent/rewinddir.c: Add libc_hidden_def.
14037 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 14038 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 14039
28377d1b
UD
14040 * include/dirent.h (__alloc_dir): Add flags parameter.
14041 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
14042 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
14043 __alloc_dir.
14044 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
14045 from fdopendir if O_CLOEXEC is already set.
14046
66bdbaa4
AM
140472011-03-15 Alan Modra <amodra@gmail.com>
14048
14049 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
14050 l_tls_firstbyte_offset non-zero. Save padding offset in
14051 l_tls_firstbyte_offset for later use.
14052 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
14053 freeing static tls block.
14054
95721191
JN
140552011-03-05 Jonathan Nieder <jrnieder@gmail.com>
14056
14057 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
14058 where #ifdef was intended. The intent is to prevent ARG_MAX from
14059 being defined by the kernel headers.
14060
f87dfb1f
UD
140612011-05-07 Ulrich Drepper <drepper@gmail.com>
14062
14063 [BZ #12734]
14064 * resolv/resolv.h: Define RES_NOTLDQUERY.
14065 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
14066 no-tld-query and set RES_NOTLDQUERY.
14067 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
14068 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
14069 modern BIND to search name as TLD unless forbidden.
14070
47c3cd7a
UD
140712011-05-07 Petr Baudis <pasky@suse.cz>
14072 Ulrich Drepper <drepper@gmail.com>
14073
14074 [BZ #12393]
14075 * elf/dl-load.c (fillin_rpath): Move trusted path check...
14076 (is_trusted_path): ...to here.
c1e9ea35 14077 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 14078 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 14079 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 14080
8a35c912
PP
140812011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
14082
14083 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
14084 __BEGIN/__END_DECLS.
14085
acd41f47
UD
140862011-05-06 Ulrich Drepper <drepper@gmail.com>
14087
14088 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
14089 NSS_STATUS_NOTFOUND if no record was found.
14090
597df647
AS
140912011-05-05 Andreas Schwab <schwab@redhat.com>
14092
14093 * sunrpc/Makefile (headers): Add rpc/netdb.h.
14094 (headers-not-in-tirpc): Remove rpc/netdb.h
14095 * resolv/netdb.h: Revert last change.
14096
b9af1301
PP
140972011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
14098
14099 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
14100 circular dependency between libgcc.a and libc.a.
14101
4e34d5f5
AS
141022011-05-05 Andreas Schwab <schwab@redhat.com>
14103
14104 * resolv/netdb.h: Don't include <rpc/netdb.h>.
14105 * nis/Makefile: Don't install rpcsvc/*.
14106 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
14107 instead of <rpc/types.h>.
14108 (MAXHOSTNAMELEN): Define.
14109
00ee369c
AS
141102011-05-03 Andreas Schwab <schwab@redhat.com>
14111
14112 * elf/ldconfig.c (add_dir): Don't crash on empty path.
14113
0b592a30
MB
141142011-04-28 Maciej Babinski <mbabinski@google.com>
14115
14116 [BZ #12714]
14117 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
14118 gethostbyname4_r when IPv6 results are possible.
14119
6e04cbbe
UD
141202011-05-02 Ulrich Drepper <drepper@gmail.com>
14121
14122 [BZ #12723]
14123 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
14124 _PC_PIPE_BUF handling.
14125
e4ecafe0
BH
141262011-04-30 Bruno Haible <bruno@clisp.org>
14127
14128 [BZ #12717]
14129 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
14130 * resolv/netdb.h (getnameinfo): Change type of flags parameter
14131 to 'int'.
14132 * inet/getnameinfo.c (getnameinfo): Likewise.
14133
125ee683
UD
141342011-04-29 Ulrich Drepper <drepper@gmail.com>
14135
14136 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
14137 to groups setting in database lookup.
14138 * nss/nsswitch.conf: Add initgroups entry.
14139
b722481a
EB
141402011-04-22 Ulrich Drepper <drepper@gmail.com>
14141
14142 [BZ #12685]
14143 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
14144 mode string.
14145 Patch by Eric Blake <eblake@redhat.com>.
14146
4df46dbd
L
141472011-04-20 H.J. Lu <hongjiu.lu@intel.com>
14148
14149 * sunrpc/Makefile (need-export-routines): Add svc_run.
14150 (routines): Remove svc_run.
14151 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
14152 * sunrpc/clnt_perr.c (clnt_perrno): Export.
14153 * sunrpc/svc_run.c (svc_run): Likewise.
14154 * sunrpc/svc_udp.c (svcudp_create): Likewise.
14155
e84142d2
UD
141562011-04-21 Ulrich Drepper <drepper@gmail.com>
14157
14158 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
14159 problem in reallocation in last patch.
14160
877175d8
UD
141612011-04-20 Ulrich Drepper <drepper@gmail.com>
14162
14163 * sunrpc/Makefile: Move inclusion of Rules.
14164
ab8eed78
UD
141652011-04-19 Ulrich Drepper <drepper@gmail.com>
14166
14167 * nss/nss_files/files-initgroups.c: New file.
14168 * nss/Makefile (libnss_files-routines): Add files-initgroups.
14169 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
14170 _nss_files_initgroups_dyn.
14171
e3d8f584
RS
141722011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
14173
14174 * elf/elf.h (R_ARM_IRELATIVE): Define.
14175
af190f45
UD
141762011-04-19 Ulrich Drepper <drepper@gmail.com>
14177
14178 * po/ru.po: Update from translation team.
14179
53cf59ef
UD
141802011-04-17 Ulrich Drepper <drepper@gmail.com>
14181
14182 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
14183 dependencies.
14184
4c559bcd
MF
141852011-02-06 Mike Frysinger <vapier@gentoo.org>
14186
14187 [BZ #12653]
14188 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
14189 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
14190 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
14191 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
14192 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
14193
4420675c
AS
141942011-03-28 Andreas Schwab <schwab@linux-m68k.org>
14195
14196 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
14197 differing bytes.
14198 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
14199 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
14200 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
14201
75ea32ab
UD
142022011-04-17 Ulrich Drepper <drepper@gmail.com>
14203
14204 [BZ #12420]
14205 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
14206 storing it.
14207 * stdlib/bug-getcontext.c: New file.
14208 * stdlib/Makefile: Add rules to build and run bug-getcontext.
14209
27390476
AK
142102011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14211
14212 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
14213 instructions into .machine "z9-109".
14214 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
14215 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
14216
10442705
AK
142172011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14218
14219 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
14220 between environment variables and auxiliary vector.
14221
7b57bfe5
UD
142222011-04-16 Ulrich Drepper <drepper@gmail.com>
14223
14224 * Makefile: Add rules to build linkobj/libc.so.
14225 * include/libc-symbols.h: Define libc_hidden_nolink.
14226 * include/rpc/auth.h: Mark functions which are to be hidden.
14227 * include/rpc/auth_des.h: Likewise.
14228 * include/rpc/auth_unix.h: Likewise.
14229 * include/rpc/clnt.h: Likewise.
14230 * include/rpc/des_crypt.h: Likewise.
14231 * include/rpc/key_prot.h: Likewise.
14232 * include/rpc/pmap_clnt.h: Likewise.
14233 * include/rpc/pmap_prot.h: Likewise.
14234 * include/rpc/pmap_rmt.h: Likewise.
14235 * include/rpc/rpc_msg.h: Likewise.
14236 * include/rpc/svc.h: Likewise.
14237 * include/rpc/svc_auth.h: Likewise.
14238 * include/rpc/xdr.h: Likewise.
14239 * nis/Makefile: Link all DSOs against linkobj/libc.so.
14240 * nss/Makefile: Likewise.
14241 * sunrpc/Makefile: Don't install headers. Build library with normal
14242 entry points. Don't build rpcinfo. Link RPC tests appropriately.
14243 * sunrpc/auth_des.c: Hide exported symbols by default, export some
14244 for the compat linking library. Remove use of INTDEF/INTUSE.
14245 * sunrpc/auth_none.c: Likewise.
14246 * sunrpc/auth_unix.c: Likewise.
14247 * sunrpc/authdes_prot.c: Likewise.
14248 * sunrpc/authuxprot.c: Likewise.
14249 * sunrpc/clnt_gen.c: Likewise.
14250 * sunrpc/clnt_perr.c: Likewise.
14251 * sunrpc/clnt_raw.c: Likewise.
14252 * sunrpc/clnt_simp.c: Likewise.
14253 * sunrpc/clnt_tcp.c: Likewise.
14254 * sunrpc/clnt_udp.c: Likewise.
14255 * sunrpc/clnt_unix.c: Likewise.
14256 * sunrpc/des_crypt.c: Likewise.
14257 * sunrpc/des_soft.c: Likewise.
14258 * sunrpc/get_myaddr.c: Likewise.
14259 * sunrpc/key_call.c: Likewise.
14260 * sunrpc/key_prot.c: Likewise.
14261 * sunrpc/netname.c: Likewise.
14262 * sunrpc/pm_getmaps.c: Likewise.
14263 * sunrpc/pm_getport.c: Likewise.
14264 * sunrpc/pmap_clnt.c: Likewise.
14265 * sunrpc/pmap_prot.c: Likewise.
14266 * sunrpc/pmap_prot2.c: Likewise.
14267 * sunrpc/pmap_rmt.c: Likewise.
14268 * sunrpc/publickey.c: Likewise.
14269 * sunrpc/rpc_cmsg.c: Likewise.
14270 * sunrpc/rpc_common.c: Likewise.
14271 * sunrpc/rpc_dtable.c: Likewise.
14272 * sunrpc/rpc_prot.c: Likewise.
14273 * sunrpc/rpc_thread.c: Likewise.
14274 * sunrpc/rtime.c: Likewise.
14275 * sunrpc/svc.c: Likewise.
14276 * sunrpc/svc_auth.c: Likewise.
14277 * sunrpc/svc_authux.c: Likewise.
14278 * sunrpc/svc_raw.c: Likewise.
14279 * sunrpc/svc_run.c: Likewise.
14280 * sunrpc/svc_simple.c: Likewise.
14281 * sunrpc/svc_tcp.c: Likewise.
14282 * sunrpc/svc_udp.c: Likewise.
14283 * sunrpc/svc_unix.c: Likewise.
14284 * sunrpc/svcauth_des.c: Likewise.
14285 * sunrpc/xcrypt.c: Likewise.
14286 * sunrpc/xdr.c: Likewise.
14287 * sunrpc/xdr_array.c: Likewise.
14288 * sunrpc/xdr_float.c: Likewise.
14289 * sunrpc/xdr_intXX_t.c: Likewise.
14290 * sunrpc/xdr_mem.c: Likewise.
14291 * sunrpc/xdr_rec.c: Likewise.
14292 * sunrpc/xdr_ref.c: Likewise.
14293 * sunrpc/xdr_sizeof.c: Likewise.
14294 * sunrpc/xdr_stdio.c: Likewise.
14295
e6c61494
UD
142962011-04-10 Ulrich Drepper <drepper@gmail.com>
14297
14298 [BZ #12650]
14299 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
14300 * sysdeps/ia64/dl-tls.h: Likewise.
14301 * sysdeps/powerpc/dl-tls.h: Likewise.
14302 * sysdeps/s390/dl-tls.h: Likewise.
14303 * sysdeps/sh/dl-tls.h: Likewise.
14304 * sysdeps/sparc/dl-tls.h: Likewise.
14305 * sysdeps/x86_64/dl-tls.h: Likewise.
14306 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
14307
34fe483e
AS
143082011-03-14 Andreas Schwab <schwab@redhat.com>
14309
14310 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
14311 rpath element also skip the following colon.
14312 (expand_dynamic_string_token): Add is_path parameter and pass
14313 down to DL_DST_REQUIRED and _dl_dst_substitute.
14314 (decompose_rpath): Call expand_dynamic_string_token with
14315 non-zero is_path. Ignore empty rpaths.
14316 (_dl_map_object_from_fd): Call expand_dynamic_string_token
14317 with zero is_path.
14318
f12a32e6
AS
143192011-04-08 Andreas Schwab <schwab@linux-m68k.org>
14320
14321 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
14322 Make cancelable.
14323
38a7d692
UD
143242011-04-09 Ulrich Drepper <drepper@gmail.com>
14325
14326 [BZ #12655]
14327 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
14328 Patch by Filipe David Manana <fdmanana@apache.org>.
14329
e451d22b
AS
143302011-04-07 Andreas Schwab <schwab@redhat.com>
14331
14332 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
14333 Maintain aligned stack.
14334 (CHECK_RSP): Remove unused macro.
14335
dedc7c7b
UD
143362011-04-03 Ulrich Drepper <drepper@gmail.com>
14337
14338 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
14339 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
14340
94521213
UD
143412011-04-02 Ulrich Drepper <drepper@gmail.com>
14342
14343 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
14344
8cb700c0 14345 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 14346
0354e355
L
143472011-03-26 H.J. Lu <hongjiu.lu@intel.com>
14348
14349 [BZ #12518]
14350 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
14351 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
14352 * sysdeps/x86_64/memmove.c: New file.
14353 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
14354 (memcpy): Renamed to ...
14355 (__new_memcpy): This.
14356 (memcpy): Provide GLIBC_2_14 memcpy.
14357 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
14358 (memcpy): Provide GLIBC_2_2_5 memcpy.
14359
8593482f
UD
143602011-04-01 Ulrich Drepper <drepper@gmail.com>
14361
14362 [BZ #12631]
14363 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
14364
81a5726b
AS
143652011-03-30 Andreas Schwab <schwab@redhat.com>
14366
14367 * misc/syncfs.c: New file.
14368 * misc/Makefile (routines): Add syncfs.
14369 * posix/unistd.h: Declare syncfs.
14370 * sysdeps/unix/syscalls.list: Add syncfs.
14371
00e5419f
AS
143722011-04-01 Andreas Schwab <schwab@redhat.com>
14373
14374 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
14375 open_by_handle_at.
14376 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
14377 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
14378 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
14379 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
14380 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
14381 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
14382 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
14383
748876bf
UD
143842011-04-01 Ulrich Drepper <drepper@gmail.com>
14385
658e451d
UD
14386 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
14387 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
14388 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
14389 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
14390 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
14391 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
14392 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
14393
748876bf
UD
14394 * io/Makefile: Compile fallocate.c, fallocate64.c, and
14395 sync_file_range.c with -fexceptions.
14396 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
14397 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
14398 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
14399 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
14400 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
14401 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
14402 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
14403 sync_file_range as cancellation point
14404 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
14405 now a wrapper around __call_sync_file_range with cancellation handling.
14406 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
14407 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
14408 function name to __call_sync_file_range.
14409 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
14410 Add call_sync_file_range.
748876bf 14411
6e63d5e1
AS
144122011-04-01 Andreas Schwab <schwab@redhat.com>
14413
14414 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 14415 bits/timex.h.
6e63d5e1 14416
46998f74
UD
144172011-04-01 Ulrich Drepper <drepper@gmail.com>
14418
4c1423ed
UD
14419 * iconv/iconv.h: Fix typo in comment.
14420 * io/fcntl.h: Likewise.
14421 * libio/stdio.h: Likewise.
14422 * posix/spawn.h: Likewise.
14423 * posix/unistd.h: Likewise.
14424 * stdlib/stdlib.h: Likewise.
14425 * time/time.h: Likewise.
14426 * wcsmbs/wchar.h: Likewise.
14427
158648c0
UD
14428 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
14429 open_by_handle): Add.
14430 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
14431 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
14432 Augment a few comments.
14433 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
14434 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
14435 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
14436 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
14437 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
14438 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
14439 open_by_handle.
14440
46998f74
UD
14441 * io/fcntl.h (AT_EMPTY_PATH): Define.
14442
83fe108b
UD
144432011-03-30 Ulrich Drepper <drepper@gmail.com>
14444
14445 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
14446 * sysdeps/unix/sysv/linux/bits/time.h: New file.
14447 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
14448 to...
14449 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
14450 * Versions.def: Add GLIBC_2.14.
14451 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
14452 Export.
83fe108b 14453
bb242059
UD
144542011-03-22 Ulrich Drepper <drepper@gmail.com>
14455
14456 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
14457 round counter.
14458 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
14459
c97a1282
L
144602011-03-20 H.J. Lu <hongjiu.lu@intel.com>
14461
14462 [BZ #12597]
14463 * string/test-strncmp.c (do_page_test): New function.
14464 (check2): Likewise.
14465 (test_main): Call check2.
14466 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
14467
2a115601
UD
144682011-03-20 Ulrich Drepper <drepper@gmail.com>
14469
14470 [BZ #12587]
14471 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
14472 Handle cache information in CPU leaf 4.
14473 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
14474
8126d904
UD
144752011-03-18 Ulrich Drepper <drepper@gmail.com>
14476
042c49c6 14477 [BZ #12583]
8126d904
UD
14478 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
14479 character representation.
14480 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
14481
ccfe366e
RA
144822011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
14483
14484 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
14485 END(__isnan) to END(__isnanf) to match function entry point/label
14486 EALIGN(__isnanf,...).
14487
c6e13027
JJ
144882011-03-10 Jakub Jelinek <jakub@redhat.com>
14489
14490 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
14491
33f85a3f
UD
144922011-03-10 Ulrich Drepper <drepper@gmail.com>
14493
028478fa
UD
14494 [BZ #12510]
14495 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
14496 copy from the symbol referenced in the relocation to initialize the
14497 used variable.
14498 Patch by Piotr Bury <pbury@goahead.com>.
14499 * elf/Makefile: Add rules to build and tst-unique3.
14500 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
14501 * elf/tst-unique3.cc: New file.
14502 * elf/tst-unique3.h: New file.
14503 * elf/tst-unique3lib.cc: New file.
14504 * elf/tst-unique3lib2.cc: New file.
14505
33f85a3f
UD
14506 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
14507
03592fc7
MF
145082011-03-10 Mike Frysinger <vapier@gentoo.org>
14509
14510 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
14511 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
14512 to _start.
03592fc7 14513
6a5ee102
UD
145142011-03-06 Ulrich Drepper <drepper@gmail.com>
14515
14516 * elf/dl-load.c (_dl_map_object): If we are looking for the first
14517 to-be-loaded object along a path to loader is ld.so.
14518
7e4ba49c
HJ
145192011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
14520 Ulrich Drepper <drepper@gmail.com>
14521
14522 * sysdeps/x86_64/memset.S: After aligning destination, code
14523 branches to different locations depending on the value of
14524 misalignment, when multiarch is enabled. Fix this.
14525
145262011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
14527
14528 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
14529 Set _x86_64_preferred_memory_instruction for AMD processsors.
14530 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
14531 Set bit_Prefer_SSE_for_memop for AMD processors.
14532
13a804de
UD
145332011-03-04 Ulrich Drepper <drepper@gmail.com>
14534
14535 * libio/fmemopen.c (fmemopen): Optimize a bit.
14536
9d25c392
AS
145372011-03-03 Andreas Schwab <schwab@redhat.com>
14538
14539 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
14540
a5543c6a
RM
145412011-03-03 Roland McGrath <roland@redhat.com>
14542
14543 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
14544
012d35f7
DM
145452011-02-28 Aurelien Jarno <aurelien@aurel32.net>
14546
7e4ba49c 14547 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
14548 __bzero_ultra1 instead of __memset_ultra1.
14549
4bff6e01
AS
145502011-02-23 Andreas Schwab <schwab@redhat.com>
14551 Ulrich Drepper <drepper@gmail.com>
14552
14553 [BZ #12509]
14554 * include/link.h (struct link_map): Add l_orig_initfini.
14555 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
14556 returning unsuccessfully.
14557 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
14558 close of a file loaded at startup, restore the original l_initfini
14559 list.
14560 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
14561 list, store the pointer.
14562 * elf/Makefile ($(objpfx)noload-mem): New rule.
14563 (noload-ENV): Define.
14564 (tests): Add $(objpfx)noload-mem.
14565 * elf/noload.c: Include <memcheck.h>.
14566 (main): Call mtrace. Close all opened handles.
14567
f2092faf
AS
145682011-02-17 Andreas Schwab <schwab@redhat.com>
14569
14570 [BZ #12454]
14571 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
14572 dependencies are missing.
14573
6c8a2e88
ST
145742011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
14575
f2092faf 14576 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
14577 Hurd needs munmap.
14578 * sysdeps/mach/hurd/ifreq.h: New file.
14579
84a42118
PB
145802011-01-27 Petr Baudis <pasky@suse.cz>
14581 Ulrich Drepper <drepper@gmail.com>
14582
071f805e 14583 [BZ 12445]#
84a42118
PB
14584 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
14585 to extend_alloca().
14586 * stdio-common/bug23.c: New file.
14587 * stdio-common/Makefile (tests): Add bug23.
14588
e23fe25b
AS
145892010-09-28 Andreas Schwab <schwab@redhat.com>
14590 Ulrich Drepper <drepper@gmail.com>
14591
14592 [BZ #12489]
14593 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
14594 before performing relro protection. At old place add assertion
14595 to make sure nothing changed.
14596
d3f02e10
NS
145972011-02-17 Nathan Sidwell <nathan@codesourcery.com>
14598 Glauber de Oliveira Costa <glommer@gmail.com>
14599
14600 * elf/elf.h: Add new ARM TLS relocs.
14601
d55fd7a5
RA
146022011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
14603
14604 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
14605 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
14606 cast from r3.
14607 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
14608 'tests' variable.
14609 * sysdeps/wordsize-64/tst-writev.c: New file.
14610
2206397e
RA
146112011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
14612
14613 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
14614 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
14615 insns in _dl_start to prevent a TOC reference before relocs are
14616 resolved.
14617
e9433893
UD
146182011-02-15 Ulrich Drepper <drepper@gmail.com>
14619
14620 [BZ #12469]
14621 * Makeconfig: Remove RANLIB definition.
14622 * Makerules: Don't use RANLIB.
14623 * aclocal.m4: Remove ranlib test.
14624 * configure.in: No need to check for ranlib.
14625 * elf/rtld-Rules: Don't use RANLIB.
14626
f75286c6
ST
146272011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
14628
8e31c82d
ST
14629 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
14630 protection macro.
14631 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
14632 inclusion protection macro.
14633
f75286c6
ST
14634 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
14635 SIGRTMIN and SIGRTMAX and print information in that case only when
14636 SIGRTMIN is defined.
14637
c1d0e639
JJ
146382011-02-11 Jakub Jelinek <jakub@redhat.com>
14639
14640 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
14641 arginfo fn returning -1.
14642
14643 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
14644 and thousands string is zero terminated.
14645
edf9294e
AS
146462011-02-03 Andreas Schwab <schwab@redhat.com>
14647
14648 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
14649 sysdeps/unix/sysv/linux/bits/socket.h.
14650
2b7e92df
ST
146512011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
14652
edf9294e
AS
14653 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
14654 (__CPU_COUNT): Remove old macros.
14655 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
14656 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
14657 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
14658 (__sched_cpualloc, __sched_cpufree): Add declarations.
14659
a4c7ea7b
UD
146602011-02-05 Ulrich Drepper <drepper@gmail.com>
14661
14662 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
14663 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
14664 * nscd/aicache.c (addhstaiX): Return timeout of added value.
14665 (readdhstai): Return value of addhstaiX call.
14666 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
14667 (addgrbyX): Return value returned by cache_addgr.
14668 (readdgrbyname): Return value returned by addgrbyX.
14669 (readdgrbygid): Likewise.
14670 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
14671 (addpwbyX): Return value returned by cache_addpw.
14672 (readdpwbyname): Return value returned by addhstbyX.
14673 (readdpwbyuid): Likewise.
14674 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
14675 (addservbyX): Return value returned by cache_addserv.
14676 (readdservbyname): Return value returned by addservbyX:
14677 (readdservbyport): Likewise.
14678 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
14679 (addhstbyX): Return value returned by cache_addhst.
14680 (readdhstbyname): Return value returned by addhstbyX.
14681 (readdhstbyaddr): Likewise.
14682 (readdhstbynamev6): Likewise.
14683 (readdhstbyaddrv6): Likewise.
14684 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
14685 (readdinitgroups): Return value returned by addinitgroupsX.
14686 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
14687 (prune_cache): Keep track of timeout value of re-added entries.
14688 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
14689 * nscd/nscd.h: Adjust prototypes of readd* functions.
14690
a0bf67cc
RM
146912011-02-04 Roland McGrath <roland@redhat.com>
14692
14693 * nis/nis_server.c (nis_servstate): Use the right name for 0.
14694 (nis_stats): Likewise.
14695 * nis/nis_modify.c (nis_modify): Likewise.
14696 * nis/nis_remove.c (nis_remove): Likewise.
14697 * nis/nis_add.c (nis_add): Likewise.
14698
14699 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
14700
14701 * posix/fnmatch_loop.c: Add some consts.
14702
14703 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
14704
435b95eb
L
147052011-02-02 H.J. Lu <hongjiu.lu@intel.com>
14706
14707 [BZ #12460]
14708 * config.make.in (config-cflags-novzeroupper): Define.
14709 * configure.in: Substitute libc_cv_cc_novzeroupper.
14710 * elf/Makefile (AVX-CFLAGS): Define.
14711 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
14712 (CFLAGS-tst-auditmod4a.c): Likewise.
14713 (CFLAGS-tst-auditmod4b.c): Likewise.
14714 (CFLAGS-tst-auditmod6b.c): Likewise.
14715 (CFLAGS-tst-auditmod6c.c): Likewise.
14716 (CFLAGS-tst-auditmod7b.c): Likewise.
14717 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
14718
8517b15e
UD
147192011-02-02 Ulrich Drepper <drepper@gmail.com>
14720
14721 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
14722 function to the callback.
14723 Patch partly by Jiri Olsa <jolsa@redhat.com>.
14724
10a656fe
AS
147252011-02-02 Andreas Schwab <schwab@redhat.com>
14726
14727 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
14728 of errno.
14729
968dad0a
UD
147302011-01-19 Ulrich Drepper <drepper@gmail.com>
14731
9f94d2ea 14732 [BZ #11724]
968dad0a
UD
14733 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
14734 of constructors.
14735 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
14736 of destructors.
14737 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
14738
14739 [BZ #11724]
14740 * elf/Makefile: Add rules to build and run new test.
14741 * elf/tst-initorder.c: New file.
14742 * elf/tst-initorder.exp: New file.
14743 * elf/tst-initordera1.c: New file.
14744 * elf/tst-initordera2.c: New file.
14745 * elf/tst-initordera3.c: New file.
14746 * elf/tst-initordera4.c: New file.
14747 * elf/tst-initorderb1.c: New file.
14748 * elf/tst-initorderb2.c: New file.
14749 * elf/tst-order-a1.c: New file.
14750 * elf/tst-order-a2.c: New file.
14751 * elf/tst-order-a3.c: New file.
14752 * elf/tst-order-a4.c: New file.
14753 * elf/tst-order-b1.c: New file.
14754 * elf/tst-order-b2.c: New file.
14755 * elf/tst-order-main.c: New file.
14756 New test case by George Gensure <werkt0@gmail.com>.
14757
86e92359
UD
147582010-10-01 Andreas Schwab <schwab@redhat.com>
14759
14760 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
14761 decoding ACE if AI_CANONIDN.
14762
5d5732b0
UD
147632011-01-18 Ulrich Drepper <drepper@gmail.com>
14764
14765 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
14766
a77e8cbc
UD
147672011-01-17 Ulrich Drepper <drepper@gmail.com>
14768
6392473f
UD
14769 * version.h (RELEASE): Bump for 2.13 release.
14770 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
14771
620a0529
UD
14772 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
14773
18ba70a5
UD
14774 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
14775 MADV_NOHUGEPAGE.
32465c3e
UD
14776 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
14777 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
14778 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
14779 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
14780 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
14781 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
14782
c0dafcf1
UD
14783 * posix/getconf.c: Update copyright year.
14784 * catgets/gencat.c: Likewise.
14785 * csu/version.c: Likewise.
14786 * debug/catchsegv.sh: Likewise.
14787 * debug/xtrace.sh: Likewise.
14788 * elf/ldconfig.c: Likewise.
14789 * elf/ldd.bash.in: Likewise.
14790 * elf/sprof.c (print_version): Likewise.
14791 * iconv/iconv_prog.c: Likewise.
14792 * iconv/iconvconfig.c: Likewise.
14793 * locale/programs/locale.c: Likewise.
14794 * locale/programs/localedef.c: Likewise.
14795 * malloc/memusage.sh: Likewise.
14796 * malloc/mtrace.pl: Likewise.
14797 * nscd/nscd.c (print_version): Likewise.
14798 * nss/getent.c: Likewise.
14799
a77e8cbc
UD
14800 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
14801 PF_CAIF, and PF_ALG.
14802 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
14803
77e8bddf
AS
148042011-01-16 Andreas Schwab <schwab@linux-m68k.org>
14805
1f20b93a
AS
14806 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
14807 (modules-names): Use them.
14808 (ifunc-test-modules, ifunc-pie-tests): Define.
14809 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
14810 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
14811 (test-extras): Likewise.
14812 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
14813 $(compile-command.c).
14814 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
14815 (all-built-dso): Define.
14816 (check-textrel.out, check-execstack.out): Depend on it.
14817
77e8bddf
AS
14818 * configure.in: Don't override --enable-multi-arch.
14819
bc425b33
UD
148202011-01-15 Ulrich Drepper <drepper@gmail.com>
14821
14822 [BZ #6812]
14823 * nscd/hstcache.c (tryagain): Define.
14824 (cache_addhst): Return tryagain not notfound for temporary errors.
14825 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
14826 failed.
14827
794c3ad3
UD
148282011-01-14 Ulrich Drepper <drepper@gmail.com>
14829
70181fdd
UD
14830 [BZ #10563]
14831 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
14832 to make the syscall.
14833 * sysdeps/unix/sysv/linux/setgroups.c: New file.
14834
794c3ad3
UD
14835 [BZ #12378]
14836 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
14837 and fall back to matching as normal character if the string ends before
14838 the matching ']' is found. This is what POSIX requires.
14839 * posix/testfnm.c: Adjust test result.
14840 * posix/globtest.sh: Adjust test result. Add new test.
14841 * posix/tst-fnmatch.input: Likewise.
14842 * posix/tst-fnmatch2.c: Add new test.
14843
68dc9497
AS
148442010-12-28 Andreas Schwab <schwab@linux-m68k.org>
14845
14846 * elf/Makefile (check-execstack): Revert last change. Depend on
14847 check-execstack.h.
14848 (check-execstack.h): New target.
14849 (generated): Add check-execstack.h.
14850 * elf/check-execstack.c: Include "check-execstack.h".
14851 (main): Revert last change.
14852 (handle_file): Return zero if GNU_STACK is absent and
14853 DEFAULT_STACK_PERMS doesn't include PF_X.
14854
451f001b
UD
148552011-01-13 Ulrich Drepper <drepper@gmail.com>
14856
cfa28e56
UD
14857 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
14858 in child fails because the descriptor is already closed.
8cf8ce17
UD
14859 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
14860 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
14861 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 14862
1086d70d
UD
14863 [BZ #12397]
14864 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
14865 syscall.
14866
451f001b
UD
14867 [BZ #10484]
14868 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
14869 temporary buffer used to handle multi lookups locally.
a85b5cb4 14870 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 14871
08769175
UD
148722011-01-12 Ulrich Drepper <drepper@gmail.com>
14873
14874 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
14875 loader is ld.so.
14876
5e49c52e
UD
148772011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
14878
14879 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
14880 alignment for SSE2.
14881
60522a5f
UD
148822011-01-12 Ulrich Drepper <drepper@gmail.com>
14883
14884 [BZ #12394]
14885 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
14886 characters. When rounding increased number of integer digits recompute
14887 number of groups.
14888 * stdio-common/tst-grouping.c: New file.
14889 * stdio-common/Makefile: Add rules to build and run tst-grouping.
14890
f257bbd7
UD
148912011-01-09 Ulrich Drepper <drepper@gmail.com>
14892
14893 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
14894 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
14895
14896 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
14897 void.
14898 * bits/select.h: Likewise.
14899
fa9c15cb
UD
149002011-01-08 Ulrich Drepper <drepper@gmail.com>
14901
14902 * po/ja.po: Update from translation team.
14903
16c2895f
DM
149042011-01-04 David S. Miller <davem@sunset.davemloft.net>
14905
14906 [BZ #11155]
14907 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
14908 implementation just like for lxstat, fxstatat, et al.
14909
2543fef2
JM
149102010-12-27 Jim Meyering <meyering@redhat.com>
14911
14912 [BZ #12348]
14913 * posix/regexec.c (build_trtable): Return failure indication upon
14914 calloc failure. Otherwise, re_search_internal could infloop on OOM.
14915
98727dbe
UD
149162010-12-25 Ulrich Drepper <drepper@gmail.com>
14917
5bd6dc5c
UD
14918 [BZ #12201]
14919 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
14920 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
14921 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
14922 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
14923
97983464
UD
14924 [BZ #12207]
14925 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
14926
98727dbe
UD
14927 [BZ #12204]
14928 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
14929 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
14930
4a531bb0
L
149312010-12-15 H.J. Lu <hongjiu.lu@intel.com>
14932
14933 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
14934 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
14935 script has SORT_BY_INIT_PRIORITY.
14936 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
14937 NO_CTORS_DTORS_SECTIONS is defined.
14938 * elf/soinit.c: Likewise.
14939 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
14940 NO_CTORS_DTORS_SECTIONS is defined.
14941 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
14942 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
14943 * sysdeps/sh/init-first.c: Likewise.
14944 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
14945
07eb4b71
UD
149462010-12-24 Ulrich Drepper <drepper@gmail.com>
14947
14948 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
14949 always use the slow path.
14950
30950a5f
RA
149512010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
14952
14953 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
14954 similar rule which adds the sysdep directories to the header search in
14955 order to pick up the correct platform stackinfo.h.
14956 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
14957 perform test if it is, otherwise return successfully without testing.
14958 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
14959 DEFAULT_STACK_PERMS define in stackinfo.h.
14960 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
14961 defined in stackinfo.h.
14962 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
14963 DEFAULT_STACK_PERMS defined in stackinfo.h.
14964 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
14965 * sysdeps/ia64/stackinfo.h: Likewise.
14966 * sysdeps/s390/stackinfo.h: Likewise.
14967 * sysdeps/sh/stackinfo.h: Likewise.
14968 * sysdeps/sparc/stackinfo.h: Likewise.
14969 * sysdeps/x86_64/stackinfo.h: Likewise.
14970 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
14971 PF_X for powerpc64. Retain PF_X for powerpc32.
14972
db753e2c
UD
149732010-12-19 Ulrich Drepper <drepper@gmail.com>
14974
14b697f7
UD
14975 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
14976 accurately.
db753e2c
UD
14977 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
14978 GETDENTS_64BIT_ALIGNED.
14979
28300719
UD
149802010-12-14 Ulrich Drepper <dreper@gmail.com>
14981
14b697f7 14982 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 14983
4f197237
AS
149842010-12-10 Andreas Schwab <schwab@redhat.com>
14985
dbb0472f
AS
14986 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
14987 _GNU_SOURCE.
14988
4f197237
AS
14989 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
14990 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
14991 Remove __restrict.
14992 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
14993 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
14994
fb88ac72
UD
149952010-12-09 Ulrich Drepper <drepper@gmail.com>
14996
14997 [BZ #11655]
14998 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
14999 are initialized.
15000
42acbb92
JJ
150012010-12-09 Jakub Jelinek <jakub@redhat.com>
15002
15003 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
15004
c038d98d
UD
150052010-12-03 Ulrich Drepper <drepper@gmail.com>
15006
15007 * po/it.po: Update from translation team.
15008
3a4a2499
L
150092010-12-01 H.J. Lu <hongjiu.lu@intel.com>
15010
15011 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
15012 unused codes.
15013
1e24cf6e
UD
150142010-11-30 Ulrich Drepper <drepper@gmail.com>
15015
15016 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
15017
a7690819
AS
150182010-11-24 Andreas Schwab <schwab@redhat.com>
15019
15020 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
15021 specially.
15022 (gaih_getanswer_slice): Likewise.
15023
3bf8d1b1
JJ
150242010-10-20 Jakub Jelinek <jakub@redhat.com>
15025
15026 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
15027
6db52fbb
PB
150282010-05-31 Petr Baudis <pasky@suse.cz>
15029
15030 [BZ #11149]
15031 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
15032 silently even in the chroot mode.
15033
eaca7569
UD
150342010-11-22 Ulrich Drepper <drepper@gmail.com>
15035
15036 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
15037 last patch a bit. Pretty printing
15038
3056dcdb
UD
150392010-05-31 Petr Baudis <pasky@suse.cz>
15040
15041 [BZ #10085]
15042 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
15043 initialization of skip_initgroups_dyn.
15044
cf7c9078
UD
150452010-11-19 Ulrich Drepper <drepper@gmail.com>
15046
15047 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
15048 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
15049
a1fb5e3e
UD
150502010-11-16 Ulrich Drepper <drepper@gmail.com>
15051
15052 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
15053
3540d66b
AS
150542010-11-11 Andreas Schwab <schwab@redhat.com>
15055
15056 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
15057 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
15058 (tst-fnmatch-ENV): Set MALLOC_TRACE.
15059 ($(objpfx)tst-fnmatch-mem): New rule.
15060 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
15061 * posix/tst-fnmatch.c (main): Call mtrace.
15062
13b69574
L
150632010-11-11 H.J. Lu <hongjiu.lu@intel.com>
15064
15065 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
15066 Support Intel processor model 6 and model 0x2c.
15067
da93d214
LM
150682010-11-10 Luis Machado <luisgpm@br.ibm.com>
15069
15070 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
15071 signed comparison.
15072
8ca52c6e
L
150732010-11-09 H.J. Lu <hongjiu.lu@intel.com>
15074
15075 [BZ #12205]
15076 * string/test-strncasecmp.c (check_result): New function.
15077 (do_one_test): Use it.
15078 (check1): New function.
15079 (test_main): Use it.
15080 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
15081 Support strcasecmp and strncasecmp.
15082
69da074d
UD
150832010-11-08 Ulrich Drepper <drepper@gmail.com>
15084
15085 [BZ #12194]
15086 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
15087 * sysdeps/x86_64/bits/byteswap.h: Likewise.
15088
ff02d528
L
150892010-11-07 H.J. Lu <hongjiu.lu@intel.com>
15090
15091 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
15092 IFUNC support.
15093 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
15094 memset-x86-64.
15095 * sysdeps/x86_64/multiarch/bzero.S: New file.
15096 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
15097 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
15098 * sysdeps/x86_64/multiarch/memset.S: New file.
15099 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
15100 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
15101 Set bit_Prefer_SSE_for_memop for Intel processors.
15102 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
15103 Define.
15104 (index_Prefer_SSE_for_memop): Define.
15105 (HAS_PREFER_SSE_FOR_MEMOP): Define.
15106
344d0b54
LM
151072010-11-04 Luis Machado <luisgpm@br.ibm.com>
15108
15109 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
15110 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
15111
c0dde15b
UD
151122010-11-03 H.J. Lu <hongjiu.lu@intel.com>
15113
15114 [BZ #12191]
15115 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
15116 (__x86_64_raw_data_cache_size_half): Likewise.
15117 (__x86_64_raw_shared_cache_size): Likewise.
15118 (__x86_64_raw_shared_cache_size_half): Likewise.
15119
15120 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
15121 (__x86_64_raw_data_cache_size_half): Likewise.
15122 (__x86_64_raw_shared_cache_size): Likewise.
15123 (__x86_64_raw_shared_cache_size_half): Likewise.
15124 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
15125 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
15126 and __x86_64_raw_shared_cache_size_half. Round
15127 __x86_64_data_cache_size_half, __x86_64_data_cache_size
15128 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
15129 to multiple of 256 bytes.
15130
0e516e0e
MS
151312010-11-03 Ulrich Drepper <drepper@gmail.com>
15132
15133 [BZ #12167]
15134 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
15135 of inacessible symlinks. Verify result of symlink before returning it.
15136 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
15137 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
15138
0e012e87
ER
151392010-10-28 Erich Ritz <erichritz@gmail.com>
15140
15141 * math/math.h (isinf): Fix typo in comment.
15142
de0ff7bc
UD
151432010-11-01 Ulrich Drepper <drepper@gmail.com>
15144
15145 * po/da.po: Update from translation team.
15146
fa41c84d
UD
151472010-10-26 Ulrich Drepper <drepper@gmail.com>
15148
15149 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
15150 is added to the list.
15151
f0967738
AK
151522010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15153 Ulrich Drepper <drepper@gmail.com>
15154
15155 * elf/dl-object.c (_dl_new_object): Don't append the new object to
15156 the global list here. Move code to...
15157 (_dl_add_to_namespace_list): ...here. New function.
15158 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
15159 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
15160 * elf/dl-load.c (lose): Don't remove the element from the list.
15161 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
15162 (_dl_map_object): Likewise.
15163
151642010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
15165
15166 [BZ #12159]
15167 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
15168 into all bytes of SSE register.
15169 Patch by Richard Li <richardpku@gmail.com>.
15170
f0967738 151712010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
15172
15173 [BZ #12140]
15174 * malloc/malloc.c (_int_free): Fill correct number of bytes when
15175 perturbing.
15176
d0b9e94f
MB
151772010-10-20 Michael B. Brutman <brutman@us.ibm.com>
15178
15179 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
15180 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
15181 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
15182 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
15183 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
15184 submachine.
15185 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
15186
8e9f92e9
AS
151872010-10-22 Andreas Schwab <schwab@redhat.com>
15188
15189 * include/dlfcn.h (__RTLD_SECURE): Define.
15190 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
15191 mode & __RTLD_SECURE instead.
15192 (open_path): Rename preloaded parameter to secure.
15193 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
15194 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
15195 * elf/dl-deps.c (openaux): Likewise.
15196 * elf/rtld.c (struct map_args): Remove is_preloaded.
15197 (map_doit): Don't use it.
15198 (dl_main): Likewise.
15199 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
15200 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
15201
bc96fbda
AS
152022010-09-09 Andreas Schwab <schwab@redhat.com>
15203
15204 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
15205 (sysd-rules-targets): Remove duplicates.
15206 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
15207 rtld-%.$o dependency.
15208
22cd1c9b
AS
152092010-10-18 Andreas Schwab <schwab@redhat.com>
15210
15211 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
15212 _dl_map_object do it.
15213
18edac48
UD
152142010-10-19 Ulrich Drepper <drepper@gmail.com>
15215
15216 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
15217 fast fma builtins, define the macros in the C99 standard.
15218 (FP_FAST_FMAF): Likewise.
15219 (FP_FAST_FMAL): Likewise.
15220 * sysdeps/x86_64/bits/mathdef.h: Likewise.
15221
15222 * bits/mathdef.h: Update copyright year.
15223 * sysdeps/powerpc/bits/mathdef.h: Likewise.
15224
d2050124
MM
152252010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
15226
15227 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
15228 builtins, define the macros in the C99 standard.
15229 (FP_FAST_FMAF): Likewise.
15230 (FP_FAST_FMAL): Likewise.
15231 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
15232 multiply/add.
15233 (FP_FAST_FMAF): Likewise.
15234
475facd1
JJ
152352010-10-15 Jakub Jelinek <jakub@redhat.com>
15236
15237 [BZ #3268]
15238 * math/libm-test.inc (fma_test): Some new testcases.
15239 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
15240 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
15241 y and infinite z. Do multiplication by C already in long double.
15242 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
15243 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
15244 y and infinite z. Do bitwise or of inexact bit into u.d.
15245 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
15246 * sysdeps/i386/fpu/s_fmaf.S: Removed.
15247 * sysdeps/i386/fpu/s_fma.S: Removed.
15248 * sysdeps/i386/fpu/s_fmal.S: Removed.
15249
7c08a05c
JJ
152502010-10-16 Jakub Jelinek <jakub@redhat.com>
15251
15252 [BZ #3268]
15253 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
15254 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
15255 computation is not scheduled after fetestexcept. Fix value
15256 of minimum denormal long double.
15257
f3f7372d
JJ
152582010-10-14 Jakub Jelinek <jakub@redhat.com>
15259
15260 [BZ #3268]
15261 * math/libm-test.inc (fma_test): Add some more tests.
15262 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
15263 correctly.
15264
14d43591
AS
152652010-10-15 Andreas Schwab <schwab@redhat.com>
15266
15267 * scripts/data/localplt-s390-linux-gnu.data: New file.
15268 * scripts/data/localplt-s390x-linux-gnu.data: New file.
15269
5e908464
JJ
152702010-10-13 Jakub Jelinek <jakub@redhat.com>
15271
15272 [BZ #3268]
15273 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
15274 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
15275 instead of dbl-64.
15276 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
15277 inlines.
15278 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
15279 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
15280 if one of x and y is very large and the other is subnormal.
15281 * sysdeps/s390/fpu/s_fmaf.c: New file.
15282 * sysdeps/s390/fpu/s_fma.c: New file.
15283 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
15284 * sysdeps/powerpc/fpu/s_fma.S: New file.
15285 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
15286 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
15287 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
15288
152892010-10-12 Jakub Jelinek <jakub@redhat.com>
15290
15291 [BZ #3268]
15292 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
15293 fma tests.
15294 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
15295 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
15296 * sysdeps/i386/i686/multiarch/s_fma.c: Include
15297 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
15298 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
15299 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
15300 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
15301
b833d51f
UD
153022010-10-12 Ulrich Drepper <drepper@redhat.com>
15303
15304 [BZ #12078]
15305 * posix/regcomp.c (parse_branch): One more memory leak plugged.
15306 * posix/bug-regex31.input: Add test case.
15307
1751705d
UD
153082010-10-11 Ulrich Drepper <drepper@gmail.com>
15309
e9b9cbf5
UD
15310 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
15311 * posix/bug-regex31.input: New file.
15312
15313 [BZ #12078]
15314 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
15315 (parse_sub_exp): Fix last change, use postorder.
15316
ef06edbe
UD
15317 * posix/bug-regex31.c: New file.
15318 * posix/Makefile: Add rules to build and run bug-regex31.
15319
a129c80d
UD
15320 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
15321
15322 [BZ #12078]
15323 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
15324
b76b818e
UD
15325 [BZ #12108]
15326 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
15327 to have entries in sys_siglist.
15328
1751705d
UD
15329 [BZ #12093]
15330 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
15331 be NULL.
15332
9ff8d36f
JJ
153332010-10-07 Jakub Jelinek <jakub@redhat.com>
15334
15335 [BZ #3268]
15336 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
15337 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
15338 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
15339 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
15340 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
15341 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
15342 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
15343 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
15344 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
15345 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
15346 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
15347 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
15348 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
15349 * math/ftestexcept.c (fetestexcept): Likewise.
15350 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
15351 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
15352 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
15353 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
15354 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
15355 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
15356 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
15357
af325969
UD
153582010-10-11 Ulrich Drepper <drepper@gmail.com>
15359
c579b202 15360 [BZ #12107]
af325969
UD
15361 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
15362 newline.
15363
67a67b95
UD
153642010-10-06 Ulrich Drepper <drepper@gmail.com>
15365
15366 * string/bug-strstr1.c: New file.
15367 * string/Makefile: Add rules to build and run bug-strstr1.
15368
5fb308bc
EB
153692010-10-05 Eric Blake <eblake@redhat.com>
15370
15371 [BZ #12092]
15372 * string/str-two-way.h (two_way_long_needle): Always clear memory
15373 when skipping input due to the shift table.
15374
45db99c7
UD
153752010-10-03 Ulrich Drepper <drepper@gmail.com>
15376
3b111893
UD
15377 [BZ #12005]
15378 * malloc/mcheck.c: Handle large requests.
15379
45db99c7
UD
15380 [BZ #12077]
15381 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
15382 for strncmp and strncasecmp.
15383 * string/stratcliff.c: Add tests for strcmp and strncmp.
15384 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
15385
cf7a1eb8
NI
153862010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
15387
15388 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
15389 __set_fpscr.
15390
6484ba5e
AJ
153912010-09-30 Andreas Jaeger <aj@suse.de>
15392
15393 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
15394 (CGROUP_SUPER_MAGIC): Define.
15395 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
15396 Handle btrfs and cgroup file systems.
15397 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
15398 Likewise.
15399
91c42559
LM
154002010-09-27 Luis Machado <luisgpm@br.ibm.com>
15401
15402 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
15403 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
15404
87a97932
AK
154052010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15406
15407 [BZ #12067]
15408 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
15409 trying to locate the ELF header.
15410
c21cc9bc
AS
154112010-09-27 Andreas Schwab <schwab@redhat.com>
15412
15413 [BZ #11611]
15414 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
15415 Mask out sign-bit copies when constructing f_fsid.
15416
315970f6
PB
154172010-09-24 Petr Baudis <pasky@suse.cz>
15418
15419 * debug/stack_chk_fail_local.c: Add missing licence exception.
15420 * debug/warning-nop.c: Likewise.
15421
1ac7a2c7
JM
154222010-09-15 Joseph Myers <joseph@codesourcery.com>
15423
15424 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
15425 implementing getdents64 using getdents syscall, set d_type if
15426 __ASSUME_GETDENTS32_D_TYPE.
15427
56801c50
AS
154282010-09-16 Andreas Schwab <schwab@redhat.com>
15429
15430 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
15431 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
15432
dda51327
UD
154332010-09-21 Ulrich Drepper <drepper@redhat.com>
15434
15435 [BZ #12037]
15436 * posix/unistd.h: Undo change of feature selection for ftruncate from
15437 2010-01-11.
15438
8ffcee4a
UD
154392010-09-20 Ulrich Drepper <drepper@redhat.com>
15440
a545ecd9 15441 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
15442 detection.
15443
e24f0a8b
AS
154442010-09-20 Andreas Schwab <schwab@redhat.com>
15445
15446 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
15447 fanotify_mark.
15448 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
15449
7291c56f
AS
154502010-09-14 Andreas Schwab <schwab@redhat.com>
15451
15452 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
15453 variables after CHECK_SP call.
15454 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
15455
bc5fb037
AS
154562010-09-13 Andreas Schwab <schwab@redhat.com>
15457 Ulrich Drepper <drepper@redhat.com>
15458
15459 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
15460 re-relocationg ld.so.
15461 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
15462 _dl_init_paths call.
15463 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
15464 here anymore.
15465
e66e7419
UD
154662010-09-14 Ulrich Drepper <drepper@redhat.com>
15467
15468 * resolv/res_init.c (__res_vinit): Count the default server we added.
15469
c044aa75
CLT
154702010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
15471 Ulrich Drepper <drepper@redhat.com>
15472
15473 [BZ #11968]
15474 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
15475 (____longjmp_chk): Use %ebx for saving value across system call.
15476 Add unwind info.
15477
32cf4069
AS
154782010-09-06 Andreas Schwab <schwab@redhat.com>
15479
15480 * manual/Makefile: Don't mix pattern rules with normal rules.
15481
817328ee
AS
154822010-09-05 Andreas Schwab <schwab@linux-m68k.org>
15483
15484 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
15485 operation.
15486 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
15487 * libio/iofopncook.c (_IO_cookie_init): Likewise.
15488 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
15489 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
15490 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
15491 Likewise.
15492
29fddf61
UD
154932010-09-04 Ulrich Drepper <drepper@redhat.com>
15494
15495 [BZ #11979]
15496 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
15497 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
15498
0959ffc9
UD
154992010-09-02 Ulrich Drepper <drepper@redhat.com>
15500
15501 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
15502 * sysdeps/x86_64/addmul_1.S: Likewise.
15503 * sysdeps/x86_64/lshift.S: Likewise.
15504 * sysdeps/x86_64/mul_1.S: Likewise.
15505 * sysdeps/x86_64/rshift.S: Likewise.
15506 * sysdeps/x86_64/sub_n.S: Likewise.
15507 * sysdeps/x86_64/submul_1.S: Likewise.
15508
ece29840
ST
155092010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
15510
0959ffc9
UD
15511 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
15512 Define __sched_param instead of SCHED_* and sched_param when
ece29840 15513 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 15514 * bits/sched.h [__need_schedparam]
ece29840 15515 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
15516 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
15517 (__defined_schedparam): Define to 1.
ece29840
ST
15518 (__sched_param): New structure, identical to sched_param.
15519 (__need_schedparam): Undefine.
15520
e53a31fe
MF
155212010-08-31 Mike Frysinger <vapier@gentoo.org>
15522
fdc0c10d
MF
15523 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
15524 (epoll_create1): Declare.
15525
e53a31fe
MF
15526 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
15527
a726d796
AS
155282010-08-31 Andreas Schwab <schwab@redhat.com>
15529
15530 [BZ #7066]
15531 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
15532 shifting retval into place.
15533
2f3e3dc7
UD
155342010-09-01 Ulrich Drepper <drepper@redhat.com>
15535
f2933da9
UD
15536 * nis/rpcsvc/nis.h: Update copyright notice.
15537 * nis/rpcsvc/nis.x: Likewise.
15538 * nis/rpcsvc/nis_callback.h: Likewise.
15539 * nis/rpcsvc/nis_callback.x: Likewise.
15540 * nis/rpcsvc/nis_object.x: Likewise.
15541 * nis/rpcsvc/nis_tags.h: Likewise.
15542 * nis/rpcsvc/yp.h: Likewise.
15543 * nis/rpcsvc/yp.x: Likewise.
15544 * nis/rpcsvc/ypupd.h: Likewise.
15545 * nis/yp_xdr.c: Likewise.
15546 * nis/ypupdate_xdr.c: Likewise.
15547
2f3e3dc7
UD
15548 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
15549 mainly the body of pmap_getport. Add parameters to specify timeouts.
15550 (pmap_getport): Use __libc_rpc_getport.
15551 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
15552 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
15553 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
15554
f3dcc2f9
AS
155552010-08-31 Andreas Schwab <schwab@linux-m68k.org>
15556
15557 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
15558 fanotify_mark.
15559
6d34eb5b
RM
155602010-08-27 Roland McGrath <roland@redhat.com>
15561
15562 * sysdeps/i386/i686/multiarch/Makefile
15563 (CFLAGS-varshift.c): New variable.
15564
9ea3de11
UD
155652010-08-27 Ulrich Drepper <drepper@redhat.com>
15566
c96d23fc
UD
15567 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
15568 * sysdeps/i386/i686/multiarch/varshift.c: New file.
15569
9ea3de11
UD
15570 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
15571
15572 * sysdeps/x86_64/strlen.S: Minimal code improvement.
15573
623aac7f
L
155742010-08-26 H.J. Lu <hongjiu.lu@intel.com>
15575
15576 * sysdeps/x86_64/strlen.S: Unroll the loop.
15577 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
15578 strlen-sse2 strlen-sse2-bsf.
15579 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
15580 __strlen_no_bsf if bit_Slow_BSF is set.
15581 (__strlen_sse42): Removed.
15582 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
15583 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
15584
8b2b7715
RM
155852010-08-25 Roland McGrath <roland@redhat.com>
15586
15587 * sysdeps/x86_64/multiarch/varshift.S: File removed.
15588 * sysdeps/x86_64/multiarch/varshift.c: New file.
15589 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
15590 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
15591 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
15592 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
15593
e73015f2
L
155942010-08-25 H.J. Lu <hongjiu.lu@intel.com>
15595
15596 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
15597 strlen-sse2 strlen-sse2-bsf.
15598 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
15599 __strlen_sse2_bsf if bit_Slow_BSF is unset.
15600 (__strlen_sse2): Removed.
15601 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
15602 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
15603 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
15604 bit_Slow_BSF for Atom.
15605 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
15606 (index_Slow_BSF): Define.
15607 (HAS_SLOW_BSF): Define.
15608
df24a73e
UD
156092010-08-25 Ulrich Drepper <drepper@redhat.com>
15610
15611 [BZ #10851]
15612 * resolv/res_init.c (__res_vinit): When no server address at all
15613 is given default to loopback.
15614
f2ac4868
RM
156152010-08-24 Roland McGrath <roland@redhat.com>
15616
09055553
RM
15617 * configure.in: Remove config-name.h generation.
15618 * configure: Regenerated.
15619 * config-name.in: File removed.
15620 * scripts/config-uname.sh: New file.
15621 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
15622 ($(objdir)config-name.h): New target.
15623
f2ac4868
RM
15624 * sunrpc/rpc_parse.h: Avoid nested comment.
15625
73f27d5e
RH
156262010-08-24 Richard Henderson <rth@redhat.com>
15627 Ulrich Drepper <drepper@redhat.com>
15628 H.J. Lu <hongjiu.lu@intel.com>
15629
15630 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
15631 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
15632 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
15633 Replace _mm_srli_si128 with __m128i_shift_right. Replace
15634 _mm_alignr_epi8 with _mm_loadu_si128.
15635 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
15636 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
15637 (__m128i_shift_right): Removed.
15638 * sysdeps/i386/i686/multiarch/varshift.h: New file.
15639 * sysdeps/i386/i686/multiarch/varshift.S: New file.
15640 * sysdeps/x86_64/multiarch/varshift.h: New file.
15641 * sysdeps/x86_64/multiarch/varshift.S: New file.
15642
84b9230c
MF
156432010-08-21 Mike Frysinger <vapier@gentoo.org>
15644
15645 * configure.in: Move assembler checks to before sysdep dir checking.
15646
9bbd0ddc
PB
156472010-08-20 Petr Baudis <pasky@suse.cz>
15648
15649 * LICENSES: Sync the sunrpc license.
15650
9da4bb31
UD
156512010-08-19 Ulrich Drepper <drepper@redhat.com>
15652
a7ab6ec8
UD
15653 * sunrpc/auth_des.c: Update copyright notice once again.
15654 * sunrpc/auth_none.c: Likewise.
15655 * sunrpc/auth_unix.c: Likewise.
15656 * sunrpc/authdes_prot.c: Likewise.
15657 * sunrpc/authuxprot.c: Likewise.
15658 * sunrpc/bindrsvprt.c: Likewise.
15659 * sunrpc/clnt_gen.c: Likewise.
15660 * sunrpc/clnt_perr.c: Likewise.
15661 * sunrpc/clnt_raw.c: Likewise.
15662 * sunrpc/clnt_simp.c: Likewise.
15663 * sunrpc/clnt_tcp.c: Likewise.
15664 * sunrpc/clnt_udp.c: Likewise.
15665 * sunrpc/clnt_unix.c: Likewise.
15666 * sunrpc/des_crypt.c: Likewise.
15667 * sunrpc/des_soft.c: Likewise.
15668 * sunrpc/get_myaddr.c: Likewise.
15669 * sunrpc/getrpcport.c: Likewise.
15670 * sunrpc/key_call.c: Likewise.
15671 * sunrpc/key_prot.c: Likewise.
15672 * sunrpc/openchild.c: Likewise.
15673 * sunrpc/pm_getmaps.c: Likewise.
15674 * sunrpc/pm_getport.c: Likewise.
15675 * sunrpc/pmap_clnt.c: Likewise.
15676 * sunrpc/pmap_prot.c: Likewise.
15677 * sunrpc/pmap_prot2.c: Likewise.
15678 * sunrpc/pmap_rmt.c: Likewise.
15679 * sunrpc/rpc/auth.h: Likewise.
15680 * sunrpc/rpc/auth_unix.h: Likewise.
15681 * sunrpc/rpc/clnt.h: Likewise.
15682 * sunrpc/rpc/des_crypt.h: Likewise.
15683 * sunrpc/rpc/key_prot.h: Likewise.
15684 * sunrpc/rpc/netdb.h: Likewise.
15685 * sunrpc/rpc/pmap_clnt.h: Likewise.
15686 * sunrpc/rpc/pmap_prot.h: Likewise.
15687 * sunrpc/rpc/pmap_rmt.h: Likewise.
15688 * sunrpc/rpc/rpc.h: Likewise.
15689 * sunrpc/rpc/rpc_des.h: Likewise.
15690 * sunrpc/rpc/rpc_msg.h: Likewise.
15691 * sunrpc/rpc/svc.h: Likewise.
15692 * sunrpc/rpc/svc_auth.h: Likewise.
15693 * sunrpc/rpc/types.h: Likewise.
15694 * sunrpc/rpc/xdr.h: Likewise.
15695 * sunrpc/rpc_clntout.c: Likewise.
15696 * sunrpc/rpc_cmsg.c: Likewise.
15697 * sunrpc/rpc_common.c: Likewise.
15698 * sunrpc/rpc_cout.c: Likewise.
15699 * sunrpc/rpc_dtable.c: Likewise.
15700 * sunrpc/rpc_hout.c: Likewise.
15701 * sunrpc/rpc_main.c: Likewise.
15702 * sunrpc/rpc_parse.c: Likewise.
15703 * sunrpc/rpc_parse.h: Likewise.
15704 * sunrpc/rpc_prot.c: Likewise.
15705 * sunrpc/rpc_sample.c: Likewise.
15706 * sunrpc/rpc_scan.c: Likewise.
15707 * sunrpc/rpc_scan.h: Likewise.
15708 * sunrpc/rpc_svcout.c: Likewise.
15709 * sunrpc/rpc_tblout.c: Likewise.
15710 * sunrpc/rpc_util.c: Likewise.
15711 * sunrpc/rpc_util.h: Likewise.
15712 * sunrpc/rpcinfo.c: Likewise.
15713 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
15714 * sunrpc/rpcsvc/key_prot.x: Likewise.
15715 * sunrpc/rpcsvc/klm_prot.x: Likewise.
15716 * sunrpc/rpcsvc/mount.x: Likewise.
15717 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
15718 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
15719 * sunrpc/rpcsvc/rex.x: Likewise.
15720 * sunrpc/rpcsvc/rstat.x: Likewise.
15721 * sunrpc/rpcsvc/rusers.x: Likewise.
15722 * sunrpc/rpcsvc/sm_inter.x: Likewise.
15723 * sunrpc/rpcsvc/spray.x: Likewise.
15724 * sunrpc/rpcsvc/yppasswd.x: Likewise.
15725 * sunrpc/rtime.c: Likewise.
15726 * sunrpc/svc.c: Likewise.
15727 * sunrpc/svc_auth.c: Likewise.
15728 * sunrpc/svc_authux.c: Likewise.
15729 * sunrpc/svc_raw.c: Likewise.
15730 * sunrpc/svc_run.c: Likewise.
15731 * sunrpc/svc_simple.c: Likewise.
15732 * sunrpc/svc_tcp.c: Likewise.
15733 * sunrpc/svc_udp.c: Likewise.
15734 * sunrpc/svc_unix.c: Likewise.
15735 * sunrpc/svcauth_des.c: Likewise.
15736 * sunrpc/xcrypt.c: Likewise.
15737 * sunrpc/xdr.c: Likewise.
15738 * sunrpc/xdr_array.c: Likewise.
15739 * sunrpc/xdr_float.c: Likewise.
15740 * sunrpc/xdr_mem.c: Likewise.
15741 * sunrpc/xdr_rec.c: Likewise.
15742 * sunrpc/xdr_ref.c: Likewise.
15743 * sunrpc/xdr_sizeof.c: Likewise.
15744 * sunrpc/xdr_stdio.c: Likewise.
15745
9da4bb31
UD
15746 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
15747 handling.
15748
bdaa77bc
AS
157492010-08-19 Andreas Schwab <schwab@redhat.com>
15750
15751 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
15752
fe2f79db
LM
157532010-08-19 Luis Machado <luisgpm@br.ibm.com>
15754
15755 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
15756 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
15757 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
15758 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
15759 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
15760 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
15761 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
15762 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
15763 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
15764 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
15765 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
15766 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
15767 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
15768 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
15769
b9b42ee0
AB
157702010-07-26 Anton Blanchard <anton@samba.org>
15771
15772 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
15773 * malloc/arena.c (heap_trim): Likewise.
15774
1c06ba31
UD
157752010-08-16 Ulrich Drepper <drepper@redhat.com>
15776
15777 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
15778 here. Not...
15779 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
15780 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
15781
f8392f40
L
157822010-08-12 H.J. Lu <hongjiu.lu@intel.com>
15783
15784 * sysdeps/i386/elf/Makefile: New file.
15785
3162f12e
AS
157862010-08-14 Andreas Schwab <schwab@linux-m68k.org>
15787
15788 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
15789 from fanotify_init.
15790 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
15791 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
15792
28c90b2c
UD
157932010-08-15 Ulrich Drepper <drepper@redhat.com>
15794
15795 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
15796 of strncasecmp_l.
1feccb6c 15797 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 15798
ca6bb004
UD
157992010-08-14 Ulrich Drepper <drepper@redhat.com>
15800
e9f82e0d
UD
15801 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
15802 strncase_l-nonascii.
15803 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
15804 Add strncase_l-ssse3.
15805 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
15806 * sysdeps/x86_64/strcmp.S: Likewise.
15807 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
15808 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
15809 * sysdeps/x86_64/strncase.S: New file.
15810 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
15811 * sysdeps/x86_64/strncase_l.S: New file.
15812 * string/Makefile (strop-tests): Add strncasecmp.
15813 * string/test-strncasecmp.c: New file.
15814
15815 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
15816 warning.
15817
ca6bb004
UD
15818 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
15819 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
15820
052fa7b3
AS
158212010-08-14 Andreas Schwab <schwab@linux-m68k.org>
15822
15823 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
15824
962dba78
UD
158252010-08-12 Ulrich Drepper <drepper@redhat.com>
15826
15827 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
15828 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
15829 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
15830
bebff237
AM
158312010-05-01 Alan Modra <amodra@gmail.com>
15832
15833 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
15834 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
15835 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
15836 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
15837 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
15838 tidying. Don't tail-call __sigjmp_save for static lib.
15839 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
15840 save location.
15841 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
15842 (CALL_MCOUNT): Add eh info, and nop after bl.
15843 (TAIL_CALL_SYSCALL_ERROR): New macro.
15844 (PSEUDO_RET): Use it.
15845 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
15846 Correct save location of integer regs and cr.
15847 (_dl_profile_resolve): Correct cr save location. Delete nops
15848 after bl when SHARED. Reduce cfi size a little by better
15849 placement of cfi directives.
15850 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
15851 make a stack frame. Instead use parm save area as a temp.
15852 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
15853 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
15854 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
15855 Don't make a stack frame for parent, use parm save area.
15856 Increase child stack frame to 112 bytes. Don't save unused reg,
15857 and adjust reg usage. Set up cfi on error recovery and
15858 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
15859 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
15860 (__makecontext): Add dummy nop after jump to exit.
15861 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
15862 Use correct parm save area and cr save, reduce stack frame.
15863 Correct cfi for possible PSEUDO_RET frame setup.
15864 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
15865 Branch to local label emitted by PSEUDO_RET rather than
15866 __syscall_error.
15867
02637374
AS
158682010-08-12 Andreas Schwab <schwab@redhat.com>
15869
15870 [BZ #11904]
15871 * locale/programs/locale.c (print_assignment): New function.
15872 (show_locale_vars): Use it.
15873
c3e2f19b
UD
158742010-08-11 Ulrich Drepper <drepper@redhat.com>
15875
3cdaa6ad
UD
15876 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
15877 field.
15878 (struct statfs64): Likewise.
15879 (_STATFS_F_FLAGS): Define.
15880 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
15881 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
15882 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
15883 (ST_VALID): Define locally.
15884 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
15885 __statvfs_getflags, use the provided value.
15886 * sysdeps/unix/sysv/linux/kernel-features.h: Define
15887 __ASSUME_STATFS_F_FLAGS.
15888
754f7da3
UD
15889 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
15890
10b3bedc
UD
15891 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
15892 Add sys/fanotify.h.
15893 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
15894 fanotify_mask for GLIBC_2.13.
15895 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
15896 fanotify_init and fanotify_mark.
15897 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
15898 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
15899
c08fb0d7
UD
15900 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
15901 Add prlimit.
15902 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
15903 prlimit64 for GLIBC_2.13.
15904 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
15905 prlimit64.
15906 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
15907 syscall.
15908 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
15909 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
15910 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
15911 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
15912 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
15913 add prlimit alias.
15914 * sysdeps/unix/sysv/linux/prlimit.c: New file.
15915
15bac72b
UD
15916 [BZ #11903]
15917 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
15918 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
15919
c3e2f19b
UD
15920 * nss/Makefile: Add rules to build and run tst-nss-test1.
15921 * shlib-versions: Add entry for libnss_test1.
15922 * nss/nss_test1.c: New file.
15923 * nss/tst-nss-test1.c: New file.
15924
15925 * nss/nsswitch.c (__nss_database_custom): Define new variable.
15926 (__nss_configure_lookup): Set appropriate entry in
15927 __nss_configure_lookup to true.
15928 * nss/nsswitch.h: Define enum with indeces of databases in
15929 databases and __nss_database_custom arrays. Declare
15930 __nss_database_custom.
15931 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
15932 to avoid using nscd when custom rules are installed.
15933 * nss/getXXbyYY_r.c: Likewise.
15934 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
15935
15936 * nss/nss_files/files-parse.c: Whitespace fixes.
15937
f15ce4d8
UD
159382010-08-09 Ulrich Drepper <drepper@redhat.com>
15939
15940 [BZ #11883]
15941 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
15942 * posix/fnmatch_loop.c: Likewise.
15943
d22e4cc9
AK
159442010-07-17 Andi Kleen <ak@linux.intel.com>
15945
15946 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
15947 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
15948 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
15949 * Versions.def [GLIBC_2.13]: Add.
15950
805bc17d
UD
159512010-08-06 Ulrich Drepper <drepper@redhat.com>
15952
15953 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
15954 Also fail if tpwd after pwuid call is NULL.
15955
5a42321d
ST
159562010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
15957
15958 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
15959 when converting to ms.
15960
fd3ebeda
ST
159612010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
15962
15963 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
15964 EOPNOTSUPP errors with ENOTTY.
15965 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
15966 EOPNOTSUPP errors with ENOTTY.
15967
73507d3a
UD
159682010-07-31 Ulrich Drepper <drepper@redhat.com>
15969
15970 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
15971 Add strcasecmp_l-ssse3.
15972 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
15973 strcasecmp.
15974 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
15975 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
15976 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
15977
fe36dd02
UD
159782010-07-30 Ulrich Drepper <drepper@redhat.com>
15979
66f6765a
UD
15980 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
15981
42e08a54
UD
15982 * string/Makefile (strop-tests): Add strcasecmp.
15983 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
15984 strcasecmp_l-nonascii.
15985 (gen-as-const-headers): Add locale-defines.sym.
15986 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
15987 * sysdeps/x86_64/strcasecmp.S: New file.
15988 * sysdeps/x86_64/strcasecmp_l.S: New file.
15989 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
15990 * sysdeps/x86_64/locale-defines.sym: New file.
15991 * string/test-strcasecmp.c: New file.
15992
fe36dd02
UD
15993 * string/test-strcasestr.c: Test both ends of the range of characters.
15994 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
15995
48cbc0d6
RM
159962010-07-29 Roland McGrath <roland@redhat.com>
15997
76e6d6bc 15998 [BZ #11856]
48cbc0d6
RM
15999 * manual/locale.texi (Yes-or-No Questions): Fix example code.
16000
880113d9
UD
160012010-07-27 Ulrich Drepper <drepper@redhat.com>
16002
16003 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
16004 for ld.so.
16005
deb9cabb
AS
160062010-07-27 Andreas Schwab <schwab@redhat.com>
16007
16008 * manual/memory.texi (Malloc Tunable Parameters): Document
16009 M_PERTURB.
16010
1c7570ff
RM
160112010-07-26 Roland McGrath <roland@redhat.com>
16012
16013 [BZ #11840]
16014 * configure.in (-fgnu89-inline check): Set and substitute
16015 gnu89_inline, not libc_cv_gnu89_inline.
16016 * configure: Regenerated.
16017 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
16018
24fb0f88
UD
160192010-07-26 Ulrich Drepper <drepper@redhat.com>
16020
16021 * string/test-strnlen.c: New file.
16022 * string/Makefile (strop-tests): Add strnlen.
16023 * string/tester.c (test_strnlen): Add a few more test cases.
16024 * string/tst-strlen.c: Better error reporting.
16025
16026 * sysdeps/x86_64/strnlen.S: New file.
16027
8e96b93a
UD
160282010-07-24 Ulrich Drepper <drepper@redhat.com>
16029
16030 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
16031 lower-latency instructions.
16032
dbc676d4
UD
160332010-07-23 Ulrich Drepper <drepper@redhat.com>
16034
16035 * string/test-strcasestr.c: New file.
16036 * string/test-strstr.c: New file.
16037 * string/Makefile (strop-tests): Add strstr and strcasestr.
16038 * string/str-two-way.h: Don't undefine MAX.
16039 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
16040
f6a31e0e
AS
160412010-07-21 Andreas Schwab <schwab@redhat.com>
16042
16043 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
16044 strcasestr-nonascii.
16045 (CFLAGS-strcasestr-nonascii.c): Define.
16046 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
16047 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
16048 Remove unused attribute.
16049
5dbc3b6c
RM
160502010-07-20 Roland McGrath <roland@redhat.com>
16051
16052 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
16053 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
16054 ld.so.cache was broken. With it, there is no way to disable dsocaps
16055 like LD_HWCAP_MASK can disable hwcaps.
16056
23d101d8
EPM
160572010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
16058
16059 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
16060
cc9f2e47
UD
160612010-07-16 Ulrich Drepper <drepper@redhat.com>
16062
16063 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
16064 call in strcasestr.
16065 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
16066 __strcasestr_sse42_nonascii.
16067 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
16068 strcasestr-nonascii.c.
16069 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
16070
77c1b069
LM
160712010-06-15 Luis Machado <luisgpm@br.ibm.com>
16072
16073 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
16074 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
16075 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
16076 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
16077
440566c3
UD
160782010-07-09 Ulrich Drepper <drepper@redhat.com>
16079
16080 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
16081 fcntl.
16082
5be9d05d
AS
160832010-07-06 Andreas Schwab <schwab@redhat.com>
16084
c30b7ee2 16085 [BZ #11577]
5be9d05d
AS
16086 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
16087 dl_signal_cerror.
16088
8a492a67
UD
160892010-07-06 Ulrich Drepper <drepper@redhat.com>
16090
16091 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
16092 _PC_PIPE_BUF using F_GETPIPE_SZ.
16093
713df3d5
RM
160942010-07-05 Roland McGrath <roland@redhat.com>
16095
16096 * manual/arith.texi (Rounding Functions): Fix rint description
16097 implicit in round description.
16098
702e8f14
UD
160992010-07-02 Ulrich Drepper <drepper@redhat.com>
16100
16101 * elf/Makefile: Fix linking for a few tests to make recent linker
16102 happy.
16103
52ed8be9
AS
161042010-06-30 Andreas Schwab <schwab@redhat.com>
16105
16106 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
16107 $(common-objpfx)libc_nonshared.a.
16108
f47c9a11
LM
161092010-06-21 Luis Machado <luisgpm@br.ibm.com>
16110
16111 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
16112 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
16113 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
16114 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
16115 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
16116 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
16117 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
16118 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
16119 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
16120 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
16121 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
16122 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
16123 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
16124 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
16125 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
16126 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
16127 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
16128 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
16129 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
16130 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
16131 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
16132 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
16133 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
16134 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
16135 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
16136 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
16137 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
16138 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
16139 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
16140 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
16141 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
16142 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
16143 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
16144 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
16145 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
16146 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
16147 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
16148 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
16149 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
16150 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
16151 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
16152 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
16153 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
16154 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
16155 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
16156 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
16157 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
16158 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
16159
6fb8cbcb
L
161602010-06-25 H.J. Lu <hongjiu.lu@intel.com>
16161
16162 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
16163 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
16164 * string/memmove.c (memmove): Renamed to ...
16165 (MEMMOVE): ...this. Default to memmove.
16166 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
16167 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
16168 (END_CHK): Define.
16169 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
16170 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
16171 mempcpy-ssse3-back memmove-ssse3-back.
16172 * sysdeps/x86_64/multiarch/bcopy.S: New file .
16173 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
16174 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
16175 * sysdeps/x86_64/multiarch/memcpy.S: New file.
16176 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
16177 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
16178 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
16179 * sysdeps/x86_64/multiarch/memmove.c: New file.
16180 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
16181 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
16182 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
16183 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
16184 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
16185 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
16186 Define.
16187 (index_Fast_Copy_Backward): Define.
16188 (HAS_ARCH_FEATURE): Define.
16189 (HAS_FAST_REP_STRING): Define.
16190 (HAS_FAST_COPY_BACKWARD): Define.
16191
4e733bac 161922010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
16193
16194 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
16195 Restore proper fallback handling.
16196
63c4ed22
UD
161972010-06-19 Ulrich Drepper <drepper@redhat.com>
16198
ac2b484c
UD
16199 [BZ #11701]
16200 * posix/group_member.c (__group_member): Correct checking loop.
16201
63c4ed22
UD
16202 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
16203 OOM in getpwuid_r correctly. Return error number when the caller
16204 should return, otherwise -1.
16205 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
16206 call returning > 0 value.
16207 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
16208
765ade4b
AS
162092010-06-07 Andreas Schwab <schwab@redhat.com>
16210
16211 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
16212 libc_nonshared.a from targets in modules-names.
16213
80da2e09
KS
162142010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
16215
16216 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
16217 requires it.
16218
158db122
LM
162192010-06-10 Luis Machado <luisgpm@br.ibm.com>
16220
16221 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
16222 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
16223 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
16224 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
16225
caa78cf8
AS
162262010-06-02 Andreas Schwab <schwab@redhat.com>
16227
16228 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
16229
b2ef2c01
UD
162302010-06-14 Ulrich Drepper <drepper@redhat.com>
16231
16232 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
16233 and F_GETPIPE_SZ.
16234 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
16235 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
16236 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
16237 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
16238 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
16239 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
16240
fbd643b6
RM
162412010-06-14 Roland McGrath <roland@redhat.com>
16242
16243 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
16244
f32f2869
JJ
162452010-06-07 Jakub Jelinek <jakub@redhat.com>
16246
16247 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
16248 __REDIRECT followed by __THROW.
16249 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
16250 * posix/getopt.h (getopt): Likewise.
16251
2a50c078
EPM
162522010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
16253
16254 * hurd/lookup-at.c (__file_name_lookup_at): Accept
16255 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
16256 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
16257 in AT_FLAGS.
16258 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
16259 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
16260
eb5ad2eb
LM
162612010-05-28 Luis Machado <luisgpm@br.ibm.com>
16262
16263 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
16264
3c88fe1e
L
162652010-05-26 H.J. Lu <hongjiu.lu@intel.com>
16266
16267 [BZ #11640]
16268 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
16269 Properly check family and model.
16270
d2f73151
TY
162712010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
16272
16273 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
16274
ebd2e13d
LM
162752010-05-24 Luis Machado <luisgpm@br.ibm.com>
16276
16277 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
16278
b32b8b45
UD
162792010-05-21 Ulrich Drepper <drepper@redhat.com>
16280
16281 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
16282 symbol reference.
16283
9acbe24d
AS
162842010-05-19 Andreas Schwab <schwab@redhat.com>
16285
16286 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
16287 symbol reference.
16288
f0ccf6ea
AS
162892010-05-21 Andreas Schwab <schwab@redhat.com>
16290
3d04ff3a
AS
16291 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
16292 and internal_recvmmsg.
16293 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
16294 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
16295 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
16296 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
16297
f0ccf6ea
AS
16298 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
16299 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
16300 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
16301
5b08ac57
AS
163022010-05-20 Andreas Schwab <schwab@redhat.com>
16303
16304 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
16305
4828935d
LM
163062010-05-17 Luis Machado <luisgpm@br.ibm.com>
16307
16308 POWER7 optimizations.
16309 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
16310 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
16311
373d545e
UD
163122010-05-19 Ulrich Drepper <drepper@redhat.com>
16313
16314 * version.h: Update for 2.13 development version.
16315
21a2b1ae
AS
163162010-05-12 Andrew Stubbs <ams@codesourcery.com>
16317
16318 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
16319 exceptions. Return 0.
16320
3f7dcb2b
RM
163212010-05-07 Roland McGrath <roland@redhat.com>
16322
16323 * elf/ldconfig.c (main): Add a const.
16324
5f24d53a 163252010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 16326
a160f8d8
UD
16327 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
16328 (args_options): Add no-idn option.
16329 (ahosts_keys_int): Add idn_flags to ai_flags.
16330 (parse_option): Handle 'i' option to clear idn_flags.
16331
5f24d53a
UD
16332 * malloc/malloc.c (_int_free): Possible race in the most recently
16333 added check. Only act on the data if no current modification
16334 happened.
265bb1ce
UD
16335
16336See ChangeLog.17 for earlier changes.