]> git.ipfire.org Git - thirdparty/glibc.git/blame - ChangeLog
Move __mcount_internal from GLIBC_PRIVATE to GLIBC_2.16
[thirdparty/glibc.git] / ChangeLog
CommitLineData
173f7220
AS
12012-06-02 Andreas Schwab <schwab@linux-m68k.org>
2
3 [BZ #14042]
4 * sysdeps/powerpc/powerpc32/mcount.c: New file.
5 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
6 __mcount_internal.
7 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
8 (GLIBC_2.16): Likewise.
9
f34a1c6f
L
102012-06-01 H.J. Lu <hongjiu.lu@intel.com>
11
12 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
13
88a4576f
JM
142012-06-01 Joseph Myers <joseph@codesourcery.com>
15
ea32bcdd
JM
16 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
17 (default-abi): New variable.
18 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
19 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
20 variable.
21 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
22 Likewise.
23 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
24 Likewise.
25 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
26 Likewise.
27
88a4576f
JM
28 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
29 definition. Document in comment.
30
402fe938
DM
312012-06-01 David S. Miller <davem@davemloft.net>
32
33 * stdlib/longlong.h: Updated from GCC.
34
3553723f
L
352012-06-01 H.J. Lu <hongjiu.lu@intel.com>
36
37 [BZ #14117]
3bd872c4
L
38 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
39 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
40 sys/debugreg.h sys/io.h here.
41 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
42 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
43 sys/io.h.
44 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
45 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
46 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
47 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
48 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
49 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
50
3553723f
L
51 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
52 Define only if __x86_64__ is defined.
53
4842e4fe
JM
542012-06-01 Joseph Myers <joseph@codesourcery.com>
55
c5bfe3d5
JM
56 [BZ #14048]
57 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
58 Use int64_t for variable i.
59 * math/libm-test.inc (fmod_test): Add more tests.
60
4842e4fe
JM
61 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
62 z computation is not scheduled after fetestexcept.
63 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
64 Use math_force_eval instead of asm to ensure calculation scheduled
65 before exception test.
66 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
67 Ensure a1 + u.d computation is not scheduled after fetestexcept.
68
efb73488
AJ
692012-06-01 Aurelien Jarno <aurelien@aurel32.net>
70
71 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
72 computation is not scheduled after fetestexcept.
73
29bcce7c
L
742012-06-01 H.J. Lu <hongjiu.lu@intel.com>
75
76 [BZ #14117]
77 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
78 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
79
73a68f94
AZ
802012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
81
82 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
83 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
84
67b6df78
L
852012-05-31 H.J. Lu <hongjiu.lu@intel.com>
86
edf2933a 87 [BZ #14117]
ebc64a18
L
88 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
89 <bits/wordsize.h>.
90 (__WCHAR_MIN): Support __WORDSIZE == 64.
91 (__WCHAR_MAX): Likewise.
92
edf2933a
L
93 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
94 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
95
57c6cf40
L
96 [BZ #14183]
97 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
98 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
99
67b6df78 100 [BZ #14117]
8eb6281e
L
101 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
102 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
103
aac639f4
L
104 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
105 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
106
67b6df78
L
107 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
108 Defined to 1 if __x86_64__ isn't defined.
109 (_STAT_VER_LINUX_OLD): New.
110 (st_atime): Remove duplicate.
111 (st_mtime): Likewise.
112 (st_ctime): Likewise.
113
1c2cfe81
DM
1142012-05-31 David S. Miller <davem@davemloft.net>
115
116 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
117 entries.
118
5be8418c
AS
1192012-06-01 Andreas Schwab <schwab@linux-m68k.org>
120
e7725326
AS
121 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
122 gen-libm-test.pl.
123
5be8418c
AS
124 [BZ #14132]
125 * elf/dl-reloc.c: Include <_itoa.h>.
126 (_dl_reloc_bad_type): Remove use of INTUSE.
127 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
128 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
129 * stdio-common/psiginfo.c (psiginfo): Likewise.
130 * stdio-common/psignal.c (psignal): Likewise.
131 * string/strsignal.c (strsignal): Likewise.
132 * include/signal.h (_sys_siglist): Declare hidden proto.
133 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
134 INTVARDEF with libc_hidden_data_def.
135 * stdio-common/itoa-udigits.c: Likewise.
136 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
137 (_itoa_lower_digits_internal): Remove declaration.
138 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
139 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
140 (_sys_sigabbrev_internal): Remove aliases.
141 (_sys_siglist): Define hidden alias.
142
507352f1
MT
1432012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
144
145 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
146 bits/sysctl.h.
147
42bbb1c3
L
1482012-05-31 H.J. Lu <hongjiu.lu@intel.com>
149
150 [BZ #14117]
6bd784b6
L
151 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
152 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
153
8bca20f0
L
154 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
155 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
156 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
157 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
158 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
159 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
160
f9e890a9
L
161 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
162 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
163 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
164
471101a1
L
165 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
166 with __addr.
167 (insw): Likewise.
168 (insl): Likewise.
169 (outsb): Likewise.
170 (outsw): Likewise.
171 (outsl): Likewise.
172
6451c862
L
173 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
174 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
175 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
176
a254b8c9
L
177 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
178 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
179 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
180 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
181 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
182 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
183
b8dfdd92
L
184 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
185 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
186
578cd270
L
187 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
188 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
189
de662f5f
L
190 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
191 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
192 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
193
25653439
L
194 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
195 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
196 to ...
197 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
198
6bad24a0
L
199 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
200 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
201 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
202
42bbb1c3
L
203 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
204 for x86-64.
205 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
206
2d10d547
JM
2072012-05-31 Joseph Myers <joseph@codesourcery.com>
208
209 * math/math.h (M_El): Use two more decimal places.
210 (M_LOG2El): Likewise.
211 (M_LOG10El): Likewise.
212 (M_LN2l): Likewise.
213 (M_LN10l): Likewise.
214 (M_PIl): Likewise.
215 (M_PI_2l): Likewise.
216 (M_PI_4l): Likewise.
217 (M_1_PIl): Likewise.
218 (M_2_PIl): Likewise.
219 (M_2_SQRTPIl): Likewise.
220 (M_SQRT2l): Likewise.
221 (M_SQRT1_2l): Likewise.
222
f230c29b
DM
2232012-05-31 David S. Miller <davem@davemloft.net>
224
225 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
226 values between float registers.
227 * sysdeps/sparc/sparc64/memset.S: Likewise.
228 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
229
fed806c3
MF
2302012-05-31 Mike Frysinger <vapier@gentoo.org>
231
232 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
233 -D_FORTIFY_SOURCE=1.
234 (CPPFLAGS-tst-longjmp_chk.c): Define.
235 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
236 (CPPFLAGS-tst-longjmp_chk2.c): Define.
237 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
238 CFLAGS-tst-wchar-h.c.
239
30917259
MP
2402012-05-31 Marek Polacek <polacek@redhat.com>
241
242 [BZ #14132]
243 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
244 __endmntent_internal): Remove declaration.
245 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
246 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
247 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
248
1c58d5dc
DM
2492012-05-30 David S. Miller <davem@davemloft.net>
250
251 * sysdeps/sparc/sparc32/soft-fp/q_util.c
252 (___Q_simulate_exceptions): Use real FP ops rather than writing
253 into the %fsr.
254 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
255 Likewise.
256
7dc00e0d
L
2572012-05-30 H.J. Lu <hongjiu.lu@intel.com>
258
259 [BZ #14117]
0bd53985
L
260 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
261 * sysdeps/x86/bits/xtitypes.h: This.
262
3a257e66
L
263 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
264 * sysdeps/x86/bits/wordsize.h: This.
265
62f62904
L
266 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
267 * sysdeps/x86/bits/huge_vall.h: This.
268
404fe9d9
L
269 * sysdeps/i386/bits/select.h: Removed.
270 * sysdeps/x86_64/bits/select.h: Renamed to ...
271 * sysdeps/x86/bits/select.h: This.
272
d48d0446
L
273 * sysdeps/i386/bits/setjmp.h: Removed.
274 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
275 * sysdeps/x86/bits/setjmp.h: This.
276
7dc00e0d
L
277 * sysdeps/i386/bits/mathdef.h: Removed.
278 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
279 * sysdeps/x86/bits/mathdef.h: This.
280
03277f8f
AS
2812012-05-30 Andreas Schwab <schwab@linux-m68k.org>
282
283 [BZ #14132]
284 * include/sys/socket.h (__connect_internal)
285 (__libc_sa_len_internal): Remove declaration.
286 (__connect, __libc_sa_len): Declare hidden_proto.
287 (SA_LEN): Remove use of INTUSE.
288 * socket/connect.c: Add libc_hidden_def.
289 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
290 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
291 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
292 alias.
293 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
294 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
295 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
296 of adding _internal alias.
297
13764867
L
2982012-05-30 H.J. Lu <hongjiu.lu@intel.com>
299
300 [BZ #14117]
6bd97696
L
301 * sysdeps/i386/bits/link.h: Removed.
302 * sysdeps/i386/bits/linkmap.h: Likewise.
303 * sysdeps/x86_64/bits/link.h: Renamed to ...
304 * sysdeps/x86/bits/link.h: This.
305 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
306 * sysdeps/x86/bits/linkmap.h: This.
307
f726f0bb
L
308 * sysdeps/i386/bits/endian.h: Removed.
309 * sysdeps/x86_64/bits/endian.h: Renamed to ...
310 * sysdeps/x86/bits/endian.h: This.
311
13764867
L
312 * sysdeps/i386/bits/byteswap.h: Removed.
313 * sysdeps/i386/bits/byteswap-16.h: Likewise.
314 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
315 * sysdeps/x86/bits/byteswap.h: This.
316 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
317 * sysdeps/x86/bits/byteswap-16.h: This.
318 * sysdeps/i386/Implies: Add x86.
319 * sysdeps/x86_64/Implies: Likewise.
320
ae251b0b
DM
3212012-05-30 David S. Miller <davem@davemloft.net>
322
323 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
324 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
325 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
326 (FP_TRAPPING_EXCEPTIONS): Define.
327 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
328 (FP_TRAPPING_EXCEPTIONS): Define.
329 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
330 subnormals only when inexact has been signalled or underflow
331 exceptions are enabled.
332 (_FP_PACK_CANONICAL): Likewise.
333
d5c90867
L
3342012-05-30 H.J. Lu <hongjiu.lu@intel.com>
335
336 [BZ #14183]
337 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
338 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
339
63f1549e
RH
3402012-05-30 Richard Henderson <rth@twiddle.net>
341
8d8f2279
RH
342 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
343 with #ifndef NOT_IN_libc.
344
63f1549e
RH
345 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
346 marked to avoid plt entry.
347
0ab0291b
L
3482012-05-30 H.J. Lu <hongjiu.lu@intel.com>
349
350 [BZ #14112]
351 * Makeconfig (default-abi): New macro.
352 (abi-includes): Likewise.
353 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
354 $(abi-$(default-abi)-lib-soname) for soname if defined.
355 ($(common-objpfx)gnu/lib-names.stmp): Generate from
356 abi-variants.
357 * Makefile (installed-stubs): Likewise.
358 * include/stubs-biarch.h: Removed.
359 * scripts/lib-names.awk: Only handle one library at a time.
360 * scripts/soversions.awk: Remove WORDSIZE support.
361 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
362 entries.
363 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
364 Removed.
365 (syscall-list-default-condition): Likewise.
366 (syscall-list-default-condition): Likewise.
367 (syscall-list-includes): Likewise.
368 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
369 syscall-list-* with abi-*. Handle undefined abi-variants.
370 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
371 * sysdeps/unix/sysv/linux/i386/Implies: New file.
372 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
373 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
374 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
375 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
376 Removed.
377 (syscall-list-32-options): Likewise.
378 (syscall-list-32-condition): Likewise.
379 (syscall-list-64-options): Likewise.
380 (syscall-list-64-condition): Likewise.
381 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
382 macro.
383 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
384 Renamed to ...
385 (abi-*): This.
386 (abi-64-ld-soname): New macro.
387 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
388 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
389 Renamed to ...
390 (abi-*): This.
391 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
392 * sysdeps/x86_64/x32/shlib-versions: Likewise.
393
4da0431d
JM
3942012-05-30 Joseph Myers <joseph@codesourcery.com>
395
3a85279c
JM
396 * sysdeps/unix/sysv/linux/kernel-features.h
397 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
398 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
399 include <kernel-features.h>.
400 [!__NR_ftruncate64]: Remove conditional code.
401 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
402 [__NR_ftruncate64]: Make code unconditional.
403 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
404 * sysdeps/unix/sysv/linux/truncate64.c: Do not
405 include <kernel-features.h>.
406 [!__NR_ftruncate64]: Remove conditional code.
407 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
408 [__NR_ftruncate64]: Make code unconditional.
409 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
410 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
411 include <kernel-features.h>.
412 [!__NR_ftruncate64]: Remove conditional code.
413 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
414 [__NR_ftruncate64]: Make code unconditional.
415 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
416 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
417 include <kernel-features.h>.
418 [!__NR_ftruncate64]: Remove conditional code.
419 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
420 [__NR_ftruncate64]: Make code unconditional.
421 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
422
4da0431d
JM
423 * configure.in (libc_cv_fpie): Weaken to a compile test using
424 LIBC_TRY_CC_OPTION.
425 * configure: Regenerated.
426
11ef492c
AK
4272012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
428
429 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
430 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
431 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
432 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
433 Refreshed.
434 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
435 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
436 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
437 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
438 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
439 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
440 Refreshed.
441
d66ef399
DM
4422012-05-27 David S. Miller <davem@davemloft.net>
443
444 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
445 (___Q_zero): New.
446 (__Q_simulate_exceptions): Return void. Change to simulate
447 exceptions by writing into the %fsr.
448 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
449 (__Qp_handle_exceptions): Likewise.
450 (numbers): Delete.
451 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
452 __Qp_handle_exceptions.
453 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
454 __Qp_handle_exceptions.
455 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
456 as unused and give dummy FP_RND_NEAREST initializer.
457 (FP_INHIBIT_RESULTS): Define.
458 (___Q_simulate_exceptions): Update declaration.
459 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
460 formatting.
461 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
462 as unused and give dummy FP_RND_NEAREST initializer.
463 (__Qp_handle_exceptions): Update declaration.
464 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
465 formatting.
466
04fb54b5
TS
4672012-05-27 Thomas Schwinge <thomas@codesourcery.com>
468
469 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
470 the temporary FPU control word.
471 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
472 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
473 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
474 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
475 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
476 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
477 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
478 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
479 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
480 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
481 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
482
3f99608f
KK
4832012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
484
485 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
486 fields.
487
65a4de4e
CLT
4882012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
489
490 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
491 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
492 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
493 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
494 Likewise.
495 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
496 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
497 Likewise.
498
15749d40
UD
4992012-05-27 Ulrich Drepper <drepper@gmail.com>
500
501 * po/h.po: Update from translation team.
502
25dbcb27
AS
5032012-05-26 Andreas Schwab <schwab@linux-m68k.org>
504
3d3f8e55
AS
505 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
506
25dbcb27
AS
507 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
508 handling of denormals.
509 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
510 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
511 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
512 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
513 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
514 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
515 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
516 Likewise.
517
7ad47a80 5182012-05-26 Marek Polacek <polacek@redhat.com>
d81dcb35
MP
519
520 [BZ #14152]
521 * math/libm-test.inc (fma_test): Don't always expect underflow
522 exception.
523
9c6ea9fa
SP
5242012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
525
526 [BZ #12416]
527 * elf/tst-execstack.c: Include stackinfo.h.
528 (do_test): Adjust test case to ensure that pthread_getattr_np
529 behaviour remains the same after marking stack executable.
530
a8239222
JM
5312012-05-25 Joseph Myers <joseph@codesourcery.com>
532
533 * sysdeps/unix/sysv/linux/kernel-features.h
534 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
535 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
536 kernel-features.h.
537 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
538 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
539 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
540 kernel-features.h.
541 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
542 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
543
918b5606
L
5442012-05-25 H.J. Lu <hongjiu.lu@intel.com>
545
546 * configure.in: Define the default includes to being none.
547 * configure: Regenerated.
548
3a097cc7
RM
5492012-05-25 Roland McGrath <roland@hack.frob.com>
550
8422c9a5
RM
551 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
552 * sysdeps/x86_64/setjmp.S: Likewise.
553 * sysdeps/i386/bsd-setjmp.S: Likewise.
554 * sysdeps/i386/bsd-_setjmp.S: Likewise.
555 * sysdeps/i386/setjmp.S: Likewise.
556 * sysdeps/i386/__longjmp.S: Likewise.
557 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
558 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
559
3a097cc7
RM
560 * include/stap-probe.h: New file.
561 * configure.in: Handle --enable-systemtap.
562 * configure: Regenerated.
563 * config.h.in (USE_STAP_PROBE): New #undef.
564 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
565 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
566 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
567
21708942
JM
5682012-05-25 Joseph Myers <joseph@codesourcery.com>
569
570 [BZ #13717]
571 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
572 to 2.4.0 where earlier.
573 * sysdeps/unix/sysv/linux/configure: Regenerated.
574 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
575 <kernel-features.h>.
576 [__ASSUME_32BITUIDS]: Make code unconditional.
577 [!__ASSUME_32BITUIDS]: Remove conditional code.
578 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
579 <kernel-features.h>.
580 [__ASSUME_32BITUIDS]: Make code unconditional.
581 [!__ASSUME_32BITUIDS]: Remove conditional code.
582 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
583 [__ASSUME_32BITUIDS]: Make code unconditional.
584 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
585 * sysdeps/unix/sysv/linux/i386/getegid.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/geteuid.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/getgid.c: Do not include
594 <kernel-features.h>.
595 [__ASSUME_32BITUIDS]: Make code unconditional.
596 [!__ASSUME_32BITUIDS]: Remove conditional code.
597 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
598 <kernel-features.h>.
599 [__ASSUME_32BITUIDS]: Make code unconditional.
600 [!__ASSUME_32BITUIDS]: Remove conditional code.
601 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
602 <kernel-features.h>.
603 [__ASSUME_32BITUIDS]: Make code unconditional.
604 [!__ASSUME_32BITUIDS]: Remove conditional code.
605 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
606 <kernel-features.h>.
607 [__ASSUME_32BITUIDS]: Make code unconditional.
608 [!__ASSUME_32BITUIDS]: Remove conditional code.
609 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
610 <kernel-features.h>.
611 [__ASSUME_32BITUIDS]: Make code unconditional.
612 [!__ASSUME_32BITUIDS]: Remove conditional code.
613 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
614 <kernel-features.h>.
615 [__ASSUME_32BITUIDS]: Make code unconditional.
616 [!__ASSUME_32BITUIDS]: Remove conditional code.
617 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
618 <kernel-features.h>.
619 [__ASSUME_32BITUIDS]: Make code unconditional.
620 [!__ASSUME_32BITUIDS]: Remove conditional code.
621 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
622 <kernel-features.h>.
623 [__ASSUME_32BITUIDS]: Make code unconditional.
624 [!__ASSUME_32BITUIDS]: Remove conditional code.
625 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
626 <kernel-features.h>.
627 [__NR_setresgid] (__setresgid): Do not declare.
628 [__ASSUME_32BITUIDS]: Make code unconditional.
629 [!__ASSUME_32BITUIDS]: Remove conditional code.
630 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
631 <kernel-features.h>.
632 [__NR_setresuid] (__setresuid): Do not declare.
633 [__ASSUME_32BITUIDS]: Make code unconditional.
634 [!__ASSUME_32BITUIDS]: Remove conditional code.
635 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
636 <kernel-features.h>.
637 [__ASSUME_32BITUIDS]: Make code unconditional.
638 [!__ASSUME_32BITUIDS]: Remove conditional code.
639 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
640 <kernel-features.h>.
641 [__ASSUME_32BITUIDS]: Make code unconditional.
642 [!__ASSUME_32BITUIDS]: Remove conditional code.
643 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
644 <kernel-features.h>.
645 [__ASSUME_32BITUIDS]: Make code unconditional.
646 [!__ASSUME_32BITUIDS]: Remove conditional code.
647 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
648 <kernel-features.h>.
649 [__ASSUME_32BITUIDS]: Make code unconditional.
650 [!__ASSUME_32BITUIDS]: Remove conditional code.
651 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
652 <kernel-features.h>.
653 [__ASSUME_32BITUIDS]: Make code unconditional.
654 [!__ASSUME_32BITUIDS]: Remove conditional code.
655 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
656 <kernel-features.h>.
657 [__ASSUME_32BITUIDS]: Make code unconditional.
658 [!__ASSUME_32BITUIDS]: Remove conditional code.
659 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
660 <kernel-features.h>.
661 [__ASSUME_32BITUIDS]: Make code unconditional.
662 [!__ASSUME_32BITUIDS]: Remove conditional code.
663 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
664 <kernel-features.h>.
665 [__ASSUME_32BITUIDS]: Make code unconditional.
666 [!__ASSUME_32BITUIDS]: Remove conditional code.
667 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
668 <kernel-features.h>.
669 [__ASSUME_32BITUIDS]: Make code unconditional.
670 [!__ASSUME_32BITUIDS]: Remove conditional code.
671 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
672 <kernel-features.h>.
673 [__ASSUME_32BITUIDS]: Make code unconditional.
674 [!__ASSUME_32BITUIDS]: Remove conditional code.
675 * sysdeps/unix/sysv/linux/kernel-features.h
676 (__ASSUME_SETRESUID_SYSCALL): Remove.
677 (__ASSUME_SETRESGID_SYSCALL): Likewise.
678 (__ASSUME_32BITUIDS): Likewise.
679 (__ASSUME_LDT_WORKS): Likewise.
680 (__ASSUME_O_DIRECTORY): Likewise.
681 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
682 architecture but not kernel version.
683 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
684 (__ASSUME_MMAP2_SYSCALL): Likewise.
685 (__ASSUME_STAT64_SYSCALL): Likewise.
686 (__ASSUME_IPC64): Likewise.
687 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
688 <kernel-features.h>.
689 [__ASSUME_32BITUIDS]: Make code unconditional.
690 [!__ASSUME_32BITUIDS]: Remove conditional code.
691 * sysdeps/unix/sysv/linux/opendir.c: Do not include
692 <kernel-features.h>.
693 [__ASSUME_O_DIRECTORY]: Make code unconditional.
694 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
695 132096]: Remove conditional code.
696 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
697 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
698 <kernel-features.h>.
699 [__ASSUME_32BITUIDS]: Make code unconditional.
700 [!__ASSUME_32BITUIDS]: Remove conditional code.
701 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
702 <kernel-features.h>.
703 [__ASSUME_32BITUIDS]: Make code unconditional.
704 [!__ASSUME_32BITUIDS]: Remove conditional code.
705 * sysdeps/unix/sysv/linux/setegid.c: Do not include
706 <kernel-features.h>.
707 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
708 unconditional.
709 (__setresgid): Do not declare.
710 [__ASSUME_32BITUIDS]: Make code unconditional.
711 [!__ASSUME_32BITUIDS]: Remove conditional code.
712 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
713 <kernel-features.h>.
714 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
715 unconditional.
716 (__setresuid): Do not declare.
717 [__ASSUME_32BITUIDS]: Make code unconditional.
718 [!__ASSUME_32BITUIDS]: Remove conditional code.
719 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
720 <kernel-features.h>.
721 [__ASSUME_32BITUIDS]: Make code unconditional.
722 [!__ASSUME_32BITUIDS]: Remove conditional code.
723 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
724 <kernel-features.h>.
725 [__ASSUME_32BITUIDS]: Make code unconditional.
726 [!__ASSUME_32BITUIDS]: Remove conditional code.
727
a386f1cc
RH
7282012-05-25 Richard Henderson <rth@twiddle.net>
729
730 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
731 dl_hwcap to ifunc resolver.
732 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
733 elf_ifunc_invoke.
734 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
735 dl_hwcap to ifunc resolver.
736 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
737
b6550497
JM
7382012-05-24 Joseph Myers <joseph@codesourcery.com>
739
740 [BZ #14153]
741 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
742 for |x| <= 2**-26, not 2**-57.
743 * math/libm-test.inc (acos_test): Do not allow spurious underflow
744 exception.
745
b0bc23a1
JL
7462012-05-24 Jeff Law <law@redhat.com>
747
748 * stdio-common/Makefile (tests): Add bug25.
749 * stdio-common/bug25.c: New test.
750
347c92e9
L
7512012-05-24 H.J. Lu <hongjiu.lu@intel.com>
752
753 [BZ #13576]
754 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
755 multiple of MALLOC_ALIGNMENT in size.
756 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
757
6bcc8b3f
JM
7582012-05-24 Joseph Myers <joseph@codesourcery.com>
759
760 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
761 Require >= 256.
762 (FILENAME_MAX): Use macro-int-constant.
763 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
764 (_IOFBF): Use macro-int-constant.
765 (_IOLBF): Likewise.
766 (_IONBF): Likewise.
767 (SEEK_CUR): Likewise.
768 (SEEK_END): Likewise.
769 (SEEK_SET): Likewise.
770 (TMP_MAX): Likewise.
771 (EOF): Use macro-int-constant. Require < 0.
772 (NULL): Use macro-constant. Require == 0.
773 (stdin): Require type to be FILE *.
774 (stdout): Likewise.
775 (stderr): Likewise.
776 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
777 macro-int-constant.
778 (EXIT_SUCCESS): Likewise.
779 (NULL): Use macro-constant. Require == 0.
780 (RAND_MAX): Use macro-int-constant.
781 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
782 [C99-based standards] (strtof): Require function.
783 [C99-based standards] (strtold): Likewise.
784 [C99-based standards] (strtoll): Likewise.
785 [C99-based standards] (strtoull): Likewise.
786 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
787 [ISO || ISO99 || ISO11] (limits.h): Likewise.
788 [ISO || ISO99 || ISO11] (math.h): Likewise.
789 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
790 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
791 [ISO || ISO99 || ISO11] (*_t): Do not allow.
792
d18ea0c5
AS
7932012-05-24 Andreas Schwab <schwab@linux-m68k.org>
794
795 [BZ #14132]
56d25bb8
AS
796 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
797 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
798 * intl/dgettext.c (DCGETTEXT): Likewise.
799 * intl/gettext.c (DCGETTEXT): Likewise.
800 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
801 * posix/regex_internal.h (gettext): Likewise.
802 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
803 Remove declaration.
804 * include/argz.h (__argz_count_internal)
805 (__argz_stringify_internal): Remove declaration.
806 (__argz_count, __argz_stringify): Declare hidden proto.
807 * intl/dcgettext.c: Remove use of INTDEF.
808 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
809 * string/argz-stringify.c: Likewise.
810 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
811 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
812 Declare hidden proto.
d18ea0c5
AS
813 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
814 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
815 Declare hidden proto.
816 * include/stdio.h (__asprintf_internal): Don't declare.
817 (__asprintf): Don't define as macro. Declare hidden proto.
818 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
819 (__fsetlocking): Declare hidden proto.
820 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
821 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
822 hidden proto.
823 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
824 (_IO_setlinebuf): Remove use of INTUSE.
825 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
826 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
827 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
828 Remove declaration.
829 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
830 (_IO_do_flush): Remove use of INTUSE.
831 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
832 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
833 (_IO_adjust_column, _IO_least_wmarker)
834 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
835 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
836 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
837 (_IO_default_doallocate, _IO_wdefault_doallocate)
838 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
839 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
840 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
841 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
842 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
843 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
844 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
845 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
846 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
847 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
848 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
849 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
850 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
851 proto.
852 (_IO_flush_all_internal, _IO_adjust_column_internal)
853 (_IO_default_uflow_internal, _IO_default_finish_internal)
854 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
855 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
856 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
857 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
858 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
859 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
860 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
861 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
862 (_IO_file_close_internal, _IO_file_close_it_internal)
863 (_IO_file_underflow_internal, _IO_file_overflow_internal)
864 (_IO_file_init_internal, _IO_file_attach_internal)
865 (_IO_file_fopen_internal, _IO_file_read_internal)
866 (_IO_file_sync_internal, _IO_file_seek_internal)
867 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
868 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
869 (_IO_str_underflow_internal, _IO_str_overflow_internal)
870 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
871 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
872 (_IO_list_all_internal, _IO_link_in_internal)
873 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
874 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
875 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
876 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
877 (_IO_do_write_internal, _IO_padn_internal)
878 (_IO_getline_info_internal, _IO_getline_internal)
879 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
880 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
881 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
882 (_IO_vfscanf_internal, _IO_vfprintf_internal)
883 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
884 (_IO_init_internal, _IO_un_link_internal): Don't declare.
885 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
886 with libc_hidden_ver, remove use of INTUSE.
887 * libio/genops.c: Likewise.
888 * libio/freopen.c: Likewise.
889 * libio/freopen64.c: Likewise.
890 * libio/iofclose.c: Likewise.
891 * libio/iofdopen.c: Likewise.
892 * libio/iofflush.c: Likewise.
893 * libio/iofflush_u.c: Likewise.
894 * libio/iofgets.c: Likewise.
895 * libio/iofgets_u.c: Likewise.
896 * libio/iofopen.c: Likewise.
897 * libio/iofopncook.c: Likewise.
898 * libio/iofread.c: Likewise.
899 * libio/iofread_u.c: Likewise.
900 * libio/ioftell.c: Likewise.
901 * libio/iofwrite.c: Likewise.
902 * libio/iogetline.c: Likewise.
903 * libio/iogets.c: Likewise.
904 * libio/iogetwline.c: Likewise.
905 * libio/iopadn.c: Likewise.
906 * libio/iopopen.c: Likewise.
907 * libio/ioseekoff.c: Likewise.
908 * libio/ioseekpos.c: Likewise.
909 * libio/iosetbuffer.c: Likewise.
910 * libio/iosetvbuf.c: Likewise.
911 * libio/ioungetc.c: Likewise.
912 * libio/ioungetwc.c: Likewise.
913 * libio/iovdprintf.c: Likewise.
914 * libio/iovsprintf.c: Likewise.
915 * libio/iovsscanf.c: Likewise.
916 * libio/memstream.c: Likewise.
917 * libio/obprintf.c: Likewise.
918 * libio/oldfileops.c: Likewise.
919 * libio/oldiofclose.c: Likewise.
920 * libio/oldiofdopen.c: Likewise.
921 * libio/oldiofopen.c: Likewise.
922 * libio/oldiopopen.c: Likewise.
923 * libio/oldstdfiles.c: Likewise.
924 * libio/putc.c: Likewise.
925 * libio/setbuf.c: Likewise.
926 * libio/setlinebuf.c: Likewise.
927 * libio/stdfiles.c: Likewise.
928 * libio/strops.c: Likewise.
929 * libio/vasprintf.c: Likewise.
930 * libio/vscanf.c: Likewise.
931 * libio/vsnprintf.c: Likewise.
932 * libio/vswprintf.c: Likewise.
933 * libio/wfiledoalloc.c: Likewise.
934 * libio/wfileops.c: Likewise.
935 * libio/wgenops.c: Likewise.
936 * libio/wmemstream.c: Likewise.
937 * libio/wstrops.c: Likewise.
938 * libio/__fpurge.c: Likewise.
939 * libio/__fsetlocking.c: Likewise.
940 * assert/assert.c: Likewise.
941 * debug/fgets_chk.c: Likewise.
942 * debug/fgets_u_chk.c: Likewise.
943 * debug/fread_chk.c: Likewise.
944 * debug/fread_u_chk.c: Likewise.
945 * debug/gets_chk.c: Likewise.
946 * debug/obprintf_chk.c: Likewise.
947 * debug/vasprintf_chk.c: Likewise.
948 * debug/vdprintf_chk.c: Likewise.
949 * debug/vsnprintf_chk.c: Likewise.
950 * debug/vsprintf_chk.c: Likewise.
951 * malloc/mtrace.c: Likewise.
952 * misc/error.c: Likewise.
953 * misc/syslog.c: Likewise.
954 * stdio-common/asprintf.c: Likewise.
955 * stdio-common/fxprintf.c: Likewise.
956 * stdio-common/getw.c: Likewise.
957 * stdio-common/isoc99_fscanf.c: Likewise.
958 * stdio-common/isoc99_scanf.c: Likewise.
959 * stdio-common/isoc99_vfscanf.c: Likewise.
960 * stdio-common/isoc99_vscanf.c: Likewise.
961 * stdio-common/isoc99_vsscanf.c: Likewise.
962 * stdio-common/printf-prs.c: Likewise.
963 * stdio-common/printf_fp.c: Likewise.
964 * stdio-common/printf_fphex.c: Likewise.
965 * stdio-common/printf_size.c: Likewise.
966 * stdio-common/putw.c: Likewise.
967 * stdio-common/scanf.c: Likewise.
968 * stdio-common/sprintf.c: Likewise.
969 * stdio-common/tmpfile.c: Likewise.
970 * stdio-common/vfprintf.c: Likewise.
971 * stdio-common/vfscanf.c: Likewise.
972 * stdlib/strfmon_l.c: Likewise.
973 * sunrpc/openchild.c: Likewise.
974 * sunrpc/xdr_stdio.c: Likewise.
975 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
976 * sysdeps/mach/hurd/tmpfile.c: Likewise.
977
d6c33fda
RM
9782012-05-24 Roland McGrath <roland@hack.frob.com>
979
c1487492
RM
980 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
981
982 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
983 in the third column, to generate for the shared library an IFUNC
984 that uses _dl_vdso_vsym.
985 * Makerules (COMPILE.c, compile-stdin.c): New variables.
986 * Makeconfig (object-suffixes-noshared): New variable.
987
988 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
989 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
990 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
991 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
992
d6c33fda
RM
993 [BZ #14132]
994 * include/sys/time.h (__gettimeofday): Remove macro.
995 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
996 * time/gettimeofday.c (__gettimeofday): Remove #undef.
997 Remove INTDEF.
998 (__gettimeofday): Add libc_hidden_def.
999 (gettimeofday): Add libc_hidden_weak.
1000 * sysdeps/mach/gettimeofday.c: Likewise.
1001 * sysdeps/posix/gettimeofday.c: Likewise.
1002 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
1003 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
1004 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
1005 (__gettimeofday_internal): Remove strong_alias.
1006 (__gettimeofday): Add libc_hidden_def.
1007 (gettimeofday): Add libc_hidden_weak.
1008 * sysdeps/unix/syscalls.list (gettimeofday):
1009 Remove __gettimeofday_internal alias.
1010
b5a2bbe6
L
10112012-05-24 Daniel Jacobowitz <drow@false.org>
1012 H.J. Lu <hongjiu.lu@intel.com>
1013
1014 [BZ #12495]
1015 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
1016 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
1017 (largebin_index_32_big): New.
1018 (largebin_index): Use it for 16-byte alignment.
1019 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
1020 correction with front_misalign.
1021
cfba4fda
L
10222012-05-24 H.J. Lu <hongjiu.lu@intel.com>
1023
7f907421
L
1024 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
1025 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
1026 Likewise.
1027 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
1028 Likewise.
1029 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
1030 Likewise.
1031 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
1032 Likewise.
1033 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
1034 Likewise.
1035 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
1036 Likewise.
1037 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
1038 Likewise.
1039 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
1040 Likewise.
1041 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
1042 Likewise.
1043 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
1044 Likewise.
1045 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
1046 Likewise.
1047 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
1048 Likewise.
1049
cfba4fda
L
1050 * scripts/data/c++-types-x32-linux-gnu.data: New file.
1051 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
1052
80bad0cc
JM
10532012-05-24 Joseph Myers <joseph@codesourcery.com>
1054
7a25eb06
JM
1055 [BZ #10846]
1056 [BZ #14036]
1057 * math/libm-test.inc (exp_test): Add test from bug 14036.
1058 (pow_test): Add test from bug 10846.
1059
795405f9
JM
1060 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
1061 and other flags.
1062 (special_function): Do not include flags in test name.
1063 (parse_args): Likewise.
1064 * sysdeps/i386/fpu/libm-test-ulps: Update.
1065 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
1066 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
1067 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
1068 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1069
80bad0cc
JM
1070 * math/gen-libm-test.pl (%beautify): Add entries for underflow
1071 exceptions.
1072 * math/libm-test.inc ("Philosophy"): Update comment about
1073 exception testing.
1074 (UNDERFLOW_EXCEPTION): New macro.
1075 (UNDERFLOW_EXCEPTION_OK): Likewise.
1076 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
1077 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
1078 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
1079 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
1080 (INVALID_EXCEPTION_OK): Update value.
1081 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
1082 (OVERFLOW_EXCEPTION_OK): Likewise.
1083 (IGNORE_ZERO_INF_SIGN): Likewise.
1084 (test_exceptions): Handle underflow exceptions.
1085 (acos_test): Update for underflow exception expectations.
1086 (cexp_test): Likewise.
1087 (clog_test): Likewise.
1088 (clog10_test): Likewise.
1089 (csqrt_test): Likewise.
1090 (ctan_test): Likewise.
1091 (ctanh_test): Likewise.
1092 (exp_test): Likewise.
1093 (exp10_test): Likewise.
1094 (exp2_test): Likewise.
1095 (expm1_test): Likewise.
1096 (fma_test): Likewise.
1097 (j0_test): Likewise.
1098 (jn_test): Likewise.
1099 (nexttoward_test): Likewise.
1100 (pow_test): Likewise.
1101 (scalbn_test): Likewise.
1102 (scalbln_test): Likewise.
1103 (tan_test): Likewise.
1104 (y1_test): Likewise.
1105 * sysdeps/i386/fpu/libm-test-ulps: Update.
1106 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1107
9e0e3d0b
DM
11082012-05-23 David S. Miller <davem@davemloft.net>
1109
1110 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
1111 (__libc_sigaction): Remove unused local variables.
1112
ccd0a08f
L
11132012-05-23 H.J. Lu <hongjiu.lu@intel.com>
1114
1115 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
1116
62bdf9a6
PE
11172012-05-23 Paul Eggert <eggert@cs.ucla.edu>
1118
f8591f80
PE
1119 mktime: avoid signed integer overflow
1120 * time/mktime.c (__mktime_internal): Do not mishandle the case
1121 where diff == INT_MIN.
1122
94c7d826
PE
1123 mktime: simplify computation of average
1124 * time/mktime.c (ranged_convert): Use new time_t_avg function
1125 instead of rolling our own (probably-slower) code.
1126
ce73d683
PE
1127 mktime: do not assume signed right shift propagates sign bit
1128 * time/mktime.c (isdst_differ): New static function.
1129 (__mktime_internal): No need to normalize tm_isdst now.
1130 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
1131 tm_isdst values.
1132
72a22e59
PE
1133 mktime: merge another wrapv change from gnulib
1134 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
1135 from some compilers.
1136
68605433
PE
1137 mktime: remove incorrect attempt at unusual arithmetics
1138 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
1139 The code didn't really work on such machines anyway.
1140 (TYPE_MINIMUM): Assume two's complement.
1141 (twos_complement_arithmetic): Verify that long_int and time_t
1142 are two's complement (or unsigned, in the latter case).
1143
03cf7fe3
PE
1144 mktime: check signed shifts on long_int and time_t, too
1145 * time/mktime.c (SHR): Check that shifts work as desired
1146 on the types long_int and time_t too, as SHR is used on
1147 such types.
1148
f04dfbc2
PE
1149 mktime: do not assume 'long' is wide enough
1150 * time/mktime.c (verify): Move decl up.
1151 (long_int): New type.
1152 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
1153 to remove assumption in the code that 'long' is wide enough to
1154 store year values. This assumption is not true on x32 and on
1155 some non-glibc platforms.
1156
62bdf9a6
PE
1157 mktime: merge wrapv change from gnulib
1158 * time/mktime.c (WRAPV): New macro.
1159 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
1160 (guess_time_tm, __mktime_internal): Do not assume that signed
1161 integer overflow wraps around; modern compilers generate code
1162 where this assumption is no longer valid.
1163
5e292e4f
L
11642012-05-23 H.J. Lu <hongjiu.lu@intel.com>
1165
1166 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
1167 Replace "jmp L(pseudo_end)" with "ret".
1168 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
1169 Likewise.
1170
8caf8c87
AJ
11712012-05-23 Andreas Jaeger <aj@suse.de>
1172
1173 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
1174 * sysdeps/unix/sysv/linux/poll.c: Remove file.
1175
1a09dc56
AJ
11762012-05-23 Andreas Jaeger <aj@suse.de>
1177 Maximilian Attems <max@stro.at>
1178
1179 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
1180 New macros.
1181
1c87aba0
L
11822012-05-23 H.J. Lu <hongjiu.lu@intel.com>
1183
1184 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
1185 code so that pseudo_end is just ret and the stack pointer is
1186 correct also for static library in error case.
1187
40e45bd5
JM
11882012-05-23 Joseph Myers <joseph@codesourcery.com>
1189
c2670533
JM
1190 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
1191 move to syscalls.list.
1192 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
1193 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
1194 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
1195 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
1196
40e45bd5
JM
1197 * manual/install.texi (Running make install): Do not mention Linux
1198 kernel version for which pt_chown is not needed.
1199 (Linux): Do not mention problems with nscd with 2.0 kernels.
1200 * INSTALL: Regenerated.
1201
be08eda5
AJ
12022012-05-23 Andreas Jaeger <aj@suse.de>
1203
1204 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
1205 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
1206 macro.
1207 * sysdeps/unix/sysv/linux/s390/bits/mman.h
1208 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
1209 * sysdeps/unix/sysv/linux/sh/bits/mman.h
1210 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
1211 * sysdeps/unix/sysv/linux/i386/bits/mman.h
1212 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
1213 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
1214 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
1215 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
1216 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
1217 * sysdeps/unix/sysv/linux/bits/in.h
1218 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
1219
a6a056bb
RM
12202012-05-22 Roland McGrath <roland@hack.frob.com>
1221
1222 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
1223 (PREPARE_VERSION): Just use assert instead, it will be elided
1224 under [NDEBUG] anyway.
1225
c9009328
L
12262012-05-22 H.J. Lu <hongjiu.lu@intel.com>
1227
1228 * sysdeps/unix/sysv/linux/Makefile: Include
1229 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
cb191f23 1230 (sysdep_routines): Remove sysctl.
c9009328
L
1231 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
1232 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
1233 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
1234 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
1235 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
1236
73338355
AJ
12372012-05-22 Andreas Jaeger <aj@suse.de>
1238
1239 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
1240 that pseudo_end is just ret and the stack pointer is correct also
1241 for static library in error case.
1242
d44638b0
PP
12432012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
1244
1245 [BZ #14122]
1246 * nss/nsswitch.c (defconfig_entries): New variable.
1247 (__nss_database_lookup): Don't leak defconfig entries.
1248 (nss_parse_service_list): Don't leak on error paths.
1249 (free_database_entries): New function.
1250 (free_defconfig): New function.
1251 (free_mem): Move common code to free_database_entries.
1252
31a39bd8
L
12532012-05-22 H.J. Lu <hongjiu.lu@intel.com>
1254
da0331a8
L
1255 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
1256 Add arch_prctl.
1257 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
1258
31a39bd8
L
1259 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
1260 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
1261 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
1262 New macro.
1263 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
1264 (INTERNAL_SYSCALL_TYPES): Likewise.
1265 (LOAD_ARGS_TYPES_[1-6]): Likewise.
1266 (LOAD_REGS_TYPES_[1-6]): Likewise.
1267 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
1268 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
1269
45470df3
AZ
12702012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1271
1272 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
1273 copysignl for GLIBC_2_0.
1274 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
1275 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
1276 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
1277 logbl for GLIBC_2_0.
1278 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
1279 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
1280
98a61bcb
L
12812012-05-22 H.J. Lu <hongjiu.lu@intel.com>
1282
a4f6e481
L
1283 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
1284 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
1285
f63d5db6
L
1286 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
1287 Use "neg %eax".
1288
98a61bcb
L
1289 * time/mktime.c: Update copyright years.
1290
95770f14
PE
12912012-05-22 Paul Eggert <eggert@cs.ucla.edu>
1292
6226efbd
PE
1293 mktime: merge comment-quoting-style change from gnulib
1294 * time/mktime.c: Quote 'like this' in comments.
1295 The GNU coding standards suggest that we no longer quote `like this',
1296 as "`" and "'" are typically rendered asymmetrically nowadays.
1297 The typical gnulib style is to quote 'like this' when quoting
1298 code, and "like this" when quoting English.
1299
b99e4f78
PE
1300 * time/mktime.c (compile-command): Add "-I.".
1301
643e01e6
PE
1302 mktime: merge mktime-internal.h change from gnulib
1303 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
1304
2554247d
PE
1305 mktime: merge time_r change from gnulib
1306 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
1307
826dd0ab
PE
1308 mktime: merge DEBUG change from gnulib
1309 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
1310 case system <time.h> has a #define.
1311
bd83aabe
PE
1312 mktime: merge <sys/types.h> change from gnulib
1313 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
1314 since <time.t> is now guaranteed to define time_t.
1315
95770f14
PE
1316 mktime: merge HAVE_CONFIG_H change from gnulib
1317 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
1318
5e1a27a9
L
13192012-05-22 H.J. Lu <hongjiu.lu@intel.com>
1320
0e44a77e
L
1321 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
1322 Use "neg %eax".
1323
5e1a27a9
L
1324 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
1325 __rlim_t cast.
1326 (struct rusage): Use anonymous union to pad each field to
1327 __syscall_slong_t.
1328
46259bec
DM
13292012-05-21 David S. Miller <davem@davemloft.net>
1330
1331 * Makefules (o-iterator): Remove .s cases.
1332 (compile-command.s): Delete.
1333 (COMPILE.s): Delete.
1334 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
1335
59f0c22e
JM
13362012-05-21 Joseph Myers <joseph@codesourcery.com>
1337
1338 * configure.in (libc_cv_predef_stack_protector): Only consider
1339 "foobar" and "__stack_chk_fail" lines in libc_undefs.
1340 * configure: Regenerated.
1341
20c07380
L
13422012-05-21 H.J. Lu <hongjiu.lu@intel.com>
1343
bbb3154b
L
1344 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
1345 New macro. Use R*LP on int and pointer.
1346 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
c5b3a2c0
L
1347 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
1348 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
bbb3154b
L
1349 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
1350
20c07380
L
1351 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
1352 [__WORDSIZE_TIME64_COMPAT32] instead of
1353 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
1354 (struct utmp): Likewise.
1355 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
1356 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
1357 Renamed to ...
1358 (__WORDSIZE_TIME64_COMPAT32): This.
1359 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
1360 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
1361 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
1362 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
1363 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
1364 (__WORDSIZE_TIME64_COMPAT32): New macro.
1365
d8d1017e
AJ
13662012-05-21 Andreas Jaeger <aj@suse.de>
1367
1368 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
1369 only if [SHARED]. Add prototype for __wcschr_ia32.
1370
6c7fb145
RM
13712012-05-21 Roland McGrath <roland@hack.frob.com>
1372
1373 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
1374 of %rbp unmolested in the jmp_buf while mangling the low bits.
1375 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
1376 unmolested high bits of %rbp while demangling the low bits.
1377 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
1378
66274218
AJ
13792012-05-21 Andreas Jaeger <aj@suse.de>
1380
07c58f8f
AJ
1381 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
1382 * sunrpc/svc_simple.c: Use it for registerrpc.
1383 * sunrpc/xcrypt.c: Use it for passwd2des.
1384
66274218
AJ
1385 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
1386
61f65140
L
13872012-05-21 H.J. Lu <hongjiu.lu@intel.com>
1388
1389 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
1390 Don't define if [__SYSCALL_WORDSIZE != 32].
1391 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
1392 New macro.
1393
5fefb436
AJ
13942012-05-21 Bruno Haible <bruno@clisp.org>
1395 Andreas Jaeger <aj@suse.de>
1396
1397 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
1398 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
1399 inptr and inend for must_buffer_ch.
1400 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
1401 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
1402 * stdio-common/Makefile (tests): Remove bug15.
1403 (bug15-ENV): Remove macro.
1404 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
1405 anymore.
1406
d8e272ab
AJ
14072012-05-19 Andreas Jaeger <aj@suse.de>
1408 Roland McGrath <roland@hack.frob.com>
1409
1410 * manual/contrib.texi: Completely rewritten. It contains now an
1411 alphabetical list of contributors and their contributions.
1412
4a56a162
RH
14132012-05-21 Richard Henderson <rth@twiddle.net>
1414
1415 * misc/getauxval.c (__getauxval): Use unsigned long int.
1416 * misc/sys/auxv.h: Include <sys/cdefs.h>.
1417 (getauxval): Use unsigned long int.
1418
d024d23c
L
14192012-05-21 H.J. Lu <hongjiu.lu@intel.com>
1420
1421 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
1422
cbc00a03
RM
14232012-05-21 Roland McGrath <roland@hack.frob.com>
1424
1425 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
1426 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
1427 __alignof__ (long double).
1428
478143fa
AZ
14292012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1430
1431 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1432
c7683a6d
RH
14332012-05-20 Richard Henderson <rth@twiddle.net>
1434
1435 * misc/getauxval.c: New file.
1436 * misc/sys/auxv.h: New file.
1437 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
1438 (routines): Add getauxval.
1439 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
1440 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
1441 * elf/dl-sysdep.c (_dl_auxv): Remove.
1442 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
1443 * elf/dl-support.c (_dl_auxv): New variable.
1444 (_dl_aux_init): Initialize it.
1445 * manual/startup.texi (Auxiliary Vector): New node.
1446 * sysdeps/generic/bits/hwcap.h: New file.
1447 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
1448 * sysdeps/powerpc/sysdep.h: ... here. Include it.
1449 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
1450 * sysdeps/sparc/sysdep.h: ... here. Include it.
1451 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
1452 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
cbc00a03
RM
1453 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
1454 Update.
c7683a6d
RH
1455 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
1456 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
1457 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
1458 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
1459 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
1460 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
1461 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
1462 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
1463
a6f1845d
AZ
14642012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1465
1466 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1467
cbcbe830
DM
14682012-05-19 David S. Miller <davem@davemloft.net>
1469
1470 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1471
e0b16cc2
JM
14722012-05-19 Joseph Myers <joseph@codesourcery.com>
1473
1474 [BZ #14123]
1475 * math/s_ccosh.c: Include <float.h>
1476 (__ccosh): Avoid internal overflow calculating sinh and cosh
1477 values before multiplying by sin and cos values.
1478 * math/s_ccoshf.c: Likewise.
1479 * math/s_ccoshl.c: Likewise.
1480 * math/s_csin.c: Likewise.
1481 * math/s_csinf.c: Likewise.
1482 * math/s_csinl.c: Likewise.
1483 * math/s_csinh.c: Likewise.
1484 * math/s_csinhf.c: Likewise.
1485 * math/s_csinhl.c: Likewise.
1486 * math/libm-test.inc (ccos_test): Add more tests.
1487 (ccosh_test): Likewise.
1488 (csin_test): Likewise.
1489 (csinh_test): Likewise.
1490 * sysdeps/i386/fpu/libm-test-ulps: Update.
1491 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1492
6ad13e08
L
14932012-05-19 H.J. Lu <hongjiu.lu@intel.com>
1494
f66f0ce8
L
1495 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
1496 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
1497
6ad13e08
L
1498 * sysdeps/x86_64/x32/_itoa.h: Add comment.
1499
b1d072a7
JM
15002012-05-19 Joseph Myers <joseph@codesourcery.com>
1501
1502 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
1503 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
1504 * sysdeps/powerpc/soft-fp/Versions: Likewise.
1505 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
1506 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
1507 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
1508 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
1509 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
1510 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
1511 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
1512 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
1513 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
1514 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
1515 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
1516 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
1517 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
1518 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
1519 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
1520 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
1521 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
1522 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
1523 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
1524 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
1525 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
1526 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
1527 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
1528 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
1529 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
1530 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
1531 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
1532 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
1533
9eae47cb
AJ
15342012-05-18 Andreas Jaeger <aj@suse.de>
1535
1536 * csu/.gitignore: Delete.
1537
bb07f69f
L
15382012-05-18 H.J. Lu <hongjiu.lu@intel.com>
1539
1540 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
1541 (timex): Use __syscall_slong_t.
1542
e6bdb741
AJ
15432012-05-18 Andreas Jaeger <aj@suse.de>
1544 Carlos O'Donell <carlos_odonell@mentor.com>
1545
1546 * manual/install.texi (Configuring and compiling): Update
1547 description about files modified in the source directory.
d6c33fda 1548 * INSTALL: Regenerated.
e6bdb741 1549
1b74487e
L
15502012-05-18 H.J. Lu <hongjiu.lu@intel.com>
1551
1552 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
1553 value. Use "or" to set return value to -1.
1554 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
1555 negate return value.
1556
a88b64b9
TMQMF
15572012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
1558
1559 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
1560 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
1561 failure if the compiler has Graphite support disabled.
1562 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
1563 Likewise.
1564 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
1565 CFLAGS-memmove.c): Likewise.
1566 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
1567 Likewise.
1568
3707636e
L
15692012-05-18 H.J. Lu <hongjiu.lu@intel.com>
1570
610b8622
L
1571 * sysdeps/x86_64/x32/_itoa.h: New file.
1572
7cd195df
L
1573 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
1574 getdents system call only if kernel and user dirents have the
1575 same d_ino and d_off.
1576
94b07d20
L
1577 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
1578 LLONG_MAX != LONG_MAX.
1579 (_itoa_word): Use _ITOA_WORD_TYPE on value.
1580 (_fitoa_word): Likewise.
1581
18298070
L
1582 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
1583 years.
1584 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
1585 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
1586 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
1587
553c7ea4
L
1588 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
1589 include <bits/wordsize.h>. Check __x86_64__ instead of
1590 __WORDSIZE.
1591 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
1592 if __x86_64__ is defined. Use anonymous union on fpstate.
1593
3707636e
L
1594 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
1595 anonymous union.
1596
b53ef01a
AS
15972012-05-18 Andreas Schwab <schwab@linux-m68k.org>
1598
37fb1dc0
AS
1599 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
1600 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
1601 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
1602 Refer to _rtld_local_ro instead of _rtld_global_ro.
1603 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
1604 Likewise.
1605 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
1606 Likewise.
1607 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
1608 Likewise.
1609 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
1610 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
1611 of _rtld_global, and rtld_progname instead of _dl_argv[0].
1612
b53ef01a
AS
1613 * sysdeps/powerpc/powerpc32/dl-machine.c
1614 (__elf_machine_runtime_setup) [PROF]: Don't reference
1615 _dl_prof_resolve.
1616
7a185db2
AJ
16172012-05-18 Andreas Jaeger <aj@suse.de>
1618
1619 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
1620 function only available for GCCs before 3.4 since GCC 3.4
1621 introduced a builtin.
1622 (lrint): Likewise.
1623 (llrintf): Likewise.
1624 (llrint): Likewise.
1625 (fmaxf): Likewise.
1626 (fmax): Likewise.
1627 (fminf): Likewise.
1628 (fmin): Likewise.
1629 (rint): Likewise.
1630 (rintf): Likewise.
1631 (nearbyint): Likewise.
1632 (nearbyintf): Likewise.
1633 (ceil): Likewise.
1634 (ceilf): Likewise.
1635 (floor): Likewise.
1636 (floorf): Likewise.
1637
3e5aef87
L
16382012-05-17 H.J. Lu <hongjiu.lu@intel.com>
1639
428bd707
L
1640 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
1641 on both fields and cast pointer to __syscall_ulong_t.
1642
3e5aef87
L
1643 * bits/types.h (__fsword_t): New type.
1644 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
1645 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
1646 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
1647 (__FSWORD_T_TYPE): Likewise.
1648 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
1649 (__FSWORD_T_TYPE): Likewise.
1650 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
1651 (__FSWORD_T_TYPE): Likewise.
1652 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
1653 (__FSWORD_T_TYPE): Likewise.
1654 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
1655 __SWORD_TYPE with __fsword_t.
1656 (statfs64): Likewise.
1657
1ba7c3dc
DM
16582012-05-17 David S. Miller <davem@davemloft.net>
1659
1660 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
1661
59910343
AJ
16622012-05-17 Andreas Jaeger <aj@suse.de>
1663
1664 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
1665 warning.
1666
2e4c1e9e
L
16672012-05-17 H.J. Lu <hongjiu.lu@intel.com>
1668
1669 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
1670
de7f5ce7
AJ
16712012-05-17 Andreas Jaeger <aj@suse.de>
1672
1673 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
1674 when it is used.
1675
286abc3d
CM
16762012-05-17 Chris Metcalf <cmetcalf@tilera.com>
1677
1678 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
1679
477cc68e
L
16802012-05-17 H.J. Lu <hongjiu.lu@intel.com>
1681
1682 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
1683 * sysdeps/x86_64/tst-mallocalign1.c: New file.
1684
1a0994f5
CD
16852012-05-17 Andreas Jaeger <aj@suse.de>
1686 Carlos O'Donell <carlos_odonell@mentor.com>
1687
1688 [BZ #14059]
1689 * sysdeps/x86_64/multiarch/init-arch.h
1690 (bit_YMM_Usable): Rename to...
1691 (bit_AVX_Usable): ... this.
1692 (bit_FMA4_Usable): New macro.
1693 (bit_XMM_state): New macro.
1694 (bit_YMM_state): New macro.
1695 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
1696 [__ASSEMBLER__] (index_AVX_Usable): ... this.
1697 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
1698 (CPUID_OSXSAVE): New macro.
1699 (CPUID_AVX): New macro.
1700 (CPUID_FMA4): New macro.
1701 (index_YMM_Usable): Rename to...
1702 (index_AVX_Usable): ... this.
1703 (HAS_AVX): Use HAS_ARCH_FEATURE.
1704 (HAS_FMA4): Likewise.
1705 (HAS_YMM_USABLE): Remove.
1706 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
1707 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
1708 are present.
1709 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
1710 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
1711 * sysdeps/x86_64/multiarch/Makefile: Likewise.
1712 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
1713 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
1714
0af797de
CM
17152012-05-17 Chris Metcalf <cmetcalf@tilera.com>
1716
1717 * math/libm-test.c: Support platforms without multiple rounding modes.
1718 * math/bug-nextafter.c: Support platforms without FP exceptions.
1719 * math/bug-nexttoward.c: Likewise.
1720 * math/test-fenv.c: Likewise.
1721 * math/test-misc.c: Likewise.
1722 * stdlib/bug-getcontext.c: Likewise.
1723
e39745ff
AJ
17242012-05-17 Andreas Jaeger <aj@suse.de>
1725
1726 * manual/examples/search.c (critter_cmp): Change signature to
1727 avoid warnings.
1728 * manual/string.texi (Collation Functions): Likewise.
1729
48970aba
L
17302012-05-16 H.J. Lu <hongjiu.lu@intel.com>
1731
1732 * bits/types.h: Fold copyright years.
1733 * bits/typesizes.h: Likewise.
1734 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
1735 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
1736 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
1737 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
1738 * time/time.h: Likewise.
1739
bedee953
PP
17402012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
1741
1742 [BZ #208]
1743 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
1744 in instead of returning them. Return void.
1745 (__libc_mallinfo): Accumulate over all arenas.
1746 (__malloc_stats): Adjust for change in int_mallinfo interface.
1747
61653dfb
RM
17482012-05-16 Roland McGrath <roland@hack.frob.com>
1749
30b99d79
RM
1750 [BZ #10375]
1751 * configure.in (NM): Add AC_CHECK_TOOL for it.
1752 (libc_extra_cflags): New substituted variable.
1753 Check for -fstack-protector being used implicitly.
1754 * configure: Regenerated.
1755 * config.make.in (config-extra-cflags): New variable,
1756 gets @libc_extra_cflags@.
1757 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
1758
61653dfb
RM
1759 [BZ #10375]
1760 * configure.in: Check for _FORTIFY_SOURCE being predefined.
1761 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
1762 * configure: Regenerated.
1763 * config.make.in (CPPUNDEFS): New substituted variable.
1764 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
1765 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
1766 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
1767
661768bb
L
17682012-05-16 H.J. Lu <hongjiu.lu@intel.com>
1769
1770 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
1771 (mq_attr): Use __syscall_slong_t.
1772
d4261567
L
17732012-05-16 H.J. Lu <hongjiu.lu@intel.com>
1774
1775 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
1776 Check __x86_64__ instead of __WORDSIZE.
1777 (_STAT_VER_LINUX): Likewise.
1778 (stat): Check __x86_64__ instead of __WORDSIZE. Use
1779 __syscall_ulong_t and __syscall_slong_t.
1780 (stat64): Likewise.
1781
cf3ff365
L
17822012-05-16 H.J. Lu <hongjiu.lu@intel.com>
1783
1784 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
1785
76cf3e4d
L
17862012-05-16 H.J. Lu <hongjiu.lu@intel.com>
1787
1788 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
1789
a637753a
L
17902012-05-16 H.J. Lu <hongjiu.lu@intel.com>
1791
1792 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
1793 __syscall_ulong_t.
1794
d5e05119
L
1795 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
1796 include <bits/wordsize.h>. Check __x86_64__ instead of
1797 __WORDSIZE.
1798 (greg_t): Use "__extension__ long long int" if __x86_64__ is
1799 defined.
1800 (mcontext_t): Replace "unsigned long" with "unsigned long long".
1801
f62ee380
L
1802 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
1803 include <bits/wordsize.h>. Check __x86_64__ instead of
1804 __WORDSIZE.
1805 (user_regs_struct): Use "__extension__ unsigned long long"
1806 instead of "unsigned long" if __x86_64__ is defined.
1807 (user): Likewise. Pad after pointer field if __ILP32__ is
1808 defined.
1809
4e124ced
JM
18102012-05-16 Joseph Myers <joseph@codesourcery.com>
1811
6a3951a0
JM
1812 * configure.in (makeinfo): Require version 4.5 or later. Allow
1813 versions 5 to 9.
1814 * configure: Regenerated.
1815 * manual/install.texi (texinfo): Increase version requirement to
1816 4.5 or later.
1817 * INSTALL: Regenerated.
1818
4e124ced
JM
1819 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
1820
953ca31a
L
18212012-05-16 H.J. Lu <hongjiu.lu@intel.com>
1822
1823 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
1824
617aca05
L
1825 * sysdeps/x86_64/x32/ffs.c: New file.
1826
5762f7ae
L
1827 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
1828 __syscall_ulong_t.
1829 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
1830 defined. Use __syscall_ulong_t.
1831 (shminfo): Use __syscall_ulong_t.
1832 (shm_info): Likewise.
1833
a26b6856
L
1834 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
1835 __syscall_ulong_t.
1836
cb2b9ef7
L
1837 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
1838 <bits/wordsize.h>.
1839 (msgqnum_t): Use __syscall_ulong_t.
1840 (msglen_t): Likewise.
1841 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
1842 __syscall_ulong_t.
1843
34683bb0
L
1844 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
1845 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
1846
84a68786
L
1847 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
1848
48baa5f1
L
1849 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
1850 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
1851
180be88b
L
1852 * sysvipc/sys/msg.h (msgbuf): Replace long int with
1853 __syscall_slong_t.
1854
5e90c8ad
L
1855 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
1856 include <bits/wordsize.h>. Check __x86_64__ instead of
1857 __WORDSIZE.
1858
23dfb58b
L
1859 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
1860 "unsigned long long int" if __x86_64__ is defined.
1861 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
1862
ce5d54b0
L
1863 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
1864 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
1865 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
1866
13dc9eac
L
1867 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
1868 <stdint.h>.
1869 (GET_PC): Cast to uintptr_t first.
1870 (GET_FRAME): Likewise.
1871 (GET_STACK): Likewise.
1872
a7895d15
L
1873 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
1874 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
1875 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
1876 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
1877 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
1878 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
1879 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
1880 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
1881 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
1882 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
1883 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
1884 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
1885 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
1886 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
1887 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
1888 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
1889 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
1890 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
1891 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
1892 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
1893 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
1894 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
1895 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
1896 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
1897 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
1898 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
1899 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
1900 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
1901 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
1902
656416c9
AS
19032012-05-16 Andreas Schwab <schwab@linux-m68k.org>
1904
5bd66283
AS
1905 * Makerules (+depfiles): Also collect depfiles from .oS in
1906 $(extra-objs).
1907 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
1908 .oS, $(libnldbl-routines)).
1909
656416c9
AS
1910 * Makerules (native-compile-mkdep-flags): Define.
1911 * sunrpc/Makefile (extra-objs): Add $(addprefix
1912 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
1913 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
1914 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
1915 calling $(make-target-directory).
1916
a46f2169
L
19172012-05-15 H.J. Lu <hongjiu.lu@intel.com>
1918
1919 * bits/types.h (__snseconds_t): Removed.
1920 * time/time.h (struct timespec): Replace __snseconds_t with
1921 __syscall_slong_t.
1922 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
1923 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
1924 Likewise.
1925 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
1926 (__SNSECONDS_T_TYPE): Likewise.
1927 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
1928 (__SNSECONDS_T_TYPE): Likewise.
1929 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
1930 (__SNSECONDS_T_TYPE): Likewise.
1931
6af6528b
L
19322012-05-15 H.J. Lu <hongjiu.lu@intel.com>
1933
1934 * sysdeps/mach/hurd/bits/typesizes.h
1935 (__SYSCALL_SLONG_TYPE): New macro.
1936 (__SYSCALL_ULONG_TYPE): Likewise.
1937
de986b56
L
19382012-05-15 H.J. Lu <hongjiu.lu@intel.com>
1939
1940 * bits/types.h (__syscall_slong_t): New type.
1941 (__syscall_ulong_t): Likewise.
1942
1943 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
1944 (__SYSCALL_ULONG_TYPE): Likewise.
1945 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
1946 (__SYSCALL_SLONG_TYPE): Likewise.
1947 (__SYSCALL_ULONG_TYPE): Likewise.
1948 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
1949 (__SYSCALL_SLONG_TYPE): Likewise.
1950 (__SYSCALL_ULONG_TYPE): Likewise.
1951 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
1952 (__SYSCALL_SLONG_TYPE): Likewise.
1953 (__SYSCALL_ULONG_TYPE): Likewise.
1954
85736dc7
L
19552012-05-15 H.J. Lu <hongjiu.lu@intel.com>
1956
1957 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
1958 Add sigaltstack-offsets.sym.
1959 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
1960 <sigaltstack-offsets.h>.
1961 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
1962 longjmp_msg pointer.
1963 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
1964 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
1965 signal stack.
1966 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
1967
cc03b296
JM
19682012-05-15 Joseph Myers <joseph@codesourcery.com>
1969
a9538892
JM
1970 * elf/stackguard-macros.h: Remove file.
1971 * sysdeps/generic/stackguard-macros.h: New file.
1972 * sysdeps/i386/stackguard-macros.h: Likewise.
1973 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
1974 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
1975 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
1976 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
1977 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
1978 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
1979 * sysdeps/x86_64/stackguard-macros.h: Likewise.
1980 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
1981 <elf/stackguard-macros.h>.
1982
cc03b296
JM
1983 [BZ #14109]
1984 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
1985 __aligned__ in attribute.
1986 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
1987 (gregset_t): Likewise.
1988
93171016
L
19892012-05-15 H.J. Lu <hongjiu.lu@intel.com>
1990
1991 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
1992 * sysdeps/x86_64/64/Implies-after: Here. New file.
1993 * sysdeps/x86_64/x32/Implies-after: New file.
1994
d86813a0
L
19952012-05-15 H.J. Lu <hongjiu.lu@intel.com>
1996
1997 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
1998 and access return value for _dl_profile_fixup. Use R10_LP to
1999 load frame size.
2000
2953ec75
L
20012012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2002
2003 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
2004
3b550e9e
L
20052012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2006
2007 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
2008 * sysdeps/x86_64/x32/sysdep.h: New file.
2009
eda41706
L
20102012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2011
2012 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
2013 * sysdeps/x86_64/setjmp.S: Likewise.
2014
9ea01d93
AZ
20152012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2016
2017 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
2018 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
2019 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
2020 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
2021 remove unused global constant.
2022
02a91938
CM
20232012-05-15 Chris Metcalf <cmetcalf@tilera.com>
2024
2025 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
2026 include of <not-cancel.h>.
2027
6540185f
RM
20282012-05-15 Roland McGrath <roland@hack.frob.com>
2029
2030 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
2031
509072a0
AJ
20322012-05-15 Jeff Law <law@redhat.com>
2033 Andreas Jaeger <aj@suse.de>
2034
2035 [BZ #13594]
2036 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
2037 out from...
2038 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
2039 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
2040 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
2041 code changing __hst_map_handle.map.
2042
ba75122d
RM
20432012-05-15 Roland McGrath <roland@hack.frob.com>
2044
2045 * configure.in (sysnames): Look for Implies-before and Implies-after
2046 files.
2047 * configure: Regenerated.
2048
890d8bd8
L
20492012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2050
2051 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
2052 8-byte data alignment with LP_SIZE alignment.
2053
f6ee6623
L
20542012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2055
2056 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
2057 into R10_LP.
2058
ea2626f6
L
20592012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2060
2061 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
2062
085f715e
L
20632012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2064
2065 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
2066 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
2067 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
2068 Likewise.
2069 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
2070
be8498fc
L
20712012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2072
2073 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
2074 (stackinfo_sub_sp): Likewise.
2075
70bc83b9
L
20762012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2077
2078 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
2079 RAX_LP.
2080
9bc0b730
L
20812012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2082
2083 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
2084 into R*_LP.
2085
6d2850e7
L
20862012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2087
2088 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
2089 sizes into R*_LP.
2090
3cb84561
L
20912012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2092
2093 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
2094
54e2ed81
L
20952012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2096
2097 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
2098 into R11_LP and load __x86_64_shared_cache_size_half into
2099 R8_LP.
2100
8a17f349
L
21012012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2102
2103 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
2104 R8_LP.
2105
777b1eea
AZ
21062012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2107
2108 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
2109 logb for POWER7.
2110 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
2111 logbf for POWER7.
2112 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
2113 logbl for POWER7.
2114 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
2115 powerpc32/power7/fpu/s_logb.c via #include.
2116 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
2117 powerpc32/power7/fpu/s_logbf.c via #include.
2118 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
2119 powerpc32/power7/fpu/s_logbl.c via #include.
2120
d20d4ac2
JM
21212012-05-15 Joseph Myers <joseph@codesourcery.com>
2122
2123 * README.libm: Remove file.
2124
6cdef1ab
L
21252012-05-14 H.J. Lu <hongjiu.lu@intel.com>
2126
2127 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
2128 count for x32. Use R*_LP and omit operand-size suffix.
2129
0b254d8f
L
21302012-05-14 H.J. Lu <hongjiu.lu@intel.com>
2131
2132 * shlib-versions: Move x86_64-.*-linux.* entries to ...
2133 * sysdeps/x86_64/64/shlib-versions: Here. New file.
2134 * sysdeps/x86_64/x32/shlib-versions: New file.
2135
ceb809dc
RM
21362012-05-14 Roland McGrath <roland@hack.frob.com>
2137
2138 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
2139 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
2140 Use _dl_fatal_printf instead.
2141
37f1abd4
JM
21422012-05-14 Joseph Myers <joseph@codesourcery.com>
2143
2144 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
2145 set if not set by the user. Do not allow for being unset.
2146 * sysdeps/unix/sysv/linux/configure: Regenerated.
2147
11de3a33
L
21482012-05-14 H.J. Lu <hongjiu.lu@intel.com>
2149
2150 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
2151 the `q' suffix from lea and replace .quad with ASM_ADDR.
2152
e02f153a
L
21532012-05-14 H.J. Lu <hongjiu.lu@intel.com>
2154
2155 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
2156 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
2157 instead of $17.
2158 (PTR_DEMANGLE): Likewise.
2159
520ae0fd
L
21602012-05-14 H.J. Lu <hongjiu.lu@intel.com>
2161
2162 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
2163 (LP_OP): Likewise.
2164 (ASM_ADDR): Likewise.
2165 (RAX_LP): Likewise.
2166 (RBP_LP): Likewise.
2167 (RBX_LP): Likewise.
2168 (RCX_LP): Likewise.
2169 (RDI_LP): Likewise.
2170 (RSI_LP): Likewise.
2171 (RSP_LP): Likewise.
2172 (R8_LP): Likewise.
2173 (R9_LP): Likewise.
2174 (R10_LP): Likewise.
2175 (R10_LP): Likewise.
2176 (R11_LP): Likewise.
2177 (R12_LP): Likewise.
2178 (R13_LP): Likewise.
2179 (R14_LP): Likewise.
2180 (R15_LP): Likewise.
2181
b985be81
L
21822012-05-14 H.J. Lu <hongjiu.lu@intel.com>
2183
2184 * sysdeps/x86_64/x32/dl-machine.h: New file.
2185
6a4888ff
AJ
21862012-05-14 Andreas Jaeger <aj@suse.de>
2187
2188 * manual/Makefile (subdir): Remove export of subdir.
2189 (all): Remove target.
2190 (.PHONY): Remove all from list.
2191 (mkinstalldirs): Remove.
2192 (.PHONY): Remove installdirs from list.
2193 ($(inst_infodir)/libc.info): Use make-target-directory.
2194 (installdirs): Remove.
2195 (subdir_%): Remove.
2196 (glibc-targets): Remove.
2197 (lib): Remove.
2198 (stubs): Remove.
2199 ($(objpfx)stubs ../po/manual.pot): Remove.
2200 ($(objpfx)stamp%): Remove.
2201 (make-target-directory): Remove.
2202 (subdir_install): Remove.
2203 (routines): Remove.
2204 (aux): Remove.
2205 (sources): Remove.
2206 (objects): Remove.
2207 (headers): Remove.
2208
2209 [BZ #13750]
2210 * manual/.gitignore: Remove, it's not needed anymore.
2211 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
2212 all files in it.
2213 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
2214 directory.
2215 (texis): Renamed to $(objpfx)texis.
2216 (texis-path): New, contains path to generated files.
2217 (chapters.%): Use texis-path for complete path, add extra argument
2218 libc-texinfo.sh.
2219 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
2220 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
2221 (summary,texi, stamp-summary): Use complete path of
2222 files. Generate files in build dir.
2223 (dir-add.texi): Build in build dir.
2224 (libm-err.texi,stamp-libm-err): Likewise.
2225 (version.texi, stamp-version): Likewise.
2226 (.%c.texi): Likewise.
2227 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
2228 (mostlyclean): Remove target.
2229 (realclean): Remove target.
2230 (generated): Add new variable with contents from mostlyclean and
2231 realclean, remove entries duplicated in common-mostlyclean, add
2232 stamp-libm-err and stamp-version.
2233 (generated-dirs): Add libc directory.
2234 ($(inst_infodir)/libc.info): Install files from build dir.
2235
2236 * manual/install.texi (Configuring and compiling): Adjust since
2237 the info files are not part of the tar ball anymore.
2238
7ac77294
AJ
22392012-05-14 Andreas Jaeger <aj@suse.de>
2240
2241 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
2242 variable.
2243
ffb7875d
JM
22442012-05-14 Joseph Myers <joseph@codesourcery.com>
2245
2246 [BZ #13717]
2247 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
2248 to 2.2.0 where earlier.
2249 * sysdeps/unix/sysv/linux/configure: Regenerated.
2250 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
2251 Remove conditional code.
2252 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
2253 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
2254 Remove conditional code.
2255 [!__NR_lchown]: Likewise.
2256 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
2257 [__NR_lchown]: Likewise.
2258 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
2259 comment referencing __ASSUME_LCHOWN_SYSCALL.
2260 * sysdeps/unix/sysv/linux/i386/sigaction.c
2261 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
2262 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
2263 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
2264 Remove conditional code.
2265 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
2266 (__protocol_available): Remove #if 0 code.
2267 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
2268 conditional code.
2269 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
2270 * sysdeps/unix/sysv/linux/kernel-features.h
2271 (__ASSUME_GETCWD_SYSCALL): Don't define.
2272 (__ASSUME_REALTIME_SIGNALS): Likewise.
2273 (__ASSUME_PREAD_SYSCALL): Likewise.
2274 (__ASSUME_PWRITE_SYSCALL): Likewise.
2275 (__ASSUME_POLL_SYSCALL): Likewise.
2276 (__ASSUME_LCHOWN_SYSCALL): Likewise.
2277 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
2278 non-SPARC.
2279 (__ASSUME_SIOCGIFNAME): Don't define.
2280 (__ASSUME_MSG_NOSIGNAL): Likewise.
2281 (__ASSUME_SENDFILE): Define unconditionally.
2282 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
2283 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
2284 conditional code.
2285 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
2286 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
2287 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
2288 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
2289 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
2290 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
2291 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
2292 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
2293 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
2294 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
2295 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
2296 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
2297 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
2298 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
2299 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
2300 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
2301 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
2302 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
2303 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
2304 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
2305 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
2306 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
2307 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
2308 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
2309 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
2310 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
2311 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
2312 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
2313 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
2314 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
2315 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
2316 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
2317 Remove conditional code.
2318 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
2319 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
2320 Remove conditional code.
2321 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
2322 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
2323 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
2324 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
2325 Remove conditional code.
2326 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
2327 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
2328 Remove conditional code.
2329 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
2330 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
2331 Remove conditional code.
2332 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
2333 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
2334 Remove conditional code.
2335 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
2336 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
2337 Remove conditional code.
2338 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
2339 * sysdeps/unix/sysv/linux/sh/pwrite64.c
2340 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
2341 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
2342 * sysdeps/unix/sysv/linux/sigaction.c
2343 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
2344 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
2345 * sysdeps/unix/sysv/linux/sigpending.c
2346 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
2347 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
2348 * sysdeps/unix/sysv/linux/sigprocmask.c
2349 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
2350 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
2351 * sysdeps/unix/sysv/linux/sigsuspend.c
2352 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
2353 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
2354 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
2355 (__libc_missing_rt_sigs): Remove.
2356 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
2357 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
2358 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
2359 Remove conditional code.
2360 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
2361 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
2362 return 1.
2363 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
2364 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
2365 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
2366 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
2367
1bfb7291
AJ
23682012-05-14 Andreas Jaeger <aj@suse.de>
2369
caae5a81
AJ
2370 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
2371 it's not used in glibc.
2372 (__coshm1): Likewise.
2373 (__acosh1p): Likewise.
2374 (__sgn): Likewise.
2375
1bfb7291
AJ
2376 * manual/string.texi (Copying and Concatenation): Add missing
2377 variable in concat example.
2378 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
2379
c044d724
L
23802012-05-14 H.J. Lu <hongjiu.lu@intel.com>
2381
144c5467 2382 [BZ #14103]
c044d724
L
2383 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
2384 __builtin_clzl with __builtin_clzll.
2385
2523c62b
L
23862012-05-14 H.J. Lu <hongjiu.lu@intel.com>
2387
2388 [BZ #14104]
2389 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
2390 libc_freeres_ptr.
2391
d7bb4c42
LD
23922012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
2393
2394 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
2395 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
2396 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
2397 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
2398
9dc4e1fb
MF
23992012-05-14 Mike Frysinger <vapier@gentoo.org>
2400
2401 * NEWS: Update ia64 info.
2402
c7df0112
AS
24032012-05-12 Andreas Schwab <schwab@linux-m68k.org>
2404
2405 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
2406 used as bcopy.
2407
dc70356c
TS
24082012-05-12 Thomas Schwinge <thomas@codesourcery.com>
2409
2410 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
2411 * sysdeps/unix/syscalls.list (dup3): Likewise.
2412 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
2413 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
2414
9fb1a21f
L
24152012-05-11 H.J. Lu <hongjiu.lu@intel.com>
2416
2417 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
2418 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
2419
4822a2a5
L
24202012-05-11 H.J. Lu <hongjiu.lu@intel.com>
2421
2422 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
2423 thread pointer.
2424 (TLS_IE): Use mov/add instead of movq/addq to load thread
2425 pointer.
2426 (TLS_GD_PREFIX): New.
2427 (TLS_GD): Use it.
2428
842b81d6
DM
24292012-05-11 David S. Miller <davem@davemloft.net>
2430
2431 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
2432 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
2433 (_FPU_SETCW): Likewise.
2434
1cf463cd
L
24352012-05-10 H.J. Lu <hongjiu.lu@intel.com>
2436
2437 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
2438 is 32-byte aligned.
2439
60cc4a18
AS
24402012-05-11 Andreas Schwab <schwab@linux-m68k.org>
2441
2442 [BZ #11837]
2443 * iconvdata/gb18030.c: Update tables.
2444 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
2445 characters specially.
2446 (BODY for TO_LOOP): Add encoding of missing ranges.
2447
febb44a4
TS
24482012-05-11 Thomas Schwinge <thomas@codesourcery.com>
2449
2450 [BZ #13673]
2451 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
2452 * sysdeps/mach/hurd/dup3.c: Likewise.
2453 * sysdeps/mach/hurd/readlinkat.c: Likewise.
2454 * sysdeps/powerpc/memmove.c:: Likewise.
2455
0a10fb9e
L
24562012-05-10 H.J. Lu <hongjiu.lu@intel.com>
2457
2458 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
2459 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
2460
df8a552f
L
24612012-05-10 H.J. Lu <hongjiu.lu@intel.com>
2462
2463 * elf/elf.h (R_X86_64_RELATIVE64): New.
2464 (R_X86_64_NUM): Updated.
2465 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
2466 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
2467 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
2468 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
2469 tst-quad1pie tst-quad2pie
2470 (modules-names): Add tst-quadmod1 tst-quadmod2.
2471 ($(objpfx)tst-quad1): New dependency.
2472 ($(objpfx)tst-quad2): Likewise.
2473 ($(objpfx)tst-quad1pie): Likewise.
2474 ($(objpfx)tst-quad2pie): Likewise.
2475 * sysdeps/x86_64/tst-quad1.c: New file.
2476 * sysdeps/x86_64/tst-quad1pie.c: New file.
2477 * sysdeps/x86_64/tst-quad2.c: Likewise.
2478 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
2479 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
2480 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
2481 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
2482 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
2483
f34d6f84
ST
24842012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
2485
f42d41d1
ST
2486 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
2487 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
2488 * streams/stropts.h (t_scalar_t): Define type.
2489
3c3571fc
ST
2490 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
2491 (_PATH_PRESERVE): Set to "/var/lib".
2492 (_PATH_RWHODIR): Set to "/var/spool/rwho".
2493
61f06bd3
ST
2494 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
2495 instead of int.
2496
918d4d71
ST
2497 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
2498 if __dir_mkfile succeeded.
2499
f34d6f84
ST
2500 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
2501 checking for _hurd_dtablesize. Unlock it right after having
2502 finished _hurd_dtable allocation.
2503
10589b4a
TS
25042012-05-10 Thomas Schwinge <thomas@schwinge.name>
2505
674cdbc7
TS
2506 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
2507 * sysdeps/mach/hurd/configure: Regenerated.
2508 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
2509 special-casing to...
2510 * sysdeps/gnu/configure.in: ... this new file.
2511 * sysdeps/unix/sysv/linux/configure: Regenerated.
2512 * sysdeps/gnu/configure: New generated file.
2513
8e41b99f
TS
2514 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
2515 for Linux: use nsec instead of usec, as well as:
2516 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
2517 members of type struct timespec.
2518 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
2519 New macros.
2520 (struct stat64): Likewise.
2521 (_STATBUF_ST_NSEC): New macro.
2522 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
2523
10589b4a
TS
2524 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
2525 __strtoul_internal rather than strtoul.
2526
63643c85
PT
25272012-05-10 Pino Toscano <toscano.pino@tiscali.it>
2528
2529 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
2530 and reject them.
2531
3faebe6a
ST
25322012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
2533
2534 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
2535 which preserves existing values.
2536 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
2537
c6474b07
PT
25382012-05-10 Pino Toscano <toscano.pino@tiscali.it>
2539
2540 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
2541 TIMEOUT values. Return EINVAL for NFDS values either negative or
2542 greater than FD_SETSIZE.
2543
1043890b
ST
25442012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
2545
2546 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
2547 allocated, call __vm_protect to finish enabling the existing space, and
2548 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
2549 allocate the remainder.
2550
37ed8b9b
PT
25512012-05-10 Pino Toscano <toscano.pino@tiscali.it>
2552
2553 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
2554 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
2555
db653660
ST
25562012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
2557
37ed8b9b
PT
2558 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
2559 sysdeps/mach/hurd/readlink.c.
b29d4053 2560
db653660
ST
2561 * posix/tst-sysconf.c (posix_options): Only use
2562 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
2563 _POSIX_SYNCHRONIZED_IO when they are defined
2564 * sysdeps/mach/hurd/bits/posix_opt.h:
2565 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
2566 (_XOPEN_REALTIME): Undefine macro.
2567 (_XOPEN_REALTIME_THREADS): Undefine macro.
2568 (_XOPEN_SHM): Undefine macro.
2569 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
2570 macro to -1.
2571 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
2572 macro to -1.
2573 (_POSIX_ASYNC_IO): Undefine macro.
2574 (_POSIX_PRIORITIZED_IO): Undefine macro.
2575 (_POSIX_SPIN_LOCKS): Define macro to -1.
2576
ee16e894
ST
2577 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
2578 SA_NODEFER, SA_RESETHAND.
2579 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
2580 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
2581 F_DUPFD_CLOEXEC.
2582
6103ae3b
TS
25832012-05-10 Thomas Schwinge <thomas@schwinge.name>
2584
2585 * elf/Makefile (pldd-modules): Define unconditionally.
2586
80b4e5f3
TS
25872012-05-10 Thomas Schwinge <thomas@schwinge.name>
2588
2589 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
2590
edadcbd6
ST
25912012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
2592
2593 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
2594 Return ENOENT when name is empty.
2595 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
2596
80694780
TS
25972012-05-10 Thomas Schwinge <thomas@schwinge.name>
2598
1792c087
TS
2599 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
2600
80694780
TS
2601 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
2602
6b645f0d
ST
26032012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
2604
80694780
TS
2605 Fix mlock in all cases except non-readable pages.
2606 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
2607 instead of VM_PROT_ALL as parameter to __vm_wire function.
66cbbebc 2608
6b645f0d
ST
2609 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
2610 (__mkdir): When path is `/', just fail with EEXIST.
2611 * sysdeps/mach/hurd/mkdirat.c: Likewise.
2612
e468f8a3
TS
26132012-05-10 Thomas Schwinge <thomas@schwinge.name>
2614
2615 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
2616 <sys/uio.h> (for writev).
2617 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
2618 and <sys/param.h> (for MIN).
2619
a4186cff
PT
26202012-05-10 Pino Toscano <toscano.pino@tiscali.it>
2621
2622 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
2623 REQUESTED_TIME. Properly set the remaining time and return EINTR
2624 if interrupted.
2625
510bbf14
TS
26262012-05-10 Thomas Schwinge <thomas@schwinge.name>
2627
2628 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
2629 Depend on against $(link-rpcuserlibs).
2630
5d5722e8
ST
26312012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
2632
a4186cff
PT
2633 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
2634 (__libc_stack_end): Do not use attribute_relro.
2635 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
2636 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
5d5722e8 2637 to libthread-provided value.
a4186cff
PT
2638 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
2639 attribute_relro.
5d5722e8 2640
37233df9
TS
26412012-05-10 Thomas Schwinge <thomas@schwinge.name>
2642
be971a2b
TS
2643 [BZ #3748]
2644 * bits/libc-lock.h (__libc_once_get): New macro.
2645 * sysdeps/mach/bits/libc-lock.h: Likewise.
2646 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
2647 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
2648 instead of using implementation details.
2649
37233df9
TS
2650 * libio/fileops.c: Unconditionally include <kernel-features.h>.
2651 * libio/freopen.c: Likewise.
2652 * libio/freopen64.c: Likewise.
2653 * misc/syslog.c: Likewise.
2654 * nscd/connections.c: Likewise.
2655 * nscd/netgroupcache.c: Likewise.
2656 * sysdeps/posix/getcwd.c: Likewise.
2657
38de94a5
RM
26582012-05-10 Roland McGrath <roland@hack.frob.com>
2659
2660 * math/w_ilogbf.c: Add #include <limits.h>.
2661
67530489
ST
26622012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
2663
a4186cff 2664 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
bbc49098
ST
2665 path instead of returning without unlocking.
2666
67530489
ST
2667 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
2668 immediate-write ioctls.
2669 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
2670
5aa3a74a
TS
26712012-05-10 Thomas Schwinge <thomas@schwinge.name>
2672
18bad2ae
TS
2673 * sysdeps/mach/hurd/i386/init-first.c (init): Use
2674 __builtin_frame_address instead of making assumptions about the
2675 location of the return address relative to DATA. Force early load of
2676 the return address.
2677 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
2678 __builtin_frame_address.
2679
5aa3a74a
TS
2680 dup3 for GNU Hurd.
2681 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
2682 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
2683 implement dup3 and do some further code clean-ups.
2684 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
2685 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
2686
ecd0de9a
ST
26872012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
2688
cd9fa985
ST
2689 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
2690
a4186cff
PT
2691 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
2692 HURD_CRITICAL_END around holding _hurd_dtable_lock.
2693 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
2694 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
2695 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
2696 d->port.lock.
802ca5a5 2697
a4186cff
PT
2698 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
2699 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
2700 when handler == SIG_ERR, not when handler != SIG_ERR.
ecd0de9a 2701
bcf55240
TS
27022012-05-10 Thomas Schwinge <thomas@schwinge.name>
2703
6960eb42
TS
2704 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
2705 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
2706 definitions.
2707
eb43375f
TS
2708 accept4 for GNU Hurd.
2709 * include/sys/socket.h (__libc_accept4): New prototype.
2710 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
2711 to implement __libc_accept4.
2712 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
2713 __libc_accept4.
2714 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
2715
bcf55240
TS
2716 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
2717 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
2718 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
2719 signal-defines.sym.
2720
6178c55b
ST
27212012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
2722
a4186cff 2723 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
6178c55b 2724
6f080c2f
TS
27252012-05-10 Thomas Schwinge <thomas@schwinge.name>
2726
2727 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
2728 assertion on O_CLOEXEC flag.
2729 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
2730 * hurd/intern-fd.c: Likewise.
2731 * hurd/port2fd.c: Likewise.
2732
bcfe3a54
ST
27332012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
2734
2735 [BZ #3906]
2736 * bits/in.h (IPV6_PKTINFO): Define new macro.
2737 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
2738
89c9aa49
AZ
27392012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2740
2741 [BZ #13954]
2742 [BZ #13955]
2743 [BZ #13956]
2744 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
2745 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
2746 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
2747 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
2748 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
2749 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
2750 * math/libm-test.inc (logb_test) : Additional logb tests.
2751
021db4be
AJ
27522012-05-09 Andreas Schwab <schwab@linux-m68k.org>
2753 Andreas Jaeger <aj@suse.de>
2754
2755 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
2756 * configure: Regenerated.
2757 * config.h.in (LINK_OBSOLETE_RPC): New macro.
2758 * config.make.in (link-obsolete-rpc): New substituted variable.
2759 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
2760 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
2761 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
2762 (shared-only-routines): Don't set it under [link-obsolete-rpc],
2763 so that libc.a contains the symbols.
2764 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
2765 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
2766 * sunrpc/auth_none.c: Likewise.
2767 * sunrpc/auth_unix.c: Likewise.
2768 * sunrpc/authdes_prot.c: Likewise.
2769 * sunrpc/authuxprot.c: Likewise.
2770 * sunrpc/clnt_gen.c: Likewise.
2771 * sunrpc/clnt_perr.c: Likewise.
2772 * sunrpc/clnt_raw.c: Likewise.
2773 * sunrpc/clnt_simp.c: Likewise.
2774 * sunrpc/clnt_tcp.c: Likewise.
2775 * sunrpc/clnt_udp.c: Likewise.
2776 * sunrpc/clnt_unix.c: Likewise.
2777 * sunrpc/des_crypt.c: Likewise.
2778 * sunrpc/des_soft.c: Likewise.
2779 * sunrpc/get_myaddr.c: Likewise.
2780 * sunrpc/key_call.c: Likewise.
2781 * sunrpc/key_prot.c: Likewise.
2782 * sunrpc/netname.c: Likewise.
2783 * sunrpc/pm_getmaps.c: Likewise.
2784 * sunrpc/pm_getport.c: Likewise.
2785 * sunrpc/pmap_clnt.c: Likewise.
2786 * sunrpc/pmap_prot.c: Likewise.
2787 * sunrpc/pmap_prot2.c: Likewise.
2788 * sunrpc/pmap_rmt.c: Likewise.
2789 * sunrpc/publickey.c: Likewise.
2790 * sunrpc/rpc_cmsg.c: Likewise.
2791 * sunrpc/rpc_common.c: Likewise.
2792 * sunrpc/rpc_dtable.c: Likewise.
2793 * sunrpc/rpc_prot.c: Likewise.
2794 * sunrpc/rpc_thread.c: Likewise.
2795 * sunrpc/rtime.c: Likewise.
2796 * sunrpc/svc.c: Likewise.
2797 * sunrpc/svc_auth.c: Likewise.
2798 * sunrpc/svc_raw.c: Likewise.
2799 * sunrpc/svc_run.c: Likewise.
2800 * sunrpc/svc_tcp.c: Likewise.
2801 * sunrpc/svc_udp.c: Likewise.
2802 * sunrpc/svc_unix.c: Likewise.
2803 * sunrpc/svcauth_des.c: Likewise.
2804 * sunrpc/xcrypt.c: Likewise.
2805 * sunrpc/xdr.c: Likewise.
2806 * sunrpc/xdr_array.c: Likewise.
2807 * sunrpc/xdr_float.c: Likewise.
2808 * sunrpc/xdr_intXX_t.c: Likewise.
2809 * sunrpc/xdr_mem.c: Likewise.
2810 * sunrpc/xdr_rec.c: Likewise.
2811 * sunrpc/xdr_ref.c: Likewise.
2812 * sunrpc/xdr_sizeof.c: Likewise.
2813 * sunrpc/xdr_stdio.c: Likewise.
2814
b5c086a2
RM
28152012-05-10 Roland McGrath <roland@hack.frob.com>
2816
2817 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
2818 change. Update copyright years.
2819
6d74dd09
JM
28202012-05-10 Joseph Myers <joseph@codesourcery.com>
2821
2822 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
2823
28e72501
MK
28242012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
2825 Joseph Myers <joseph@codesourcery.com>
2826 Paul Pluzhnikov <ppluzhnikov@google.com>
2827
2828 [BZ #14012]
2829 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
2830 requiring rpcgen.
2831 [cross-compiling] (extra-libs): Likewise.
2832 [cross-compiling] (extra-libs-others): Likewise.
2833 [cross-compiling] (librpcsvc-routines): Likewise.
2834 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
2835 [cross-compiling] (omit-deps): Likewise.
2836 (sunrpc-CPPFLAGS): New variable.
2837 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
2838 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
2839 (cross-rpcgen-objs): New variable.
2840 (extra-objs): Append $(cross-rpcgen-objs).
2841 ($(cross-rpcgen-objs)): New rule.
2842 ($(objpfx)cross-rpcgen): Likewise.
2843 (rpcgen-cmd): Define to use $(built-program-file). Expand
2844 comment.
2845 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
2846 ($(objpfx)x%.stmp): Likewise.
2847 * sunrpc/proto.h [IS_IN_build] (_): Define.
2848 [IS_IN_build] (_libc_intl_domainname): Likewise.
2849
c8c59454
L
28502012-05-10 H.J. Lu <hongjiu.lu@intel.com>
2851
2852 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
2853 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
2854 and R_X86_64_TPOFF64.
2855
6f27cd16
JM
28562012-05-10 Joseph Myers <joseph@codesourcery.com>
2857
2858 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
2859 sysdeps/unix/sysv/syscalls.list.
2860 (stime): Likewise.
2861 (utime): Likewise.
2862 * sysdeps/unix/sysv/syscalls.list: Remove file.
2863
02467e1c
PE
28642012-05-10 Paul Eggert <eggert@cs.ucla.edu>
2865
2866 [BZ #3440]
2867 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
2868 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
2869 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
2870 (__LC_IDENTIFICATION): Make these macros useful in #if
2871 expressions, as required by C99.
2872
da392631
AS
28732012-05-10 Andreas Schwab <schwab@linux-m68k.org>
2874
2875 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
2876 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
2877 after this.
2878
8115f29b
L
28792012-05-09 H.J. Lu <hongjiu.lu@intel.com>
2880
2881 * stdlib/longlong.h: Updated from GCC.
2882
bdd74070
AJ
28832012-05-09 Andreas Jaeger <aj@suse.de>
2884
edfe0dbe
AJ
2885 * nscd/nscd.c (run_modes): Make named enum, reorder so that
2886 default is first entry.
2887 (run_mode): Set type.
2888 (main): Remove informal message about syslog.
2889 (options): Fix typo.
2890
bcfe3a54
ST
2891 [BZ #14053]
2892 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
bdd74070 2893 to asm.
bcfe3a54
ST
2894 (lrint): Likewise.
2895 (llrintf): Likewise.
2896 (llrint): Likewise.
2897 (rint): Likewise.
2898 (rintf): Likewise.
2899 (nearbyint): Likewise.
2900 (nearbyintf): Likewise.
bdd74070 2901
91d8d69e
AJ
29022012-05-09 Andreas Jaeger <aj@suse.de>
2903 Pedro Alves <palves@redhat.com>
2904
2905 * nscd/nscd.c (run_mode): Use enum.
2906 (main): Cleanup coding style issue.
2907
bb90b80b
AJ
29082012-05-09 Alexandre Oliva <aoliva@redhat.com>
2909 Andreas Jaeger <aj@suse.de>
2910
bcfe3a54
ST
2911 * nscd/nscd.c (go_background): Replaced with...
2912 (run_mode): ... this.
bb90b80b 2913 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
bcfe3a54
ST
2914 (options): Add -F --foreground.
2915 (main): Implement it.
2916 (parse_opt): Parse it.
bb90b80b 2917
1a4b75a1
AJ
29182012-05-09 Andreas Jaeger <aj@suse.de>
2919
2920 [BZ #14083]
2921 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
2922 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
2923 -Wconversion warning.
2924 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
2925 Likewise.
2926
b1cc2472
JM
29272012-05-09 Joseph Myers <joseph@codesourcery.com>
2928
2929 * conform/data/locale.h-data (NULL): Use macro-constant. Require
2930 == 0.
2931 (LC_ALL): Use macro-int-constant.
2932 (LC_COLLATE): Likewise.
2933 (LC_CTYPE): Likewise.
2934 (LC_MESSAGES): Likewise.
2935 (LC_MONETARY): Likewise.
2936 (LC_NUMERIC): Likewise.
2937 (LC_TIME): Likewise.
2938 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
2939 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
2940 [ISO || ISO99 || ISO11] (*_t): Do not allow.
2941 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
2942 Specify type.
2943 [C99-based standards] (float_t): Expect type.
2944 [C99-based standards] (double_t): Expect type.
2945 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
2946 type.
2947 [C99-based standards] (HUGE_VALL): Likewise.
2948 [C99-based standards] (INFINITY): Likewise.
2949 [C99-based standards] (NAN): Likewise.
2950 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
2951 [C99-based standards] (FP_NAN): Likewise.
2952 [C99-based standards] (FP_NORMAL): Likewise.
2953 [C99-based standards] (FP_SUBNORMAL): Likewise.
2954 [C99-based standards] (FP_ZERO): Likewise.
2955 [C99-based standards] (FP_FAST_FMA): Use
2956 optional-macro-int-constant. Specify type. Require == 1.
2957 [C99-based standards] (FP_FAST_FMAF): Likewise.
2958 [C99-based standards] (FP_FAST_FMAL): Likewise.
2959 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
2960 [C99-based standards] (FP_ILOGBNAN): Likewise.
2961 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
2962 Specify type.
2963 [C99-based standards] (MATH_ERREXCEPT): Likewise.
2964 [C99-based standards] (math_errhandling): Specify type.
2965 [ISO99 || ISO11] (signgam): Do not allow.
2966 [non-C99-based standards] (copysignf): Do not allow.
2967 [non-C99-based standards] (exp2f): Likewise.
2968 [non-C99-based standards] (log2f): Likewise.
2969 [non-C99-based standards] (modff): Allow.
2970 [non-C99-based standards] (erff): Do not allow.
2971 [non-C99-based standards] (erfcf): Likewise.
2972 [non-C99-based standards] (gammaf): Likewise.
2973 [non-C99-based standards] (hypotf): Likewise.
2974 [non-C99-based standards] (j0f): Likewise.
2975 [non-C99-based standards] (j1f): Likewise.
2976 [non-C99-based standards] (jnf): Likewise.
2977 [non-C99-based standards] (lgammaf): Likewise.
2978 [non-C99-based standards] (tgammaf): Likewise.
2979 [non-C99-based standards] (y0f): Likewise.
2980 [non-C99-based standards] (y1f): Likewise.
2981 [non-C99-based standards] (ynf): Likewise.
2982 [non-C99-based standards] (isnanf): Likewise.
2983 [non-C99-based standards] (acoshf): Likewise.
2984 [non-C99-based standards] (asinhf): Likewise.
2985 [non-C99-based standards] (atanhf): Likewise.
2986 [non-C99-based standards] (cbrtf): Likewise.
2987 [non-C99-based standards] (expm1f): Likewise.
2988 [non-C99-based standards] (ilogbf): Likewise.
2989 [non-C99-based standards] (log1pf): Likewise.
2990 [non-C99-based standards] (logbf): Likewise.
2991 [non-C99-based standards] (nextafterf): Likewise.
2992 [non-C99-based standards] (remainderf): Likewise.
2993 [non-C99-based standards] (rintf): Likewise.
2994 [non-C99-based standards] (scalbf): Likewise.
2995 [non-C99-based standards] (copysignl): Likewise.
2996 [non-C99-based standards] (exp2l): Likewise.
2997 [non-C99-based standards] (log2l): Likewise.
2998 [non-C99-based standards] (modfl): Allow.
2999 [non-C99-based standards] (erfl): Do not allow.
3000 [non-C99-based standards] (erfcl): Likewise.
3001 [non-C99-based standards] (gammal): Likewise.
3002 [non-C99-based standards] (hypotl): Likewise.
3003 [non-C99-based standards] (j0l): Likewise.
3004 [non-C99-based standards] (j1l): Likewise.
3005 [non-C99-based standards] (jnl): Likewise.
3006 [non-C99-based standards] (lgammal): Likewise.
3007 [non-C99-based standards] (tgammal): Likewise.
3008 [non-C99-based standards] (y0l): Likewise.
3009 [non-C99-based standards] (y1l): Likewise.
3010 [non-C99-based standards] (ynl): Likewise.
3011 [non-C99-based standards] (isnanl): Likewise.
3012 [non-C99-based standards] (acoshl): Likewise.
3013 [non-C99-based standards] (asinhl): Likewise.
3014 [non-C99-based standards] (atanhl): Likewise.
3015 [non-C99-based standards] (cbrtl): Likewise.
3016 [non-C99-based standards] (expm1l): Likewise.
3017 [non-C99-based standards] (ilogbl): Likewise.
3018 [non-C99-based standards] (log1pl): Likewise.
3019 [non-C99-based standards] (logbl): Likewise.
3020 [non-C99-based standards] (nextafterl): Likewise.
3021 [non-C99-based standards] (remainderl): Likewise.
3022 [non-C99-based standards] (rintl): Likewise.
3023 [non-C99-based standards] (scalbl): Likewise.
3024 [ISO || ISO99 || ISO11] (*_t): Do not allow.
3025 [non-C99-based standards] (FP_*): Do not allow.
3026 [C99-based standards] (FP_*): Change to
3027 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
3028 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
3029 allow.
3030 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
3031 (SIG_ERR): Likewise.
3032 [X/Open-based standards] (SIG_HOLD): Likewise.
3033 (SIG_IGN): Likewise.
3034 (SIGABRT): Use macro-int-constant. Specify type. Require
3035 positive value.
3036 (SIGFPE): Likewise.
3037 (SIGILL): Likewise.
3038 (SIGINT): Likewise.
3039 (SIGSEGV): Likewise.
3040 (SIGTER): Likewise.
3041 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
3042 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
3043 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
3044 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
3045 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
3046 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
3047 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
3048 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
3049 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
3050 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
3051 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
3052 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
3053 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
3054 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
3055 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
3056 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
3057 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
3058 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
3059 [X/Open-based standards] (SIGTRAP): Likewise.
3060 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
3061 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
3062 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
3063 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
3064 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
3065 allow.
3066
b9f1922d
IW
30672012-05-08 Ian Wienand <ianw@vmware.com>
3068
3069 [BZ #14080]
3070 * time/tzset.c (__tzset_parse_tz): Update default rules for
3071 daylight time changes in the Energy Policy Act of 2005.
3072
1db86e88
AJ
30732012-05-09 Andreas Jaeger <aj@suse.de>
3074
3075 [BZ #13983]
3076 * elf/ldconfig.c (parse_conf): Change string to make clear that
3077 ldconfig only issued a warning if ld.so.conf does not exist.
3078
dee4a4e3
DM
30792012-05-08 David S. Miller <davem@davemloft.net>
3080
ee0db190
DM
3081 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
3082 movxtod instead of popping the value on the stack.
3083
dee4a4e3
DM
3084 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3085
6a43ec98
CD
30862012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
3087
3088 * config.h.in: Add HAVE_ARM_PCS_VFP.
3089
05c2c961
RMG
30902012-05-08 Roland Mc Grath <roland@hack.frob.com>
3091
bcfe3a54
ST
3092 [BZ #13979]
3093 * include/features.h: Warn if user requests __FORTIFY_SOURCE
3094 checking but the checks are disabled for any reason.
05c2c961 3095
4b30f61a
L
30962012-05-08 H.J. Lu <hongjiu.lu@intel.com>
3097
3098 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
3099 and ELF64_R_TYPE with ELFW(R_TYPE).
3100
eee2bc67
JM
31012012-05-08 Joseph Myers <joseph@codesourcery.com>
3102
7ea5391a
JM
3103 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
3104 (ulimit): Likewise.
3105
eee2bc67
JM
3106 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
3107 (settimeofday): Likewise.
3108
abb66a67
MF
31092012-05-08 Mike Frysinger <vapier@gentoo.org>
3110
3111 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
3112 a struct th_u2 inside the union, and move tu_block/tu_code into
3113 a new th_u3 union of tu_block/tu_code inside of that. Move
3114 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
3115 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
3116 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
3117 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
3118 (th_stuff): Change to th_u1.tu_stuff.
3119 (th_data): Define.
3120 (th_msg): Change to th_u1.th_u2.tu_data.
3121
7f18b530
DM
31222012-05-07 David S. Miller <davem@davemloft.net>
3123
05760585
DM
3124 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3125
7f18b530
DM
3126 [BZ #14074]
3127 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
3128 (SETUP_PIC_REG): Use it.
3129 (SETUP_PIC_REG_LEAF): Use it.
3130
495fd99f
JM
31312012-05-07 Joseph Myers <joseph@codesourcery.com>
3132
3133 [BZ #13885]
3134 [BZ #13923]
3135 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
3136 USE_AS_EXPM1L.
3137 (EXPL_FINITE): Likewise.
3138 (FLDLOG): Likewise.
3139 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
3140 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
3141 e_expl.S.
3142 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
3143 USE_AS_EXPM1L.
3144 (EXPL_FINITE): Likewise.
3145 (FLDLOG): Likewise.
3146 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
3147 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
3148 e_expl.S.
3149 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
3150 test of -max_value argument for long double.
3151 * sysdeps/i386/fpu/libm-test-ulps: Update.
3152 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3153
6693d694
DM
31542012-05-06 David S. Miller <davem@davemloft.net>
3155
3156 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
3157 quad soft-float symbols whose references which are compiler
3158 generated.
3159 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
3160
6c23e11c
JM
31612012-05-06 Joseph Myers <joseph@codesourcery.com>
3162
d8b82cad
JM
3163 [BZ #13884]
3164 [BZ #13914]
3165 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
3166 USE_AS_EXP10L.
3167 (EXPL_FINITE): Likewise.
3168 (FLDLOG): Likewise.
3169 (c0): Likewise.
3170 (c1): Likewise.
3171 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
3172 Adjust comments for base varying.
3173 (__expl_finite): Change alias to EXPL_FINITE.
3174 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
3175 e_expl.S.
3176 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
3177 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
3178 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
3179 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
3180 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
3181 USE_AS_EXP10L.
3182 (EXPL_FINITE): Likewise.
3183 (FLDLOG): Likewise.
3184 (c0): Likewise.
3185 (c1): Likewise.
3186 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
3187 Adjust comments for base varying.
3188 (__expl_finite): Change alias to EXPL_FINITE.
3189 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
3190 tests for bugs.
3191 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3192
6c23e11c
JM
3193 [BZ #14064]
3194 * math/libm-test.inc (check_float_internal): Correct ulp
3195 calculation for subnormal expected results.
3196
29ba805c
AJ
31972012-05-06 Andreas Jaeger <aj@suse.de>
3198
3199 * Makeconfig (+math-flags): New, set to -frounding-math.
3200 (+cflags): Add +math-flags so that all of glibc gets compiled with
3201 it.
3202
3203 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
3204
7b17aeda
JM
32052012-05-05 Joseph Myers <joseph@codesourcery.com>
3206
5779f134
JM
3207 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
3208 Disable one test.
3209
41498f4d
JM
3210 [BZ #13787]
3211 [BZ #13922]
3212 [BZ #14036]
3213 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
3214 (__ieee754_expl): Allow for and saturate large arguments.
3215 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
3216 (u_threshold): Likewise.
3217 (__exp): Call __ieee754_exp before checking for overflow and
3218 underflow.
3219 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
3220 (u_threshold): Likewise.
3221 (__expf): Call __ieee754_expf before checking for overflow and
3222 underflow.
3223 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
3224 (u_threshold): Likewise.
3225 (__expl): Call __ieee754_expl before checking for overflow and
3226 underflow.
3227 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
3228 (__ieee754_expl): Allow for and saturate large arguments.
3229 * math/libm-test.inc (exp_test): Add another test. Do not allow
3230 missing overflow exception on overflow.
3231 (expm1_test): Do not allow missing overflow exception on overflow.
3232
6698b8bf
JM
3233 * sysdeps/i386/fpu/e_expl.c: Move to ...
3234 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
3235 rather than using inline asm.
3236 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
3237 * sysdeps/x86_64/fpu/e_expl.S: Copy from
3238 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
3239
7b17aeda
JM
3240 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
3241 (nice): Likewise.
3242 (poll): Likewise.
3243 (signal): Likewise.
3244 (time): Likewise.
3245 (times): Likewise.
3246
f7c85819
JM
32472012-05-04 Joseph Myers <joseph@codesourcery.com>
3248
3249 * sysdeps/unix/syscalls.list (adjtime): Add entry from
3250 sysdeps/unix/common/syscalls.list.
3251 (fchmod): Likewise.
3252 (fchown): Likewise.
3253 (ftruncate): Likewise.
3254 (getrusage): Likewise.
3255 (gettimeofday): Likewise.
3256 (setpgid): Likewise.
3257 (setregid): Likewise.
3258 (setreuid): Likewise.
3259 (sigaction): Likewise.
3260 (truncate): Likewise.
3261 (vhangup): Likewise.
3262 * sysdeps/unix/common/syscalls.list: Remove file.
3263 * sysdeps/unix/bsd/Implies: Don't include unix/common.
3264 * sysdeps/unix/sysv/linux/Implies: Likewise.
3265
336270d0
L
32662012-05-04 H.J. Lu <hongjiu.lu@intel.com>
3267
3268 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
3269 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
3270 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
3271 Moved to ...
3272 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
3273 Here.
3274 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
3275 to ...
3276 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
3277 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
3278 to ...
3279 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
3280 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
3281 to ...
3282 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
3283 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
3284 to ...
3285 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
3286 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
3287 to ...
3288 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
3289 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
3290 to ...
3291 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
3292 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
3293 to ...
3294 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
3295 Here.
3296 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
3297 to ...
3298 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
3299 Here.
3300 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
3301 to ...
3302 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
3303 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
3304 Moved to ...
3305 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
3306 Here.
3307 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
3308 to ...
3309 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
3310
d128e450
JM
33112012-05-04 Joseph Myers <joseph@codesourcery.com>
3312
fa8ee516
JM
3313 * sysdeps/unix/common/bits/dirent.h: Remove file.
3314 * sysdeps/unix/common/bits/fcntl.h: Likewise.
3315
d128e450
JM
3316 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
3317 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
3318 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
3319 * sysdeps/unix/bsd/isatty.c: Likewise.
3320 * sysdeps/unix/bsd/tcdrain.c: Likewise.
3321 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
3322 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
3323
ff8faaf0 33242012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31dc8730 3325
62881be4 3326 [BZ #13563]
31dc8730
AZ
3327 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
3328 long double comparison inaccuracies.
3329 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
3330 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3331
6fef930c
AS
33322012-05-04 Andreas Schwab <schwab@linux-m68k.org>
3333
3334 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
3335 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
3336
8f203e6c
JM
33372012-05-04 Joseph Myers <joseph@codesourcery.com>
3338
3339 [BZ #14049]
3340 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
3341 nonzero digits before rounding a hex value.
3342 * stdlib/tst-strtod.c (tests): Add another test.
3343
5197d9c2
AK
33442012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3345
3346 * sysdeps/s390/fpu/libm-test-ulps: Update.
3347
f0c1dedf
AJ
33482012-05-03 Andreas Jaeger <aj@suse.de>
3349
3350 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
3351 does not get optimized out.
3352 (malloc_opt_barrier): New.
3353
a65ef2ae 33542012-05-03 Andreas Jaeger <aj@suse.de>
461b8e5a 3355 Roland McGrath <roland@hack.frob.com>
a65ef2ae 3356
2b942cb7 3357 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
a65ef2ae 3358 intermediate file deletion.
2b942cb7 3359 (generated): Add .symlist files.
a65ef2ae 3360
54b71e02
JM
33612012-05-03 Joseph Myers <joseph@codesourcery.com>
3362
3363 [BZ #13775]
3364 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
3365 Redirect under this condition.
3366 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
3367 [__USE_GNU] (__dprintf_chk): Not under this condition.
3368 [__USE_GNU] (__vdprintf_chk): Likewise.
3369 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
3370 under this condition.
3371 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
3372 [__USE_XOPEN2K8] (dprintf): Define under this condition.
3373 [__USE_XOPEN2K8] (vdprintf): Likewise.
3374 [__USE_GNU] (__dprintf_chk): Not under this condition.
3375 [__USE_GNU] (__vdprintf_chk): Likewise.
3376 [__USE_GNU] (dprintf): Likewise.
3377 [__USE_GNU] (vdprintf): Likewise.
3378
d3dfcc41
RM
33792012-05-03 Roland McGrath <roland@hack.frob.com>
3380
3381 * elf/Makefile (common-generated): Set this instead of generated for
3382 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
3383 $(all-built-dso)-derived lists.
3384
7ac30cc5
AJ
33852012-05-03 Andreas Jaeger <aj@suse.de>
3386
0c51e550
AJ
3387 * sysdeps/i386/fpu/libm-test-ulps: Update.
3388
7ac30cc5
AJ
3389 * FAQ: Removed.
3390 * FAQ.in: Likewise.
3391 * scripts/gen-FAQ.pl: Likewise.
3392 * manual/install.texi (Installation): Point to online location of
3393 FAQ.
3394 * Makefile (files-for-dist): Remove FAQ.
3395 (FAQ): Remove.
3396
d4c2917f
AM
33972012-05-02 Allan McRae <allan@archlinux.org>
3398
3399 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
3400 (LDFLAGS-reldepmod5.so): Likewise.
3401 (LDFLAGS-reldep6mod1.so): Likewise.
3402 (LDFLAGS-reldep6mod4.so): Likewise.
3403 (LDFLAGS-reldep8mod3.so): Likewise.
3404 (LDFLAGS-unload4mod1.so): Likewise.
3405 (LDFLAGS-unload4mod2.so): Likewise.
3406 (LDFLAGS-tst-initorder): Likewise.
3407 (LDFLAGS-tst-initordera2.so): Likewise.
3408 (LDFLAGS-tst-initordera3.so): Likewise.
3409 (LDFLAGS-tst-initordera4.so): Likewise.
3410 (LDFLAGS-tst-initorderb2.so): Likewise.
3411 (LDFLAGS-noload): Likewise.
3412 (LDFLAGS-next): Likewise.
3413 (LDFLAGS-order2mod1.so): Likewise.
3414 (LDFLAGS-order2mod2.so): Likewise.
3415 (LDFLAGS-tst-initorder2): Likewise.
3416 (LDFLAGS-tst-initorder2a.so): Likewise.
3417 (LDFLAGS-tst-initorder2b.so): Likewise.
3418 (LDFLAGS-tst-initorder2c.so): Likewise.
3419 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
3420
d77f993f
DM
34212012-05-02 David S. Miller <davem@davemloft.net>
3422
3423 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3424
171a70b4
PP
34252012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
3426
3427 [BZ #14055]
3428 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
3429
0be196ad
AJ
34302012-05-02 Andreas Jaeger <aj@suse.de>
3431
3432 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
3433 since we manipulate rounding mode.
3434 (CPPFLAGS-test-idouble.c): Likewise.
3435 (CPPFLAGS-test-ifloat.c): Likewise.
3436 (CFLAGS-test-ldouble.c): Likewise.
3437 (CFLAGS-test-double.c): Likewise.
3438 (CFLAGS-test-float.c): Likewise.
3439 (CFLAGS-test-misc.c): Likewise.
3440 (CFLAGS-test-test-fenv.c): Likewise.
3441
4f9d04aa
AZ
34422012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3443
2b942cb7
RM
3444 [BZ #2550]
3445 [BZ #2570]
3446 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
3447 comparisons to determine direction to adjust input.
4f9d04aa 3448
82a79e7d
RM
34492012-05-01 Roland McGrath <roland@hack.frob.com>
3450
f5a01ca9
RM
3451 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
3452 output to the target.
3453
90fe4186
RM
3454 * scripts/localplt.awk: New file.
3455 * elf/Makefile ($(objpfx)check-localplt): Target removed.
3456 (check-localplt-CFLAGS): Variable removed.
3457 ($(all-built-dso:=.jmprel)): New static pattern rule.
3458 (generated): Add those targets.
3459 (localplt-built-dso): New variable.
3460 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
3461
3462 * elf/check-localplt.c: File removed.
3463
82397ed6
RM
3464 * scripts/check-execstack.awk: New file.
3465 * elf/Makefile ($(objpfx)check-execstack): Target removed.
3466 (check-execstack-CFLAGS): Variable removed.
3467 ($(objpfx)check-execstack.h): Target removed.
3468 ($(objpfx)execstack-default): New target.
3469 (generated): Add that instead of check-execstack.h.
3470 ($(all-built-dso:=.phdr)): New static pattern rule.
3471 (generated): Add those targets.
3472 * elf/check-execstack.c: File removed.
3473
82a79e7d
RM
3474 * scripts/check-textrel.awk: New file.
3475 * elf/Makefile ($(objpfx)check-textrel): Target removed.
3476 (check-textrel-CFLAGS): Variable removed.
3477 (all-built-dso): Use := to define.o
3478 ($(all-built-dso:=.dyn)): New static pattern rule.
3479 (generated): Add those targets.
3480 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
3481 * config.make.in (READELF): New substituted variable.
3482 * elf/check-textrel.c: File removed.
3483
62fde54f 34842012-05-01 Joseph Myers <joseph@codesourcery.com>
ee74b9cb 3485
615605c9
JM
3486 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
3487 allow.
3488 * conform/data/ctype.h-data [C99-based standards] (isblank):
3489 Expect function.
3490 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
3491 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
3492 [ISO || ISO99 || ISO11] (*_t): Do not allow.
3493 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
3494 Specify type. Require positive value.
3495 (EILSEQ): Likewise.
3496 (ERANGE): Likewise.
3497 [ISO || POSIX] (EILSEQ): Do not expect.
3498 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
3499 Specify type. Require positive value.
3500 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
3501 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
3502 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
3503 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
3504 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
3505 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
3506 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
3507 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
3508 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
3509 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
3510 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
3511 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
3512 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
3513 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
3514 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
3515 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
3516 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
3517 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
3518 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
3519 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
3520 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
3521 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
3522 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
3523 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
3524 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
3525 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
3526 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
3527 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
3528 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
3529 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
3530 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
3531 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
3532 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
3533 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
3534 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
3535 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
3536 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
3537 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
3538 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
3539 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
3540 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
3541 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
3542 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
3543 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
3544 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
3545 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
3546 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
3547 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
3548 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
3549 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
3550 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
3551 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
3552 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
3553 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
3554 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
3555 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
3556 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
3557 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
3558 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
3559 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
3560 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
3561 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
3562 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
3563 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
3564 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
3565 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
3566 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
3567 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
3568 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
3569 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
3570 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
3571 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
3572 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
3573 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
3574 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
3575 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
3576 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
3577 Require >= 2.
3578 (FLT_ROUNDS): Expect as macro, not constant.
3579 (FLT_MANT_DIG): Use macro-int-constant.
3580 (DBL_MANT_DIG): Likewise.
3581 (LDBL_MANT_DIG): Likewise.
3582 (FLT_DIG): Likewise.
3583 (DBL_DIG): Likewise.
3584 (LDBL_DIG): Likewise.
3585 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
3586 (DBL_MIN_EXP): Likewise.
3587 (LDBL_MIN_EXP): Likewise.
3588 (FLT_MAX_EXP): Use macro-int-constant.
3589 (DBL_MAX_EXP): Likewise.
3590 (LDBL_MAX_EXP): Likewise.
3591 (FLT_MAX_10_EXP): Likewise.
3592 (DBL_MAX_10_EXP): Likewise.
3593 (LDBL_MAX_10_EXP): Likewise.
3594 (FLT_MAX): Use macro-constant.
3595 (DBL_MAX): Likewise.
3596 (LDBL_MAX): Likewise.
3597 (FLT_EPSILON): Use macro-constant. Give upper bound.
3598 (DBL_EPSILON): Likewise.
3599 (LDBL_EPSILON): Likewise.
3600 (FLT_MIN): Likewise.
3601 (DBL_MIN): Likewise.
3602 (LDBL_MIN): Likewise.
3603 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
3604 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
3605 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
3606 [ISO11] (FLT_HAS_SUBNORM): Likewise.
3607 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
3608 [ISO11] (DBL_DECIMAL_DIG): Likewise.
3609 [ISO11] (FLT_DECIMAL_DIG): Likewise.
3610 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
3611 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
3612 [ISO11] (FLT_TRUE_MIN): Likewise.
3613 [ISO11] (LDBL_TRUE_MIN): Likewise.
3614 [ISO || ISO99 || ISO11] (*_t): Do not allow.
3615 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
3616 (SCHAR_MIN): Use macro-int-constant. Specify type.
3617 (SCHAR_MAX): Likewise.
3618 (UCHAR_MAX): Likewise.
3619 (CHAR_MIN): Likewise.
3620 (CHAR_MAX): Likewise.
3621 (MB_LEN_MAX): Use macro-int-constant.
3622 (SHRT_MIN): Use macro-int-constant. Specify type.
3623 (SHRT_MAX): Likewise.
3624 (USHRT_MAX): Likewise.
3625 (INT_MAX): Likewise.
3626 (INT_MIN): Use macro-int-constant. Specify type. Make upper
3627 bound negative.
3628 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
3629 bound with "U".
3630 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
3631 bound with "L".
3632 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
3633 bound negative. Suffix upper bound with "L".
3634 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
3635 bound with "UL".
3636 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
3637 Specify type.
3638 [C99-based standards] (LLONG_MAX): Likewise.
3639 [C99-based standards] (ULLONG_MAX): Likewise.
3640 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
3641 == 0.
3642 [ISO11] (max_align_t): Require type.
3643 [ISO || ISO99 || ISO11] (*_t): Do not allow.
3644
c9140a62
JM
3645 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
3646 from $CFLAGS, without defining away __attribute__ calls.
3647 (checknamespace): Use $CFLAGS_namespace.
3648
9af0bf29
JM
3649 * conform/conformtest.pl (@keywords): Only include C99 keywords
3650 for standards based on C99 or C11.
3651
343222a2
JM
3652 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
3653 Disable tests.
3654 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
3655 UNIX98]: Likewise.
3656
661f8cf0
JM
3657 * conform/conformtest.pl: Handle "macro-int-constant" and test for
3658 usability of symbols in #if.
3659
ee74b9cb
JM
3660 * conform/conformtest.pl: If macro or constant types start
3661 "promoted:", expect the symbol to be of the following type
3662 promoted by the integer promotions.
62fde54f 3663
aafc49b3
JM
3664 * conform/conformtest.pl: Parse all "constant" and "macro" lines
3665 in one place. Also handle "macro-constant".
3666
fefdf574
JM
3667 * conform/conformtest.pl: Only accept expected macro values with
3668 "==". Parse all "macro" lines in one place.
3669 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
3670
f2d922fe
JM
3671 * conform/conformtest.pl: Handle braced types on "constant" lines
3672 instead of handling "typed-constant".
3673 * conform/data/signal.h-data: Use "constant" instead of
3674 "typed-constant".
3675
d22956c9
JM
3676 * conform/conformtest.pl: Handle "optional-" at start of lines in
3677 one place rather than duplicating several cases. Handle each
3678 format of "macro" line with initial "optional-".
3679
028e2e38
JM
3680 * conform/conformtest.pl: Only accept expected constant or
3681 optional-constant values with "==". Parse all "constant" lines in
3682 one place. Parse all "optional-constant" lines in one place.
3683 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
3684 * conform/data/fmtmsg.h-data: Likewise.
3685 * conform/data/netinet/in.h-data: Likewise.
3686 * conform/data/tar.h-data: Likewise.
3687 * conform/data/limits.h-data: Use "==" form on "constant" and
3688 "optional-constant" lines.
3689
1b8f2850
JM
3690 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
3691 Use -std=c99 for XOPEN2K.
3692 (@knownproblems): Remove.
3693 (newtoken): Don't check %isknown.
3694
a05a144b
JM
3695 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
3696 Do not expect macro.
3697 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
3698 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
3699 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
3700 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
3701 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
3702 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
3703 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
3704 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
3705 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
3706 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
3707 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
3708 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
3709 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
3710 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
3711 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
3712 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
3713 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
3714 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
3715 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
3716 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
3717 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
3718 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
3719 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
3720 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
3721 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
3722 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
3723 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
3724 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
3725 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
3726 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
3727 [XPG3] (acosh): Likewise.
3728 [XPG3] (asinh): Likewise.
3729 [XPG3] (atanh): Likewise.
3730 [XPG3] (cbrt): Likewise.
3731 [XPG3] (expm1): Likewise.
3732 [XPG3] (ilogb): Likewise.
3733 [XPG3] (log1p): Likewise.
3734 [XPG3] (logb): Likewise.
3735 [XPG3] (nextafter): Likewise.
3736 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
3737 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
3738 [XPG3] (remainder): Likewise.
3739 [XPG3] (rint): Likewise.
3740 [XPG3 || XPG4 || UNIX98] (round): Likewise.
3741 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
3742 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
3743 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
3744 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
3745 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
3746 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
3747 [UNIX98 || XOPEN2K] (scalb): Expect.
3748 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
3749 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
3750 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
3751 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
3752 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
3753 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
3754 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
3755 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
3756 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
3757 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
3758 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
3759 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
3760 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
3761 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
3762 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
3763 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
3764 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
3765 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
3766 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
3767 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
3768 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
3769 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
3770 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
3771 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
3772 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
3773 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
3774 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
3775 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
3776 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
3777 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
3778 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
3779 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
3780 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
3781 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
3782 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
3783 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
3784 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
3785 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
3786 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
3787 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
3788 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
3789 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
3790 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
3791 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
3792 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
3793 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
3794 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
3795 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
3796 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
3797 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
3798 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
3799 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
3800 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
3801 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
3802 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
3803 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
3804 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
3805 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
3806 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
3807 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
3808 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
3809 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
3810 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
3811 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
3812 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
3813 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
3814 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
3815 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
3816 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
3817 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
3818 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
3819 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
3820 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
3821 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
3822 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
3823 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
3824 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
3825 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
3826 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
3827 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
3828 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
3829 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
3830 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
3831 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
3832 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
3833 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
3834 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
3835 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
3836 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
3837 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
3838 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
3839 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
3840 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
3841 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
3842 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
3843 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
3844 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
3845 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
3846 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
3847 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
3848 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
3849 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
3850 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
3851 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
3852 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
3853 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
3854 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
3855 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
3856 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
3857 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
3858 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
3859 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
3860 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
3861 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
3862 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
3863 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
3864 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
3865 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
3866 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
3867 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
3868 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
3869 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
3870 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
3871 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
3872 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
3873 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
3874 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
3875 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
3876 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
3877 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
3878 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
3879 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
3880 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
3881 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
3882 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
3883 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
3884 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
3885
73c5ebe3
JM
3886 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
3887 _XOPEN_SOURCE_EXTENDED for XPG4.
3888
39c33b6c
JM
3889 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
3890
62fde54f
JM
3891 * Makeconfig (localtime): Remove variable.
3892 (inst_localtime-file): Likewise.
3893
0741d64c
AS
38942012-05-01 Andreas Schwab <schwab@linux-m68k.org>
3895
3896 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
3897 Update.
3898 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
3899 Update.
3900 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
3901 Update.
3902 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
3903 Update.
3904 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
3905 Update.
3906 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
3907 Update.
3908 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
3909 Update.
3910 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
3911 Update.
3912 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
3913 Update.
3914
7cb029ee
JM
39152012-05-01 Joseph Myers <joseph@codesourcery.com>
3916
3917 [BZ #2550]
3918 [BZ #2570]
3919 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
3920 comparisons to determine direction to adjust input.
3921 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
3922 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
3923 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
3924 Likewise.
3925 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
3926 Likewise.
3927 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
3928 Likewise.
3929 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
3930 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
3931 Likewise.
3932 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
3933 Likewise.
3934 * math/libm-test.inc (nexttoward_test): Add more tests.
3935
412bd966
AS
39362012-05-01 Andreas Schwab <schwab@linux-m68k.org>
3937
3938 [BZ #14040]
3939 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
3940 in version GLIBC_2.1, not GLIBC_2.0.
3941 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
3942 Likewise.
3943
9568c0c2
JM
39442012-04-30 Joseph Myers <joseph@codesourcery.com>
3945
adfbc8ac
JM
3946 [BZ #13942]
3947 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
3948 (1 - x) * (1 + x).
3949 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
3950 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
3951 * math/libm-test.inc (acos_test): Add more tests.
3952 (asin_test): Likewise.
3953 * sysdeps/i386/fpu/libm-test-ulps: Update.
3954 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3955
5ba3cc69
JM
3956 [BZ #14034]
3957 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
3958 of square root.
3959 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
3960 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
3961 * math/libm-test.inc (acos_test_tonearest): New function.
3962 (acos_test_towardzero): Likewise.
3963 (acos_test_downward): Likewise.
3964 (acos_test_upward): Likewise.
3965 (asin_test_tonearest): Likewise.
3966 (asin_test_towardzero): Likewise.
3967 (asin_test_downward): Likewise.
3968 (asin_test_upward): Likewise.
3969 (main): Call the new functions.
3970 * sysdeps/i386/fpu/libm-test-ulps: Update.
3971 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3972
9568c0c2
JM
3973 [BZ #13884]
3974 [BZ #13924]
3975 * math/e_exp10.c: Include <float.h>.
3976 (__ieee754_exp10): Handle underflow here rather than multiplying
3977 large negative argument by M_LN10.
3978 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
3979 of __ieee754_expf.
3980 * math/e_exp10l.c: Include <float.h>.
3981 (__ieee754_exp10l): Handle underflow here rather than multiplying
3982 large negative argument by M_LN10l.
3983 * math/libm-test.inc (exp10_test): Add another test. Do not allow
3984 spurious overflow exception on underflow.
3985
5ac3ea17
MP
39862012-04-29 Marek Polacek <polacek@redhat.com>
3987
3988 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
3989 (__fortify_function): New macro.
3990 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
3991 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
3992 __extern_always_inline.
3993 * libio/bits/stdio2.h: Likewise.
3994 * libio/bits/stdio.h: Likewise.
3995 * string/string.h: Likewise.
3996 * string/bits/string3.h: Likewise.
3997 * include/stdio.h: Likewise.
3998 * stdlib/bits/stdlib.h: Likewise.
3999 * stdlib/stdlib.h: Likewise.
4000 * rt/bits/mqueue2.h: Likewise.
4001 * rt/mqueue.h: Likewise.
4002 * posix/bits/unistd.h: Likewise.
4003 * posix/unistd.h: Likewise.
4004 * io/bits/poll2.h: Likewise.
4005 * io/bits/fcntl2.h: Likewise.
4006 * io/fcntl.h: Likewise.
4007 * io/sys/poll.h: Likewise.
4008 * misc/bits/syslog.h: Likewise.
4009 * misc/bits/syslog-ldbl.h: Likewise.
4010 * misc/sys/syslog.h: Likewise.
4011 * socket/bits/socket2.h: Likewise.
4012 * socket/sys/socket.h: Likewise.
4013 * debug/tst-chk1.c: Likewise.
4014 * wcsmbs/bits/wchar2.h: Likewise.
4015 * wcsmbs/bits/wchar-ldbl.h: Likewise.
4016 * wcsmbs/wchar.h: Likewise.
4017
ecf0ebfb
AJ
40182012-04-29 Andreas Jaeger <aj@suse.de>
4019
4020 * Makerules (tests): Remove enable-check-abi protection.
4021 (check-abi-warn): Remove.
4022 (check-abi-%): Remove check-abi-warn usage.
4023
4024 * configure.in: Remove check-abi configure option.
4025 * configure: Regenerated.
4026 * config.make.in (enable-check-abi): Remove.
4027
6d5c57fa
AS
40282012-04-28 Andreas Schwab <schwab@linux-m68k.org>
4029
24c5d07e 4030 [BZ #14033]
ded5180a
AS
4031 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
4032 double functions to double *_finite functions.
4033
7e0d315d
AS
4034 [BZ #13941]
4035 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
4036 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
4037 LDBL_MIN_EXP.
4038 * stdio-common/Makefile (tests): Add tst-sprintf3.
4039 * stdio-common/tst-sprintf3.c: New file.
4040
6d5c57fa
AS
4041 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
4042 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
4043
0749ff8b
JM
40442012-04-28 Joseph Myers <joseph@codesourcery.com>
4045
4046 * conform/conformtest.pl: Remove duplicate typed-constant
4047 handling.
4048
8dbd5d7b
DM
40492012-04-28 David S. Miller <davem@davemloft.net>
4050
4051 * Makerules (%.abilist): Add vpath on sysdep_dirs.
4052 (check-abi-%): Remove AWK script prerequisite and explicit
4053 abilist directory.
4054 (check-abi): Rewrite to just diff the symlist with the abilist.
4055 (config-tls, config-abi-config): Delete, no longer used.
4056 (update-abi-%): Remove AWK script and explicit abilist directory.
4057 (update-abi): Rewrite to simply compare and conditionally copy the
4058 symlist and the sysdep abilist file. Remove update-abi-config
4059 checks.
4060 * abilist/ld.abilist: Remove.
4061 * abilist/libBrokenLocale.abilist: Remove.
4062 * abilist/libanl.abilist: Remove.
4063 * abilist/libcrypt.abilist: Remove.
4064 * abilist/libdl.abilist: Remove.
4065 * abilist/librt.abilist: Remove.
4066 * abilist/libthread_db.abilist: Remove.
4067 * abilist/libutil.abilist: Remove.
4068 * scripts/extract-abilist.awk: Remove.
4069 * scripts/merge-abilist.awk: Remove.
4070 * sysdeps/generic/libcidn.abilist: New file.
4071 * sysdeps/generic/libnss_compat.abilist: New file.
4072 * sysdeps/generic/libnss_db.abilist: New file.
4073 * sysdeps/generic/libnss_dns.abilist: New file.
4074 * sysdeps/generic/libnss_files.abilist: New file.
4075 * sysdeps/generic/libnss_hesiod.abilist: New file.
4076 * sysdeps/generic/libnss_nis.abilist: New file.
4077 * sysdeps/generic/libnss_nisplus.abilist: New file.
4078 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
4079 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
4080 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
4081 file.
4082 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
4083 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
4084 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
4085 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
4086 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
4087 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
4088 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
4089 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
4090 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
4091 file.
4092 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
4093 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
4094 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
4095 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
4096 file.
4097 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
4098 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
4099 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
4100 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
4101 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
4102 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
4103 file.
4104 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
4105 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
4106 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
4107 file.
4108 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
4109 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
4110 New file.
4111 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
4112 New file.
4113 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
4114 New file.
4115 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
4116 New file.
4117 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
4118 New file.
4119 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
4120 New file.
4121 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
4122 New file.
4123 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
4124 New file.
4125 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
4126 New file.
4127 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
4128 New file.
4129 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
4130 New file.
4131 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
4132 New file.
4133 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
4134 New file.
4135 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
4136 file.
4137 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
4138 New file.
4139 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
4140 New file.
4141 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
4142 file.
4143 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
4144 New file.
4145 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
4146 New file.
4147 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
4148 file.
4149 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
4150 New file.
4151 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
4152 New file.
4153 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
4154 New file.
4155 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
4156 New file.
4157 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
4158 New file.
4159 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
4160 New file.
4161 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
4162 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
4163 file.
4164 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
4165 New file.
4166 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
4167 file.
4168 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
4169 file.
4170 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
4171 file.
4172 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
4173 file.
4174 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
4175 file.
4176 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
4177 New file.
4178 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
4179 file.
4180 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
4181 file.
4182 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
4183 New file.
4184 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
4185 file.
4186 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
4187 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
4188 file.
4189 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
4190 New file.
4191 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
4192 file.
4193 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
4194 file.
4195 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
4196 file.
4197 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
4198 file.
4199 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
4200 file.
4201 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
4202 New file.
4203 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
4204 file.
4205 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
4206 file.
4207 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
4208 New file.
4209 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
4210 file.
4211 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
4212 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
4213 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
4214 file.
4215 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
4216 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
4217 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
4218 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
4219 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
4220 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
4221 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
4222 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
4223 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
4224 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
4225 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
4226 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
4227 file.
4228 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
4229 New file.
4230 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
4231 file.
4232 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
4233 file.
4234 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
4235 file.
4236 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
4237 file.
4238 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
4239 file.
4240 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
4241 New file.
4242 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
4243 New file.
4244 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
4245 file.
4246 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
4247 New file.
4248 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
4249 file.
4250 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
4251 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
4252 file.
4253 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
4254 New file.
4255 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
4256 file.
4257 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
4258 file.
4259 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
4260 file.
4261 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
4262 file.
4263 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
4264 file.
4265 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
4266 New file.
4267 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
4268 New file.
4269 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
4270 file.
4271 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
4272 New file.
4273 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
4274 file.
4275
41d73a1b
JM
42762012-04-28 Joseph Myers <joseph@codesourcery.com>
4277
4278 * conform/conformtest.pl: Fix typo in handling typed-constant from
4279 allow-header.
4280
28aeeda4
JM
42812012-04-27 Joseph Myers <joseph@codesourcery.com>
4282
adae8f5e
JM
4283 * README: Cut down references to pre-2.6 Linux kernels and
4284 Linuxthreads. Update lists of configurations in libc and ports
4285 and sort alphabetically. Say "or newer" with Linux kernel version
4286 requirements.
4287
28aeeda4
JM
4288 * config.h.in [IS_IN_build]: Allow compiling without optimization.
4289
a462cb63
RA
42902012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
4291
4292 [BZ #887]
4293 * math/libm-test.inc (logb_test_downward): New test to expose
4294 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
4295 rounding mode.
4296
6ad3493e
JM
42972012-04-27 Joseph Myers <joseph@codesourcery.com>
4298
4299 [BZ #14027]
4300 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
4301 to be done.
4302 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
4303 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
4304
2ce4f015
JM
43052012-04-26 Joseph Myers <joseph@codesourcery.com>
4306
5aeb141a
JM
4307 * sysdeps/unix/i386/brk.S: Remove file.
4308 * sysdeps/unix/i386/dl-brk.S: Likewise.
4309 * sysdeps/unix/i386/pipe.S: Likewise.
4310 * sysdeps/unix/i386/sigreturn.S: Likewise.
4311 * sysdeps/unix/i386/syscall.S: Likewise.
4312 * sysdeps/unix/i386/vfork.S: Likewise.
4313 * sysdeps/unix/i386/wait.S: Likewise.
4314
7143acae
JM
4315 * sysdeps/unix/common/tcsendbrk.c: Move to ...
4316 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
4317
2ce4f015
JM
4318 * configure.in (arm*-none*): Do not allow without
4319 --enable-hacker-mode.
4320 (netbsd*): Remove case setting base_os.
4321 (386bsd*): Likewise.
4322 (freebsd*): Likewise.
4323 (bsdi*): Likewise.
4324 (osf*): Likewise.
4325 (sunos*): Likewise.
4326 (ultrix*): Likewise.
4327 (newsos*): Likewise.
4328 (dynix*): Likewise.
4329 (*bsd*): Likewise.
4330 (sysv*): Likewise.
4331 (isc*): Likewise.
4332 (esix*): Likewise.
4333 (sco*): Likewise.
4334 (minix*): Likewise.
4335 (irix4*): Likewise.
4336 (irix6*): Likewise.
4337 (solaris[2-9]*): Likewise.
4338 (none): Likewise.
4339 * configure: Regenerated.
4340
0ac229c8
AZ
43412012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4342
4343 [BZ #11521]
4344 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
4345 overflow or cancellation in calculating denominator.
4346 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
4347 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
4348 down expression to avoid unexpected rounding in newer GCCs.
4349 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
4350
33f244f4
DM
43512012-04-26 David S. Miller <davem@davemloft.net>
4352
4353 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
4354 long-double compat symbols.
4355 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
4356 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
4357 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
4358 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
4359 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
4360 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
4361 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
4362 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
4363 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
4364 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
4365 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
4366 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
4367 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
4368
cfa1f3e8
DM
43692012-04-25 David S. Miller <davem@davemloft.net>
4370
4371 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
4372 HWCAP_* values only after the memory barriers have been defined.
4373 (atomic_full_barrier): Define.
4374 (atomic_read_barrier): Define.
4375 (atomic_write_barrier): Define.
4376
6e236b92
SP
43772012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
4378
4379 * shlib-versions: Add libgcc_s version information.
4380 * sysdeps/generic/libgcc_s.h: Remove.
4381 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
4382 libgcc_s.h.
4383 * sysdeps/gnu/unwind-resume.c: Likewise.
4384 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
4385
aab39a09
DM
43862012-04-25 David S. Miller <davem@davemloft.net>
4387
4388 * sysdeps/unix/sparc/brk.S: Delete.
4389 * sysdeps/unix/sparc/dl-brk.S: Delete.
4390 * sysdeps/unix/sparc/pipe.S: Delete.
4391 * sysdeps/unix/sparc/sysdep.S: Delete.
4392 * sysdeps/unix/sparc/sysdep.h: Delete.
4393 * sysdeps/unix/sparc/vfork.S: Delete.
4394 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
4395 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
4396 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
4397 ret_ERRVAL, r0, r1, MOVE): Define.
4398 (JUMPTARGET): Remove.
4399 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
4400 sysdeps/unix/sparc/sysdep.h
4401 (ENTRY, END): Remove.
4402 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
4403
a3cc4f48
JM
44042012-04-25 Joseph Myers <joseph@codesourcery.com>
4405
2ed8cda2
JM
4406 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
4407 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
4408 -DIS_IN_build.
4409
35d76d59
JM
4410 * timezone/README: Update upstream location and email address for
4411 tzcode and tzdata.
4412 * timezone/zdump.c: Update from tzcode 2012b.
4413 * timezone/zic.c: Likewise.
4414
a3cc4f48
JM
4415 * configure.in (libc_cv_as_needed): Remove test.
4416 * configure: Regenerated.
4417 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
4418 conditional definition.
4419 [$(have-as-needed) != yes] (no-as-needed): Likewise.
4420 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
4421 * config.make.in (have-as-needed): Remove variable.
4422
ceab42c3
SP
44232012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
4424 Paul Pluzhnikov <ppluzhnikov@google.com>
4425
4426 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
4427 strings correctly.
4428
3ce2865f
CLT
44292012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
4430
4431 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
4432 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
4433 * sysdeps/sh/strlen.S: Likewise.
4434
f37e0d68
JM
44352012-04-24 Joseph Myers <joseph@codesourcery.com>
4436
ae186e9a
JM
4437 * sysdeps/unix/fork.S: Remove file.
4438 * sysdeps/unix/i386/fork.S: Likewise.
4439 * sysdeps/unix/sparc/fork.S: Likewise.
4440
b96914af
JM
4441 * sysdeps/unix/system.c: Remove file.
4442 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
4443
f37e0d68
JM
4444 * sysdeps/unix/getegid.S: Remove file.
4445 * sysdeps/unix/geteuid.S: Likewise.
4446
87ef29ca
RM
44472012-04-24 Roland McGrath <roland@hack.frob.com>
4448
83bcd236
RM
4449 * scripts/check-localplt.awk: New file.
4450 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
4451 of diff.
4452 * scripts/data/localplt-generic.data: Add a comment.
4453
87ef29ca
RM
4454 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
4455 NODE when __dir_mkfile failed.
4456 * sysdeps/mach/hurd/symlinkat.c: Likewise.
4457 Reported by Ludovic Courtès <ludo@gnu.org>.
4458
e5a6e567
AJ
44592012-04-24 Andreas Jaeger <aj@suse.de>
4460
4461 * Makerules (common-clean): Also remove gen-as-const-headers
4462 files.
4463
c1820385
JM
44642012-04-24 Joseph Myers <joseph@codesourcery.com>
4465
4466 * Makerules (native-compile): Do not change working directory for
4467 build. Use $(OUTPUT_OPTION) in command.
4468 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
4469
94e02fc4
AZ
44702012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4471
4472 [BZ #13886]
4473 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
4474 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
4475 * math/libm-test.inc (floor_test): Add more tests.
4476 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
4477
3a533ca3
JM
44782012-04-24 Joseph Myers <joseph@codesourcery.com>
4479
940ab4b3
JM
4480 * sysdeps/unix/getdents.c: Remove file.
4481 * sysdeps/unix/sysv/getdents.c: Likewise.
4482 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
4483
90e037bd
JM
4484 * sysdeps/unix/syscalls.list (madvise): Add syscall from
4485 sysdeps/unix/mman/syscalls.list.
4486 (mmap): Likewise.
4487 (mprotect): Likewise.
4488 (msync): Likewise.
4489 (munmap): Likewise.
4490 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
4491 * sysdeps/unix/mman/syscalls.list: Remove.
4492 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
4493
3a533ca3
JM
4494 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
4495 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
4496 * configure: Regenerated.
4497 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
4498 $(libgcc_s_suffix).
4499 * config.make.in (libgcc_s_suffix): Remove variable.
4500
1ad743de
JM
45012012-04-23 Joseph Myers <joseph@codesourcery.com>
4502
4ad451e2
JM
4503 * sysdeps/unix/sysv/gethostname.c: Move to ...
4504 * sysdeps/posix/gethostname.c: ... here.
4505
5e37ce39
JM
4506 * sysdeps/unix/execve.S: Remove file.
4507
1ad743de
JM
4508 * sysdeps/unix/_exit.S: Remove file.
4509
4e681b5b
AJ
45102012-04-23 Andreas Jaeger <aj@suse.de>
4511
4512 [BZ #13739]
4513 * manual/Makefile: Remove make dist support, there's no
4514 need for a stand-alone documentation tar ball.
4515 (TEXI2DVI): Define always, it's not in Makeconfig.
4516 (dist): Removed.
4517 (tar-it): Removed.
4518 (edition): Removed.
4519 (glibc-doc-$(edition).tar): Removed
4520 (%.Z): Removed.
4521 (%.gz): Removed.
4522 (%.uu): Removed.
4523 (ETAGS): Remove, it's in Makeconfig.
4524 (move-if-change): Remove, it's in Makeconfig.
4525
c0baea34
PE
45262013-04-23 Paul Eggert <eggert@cs.ucla.edu>
4527
4528 [BZ #13970]
4529 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
4530 (strtod, strtof, strtold, strtol, strtoul, strtoq)
4531 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
4532 (strtod_l, strtof_l, strtold_l): Remove __wur.
4533 It is not necessarily an error to ignore strtol's return value.
4534 One can reliably look at the stored endptr to decide whether
4535 the number had valid syntax.
4536
7c0616fa
AJ
45372012-04-21 Andreas Jaeger <aj@suse.de>
4538
803cb6b7 4539 [BZ #13739]
7c0616fa
AJ
4540 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
4541
b0fe253f
JM
45422012-04-21 Joseph Myers <joseph@codesourcery.com>
4543
4544 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
4545 * sysdeps/unix/sysv/Versions: Remove file.
4546
8280f22d
MT
45472012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
4548
4549 [BZ #13927]
4550 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4551
75ce411f 45522012-04-21 Nick Alcock <nick.alcock@oracle.com>
b8e33728
N
4553
4554 [BZ #7064]
4555 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
4556 version from __vm86.
4557
097d59fa
JM
45582012-04-20 Joseph Myers <joseph@codesourcery.com>
4559
a90f3bcb
JM
4560 * sysdeps/unix/common/lxstat.c: Remove file.
4561 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
4562
edc7ea78
JM
4563 * sysdeps/unix/sysv/Makefile: Remove file.
4564
cb78c221
JM
4565 * sysdeps/unix/sysv/direct.h: Remove file.
4566
efa6a45f
JM
4567 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
4568 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
4569 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
4570 * sysdeps/unix/sysv/bits/signum.h: Likewise.
4571 * sysdeps/unix/sysv/bits/stat.h: Likewise.
4572 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
4573 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
4574
9c9f2d0c
JM
4575 * sysdeps/unix/sysv/setrlimit.c: Remove file.
4576
4541c83b
JM
4577 * sysdeps/unix/xmknod.c: Remove file.
4578 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
4579
f5d153a0
JM
4580 * sysdeps/unix/sysv/settimeofday.c: Remove file.
4581
aa746595
JM
4582 * sysdeps/unix/sysv/i386/time.S: Remove file.
4583
cce5905e
JM
4584 * sysdeps/unix/fxstat.c: Remove file.
4585 * sysdeps/unix/xstat.c: Likewise.
4586 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
4587
37fa3841
JM
4588 * sysdeps/unix/sysv/sigaction.c: Remove file.
4589
ff1962a3
JM
4590 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
4591 (sysdep_headers): Remove variable.
4592 [termio.h not in sysdep_headers] (generated): Likewise.
4593 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
4594 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
4595 * sysdeps/unix/sysv/tcdrain.c: Likewise.
4596 * sysdeps/unix/sysv/tcflow.c: Likewise.
4597 * sysdeps/unix/sysv/tcflush.c: Likewise.
4598 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
4599 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
4600 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
4601 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
4602 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
4603
e7740d31
JM
4604 * sysdeps/unix/siglist.c: Remove file.
4605
ee06f18b
JM
4606 * sysdeps/unix/getppid.S: Remove file.
4607
097d59fa
JM
4608 * sysdeps/unix/mkdir.c: Remove file.
4609 * sysdeps/unix/rmdir.c: Likewise.
4610
ff3d51ec
AS
46112012-04-19 Andreas Schwab <schwab@linux-m68k.org>
4612
4613 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
4614 ERR_MAX value.
4615 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
4616 errlist-compat value.
4617
50f81fd7
DM
46182012-04-18 David S. Miller <davem@davemloft.net>
4619
4620 * sysdeps/generic/memcopy.h (reg_char): Delete.
4621 * debug/strcat_chk.c: Use char, not reg_char.
4622 * debug/strcpy_chk.c: Likewise.
4623 * debug/strncat_chk.c: Likewise.
4624 * debug/strncpy_chk.c: Likewise.
4625 * string/memchr.c: Likewise.
4626 * string/memrchr.c: Likewise.
4627 * string/rawmemchr.c: Likewise.
4628 * string/strcat.c: Likewise.
4629 * string/strchr.c: Likewise.
4630 * string/strchrnul.c: Likewise.
4631 * string/strcmp.c: Likewise.
4632 * string/strcpy.c: Likewise.
4633 * string/strncat.c: Likewise.
4634 * string/strncmp.c: Likewise.
4635 * string/strncpy.c: Likewise.
4636
8ff41c46
WS
46372012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
4638
4639 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
4640 __builtin_memcopy is called when src and dest ranges are known to not
4641 overlap.
4642
6b652f46
WS
46432012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
4644
4645 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
4646 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
4647 fwd_align_merge macro call.
4648 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
4649 bwd_align_merge macro call.
4650 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
4651
b282631e
WS
46522012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
4653
4654 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
4655 bwd_align_merge macros.
4656 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
4657 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
4658 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
4659
95aa737c
DM
46602012-04-18 David S. Miller <davem@davemloft.net>
4661
4662 * sysdeps/sparc/sparc64/memcopy.h: Delete.
4663
7a99a614
AJ
46642012-04-18 Andreas Jaeger <aj@suse.de>
4665
4666 [BZ# 6794]
4667 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
4668 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
4669 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
4670
4671 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
4672 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
4673 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
4674
4675 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
4676 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
4677 Adjust for changed ldbl-128 files.
4678
4679 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
4680 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
4681 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
4682
e5270c23
DM
46832012-04-17 David S. Miller <davem@davemloft.net>
4684
4685 * sysdeps/sparc/sparc32/memcopy.h: Delete.
4686
fb5e92c9
AS
46872012-04-17 Andreas Schwab <schwab@linux-m68k.org>
4688
4689 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
4690 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
4691 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
4692 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
4693 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
4694 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
4695
76da7265
AZ
46962012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4697
4698 [BZ #6794]
4699 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
4700 * math/libm-test.inc: Add ilogb errno and exception tests.
4701 * math/w_ilogb.c: New file: ilogb wrapper.
4702 * math/w_ilogbf.c: New file: ilogbf wrapper.
4703 * math/w_ilogbl.c: New file: ilogbl wrapper.
4704 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
4705 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
4706 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
4707 exception being thrown with 0.0 as argument.
4708 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
4709 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
4710 exception being thrown with 0.0 as argument.
4711 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
4712 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
4713 exception being thrown with 0.0 as argument.
4714 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
4715 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
4716 exception being thrown with 0.0 as argument.
4717 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
4718 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
7a99a614 4719 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
76da7265
AZ
4720 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
4721 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
4722 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
4723 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
4724 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
4725 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
4726
0396e69d
PB
47272012-04-17 Petr Baudis <pasky@ucw.cz>
4728
4729 * include/sys/uio.h: Change __vector to __iovec to avoid clash
4730 with altivec.
4731
750b5926
MP
47322012-04-16 Marek Polacek <polacek@redhat.com>
4733
4734 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
4735
751728a1
MP
47362012-04-16 Marek Polacek <polacek@redhat.com>
4737
4738 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
4739 operands of fdivp instruction.
4740
34a27407
L
47412012-04-13 H.J. Lu <hongjiu.lu@intel.com>
4742
4743 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
4744 * elf/tst-auditmod3b.c: Likewise.
4745 * elf/tst-auditmod4b.c: Likewise.
4746 * elf/tst-auditmod5b.c: Likewise.
4747 * elf/tst-auditmod6b.c: Likewise.
4748 * elf/tst-auditmod6c.c: Likewise.
4749 * elf/tst-auditmod7b.c: Likewise.
4750 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
4751 * sysdeps/x86_64/preconfigure.in: Likewise.
4752 * sysdeps/x86_64/preconfigure: Regenerated.
4753
7e73e17d
L
47542012-04-13 H.J. Lu <hongjiu.lu@intel.com>
4755
4756 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
4757 __ILP32__.
4758
c7a6ab72
AB
47592012-04-13 Antoine Balestrat <merkil33@gmail.com>
4760
4761 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
4762 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
4763
a9e8e0e0
CL
47642012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
4765
4766 [BZ #13973]
4767 * locale/iso-639.def: Fix gl language name. Spotted by
4768 Yaron Shahrabani.
4769
ec98af7d
RM
47702012-04-12 Roland McGrath <roland@hack.frob.com>
4771
4772 [BZ #2074]
4773 * libio/libio.h (__io_write_fn): Update comment.
4774
247c3ede
PB
47752012-04-12 Petr Baudis <pasky@ucw.cz>
4776
4777 [BZ #2074]
4778 * stdio.texi (Hook Functions): The user provided writer function
4779 is not allowed to return -1.
4780
55939d6d
DM
47812012-04-11 David S. Miller <davem@davemloft.net>
4782
4783 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4784
90020f5a
MF
47852012-04-11 Mike Frysinger <vapier@gentoo.org>
4786
4787 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
4788 Add a leading slash to rtkaio.
4789
288f9098
JM
47902012-04-11 Jim Meyering <meyering@redhat.com>
4791
90020f5a
MF
4792 [BZ #11959]
4793 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
4794 It is not necessarily an error to ignore fwrite's return
4795 value. One can reliably use ferror to test for errors after
4796 the fact.
288f9098 4797
4be2b570
L
47982012-04-10 H.J. Lu <hongjiu.lu@intel.com>
4799
4800 * bits/types.h (__snseconds_t): New type.
4801 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
4802
4803 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
4804 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
4805 (__SNSECONDS_T_TYPE): Likewise.
4806 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
4807 (__SNSECONDS_T_TYPE): Likewise.
4808 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
4809 (__SNSECONDS_T_TYPE): Likewise.
4810
288f9098 48112012-04-10 Andreas Jaeger <aj@suse.de>
4cfd8026
AJ
4812
4813 [BZ #2636]
4814 * manual/time.texi (Processor Time): Return type of times is
4815 elapsed real time since an arbitrary point in the past.
4816 (CPU Time): Move CLK_TCK from here...
4817 (Processor Time): ...to here. Correct description.
4818 * manual/conf.texi (Constants for Sysconf): Correct description of
4819 _SC_CLK_TCK.
4820
d7dd4413
DM
48212012-04-10 David S. Miller <davem@davemloft.net>
4822
4823 [BZ #13967]
4824 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
4825 where the is a gap between DT_REL(A) and DT_JMPREL.
4826
b46068fc
L
48272012-04-10 H.J. Lu <hongjiu.lu@intel.com>
4828
4829 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
4830 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
4831 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
4832
73d65cc3
SP
48332012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
4834
4835 * elf/dl-support.c (_dl_inhibit_cache): New variable.
4836 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
4837 (dl_main): Handle --inhibit-cache.
4838 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
4839 _dl_inhibit_cache.
4840 * elf/dl-load.c (_dl_map_object): Use it.
4841 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
4842
bcc8d661
JM
48432012-04-09 Joseph Myers <joseph@codesourcery.com>
4844
8f9a2fae
JM
4845 [BZ #13872]
4846 * sysdeps/i386/fpu/e_powl.S (p78): New object.
4847 (__ieee754_powl): Saturate large exponents rather than testing for
4848 overflow of y*log2(x).
4849 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
4850 * math/libm-test.inc (pow_test): Do not permit spurious overflow
4851 exceptions.
4852
bcc8d661
JM
4853 [BZ #11521]
4854 * math/s_ctan.c: Include <float.h>.
4855 (__ctan): Avoid internal overflow or cancellation in calculating
4856 denominator.
4857 * math/s_ctanf.c: Likewise.
4858 * math/s_ctanl.c: Likewise.
4859 * math/s_ctanh.c: Likewise.
4860 * math/s_ctanhf.c: Likewise.
4861 * math/s_ctanhl.c: Likewise.
4862 * math/libm-test.inc (ctan_test): Add more tests.
4863 (ctanh_test): Likewise.
4864 * sysdeps/i386/fpu/libm-test-ulps: Update.
4865 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4866
823fbbb4
AJ
48672012-04-09 Andreas Jaeger <aj@suse.de>
4868
03879793
AJ
4869 [BZ #6894]
4870 * manual/filesys.texi (Directory Entries): Mention that d_namlen
4871 is an optional BSD extension.
4872
823fbbb4
AJ
4873 [BZ #10254]
4874 * manual/stdio.texi (Opening Streams): Document additional fopen
4875 parameters.
4876
8de131cb
RM
48772012-04-09 Roland McGrath <roland@hack.frob.com>
4878
4879 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
4880 %eax without telling the compiler.
4881
c0ed9d7d
CD
48822012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
4883
4884 [BZ # 13963]
4885 * manual/install.texi: Use sourceware.org.
4886
c483f6b4
JM
48872012-04-09 Joseph Myers <joseph@codesourcery.com>
4888
d7dd9453
JM
4889 [BZ #13873]
4890 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
4891 (__ieee754_pow): Generate overflow and underflow using huge*huge
4892 and tiny*tiny rather than just returning constant infinity or zero
4893 for large exponents.
4894 * math/libm-test.inc (pow_test): Require overflow exceptions for
4895 applicable cases of large exponents.
4896
c483f6b4
JM
4897 [BZ #706]
4898 * sysdeps/i386/fpu/e_pow.S (p10): New object.
4899 (__ieee754_pow): Use iterative multiplication algorithm only for
4900 integer exponents with absolute value below 1024. Check for odd
4901 integer exponents when using algorithm for real exponents.
4902 * math/libm-test.inc (pow_test): Add more tests.
4903 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4904
d2de7579
JM
49052012-04-08 Joseph Myers <joseph@codesourcery.com>
4906
4907 [BZ #13705]
4908 * math/libm-test.inc (exp_test): Do not allow overflow exception
4909 on underflow test.
4910
f77f1232
AJ
49112012-04-08 Aurelien Jarno <aurelien@aurel32.net>
4912
4913 [BZ #13705]
4914 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
4915 instead of __kernel_standard_f.
4916
3884932b
MF
49172012-04-08 Mike Frysinger <vapier@gentoo.org>
4918
4919 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
4920 * sysdeps/x86_64/memset_chk.S: Likewise.
4921
54472e9c
AJ
49222012-04-08 Andreas Jaeger <aj@suse.de>
4923
6ab0fbfc
AJ
4924 [BZ #10153]
4925 * manual/startup.texi (Environment Access): Describe return value
4926 for putenv and setenv.
4927
61efba8c
AJ
4928 [BZ #6895]
4929 * manual/filesys.texi (Directory Entries): Add description for
4930 DT_LNK.
4931
95c3f29a
AJ
4932 [BZ #6890]
4933 * manual/filesys.texi (Directory Entries): Clarify that it's file
4934 system not operating system in the description of DT_UNKNOWN.
4935
54472e9c
AJ
4936 [BZ #6578]
4937 * manual/syslog.texi (closelog): Fix reference, it's openlog.
4938
624254b1
SC
49392012-04-08 Stephen Compall <s11@member.fsf.org>
4940
4941 [BZ #6649]
4942 * manual/llio.texi (Opening and Closing Files): Add cross
4943 reference to explain mode argument.
4944
1e4920e0
MF
49452012-04-07 Mike Frysinger <vapier@gentoo.org>
4946
4947 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
4948 * sysdeps/x86_64/memset_chk.S: Likewise.
4949
5ed848f3
DM
49502012-04-07 David S. Miller <davem@davemloft.net>
4951
4952 * elf/elf.h (R_SPARC_WDISP10): Define.
4953 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
4954 R_SPARC_SIZE32.
4955 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
4956 R_SPARC_SIZE64 and R_SPARC_H34.
4957
96154cd8
CD
49582012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
4959
4960 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
4961 conditions and remove no longer applicable assertion.
4962
9904dc47
L
49632012-04-06 H.J. Lu <hongjiu.lu@intel.com>
4964
4965 * bits/byteswap.h: Include <features.h>.
4966 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
4967 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
4968
f8887d0a
L
49692012-04-06 H.J. Lu <hongjiu.lu@intel.com>
4970
4971 * bits/byteswap.h (__bswap_16): Removed.
4972 Include <bits/byteswap-16.h> to get __bswap_16.
4973 * sysdeps/i386/bits/byteswap.h: Likewise.
4974 * sysdeps/s390/bits/byteswap.h: Likewise.
4975 * sysdeps/x86_64/bits/byteswap.h: Likewise.
4976 * bits/byteswap-16.h: New file.
4977 * sysdeps/i386/bits/byteswap-16.h: Likewise.
4978 * sysdeps/s390/bits/byteswap-16.h: Likewise.
4979 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
4980 * string/Makefile (headers): Add bits/byteswap-16.h.
4981
62470f60
PP
49822012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
4983
4984 [BZ #13895]
4985 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
4986 extra indirection.
4987 * nss/Makefile (tests-static, tests): Add tst-nss-static.
4988 * nss/tst-nss-static.c: New.
4989
4dad7bab
RM
49902012-04-06 Robert Millan <rmh@gnu.org>
4991
4992 [BZ #6486]
4993 * manual/llio.texi (File Position Primitive): lseek
4994 refers to WHENCE when it really means OFFSET.
4995
e9142a17
AJ
49962012-04-06 Andreas Jaeger <aj@suse.de>
4997
2c040eff
AJ
4998 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
4999 strncmp declarations.
5000
e9142a17
AJ
5001 * abilist/libc.abilist: Add __poll and __ppoll.
5002
ff9f1c5f
DM
50032012-04-05 David S. Miller <davem@davemloft.net>
5004
dcd2ae90
DM
5005 * scripts/check-local-headers.sh: Accept a host triplet in the
5006 path matched by the exclude regexp.
5007
993eb054
DM
5008 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
5009 definition.
5010 * sysdeps/powerpc/powerpc32/dl-machine.h
5011 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
5012 * sysdeps/s390/s390-32/dl-machine.h
5013 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
5014 * sysdeps/sparc/sparc32/dl-machine.h
5015 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
5016 * sysdeps/sparc/sparc64/dl-machine.h
5017 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
5018
ff9f1c5f
DM
5019 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
5020 lazy binding.
48e2e132 5021 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
ff9f1c5f
DM
5022 undefined symbol errors.
5023
48e2e132 5024 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
ff9f1c5f
DM
5025 DT_NEEDED entries.
5026
e80d6f94
MM
50272012-04-05 Michael Matz <matz@suse.de>
5028
5029 [BZ #13592]
5030 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
5031
349fa79f
AJ
50322012-04-05 Andreas Jaeger <aj@suse.de>
5033
5034 [BZ #13908]
5035 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
5036 comment.
5037
f402708f
KK
50382012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
5039
5040 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
5041 which ROUND is no valid rounding mode.
5042
2ecccfc9
KK
50432012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
5044
5045 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
5046 read again.
5047 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
5048
8a53f50f
KK
50492012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
5050
5051 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
5052 an exception using FPU order intentionally.
5053
50542012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
5055
5056 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
5057 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
5058 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
5059 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
5060
d653abb7
SJ
50612012-04-05 Simon Josefsson <simon@josefsson.org>
5062
5063 [BZ #12340]
5064 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
5065 EINVAL when BUFLEN is too smal.
5066
c3b1bf7d
TS
50672012-04-05 Thomas Schwinge <thomas@codesourcery.com>
5068
5069 [BZ #13553]
5070 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
5071 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
5072
b1aa60f3
AJ
50732012-04-03 Andreas Jaeger <aj@suse.de>
5074
c3b1bf7d 5075 [BZ #13938]
67f60a26
AJ
5076 * manual/setjmp.texi (System V contexts): Fix sentence.
5077
b1aa60f3
AJ
5078 [BZ #13926]
5079 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
5080 New macro for this case.
5081 [!__GNUC__] (__bswap_64): New inline function for this case.
5082 * sysdeps/x86_64/bits/byteswap.h: Likewise.
5083 * bits/byteswap.h: Likewise.
5084 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
5085 ull, guard with __GLIBC_HAVE_LONG_LONG.
5086
5087 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
5088 __GLIBC_HAVE_LONG_LONG.
5089
5090 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
5091 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
5092
39c59c35
TMQMF
50932012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
5094
5095 [BZ #13691]
5096 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
5097 inptr and inend, rather than using last_ch.
5098
135ffda8
DM
50992012-04-02 David S. Miller <davem@davemloft.net>
5100
5101 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
5102 * stdio-common/printf-parse.h (read_int): Change return type to
5103 'int', return -1 on INT_MAX overflow.
5104 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
5105 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
5106 overflows INT_MAX. Check for overflow of in-format-string precision
5107 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
5108 SIZE_MAX not INT_MAX for integer overflow test.
5109 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
5110 skip the construct in the format string but do not record anything.
5111 * stdio-common/bug22.c: Adjust to test both width/prevision
5112 INT_MAX overflow as well as total length INT_MAX overflow. Check
5113 explicitly for proper errno values.
5114
228c019e
TS
51152012-04-02 Thomas Schwinge <thomas@codesourcery.com>
5116
302cadd3
TS
5117 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
5118 CHAR_MAX.
5119 * string/test-strcmp.c [! WIDE]: Likewise.
5120 * time/tst-mktime2.c: Likewise for INT_MAX.
5121 * string/test-string.h: #include <sys/param.h> for MIN.
5122
228c019e
TS
5123 * csu/init-first.c (__libc_init_first): Call __ctype_init.
5124 * sysdeps/i386/init-first.c (init): Likewise.
5125 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
5126 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
5127 * sysdeps/sh/init-first.c (init): Likewise.
5128
cfa633f5
UD
51292012-04-01 Ulrich Drepper <drepper@gmail.com>
5130
5131 * po/ru.po: Update from translation team.
d1635ef8 5132 * po/vi.po: Likewise.
cfa633f5 5133
6cd0a5ea
SP
51342012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
5135
5136 * resolv/nss_dns/dns-host.c: Merge copyright years.
5137
4b43400f
LD
51382012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
5139
5140 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
5141 Optimize memcpy with prefetch if
5142 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
5143 src, dst pointers have unequal 16 byte alignments.
5144
48c41d04
SP
51452012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
5146
5147 [BZ #13928]
5148 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
5149 from a CNAME entry and return the minimum ttl for the query.
5150 (gaih_getanswer_slice): Likewise.
5151
b8dc394d
JL
51522012-03-30 Jeff Law <law@redhat.com>
5153
5154 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
5155 due to long keys.
5156 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
5157 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
5158
2f5a5ed0
JL
5159 * resolv/nss_dns/dns-host.c: Update copyright year.
5160
1d39e359
UD
51612012-03-30 Ulrich Drepper <drepper@gmail.com>
5162
c030f70c 5163 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8e6d1083 5164 requests to save a system call. Fix check that all bytes are sent.
c030f70c 5165
1d39e359
UD
5166 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
5167 comments for sendmmsg.
5168
51692012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
e64d2de5
TMQMF
5170
5171 [BZ #13691]
5172 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
5173 with only 1 character between 0x0041 and 0x01b0.
5174 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
5175 * wcsmbs/tst-mbsnrtowcs.c: New file.
5176
20fde227
DM
51772012-03-29 David S. Miller <davem@davemloft.net>
5178
5179 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
5180 small copies by hand.
5181
984a4237
JL
51822012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
5183
5184 [BZ #13761]
5185 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
5186 _nss_compat_initgroups_dyn): Fall back to malloc/free
5187 for large group memberships.
5188
18c9d62b
DM
51892012-03-28 David S. Miller <davem@davemloft.net>
5190
88d85d4f
DM
5191 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
5192 that branches into memcpy.
5193 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
5194 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
5195 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
5196 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
5197 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
5198 bits.
5199 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
5200 implementation too.
5201 * sysdeps/sparc/mempcpy.S: New file.
5202
e5aa83e1
DM
5203 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
5204 the IFUNC routine in the libc case.
5205 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
5206
88570753
DM
5207 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
5208 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
5209 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
5210 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
5211 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
5212 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
5213 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
5214 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
5215
249d7567
DM
5216 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
5217 loop to 256 bytes instead of 64 bytes and fix test signedness.
5218
18c9d62b
DM
5219 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
5220 * sysdeps/sparc/sparc32/Makefile: rather than here...
5221 * sysdeps/sparc/sparc64/Makefile: and here.
5222
05f3d1f6
UD
52232012-03-28 Ulrich Drepper <drepper@gmail.com>
5224
5225 * malloc/mallocbug.c: Avoid warnings about unused variables.
5226
86ae07a8
JL
52272012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
5228
5229 [BZ #13760]
5230 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
5231 in the right place. Discard and retry query if response is
5232 larger than input buffer size.
5233
41bf21a1
JM
52342012-03-28 Joseph Myers <joseph@codesourcery.com>
5235
d6270972
JM
5236 [BZ #369]
5237 [BZ #2678]
5238 [BZ #3866]
5239 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
5240 x for large integer exponent.
5241 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
5242 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
5243 sign of result as needed afterwards.
5244 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
5245 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
5246 result for underflowing pow the same as for overflow.
5247 (__kernel_standard_l): Handle powl overflow and underflow here
5248 rather than calling __kernel_standard.
5249 * math/libm-test.inc (pow_test): Add more tests.
5250
414fca03 5251 [BZ #3868]
41bf21a1
JM
5252 [BZ #13879]
5253 [BZ #13910]
5254 [BZ #13911]
5255 [BZ #13912]
5256 [BZ #13913]
5257 [BZ #13915]
5258 [BZ #13916]
5259 [BZ #13917]
5260 [BZ #13918]
5261 [BZ #13919]
5262 [BZ #13920]
5263 [BZ #13921]
5264 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
5265 * sysdeps/ieee754/k_standard.c: Include <float.h>.
5266 (__kernel_standard_l): New function.
5267 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
5268 __kernel_standard.
5269 * math/w_acosl.c (__acosl): Likewise.
5270 * math/w_asinl.c (__asinl): Likewise.
5271 * math/w_atan2l.c (__atan2l): Likewise.
5272 * math/w_atanhl.c (__atanhl): Likewise.
5273 * math/w_coshl.c (__coshl): Likewise.
5274 * math/w_exp10l.c (__exp10l): Likewise.
5275 * math/w_exp2l.c (__exp2l): Likewise.
5276 * math/w_fmodl.c (__fmodl): Likewise.
5277 * math/w_hypotl.c (__hypotl): Likewise.
5278 * math/w_j0l.c (__j0l, __y0l): Likewise.
5279 * math/w_j1l.c (__j1l, __y1l): Likewise.
5280 * math/w_jnl.c (__jnl, __ynl): Likewise.
5281 * math/w_lgammal.c (__lgammal): Likewise.
5282 * math/w_log10l.c (__log10l): Likewise.
5283 * math/w_log2l.c (__log2l): Likewise.
5284 * math/w_logl.c (__logl): Likewise.
5285 * math/w_powl.c (__powl): Likewise.
5286 * math/w_remainderl.c (__remainderl): Likewise.
5287 * math/w_scalbl.c (sysv_scalbl): Likewise.
5288 * math/w_sinhl.c (__sinhl): Likewise.
5289 * math/w_sqrtl.c (__sqrtl): Likewise.
5290 * math/w_tgammal.c (__tgammal): Likewise.
5291 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
5292 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
5293 * math/libm-test.inc (acos_test): Add more tests.
5294 (acosh_test): Likewise.
5295 (asin_test): Likewise.
5296 (atanh_test): Likewise.
5297 (exp_test): Likewise.
5298 (exp10_test): Likewise.
5299 (exp2_test): Likewise.
5300 (expm1_test): Likewise.
5301 (lgamma_test): Likewise.
5302 (log_test): Likewise.
5303 (log10_test): Likewise.
5304 (log1p_test): Likewise.
5305 (log2_test): Likewise.
5306 (pow_test): Do not allow some spurious overflow exceptions.
5307 (sqrt_test): Add more tests.
5308 (tgamma_test): Likewise.
5309 (y0_test): Likewise.
5310 (y1_test): Likewise.
5311 (yn_test): Likewise.
5312
dd62fda6
AB
53132012-03-27 Anton Blanchard <anton@samba.org>
5314
5315 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
5316 MAP_HUGETLB.
5317 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
5318 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
5319 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
5320
1e3cdfda
AJ
53212012-03-27 David S. Miller <davem@davemloft.net>
5322
b855ab85
DM
5323 * conform/Makefile: Run run-conformtest.sh using $(BASH).
5324
1e3cdfda
AJ
5325 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
5326 have-as-vis3 check.
5327
53282012-03-27 Andreas Jaeger <aj@suse.de>
5329
5330 * sysdeps/x86_64/elf/configure.in: Moved to ...
5331 * sysdeps/x86_64/configure.in: ... here.
5332 * sysdeps/x86_64/elf/start.S: Moved to ...
5333 * sysdeps/x86_64/start.S: ... here.
5334 * sysdeps/x86_64/elf/configure: Delete.
5335
5336 * sysdeps/x86_64/configure.in: Merge contents from
5337 sysdeps/i386/configure.in (without i686 check).
5338
5339 * sysdeps/i386/elf/Versions: Merge into ...
5340 * sysdeps/i386/Versions: ... this.
5341 * sysdeps/i386/elf/Versions: Delete file.
5342 * sysdeps/i386/elf/start.S: Moved to ...
5343 * sysdeps/i386/start.S: ...here.
5344 * sysdeps/i386/elf/configure.in: Merge into...
5345 * sysdeps/i386/configure.in: ...here.
5346 * sysdeps/i386/elf/configure.in: Delete file.
5347 * sysdeps/i386/elf/configure: Delete file.
5348
5349 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
5350 * debug/backtracesyms.c: ... here.
5351 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
5352 * debug/backtracesymsfd.c: ... here.
5353 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
5354 * sysdeps/generic/ifunc-sel.h: ... here.
5355
5356 * sysdeps/unix/i386/start.c: Delete file.
5357 * sysdeps/unix/sparc/start.c: Delete file.
5358 * sysdeps/unix/start.c: Delete file.
5359
5360 * sysdeps/sh/elf/configure.in: Moved to ...
5361 * sysdeps/sh/configure.in: ... here.
5362 * sysdeps/sh/elf/start.S: Moved to ...
5363 * sysdeps/sh/start.S: ... here.
5364 * sysdeps/sh/elf/configure: Delete file.
5365
5366 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
5367 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
5368 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
5369 * sysdeps/powerpc/powerpc64/entry.h: ... here.
5370 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
5371 * sysdeps/powerpc/powerpc64/start.S: here.
5372 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
5373 * sysdeps/powerpc/powerpc64/Makefile: ... this.
5374 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
5375 * sysdeps/powerpc/powerpc64/configure.in: ... this.
5376 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
5377
5378 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
5379 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
5380 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
5381 * sysdeps/powerpc/powerpc32/start.S: ... here.
5382 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
5383 * sysdeps/powerpc/powerpc32/configure.in: ... this.
5384 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
5385
5386 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
5387 * sysdeps/powerpc/ifunc-sel.h: ... here.
5388 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
5389 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
5390
5391 * sysdeps/sparc/elf/configure.in: Moved to ...
5392 * sysdeps/sparc/configure.in: ... here.
5393 * sysdeps/sparc/elf/configure: Delete file.
5394 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
5395 * sysdeps/sparc/sparc32/start.S: ... here.
5396 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
5397 * sysdeps/sparc/sparc64/start.S: ... here.
5398 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
5399 * sysdeps/sparc/sparc32/Makefile: ... this.
5400 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
5401 * sysdeps/sparc/sparc64/Makefile: ... this.
5402
5403 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
5404 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
5405 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
5406 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
5407 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
5408 * sysdeps/s390/s390-32/setjmp.S: ... here.
5409 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
5410 * sysdeps/s390/s390-32/configure.in: ... here.
5411 * sysdeps/s390/s390-32/elf/configure: Delete file.
5412 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
5413 * sysdeps/s390/s390-32/start.S: ... here.
5414
5415 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
5416 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
5417 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
5418 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
5419 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
5420 * sysdeps/s390/s390-64/setjmp.S: ... here.
5421 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
5422 * sysdeps/s390/s390-64/configure.in: ... here
5423 * sysdeps/s390/s390-64/elf/configure: Delete file.
5424 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
5425 * sysdeps/s390/s390-64/start.S: ... here.
5426 * sysdeps/s390/s390-64/elf/configure: Delete.
5427
5428 * configure.in: Remove support for elf directories in sysdeps.
5429
5430 * configure: Regenerated.
5431 * sysdeps/i386/configure: Regenerated.
5432 * sysdeps/powerpc/powerpc32/configure: Regenerated.
5433 * sysdeps/powerpc/powerpc64/configure: Regenerated.
5434 * sysdeps/s390/s390-32/configure: Regenerated.
5435 * sysdeps/s390/s390-64/configure: Regenerated.
5436 * sysdeps/sh/configure: Regenerated.
5437 * sysdeps/sparc/configure: Regenerated.
5438 * sysdeps/x86_64/configure: Regenerated.
5439
a3f61311
AS
54402012-03-26 Andreas Schwab <schwab@linux-m68k.org>
5441
c876e002
AS
5442 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5443
a3f61311
AS
5444 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
5445 denormal result into account.
5446
ac4c54f0
RM
54472012-03-25 Roland McGrath <roland@hack.frob.com>
5448
5449 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
5450 Reported by Allan McRae <allan@archlinux.org>.
5451
6a9b9c02
JL
54522012-03-23 Jeff Law <law@redhat.com>
5453
5454 * nss/getnssent.c (__nss_getent): Fix typo.
5455
4c42a0c1
DM
54562012-03-23 David S. Miller <davem@davemloft.net>
5457
5458 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5459
1532c7ac
L
54602012-03-23 H.J. Lu <hongjiu.lu@intel.com>
5461
5462 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
5463 to pad to uint64_t for each field.
5464 (dl_tls_index): Replace unsigned long with uint64_t.
5465
3ff42526
PP
54662012-03-23 Daniel Jacobowitz <dmj@google.com>
5467 Paul Pluzhnikov <ppluzhnikov@google.com>
5468
5469 [BZ #6528]
5470 * grp/Makefile (otherlibs): Don't set it.
5471 * inet/Makefile (otherlibs): Likewise.
5472 * login/Makefile (otherlibs): Likewise.
5473 * nscd/Makefile (otherlibs): Likewise.
5474 * posix/Makefile (otherlibs): Likewise.
5475 * pwd/Makefile (otherlibs): Likewise.
5476 * rt/Makefile (otherlibs): Likewise.
5477 * sunrpc/Makefile (otherlibs): Likewise.
5478 * nss/Makefile (otherlibs): Likewise.
5479 Add libnss_files to routines and static-only-routines.
5480 ($(objpfx)getent): Remove rule.
5481 * resolv/Makefile: Add libnss_dns and libresolv to routines and
5482 static-only-routines.
5483
7c69cd14
JM
54842012-03-22 Joseph Myers <joseph@codesourcery.com>
5485
5486 [BZ #13892]
5487 * math/s_cexp.c: Include <float.h>.
5488 (__cexp): Handle exp result overflowing not necessarily
5489 overflowing both real and imaginary parts of result.
5490 * math/s_cexpf.c: Likewise.
5491 * math/s_cexpl.c: Likewise.
5492 * math/libm-test.inc (cexp_test): Add more tests.
5493 * sysdeps/i386/fpu/libm-test-ulps: Update.
5494 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5495
81b035fe
L
54962012-03-22 H.J. Lu <hongjiu.lu@intel.com>
5497
5498 * include/link.h (ELFW): New macro.
5499 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
5500 Replace ELF64_R_TYPE with ELFW(R_TYPE).
5501
1da7940c
L
55022012-03-22 H.J. Lu <hongjiu.lu@intel.com>
5503
5504 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
5505 with uint64_t.
5506
b749dbb9
L
55072012-03-22 H.J. Lu <hongjiu.lu@intel.com>
5508
5509 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
5510 declaration.
5511 (struct La_x32_retval): Likewise.
5512
2ff87f3f
L
55132012-03-22 H.J. Lu <hongjiu.lu@intel.com>
5514
5515 * sysdeps/x86_64/preconfigure.in: New file.
5516 * sysdeps/x86_64/preconfigure: New generated file.
5517
c0df8e69
JM
55182012-03-22 Joseph Myers <joseph@codesourcery.com>
5519
48e44791
JM
5520 [BZ #13824]
5521 * math/e_exp2l.c: Include <float.h>.
5522 (__ieee754_exp2l): Handle overflow and underflow cases
5523 separately. Only pass fractional part of argument to
5524 __ieee754_expl.
5525 * math/libm-test.inc (exp2_test): Add more tests.
5526
c0df8e69
JM
5527 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
5528 negating x to take absolute value.
5529 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
5530 Likewise.
5531 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
5532 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
5533 Likewise.
5534 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
5535 computing low part if x was negated.
5536 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
5537
c8e43ba7
L
55382012-03-21 H.J. Lu <hongjiu.lu@intel.com>
5539
5540 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
5541 la_x32_gnu_pltexit.
5542 (pltexit): Cast int_retval to ptrdiff_t.
5543 * elf/tst-auditmod3b.c: Likewise.
5544 * elf/tst-auditmod4b.c: Likewise.
5545 * elf/tst-auditmod5b.c: Likewise.
5546 * elf/tst-auditmod6b.c: Likewise.
5547 * elf/tst-auditmod6c.c: Likewise.
5548 * elf/tst-auditmod7b.c: Likewise.
5549
5550 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
5551 and x32_gnu_pltexit.
5552
5553 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
5554 __ELF_NATIVE_CLASS.
5555 (La_x32_regs): New macro.
5556 (La_x32_retval): Likewise.
5557 (la_x32_gnu_pltenter): New function prototype.
5558 (la_x32_gnu_pltexit): Likewise.
5559
7998fa78
AS
55602012-03-21 Andreas Schwab <schwab@linux-m68k.org>
5561
dcb33988
AS
5562 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
5563 exponent.
5564
233fc563
AS
5565 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5566
7998fa78
AS
5567 * configure.in (libc_cv_cc_nofma): Check for option to disable
5568 generation of FMA instructions.
5569 * configure: Regenerate.
5570 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
5571 * sysdeps/ieee754/dbl-64/Makefile: New file.
5572 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
5573 Remove brandred-fma4.
5574 (CFLAGS-brandred-fma4.c): Remove.
5575 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
5576 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
5577 define.
5578 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
5579 define.
5580
8e95c99a
L
55812012-03-21 H.J. Lu <hongjiu.lu@intel.com>
5582
5583 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
5584 LLONG_MAX != LONG_MAX.
5585 (_itoa_word): Use _ITOA_WORD_TYPE on value.
5586 (_fitoa_word): Likewise.
5587 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
5588 LLONG_MAX != LONG_MAX.
5589 * stdio-common/_itowa.h: Include <_itoa.h>.
5590 (_itowa_word): Use _ITOA_WORD_TYPE on value.
5591 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
5592 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
5593 only if not defined.
5594 (_ITOA_WORD_TYPE): Likewise.
5595 (_itoa_word): Use _ITOA_WORD_TYPE on value.
5596 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
5597
6f4db457
DM
55982012-03-21 David S. Miller <davem@davemloft.net>
5599
5600 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5601
7785fe5a
L
56022012-03-21 H.J. Lu <hongjiu.lu@intel.com>
5603
5604 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
5605 of x86_64 when setting libc_cv_slibdir, libdir and
5606 libc_cv_localedir.
5607 * sysdeps/unix/sysv/linux/configure: Regenerated.
5608
4535cd55
JM
56092012-03-21 Joseph Myers <joseph@codesourcery.com>
5610
5611 * manual/lang.texi (Old Varargs): Remove section.
5612 (How Variadic): Update menu.
5613 (va_start): Do not mention varargs.h.
5614
17228132
TS
56152012-03-21 Thomas Schwinge <thomas@codesourcery.com>
5616 Joseph Myers <joseph@codesourcery.com>
5617
5618 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
5619 link test.
5620 * configure: Regenerated.
5621
8149f976
TS
56222012-03-21 Thomas Schwinge <thomas@codesourcery.com>
5623
05f3d1f6
UD
5624 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
5625 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
5626 conformtest.pl
8149f976 5627
1a4ac776
JM
56282012-03-21 Joseph Myers <joseph@codesourcery.com>
5629
be22ce65
JM
5630 * NOTES: Remove.
5631 * Makefile (files-for-dist): Remove NOTES.
5632 (NOTES): Remove rule.
5633 * README: Don't refer to NOTES.
5634 * manual/creature.texi: Don't include macros.texi.
5635 * manual/intro.texi (creature.texi): Remove comment referring to
5636 NOTES.
5637
40b601fb
JM
5638 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
5639 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
5640 * configure: Regenerated.
5641 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
5642 LIBC_TRY_CC_OPTION.
5643 (libc_cv_as_i686): Likewise.
5644 (libc_cv_cc_avx): Likewise.
5645 (libc_cv_cc_sse2avx): Likewise.
5646 (libc_cv_cc_fma4): Likewise.
5647 (libc_cv_cc_novzeroupper): Likewise.
5648 * sysdeps/i386/configure: Regenerated.
5649
1a4ac776
JM
5650 [BZ #13883]
5651 * sysdeps/i386/fpu/s_cexp.S: Remove.
5652 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
5653 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
5654 * math/libm-test.inc (cexp_test): Add more tests.
5655 * sysdeps/i386/fpu/libm-test-ulps: Update.
5656 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5657
a458e7fe
AM
56582012-03-21 Allan McRae <allan@archlinux.org>
5659
5660 * timezone/Makefile: Do not install iso3166.tab and zone.tab
5661
0cb7efc5
JM
56622012-03-21 Joseph Myers <joseph@codesourcery.com>
5663
5664 [BZ #13871]
5665 * math/w_exp2.c: Do not include <float.h>.
5666 (o_threshold, u_threshold): Remove.
5667 (__exp2): Calculate result before checking finiteness and calling
5668 __kernel_standard.
5669 * math/w_exp2f.c: Likewise.
5670 * math/w_exp2l.c: Likewise.
5671 * math/libm-test.inc (exp2_test): Require overflow exception for
5672 1e6 input.
2460d3aa
JM
5673
5674 [BZ #3866]
5675 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
5676 range of signed 64-bit integers before using fistpll. Remove
5677 checks for whether integers fit in mantissa bits.
5678 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
5679 the range of signed 32-bit integers before using fistpl. Remove
5680 checks for whether integers fit in mantissa bits.
5681 * sysdeps/i386/fpu/e_powl.S (p64): New object.
5682 (__ieee754_powl): Test for y outside the range of signed 64-bit
5683 integers before using fistpll. Reduce 64-bit values to 63-bit
5684 ones as needed.
5685 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
5686 divide-by-zero is raised for zero to large negative powers.
5687 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
5688 (__ieee754_powl): Test for y outside the range of signed 64-bit
5689 integers before using fistpll. Reduce 64-bit values to 63-bit
5690 ones as needed.
5691 * math/libm-test.inc (pow_test): Add more tests.
5692
eb96ffb0
L
56932012-03-20 H.J. Lu <hongjiu.lu@intel.com>
5694
5695 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
5696 <stdio-common/_itoa.h>.
5697 * debug/segfault.c: Likewise.
5698 * elf/dl-cache.c: Likewise.
5699 * elf/dl-minimal.c: Likewise.
5700 * elf/dl-misc.c: Likewise.
5701 * elf/dl-sysdep.c: Likewise.
5702 * elf/dl-version.c: Likewise.
5703 * elf/rtld.c: Likewise.
5704 * hurd/hurdsock.c: Likewise.
5705 * hurd/lookup-retry.c: Likewise.
5706 * malloc/malloc.c: Likewise.
5707 * malloc/mtrace.c: Likewise.
5708 * nscd/nscd_getgr_r.c: Likewise.
5709 * nscd/nscd_getpw_r.c: Likewise.
5710 * nscd/nscd_getserv_r.c: Likewise.
5711 * posix/getopt_init.c: Likewise.
5712 * posix/wordexp.c: Likewise.
5713 * stdio-common/_itoa.c: Likewise.
5714 * stdio-common/printf_fphex.c: Likewise.
5715 * stdio-common/vfprintf.c: Likewise.
5716 * string/_strerror.c: Likewise.
5717 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
5718 * sysdeps/i386/i686/hp-timing.h: Likewise.
5719 * sysdeps/mach/_strerror.c: Likewise.
5720 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
5721 * sysdeps/mach/hurd/sethostid.c: Likewise.
5722 * sysdeps/mach/hurd/xmknodat.c: Likewise.
5723 * sysdeps/mach/xpg-strerror.c: Likewise.
5724 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
5725 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
5726 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
5727 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
5728 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
5729 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
5730 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
5731 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
5732 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
5733 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
5734 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
5735 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
5736 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
5737 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
5738 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
5739 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
5740 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
5741 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
5742 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
5743 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
5744 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
5745
5746 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
5747
5748 * stdio-common/_itoa.h: Moved to ...
5749 * sysdeps/generic/_itoa.h: Here.
5750
5751 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
5752
5753 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
5754 instead of "_itoa.h" and "_itowa.h".
5755 * stdio-common/vfprintf.: Likewise.
5756
d1af992d
L
57572012-03-20 H.J. Lu <hongjiu.lu@intel.com>
5758
5759 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
5760 <bits/wordsize.h>.
5761 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
5762 (__signbit): Likwise.
5763 (llrintf): Likwise.
5764 (llrint): Likwise.
5765
114883e0
L
57662012-03-20 H.J. Lu <hongjiu.lu@intel.com>
5767
5768 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
5769 __WORDSIZE != 64.
5770
c135cc1b
JM
57712012-03-20 Joseph Myers <joseph@codesourcery.com>
5772
5773 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
5774 OVERFLOW_EXCEPTION_OK.
5775 * math/libm-test.inc ("Philosophy"): Update comment about
5776 exception testing.
5777 (OVERFLOW_EXCEPTION): Define.
5778 (OVERFLOW_EXCEPTION_OK): Likewise.
5779 (INVALID_EXCEPTION_OK): Renumber.
5780 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
5781 (IGNORE_ZERO_INF_SIGN): Likewise.
5782 (test_exceptions): Handle FE_OVERFLOW.
5783 (exp10_test): Expect overflow exceptions.
5784 (exp2_test): Likewise.
5785 (expm1_test): Likewise.
5786 (nextafter_test): Likewise.
5787 (pow_test): Likewise.
5788 (scalbn_test): Likewise.
5789 (scalbln_test): Likewise.
5790
95443d88
L
57912012-03-19 H.J. Lu <hongjiu.lu@intel.com>
5792
5793 * sysdeps/x86_64/bits/atomic.h
5794 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
5795 64bit integer.
5796 (atomic_exchange_acq): Likewise.
5797 (__arch_exchange_and_add_body): Likewise.
5798 (__arch_add_body): Likewise.
5799 (atomic_add_negative): Likewise.
5800 (atomic_add_zero): Likewise.
5801
490df6c4
L
58022012-03-19 H.J. Lu <hongjiu.lu@intel.com>
5803
c2722551 5804 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
5805 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
5806
5e52b189
L
58072012-03-19 H.J. Lu <hongjiu.lu@intel.com>
5808
5809 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
5810 Check __x86_64__ instead of __WORDSIZE.
5811
a9879d4c
L
58122012-03-19 H.J. Lu <hongjiu.lu@intel.com>
5813
5814 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
5815
5df98260
DM
58162012-03-19 David S. Miller <davem@davemloft.net>
5817
e1497744
DM
5818 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5819
5df98260
DM
5820 * sysdeps/sparc/fpu/fenv_private.h: New file.
5821 * sysdeps/sparc/fpu/math_private.h: Use it.
5822 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
5823 Remove.
5824 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
5825 (libc_feholdexcept_setroundl): Remove.
5826 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
5827 Remove.
5828 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
5829 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
5830
b4c35121
L
58312012-03-19 H.J. Lu <hongjiu.lu@intel.com>
5832
5833 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
5834 int64_t instead of long int.
5835 (INSERT_WORDS64): Likwise.
5836
56965fd7
L
58372012-03-19 H.J. Lu <hongjiu.lu@intel.com>
5838
5839 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
5840 _Unwind_GetCFA return to _Unwind_Ptr first.
5841
83d1aec8
JM
58422012-03-19 Joseph Myers <joseph@codesourcery.com>
5843
1897ad44
JM
5844 [BZ #13629]
5845 * math/s_clog.c: Include <float.h>.
5846 (__clog): Scale large or subnormal inputs.
5847 * math/s_clogf.c: Likewise.
5848 * math/s_clogl.c: Likewise.
5849 * math/s_clog10.c: Include <float.h>.
5850 (M_LOG10_2): Define.
5851 (__clog10): Scale large or subnormal inputs.
5852 * math/s_clog10f.c: Likewise.
5853 * math/s_clog10l.c: Likewise.
5854 * math/libm-test.inc (clog_test): Add more tests.
5855 (clog10_test): Likewise.
5856 * sysdeps/i386/fpu/libm-test-ulps: Update.
5857 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5858
7726d6a9
JM
5859 [BZ #11451]
5860 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
5861 x and y.
5862 * math/libm-test.inc (atan2_test): Add another test.
5863
83d1aec8
JM
5864 * Makerules (common-objdir-compile): Remove.
5865 * sysdeps/unix/Makefile (config-generated): Do not add
5866 $(unix-generated) to variable.
5867 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
5868 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
5869 Remove rule.
5870 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
5871 Likewise.
5872 [generic bits/local_lim.h] (before-compile): Do not append to
5873 variable.
5874 [generic bits/local_lim.h] (common-generated): Likewise.
5875 [generic sys/param.h] (before-compile): Do not append to variable.
5876 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
5877 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
5878 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
5879 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
5880 include.
5881 [generic sys/param.h] (sys/param.h-includes): Remove variable.
5882 [generic sys/param.h] (sys/param.h-includes): Remove rule.
5883 [generic sys/param.h] ($(addprefix
5884 $(common-objpfx),$(sys/param.h-includes))): Likewise.
5885 [generic sys/param.h] (common-generated): Do not append to
5886 variable.
5887 [generic sys/param.h] (sysdep_headers): Likewise.
5888 [generic bits/errno.h] (before-compile): Do not append to
5889 variable.
5890 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
5891 rule.
5892 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
5893 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
5894 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
5895 [generic bits/errno.h] (common-generated): Do not append to
5896 variable.
5897 [generic bits/ioctls.h] (before-compile): Do not append to
5898 variable.
5899 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
5900 rule.
5901 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
5902 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
5903 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
5904 rule.
5905 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
5906 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
5907 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
5908 [generic bits/ioctls.h] (common-generated): Do not append to
5909 variable.
5910 [generic sys/syscall.h] (syscall.h): Remove variable.
5911 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
5912 rule.
5913 [generic sys/syscall.h] (before-compile): Do not append to
5914 variable.
5915 [generic sys/syscall.h] (common-generated): Likewise.
5916 * sysdeps/unix/errnos-tmpl.c: Remove file.
5917 * sysdeps/unix/errnos.awk: Likewise.
5918 * sysdeps/unix/ioctls-tmpl.c: Likewise.
5919 * sysdeps/unix/ioctls.awk: Likewise.
5920 * sysdeps/unix/mk-local_lim.c: Likewise.
5921 * sysdeps/unix/snarf-ioctls: Likewise.
5922
4851a949
RH
59232012-03-19 Richard Henderson <rth@twiddle.net>
5924
bd37f2ee
RH
5925 * sysdeps/i386/fpu/fenv_private.h: New file.
5926 * sysdeps/i386/fpu/math_private.h: Use it.
5927 (math_opt_barrier, math_force_eval): Remove.
5928 (libc_feholdexcept_setround_53bit): Remove.
5929 (libc_feupdateenv_53bit): Remove.
5930 * sysdeps/x86_64/fpu/math_private.h: Likewise.
5931 (math_opt_barrier, math_force_eval): Remove.
5932 (libc_feholdexcept): Remove.
5933 (libc_feholdexcept_setround): Remove.
5934 (libc_fetestexcept, libc_fesetenv): Remove.
5935 (libc_feupdateenv_test): Remove.
5936 (libc_feupdateenv, libc_feholdsetround): Remove.
5937 (libc_feresetround): Remove.
5938
d0adc922
RH
5939 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
5940 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
5941
0fe0f1f8
RH
5942 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
5943 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
5944 (libc_feupdateenv_testl): New.
5945 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
5946 (libc_feupdateenv_testf): New.
5947 (libc_feupdateenv): Use libc_feupdateenv_test.
5948 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
5949 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
5950
eb92c487
RH
5951 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
5952 (libc_feholdsetroundf, libc_feholdsetroundl): New.
5953 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
5954 (libc_feresetround_noex): New.
5955 (libc_feresetround_noexf): New.
5956 (libc_feresetround_noexl): New.
5957 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
5958 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
5959 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
5960 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
5961 SET_RESTORE_ROUND.
5962 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
5963 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
5964 (__cos): Likewise.
5965 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
5966 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
5967 SET_RESTORE_ROUND_NOEX.
5968 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
5969 SET_RESTORE_ROUND_NOEXF.
5970 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
5971 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
5972 (libc_feholdsetroundf): New.
5973 (libc_feresetround, libc_feresetroundf): New.
5974
7d2e8012
RH
5975 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
5976 (libc_feholdexcept_setround_53bit): Convert from macro to function.
5977 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
5978
b4dabbb4
RH
5979 * sysdeps/generic/math_private.h: Include <fenv.h>.
5980 (default_libc_feholdexcept): New.
5981 (default_libc_feholdexcept_setround): New.
5982 (default_libc_fesetenv, default_libc_feupdateenv): New.
5983 (libc_feholdexcept): Only define if undefined.
5984 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
5985 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
5986 (libc_feholdexcept_setroundl): Likewise.
5987 (libc_feholdexcept_setround_53bit): Likewise.
5988 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
5989 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
5990 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
5991 (libc_feupdateenv_53bit): Likewise.
5992 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
5993 (libc_feholdexcept): Convert from macro to inline function.
5994 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
5995 (libc_fesetenv, libc_feupdateenv): Likewise.
5996
4851a949
RH
5997 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
5998 not previously defined.
5999 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
6000 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
6001 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
6002 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
6003 * sysdeps/ieee754/flt-32/math_private.h: New file.
6004 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
6005 math_private.h below SET_FLOAT_WORD.
6006 (__isnan, __isinf_ns, __finite): Remove.
6007 (__isnanf, __isinf_nsf, __finitef): Remove.
6008
e79d442e
AS
60092012-03-18 Andreas Schwab <schwab@linux-m68k.org>
6010
6011 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6012
90b80344
DM
60132012-03-17 David S. Miller <davem@davemloft.net>
6014
6015 [BZ #6471]
6016 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
6017 for 2.16.
6018
edc21804
DM
60192012-03-16 David S. Miller <davem@davemloft.net>
6020
77e927af
DM
6021 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
6022 warnings.
6023
374976dd
DM
6024 [BZ #6471]
6025 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
6026 properly.
6027 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
6028 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
6029 sysdep_routines when subdir is sysvipc.
6030 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
6031 __getshmlba helper.
6032
edc21804
DM
6033 * sysdeps/sparc/fpu/libm-test/ulps: Update.
6034
473c3ef3
L
60352012-03-16 H.J. Lu <hongjiu.lu@intel.com>
6036
6037 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
6038 [__LP64__].
6039
eb0f39b6
L
60402012-03-16 H.J. Lu <hongjiu.lu@intel.com>
6041
6042 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
6043 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
6044 (__lround): Renamed to ...
6045 (__llround): This. Replace long int with long long int.
6046 Define lround functions as aliases of llround functions.
6047 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
6048
6b6cd74b
L
60492012-03-16 H.J. Lu <hongjiu.lu@intel.com>
6050
6051 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
6052 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
6053 adresses to uintptr_t. Replace "long int" and "unsigned long
6054 int" with "greg_t" on va_arg.
6055
f1a77b01
L
60562012-03-16 H.J. Lu <hongjiu.lu@intel.com>
6057
6058 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
6059 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
6060
6061 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
6062 Move e_machine check before EI_CLASS check. Handle x32
6063 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
6064 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
6065 SKIP_EM_IA_64 and include
6066 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
6067
6068 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
6069 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
6070 (add_system_dir): New macro.
6071
6072 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
6073 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
6074
11b90b9f
JM
60752012-03-16 Joseph Myers <joseph@codesourcery.com>
6076
c36e1d23
JM
6077 [BZ #2551]
6078 [BZ #2552]
6079 [BZ #2553]
6080 [BZ #2554]
6081 [BZ #2562]
6082 [BZ #2563]
6083 [BZ #2565]
6084 [BZ #2566]
6085 [BZ #2576]
6086 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
6087 (y0): Likewise.
6088 * math/w_j0f.c (j0f): Likewise.
6089 (y0f): Likewise.
6090 * math/w_j0l.c (__j0l): Likewise.
6091 (__y0l): Likewise.
6092 * math/w_j1.c (j1): Likewise.
6093 (y1): Likewise.
6094 * math/w_j1f.c (j1f): Likewise.
6095 (y1f): Likewise.
6096 * math/w_j1l.c (__j1l): Likewise.
6097 (__y1l): Likewise.
6098 * math/w_jn.c (jn): Likewise.
6099 (yn): Likewise.
6100 * math/w_jnf.c (jnf): Likewise.
6101 (ynf): Likewise.
6102 * math/w_jnl.c (__jnl): Likewise.
6103 (__ynl): Likewise.
6104 * math/libm-test.inc (j0_test): Add more tests.
6105 (j1_test): Likewise.
6106 (jn_test): Likewise. Add trailing semicolon to existing test.
6107 (y0_test): Likewise.
6108 (y1_test): Likewise.
6109 * sysdeps/i386/fpu/libm-test-ulps: Update.
6110 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6111
11b90b9f
JM
6112 [BZ #13851]
6113 [BZ #13854]
6114 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
6115 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
6116 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
6117 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
6118 (__tanl): Set errno for infinite argument.
6119 * sysdeps/i386/fpu/mptan.c: Remove.
6120 * sysdeps/i386/fpu/s_tan.S: Likewise.
6121 * sysdeps/i386/fpu/s_tanl.S: Likewise.
6122 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
6123 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
6124 * math/libm-test.inc (tan_test): Add more tests and enable more
6125 tests for double and long double.
6126 * sysdeps/i386/fpu/libm-test-ulps: Update.
6127 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6128
6a1bd2a1
JK
61292012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
6130
6131 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
6132 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
6133
10a803e0
RM
61342012-03-16 Roland McGrath <roland@hack.frob.com>
6135
6136 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
6137 * configure.in: Use it for both main tree and add-ons.
6138 * configure: Regenerated.
6139
f196c7f7
L
61402012-03-16 H.J. Lu <hongjiu.lu@intel.com>
6141
6142 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
6143
8848d99d
JM
61442012-03-16 Joseph Myers <joseph@codesourcery.com>
6145
96cbe7f4
JM
6146 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
6147 in comment.
6148
8848d99d
JM
6149 [BZ #13851]
6150 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
6151 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
6152 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
6153 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
6154 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
6155 infinite argument.
6156 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
6157 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
6158 != 0 for prec == 2.
6159 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
6160 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
6161 * sysdeps/i386/fpu/s_cosl.S: Likewise.
6162 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
6163 * sysdeps/i386/fpu/s_sinl.S: Likewise.
6164 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
6165 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
6166 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
6167 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
6168 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
6169 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
6170 * math/libm-test.inc (cos_test): Add more tests and enable more
6171 tests for long double.
6172 (sin_test): Likewise.
6173 (sincos_test): Likewise.
6174 * sysdeps/i386/fpu/libm-test-ulps: Update.
6175 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6176
dd7f4703
DM
61772012-03-16 David S. Miller <davem@davemloft.net>
6178
6179 * sysdeps/sparc/fpu/math_private.h: New file.
6180
006f1daa
DM
61812012-03-15 David S. Miller <davem@davemloft.net>
6182
c0c83bc8
DM
6183 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
6184 file.
e6a62e18 6185 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
6186 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
6187 file.
e6a62e18
DM
6188 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
6189 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
6190 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
6191 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
6192 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
6193 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
6194 sysdep routines.
6195 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
6196
88cb87d9
DM
6197 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
6198 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
6199
006f1daa 6200 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
6201 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
6202 sparc-ifunc.h
006f1daa 6203 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
6204 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
6205 Likewise.
6206 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
6207 Likewise.
006f1daa
DM
6208 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
6209 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
6210 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
6211 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
6212 Likewise.
006f1daa
DM
6213 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
6214 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
6215 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
6216 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
6217 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
6218 Likewise.
6219 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
6220 Likewise.
006f1daa
DM
6221 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
6222 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
6223 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
6224 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
6225 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
6226 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
6227 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
6228 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
6229 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
6230 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
6231 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
6232 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
6233 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
6234 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
6235 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
6236 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
6237 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
6238 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
6239 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
6240 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
6241 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
6242 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
6243 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
6244 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
6245
11e0098e
AS
62462012-03-15 Andreas Schwab <schwab@linux-m68k.org>
6247
6248 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
6249 scaling.
6250 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6251
e85b09d0
AJ
62522012-03-15 Andreas Jaeger <aj@suse.de>
6253
6254 [BZ #13852]
6255 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
6256 ieee754/flt-32 implementation for sin, cos and sincos.
6257 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
6258 * sysdeps/i386/fpu/s_cosf.S: Likewise.
6259 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
6260 * sysdeps/i386/fpu/s_sinf.S: Likewise.
6261 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
6262 ieee754/flt-32 implementation for tan.
6263
6264 * math/libm-test.inc (cos_test): Enable some large input tests for
6265 float as well
6266 (sin_test): Likewise.
6267 (sincos_test): Likewise.
6268 (tan_test): Add tests for large input.
6269
6270 * sysdeps/i386/fpu/libm-test-ulps: Update.
6271
81c64153
AJ
62722012-03-15 Andreas Jaeger <aj@suse.de>
6273
6274 [BZ #13658]
6275 * math/libm-test.inc (cos_test): Add more test cases.
6276 (sin_test): Likewise.
6277 (sincos_test): Likewise.
6278
7bbfa5c6
AJ
62792012-03-15 Andreas Jaeger <aj@suse.de>
6280
6281 [BZ #13837]
6282 * math/libm-test.inc (cos_test): Add a test case for large input
6283 value.
6284 (sin_test): Likewise.
6285 (sincos_test): Likewise.
6286
62872012-03-15 Andreas Jaeger <aj@suse.de>,
6288 Joseph Myers <joseph@codesourcery.com>
6289
6290 [BZ #13658]
0671f479 6291 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
6292 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
6293 * sysdeps/i386/fpu/branred.c: Likewise.
6294 * sysdeps/i386/fpu/dosincos.c: Likewise.
6295 * sysdeps/i386/fpu/mpa.c: Likewise.
6296 * sysdeps/i386/fpu/s_cos.S: Likewise.
6297 * sysdeps/i386/fpu/s_sin.S: Likewise.
6298 * sysdeps/i386/fpu/s_sincos.S: Likewise.
6299 * sysdeps/i386/fpu/sincos32.c: Likewise.
6300
6301 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
6302 Define.
6303 (libc_feupdateenv_53bit): Define.
6304 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
6305 Define.
6306 (libc_feupdateenv_53bit): Define.
6307
6308 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
6309 53 bit (without extend i386 double precision).
6310
6311 * math/libm-test.inc (sincos_test): Add tests for large input.
6312 (sin): Likewise.
6313 (cos): Likewise.
6314
6315 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
6316
9cad04ea
AS
63172012-03-15 Andreas Schwab <schwab@linux-m68k.org>
6318
6319 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6320
f7062b9a
DM
63212012-03-15 David S. Miller <davem@davemloft.net>
6322
6323 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
6324 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
6325 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
6326 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
6327 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
6328 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
6329 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
6330 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
6331 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
6332 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
6333 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
6334 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
6335 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
6336 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
6337 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
6338 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
6339 file.
f7062b9a 6340 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
6341 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
6342 file.
f7062b9a 6343 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
6344 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
6345 file.
f7062b9a 6346 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
6347 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
6348 file.
f7062b9a
DM
6349 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
6350 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
6351 fmin/fmax sysdep routines.
6352 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
6353
7bd951ff
DM
63542012-03-14 David S. Miller <davem@davemloft.net>
6355
559398ab
DM
6356 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
6357 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
6358 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
6359 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
6360 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
6361 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
6362 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
6363 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
6364 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
6365 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
6366 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
6367 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
6368 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
6369 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
6370 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
6371 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
6372 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
6373 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
6374 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
6375 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
6376 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
6377 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
6378 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
6379 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
6380 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
6381 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
6382 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
6383 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
6384 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
6385 routines.
6386 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
6387 file.
559398ab 6388 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
6389 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
6390 file.
559398ab 6391 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
6392 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
6393 file.
559398ab 6394 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
6395 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
6396 file.
559398ab 6397 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
6398 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
6399 file.
559398ab 6400 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
6401 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
6402 file.
6403 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
6404 file.
6405 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
6406 file.
6407 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
6408 file.
6409 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
6410 New file.
6411 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
6412 file.
6413 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
6414 file.
559398ab 6415 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
6416 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
6417 file.
559398ab 6418 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
6419 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
6420 file.
559398ab 6421 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
6422 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
6423 file.
559398ab 6424 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
6425 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
6426 VIS3 routines.
559398ab
DM
6427
6428 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
6429 New file.
6430
5a1c1e32
DM
6431 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6432
eae47a36
DM
6433 * sysdeps/sparc/configure.in: New file.
6434 * sysdeps/sparc/configure: Generate.
6435 * configure.in (libc_cv_sparc_as_vis3): Substitute.
6436 * configure: Regenerate.
6437 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
6438 * config.make.in (have-as-vis3): New.
6439 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
6440 available use -Av9d instead of -Av9a.
6441 * sysdeps/sparc/sparc64/Makefile: Likewise.
6442 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
6443 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
6444 New file.
6445 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
6446 file.
6447 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
6448 New file.
6449 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
6450 file.
eae47a36
DM
6451 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
6452 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
6453 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
6454 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
6455 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
6456
c0c83bc8
DM
6457 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
6458 fzeros/fnegs to load 0x80000000 into a float register instead of
6459 using the stack.
7bd951ff
DM
6460 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
6461
bd951ccb
JM
64622012-03-14 Joseph Myers <joseph@codesourcery.com>
6463
6464 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
6465 bits/syscall.h.
6466 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
6467 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
6468 ($(inst_includedir)/bits/syscall.h): Remove rule.
6469 ($(objpfx)bits/syscall.d): Include instead of
6470 $(objpfx)syscall-list.d.
6471 (generated): Change syscall-list.h and syscall-list.d to
6472 bits/syscall.h and bits/syscall.d.
6473
bb4e6db2
RM
64742012-03-14 Roland McGrath <roland@hack.frob.com>
6475
6476 [BZ #13846]
6477 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
6478
aa4a2ae1
JM
64792012-03-14 Joseph Myers <joseph@codesourcery.com>
6480
e456826d
JM
6481 [BZ #13841]
6482 * math/s_csqrt.c: Include <float.h>.
6483 (__csqrt): Scale large or subnormal inputs.
6484 * math/s_csqrtf.c: Likewise.
6485 * math/s_csqrtl.c: Likewise.
6486 * math/libm-test.inc (csqrt_test): Add more tests.
6487 * sysdeps/i386/fpu/libm-test-ulps: Update.
6488 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6489
aa4a2ae1
JM
6490 [BZ #13840]
6491 * math/libm-test.inc (hypot_test): Add more tests.
6492
7c10fd35
DM
64932012-03-13 David S. Miller <davem@davemloft.net>
6494
6495 [BZ #13840]
6496 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
6497 double-precision for the calculation instead of scaling.
6498
f453b98b
JM
64992012-03-13 Joseph Myers <joseph@codesourcery.com>
6500
6501 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
6502 manipulate bits before adding and subtracting TWO52[sx].
6503 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
6504 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
6505 Likewise.
6506 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
6507
09a3453f
DM
65082012-03-13 David S. Miller <davem@davemloft.net>
6509
8e59da90
DM
6510 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
6511 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
6512 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
6513 rtld-global-offsets.h
6514 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
6515
2a8ab7f2
DM
6516 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
6517 large parameters.
6518
10f62770
DM
6519 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
6520
5f0bdb18
DM
6521 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
6522 'err' in the ifdef scope in which it is actually used.
6523
09a3453f
DM
6524 * nss/nss_db/db-init.c: Include string.h
6525
b4b2eb5e
DM
65262012-03-12 David S. Miller <davem@davemloft.net>
6527
98bb2f1c
DM
6528 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
6529 masking out of the most significant byte of random value used.
6530 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
6531 Fix coding style in previous change.
6532
b4b2eb5e
DM
6533 * sysdeps/unix/sysv/linux/kernel-features.h
6534 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
6535 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
6536 expression.
6537 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
6538 later.
6539
6e226b09
DM
65402012-03-11 David S. Miller <davem@davemloft.net>
6541
a1bcbd40
DM
6542 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
6543 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
6544 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
6545 for 'resultvar' otherwise things get truncated on 64-bit.
6546
cb9d6174
DM
6547 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
6548 Fix masking out of the most significant byte of random value used.
6549
6e226b09
DM
6550 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6551
058c132d
AS
65522012-03-10 Andreas Schwab <schwab@linux-m68k.org>
6553
6554 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6555
2d2cd515
DM
65562012-03-09 David S. Miller <davem@davemloft.net>
6557
6558 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
6559 variables with appropriate CPP guards.
6560 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
6561 frame pointer, not the stack pointer. Correct layout comments. Fix test
6562 on resulting framesize and the management of the outregs buffer for pltexit.
6563 Preserve floating point return values across _dl_call_pltexit call.
6564 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
6565 framesize and the management of the outregs buffer for pltexit.
6566 Preserve floating point return values across _dl_call_pltexit
6567 call.
6568 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
6569 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
6570 (print_exit): Fix format string for return register value.
6571
9a07f9d0
JM
65722012-03-10 Joseph Myers <joseph@codesourcery.com>
6573
6574 * sunrpc/Makefile (others): Add rpcgen.
6575 ($(objpfx)rpcgen): Remove special build rule and dependency on
6576 libc.
6577 * sunrpc/rpcgen.c: New file.
6578
547b5e30
PE
65792012-03-09 Paul Eggert <eggert@cs.ucla.edu>
6580
c524201a
PE
6581 [BZ #13673]
6582 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
6583 * stdio-common/bug-vfprintf-nargs.c: Likewise.
6584 * sysdeps/i386/crti.S: Likewise.
6585 * sysdeps/i386/crtn.S: Likewise.
6586 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
6587 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
6588 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
6589 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
6590 * sysdeps/sh/crti.S: Likewise.
6591 * sysdeps/sh/crtn.S: Likewise.
6592 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
6593
7b6235f2
PE
6594 [BZ #13673]
6595 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
6596 with URL.
6597 * locale/programs/locfile-kw.gperf: Likewise.
6598 * locale/programs/charmap-kw.h: Regenerated.
6599 * locale/programs/locfile-kw.h: Likewise.
6600
547b5e30
PE
6601 [BZ #13673]
6602 * intl/plural.y: Replace FSF snail mail address with URL.
6603 * intl/plural.c: Regenerated.
6604
5f0a5dae
RH
66052012-03-09 Richard Henderson <rth@twiddle.net>
6606
6607 * include/math_private.h: Remove file.
6608 * math/math_private.h: Move file ...
6609 * sysdeps/generic/math_private.h: ... here.
6610
b8c03620
RH
6611 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
6612 * sysdeps/powerpc/fpu/math_private.h: Likewise.
6613 * sysdeps/x86_64/fpu/math_private.h: Likewise.
6614
4e234f5d 6615 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
6616 and <math_private.h>.
6617 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
6618 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
6619 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
6620 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
6621 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
6622 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
6623 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
6624 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
6625 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
6626 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
6627 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
6628 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
6629 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
6630 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
6631 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
6632 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
6633 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
6634 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
6635 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
6636 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
6637 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
6638 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
6639 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
6640 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
6641 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
6642 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
6643 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
6644 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
6645 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
6646 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
6647 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
6648 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
6649 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
6650 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
6651 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
6652 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
6653 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
6654 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
6655 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
6656 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
6657 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
6658 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
6659 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
6660 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
6661 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
6662 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
6663 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
6664 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
6665 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
6666 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
6667 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
6668 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
6669 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
6670 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
6671 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
6672 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
6673 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
6674 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
6675 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
6676 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
6677 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
6678 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
6679 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
6680 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
6681 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
6682 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
6683 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
6684 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
6685 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
6686 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
6687 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
6688 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
6689 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
6690 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
6691 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
6692 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
6693 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
6694 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
6695 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
6696 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
6697 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
6698 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
6699 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
6700 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
6701 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
6702 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
6703 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
6704 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
6705 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
6706 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
6707 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
6708 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
6709 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
6710 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
6711 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
6712 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
6713 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
6714 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
6715 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
6716 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
6717 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
6718 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
6719 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
6720 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
6721 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
6722 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
6723 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
6724 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
6725 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
6726 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
6727 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
6728 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
6729 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
6730 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
6731 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
6732 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
6733 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
6734 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
6735 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
6736 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
6737 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
6738 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
6739 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
6740 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
6741 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
6742 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
6743 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
6744 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
6745 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
6746 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
6747 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
6748 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
6749 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
6750 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
6751 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
6752 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
6753 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
6754 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
6755 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
6756 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
6757 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
6758 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
6759 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
6760 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
6761 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
6762 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
6763 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
6764 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
6765 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
6766 * sysdeps/ieee754/k_standard.c: Likewise.
6767 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
6768 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
6769 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
6770 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
6771 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
6772 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
6773 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
6774 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
6775 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
6776 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
6777 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
6778 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
6779 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
6780 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
6781 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
6782 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
6783 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
6784 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
6785 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
6786 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
6787 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
6788 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
6789 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
6790 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
6791 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
6792 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
6793 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
6794 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
6795 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
6796 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
6797 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
6798 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
6799 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
6800 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
6801 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
6802 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
6803 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
6804 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
6805 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
6806 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
6807 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
6808 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
6809 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
6810 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
6811 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
6812 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
6813 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
6814 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
6815 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
6816 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
6817 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
6818 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
6819 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
6820 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
6821 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
6822 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
6823 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
6824 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
6825 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
6826 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
6827 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
6828 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
6829 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
6830 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
6831 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
6832 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
6833 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
6834 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
6835 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
6836 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
6837 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
6838 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
6839 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
6840 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
6841 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
6842 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
6843 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
6844 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
6845 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
6846 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
6847 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
6848 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
6849 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
6850 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
6851 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
6852 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
6853 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
6854 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
6855 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
6856 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
6857 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
6858 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
6859 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
6860 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
6861 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
6862 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
6863 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
6864 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
6865 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
6866 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
6867 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
6868 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
6869 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
6870 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
6871 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
6872 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
6873 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
6874 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
6875 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
6876 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
6877 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
6878 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
6879 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
6880 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
6881 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
6882 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
6883 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
6884 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
6885 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
6886 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
6887 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
6888 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
6889 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
6890 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
6891 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
6892 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
6893 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
6894 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
6895 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
6896 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
6897 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
6898 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
6899 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
6900 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
6901 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
6902 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
6903 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
6904 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
6905 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
6906 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
6907 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
6908 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
6909 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
6910 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
6911 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
6912 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
6913 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
6914 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
6915 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
6916 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
6917 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
6918 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
6919 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
6920 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
6921 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
6922 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
6923 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
6924 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
6925 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
6926 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
6927 * sysdeps/ieee754/s_lib_version.c: Likewise.
6928 * sysdeps/ieee754/s_matherr.c: Likewise.
6929 * sysdeps/ieee754/s_signgam.c: Likewise.
6930 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
6931 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
6932 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
6933 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
6934 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
6935 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
6936 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
6937 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
6938 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
6939 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
6940 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
6941 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
6942 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
6943 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
6944 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
6945 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
6946 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
6947 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
6948 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
6949 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
6950 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 6951
1991fa03
JM
69522012-03-09 Joseph Myers <joseph@codesourcery.com>
6953
6954 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
6955 * sunrpc/rpc_main.c: Likewise.
6956 * sunrpc/rpc_svcout.c: Likewise.
6957
60d6f5a6
DM
69582012-03-09 David S. Miller <davem@davemloft.net>
6959
6960 * include/math_private.h: New file.
6961
4962050e
JM
69622012-03-09 Joseph Myers <joseph@codesourcery.com>
6963
02a6f887
JM
6964 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
6965 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
6966 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
6967 from <bits/socket_type.h>.
6968 (enum __socket_type): Don't define here.
6969 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
6970 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
6971 bits/socket_type.h.
6972
c6e013c1
JM
6973 [BZ #13566]
6974 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
6975 checking __USE_GNU.
6976
4962050e
JM
6977 * Makerules ($(inst_includedir)/%.h): New rule.
6978 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
6979 (install-others): Remove variable setting.
6980 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
6981
38842f45
RH
69822012-03-08 Richard Henderson <rth@twiddle.net>
6983
67bb6da6
RH
6984 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
6985 from macro to inline function; merge with the
6986 !__LIBC_INTERNAL_MATH_INLINES version.
6987 (__ieee754_sqrtf): Likewise.
6988
15194b4b
RH
6989 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
6990 to inline function.
6991 (__rintf, __floor, __floorf): Likewise.
6992
64e21ede
RH
6993 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
6994 macro to inline function.
6995 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
6996
38842f45
RH
6997 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
6998 not <math/math_private.h>.
6999
c64bf5fe
DM
70002012-03-08 David S. Miller <davem@davemloft.net>
7001
7002 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
7003 copyright year.
7004 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
7005
82d86f28
TS
70062012-03-08 Thomas Schwinge <thomas@codesourcery.com>
7007
7008 * resolv/gai_misc.c (handle_requests): Fix struct timespec
7009 normalization.
7010 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
7011 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
7012
aea5d727
UD
70132012-03-08 Ulrich Drepper <drepper@gmail.com>
7014
7015 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
7016 be defined individually, they must be defined as a block. Define
7017 S for printing a string instead of hidint the different by using a
7018 macro for adding the 'l'.
7019 * stdio-common/tst-fphex-wide.c: Adjust.
7020
70bca0a3
MP
70212012-03-07 Marek Polacek <polacek@redhat.com>
7022
7023 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
7024
65b81130
MP
70252012-03-08 Marek Polacek <polacek@redhat.com>
7026
7027 [BZ #13806]
7028 * stdio-common/Makefile (tests): Add tst-fphex-wide.
7029 * stdio-common/tst-fphex.c: Define a few macros to make the
7030 test reusable. Use them.
7031 * stdio-common/tst-fphex-wide.c: New file.
7032
07037eeb
JM
70332012-03-08 Joseph Myers <joseph@codesourcery.com>
7034
a7a93d50
JM
7035 [BZ #6911]
7036 * manual/macros.texi (gnusystems): New macro.
7037 (nongnusystems): Likewise.
7038 (gnulinuxhurdsystems): Likewise.
7039 (gnuhurdsystems): Likewise..
7040 (gnulinuxsystems): Likewise.
7041 * manual/charset.texi: Use new macros or @theglibc{} to refer to
7042 variants of the GNU system, not "GNU system".
7043 * manual/conf.texi: Likewise.
7044 * manual/errno.texi: Likewise. Update example of errno macro
7045 expansion.
7046 * manual/filesys.texi: Likewise.
7047 (getumask): Document as specific to GNU/Hurd.
7048 * manual/install.texi: Likewise. Reword some references to
7049 GNU/Linux.
7050 * manual/intro.texi: Likewise.
7051 * manual/io.texi: Likewise.
7052 (File Name Portability): Detail which constraints are inapplicable
7053 to all GNU systems and which are only inapplicable to GNU/Hurd.
7054 * manual/job.texi: Likewise.
7055 * manual/llio.texi: Likewise.
7056 (O_NOCTTY): Document as present on GNU/Linux.
7057 * manual/maint.texi: Likewise.
7058 * manual/memory.texi: Likewise.
7059 * manual/pattern.texi: Likewise.
7060 * manual/pipe.texi: Likewise.
7061 * manual/process.texi: Likewise.
7062 * manual/resource.texi: Likewise.
7063 (RUSAGE_CHILDREN): Remove statement about specifying a particular
7064 child on GNU/Hurd.
7065 * manual/setjmp.texi: Likewise.
7066 * manual/signal.texi: Likewise.
7067 * manual/startup.texi: Likewise.
7068 * manual/stdio.texi: Likewise.
7069 * manual/terminal.texi: Likewise.
7070 (ONLCR): Document as POSIX.
7071 (OXTABS): Document availability on GNU/Linux as XTABS.
7072 (ONOEOT): Document availability separately from other bits.
7073 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
7074 * manual/time.texi: Likewise.
7075 * manual/users.texi: Likewise.
7076 * INSTALL: Regenerated.
7077 * sysdeps/gnu/errlist.c: Regenerated.
7078
07037eeb
JM
7079 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
7080 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
7081 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
7082 puts.
7083 * configure: Regenerated.
7084
d1d3431a
JM
70852012-03-07 Joseph Myers <joseph@codesourcery.com>
7086
af6a1e37
JM
7087 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
7088 default includes instead of AC_HEADER_CHECK.
7089 * sysdeps/i386/configure: Regenerated.
7090
d1d3431a
JM
7091 [BZ #10716]
7092 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
7093 * math/s_cacoshf.c (__cacoshf): Likewise.
7094 * math/s_cacoshl.c (__cacoshl): Likewise.
7095 * math/s_casinh.c (__casinh): Set signs of result from argument.
7096 * math/s_casinhf.c (__casinhf): Likewise.
7097 * math/s_casinhl.c (__casinhl): Likewise.
7098 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
7099 (casinh_test): Add more tests.
7100 * sysdeps/i386/fpu/libm-test-ulps: Update.
7101 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7102
482ff4da
UD
71032012-03-07 Ulrich Drepper <drepper@gmail.com>
7104
872fda05
UD
7105 * po/zh_TW.po: Update from translation team.
7106
a4300c7a
UD
7107 * login/Makefile (distribute): Remove variable.
7108 * catgets/Makefile: Likewise.
7109 * mach/Makefile: Likewise.
7110 * malloc/Makefile: Likewise.
7111 * misc/Makefile: Likewise.
7112 * iconv/Makefile: Likewise.
7113 * nscd/Makefile: Likewise.
7114 * hurd/Makefile: Likewise.
7115 * manual/Makefile: Likewise.
7116 * locale/Makefile: Likewise.
7117 * intl/Makefile: Likewise.
7118 * conform/Makefile: Likewise.
7119 * nss/Makefile: Likewise.
7120 * time/Makefile: Likewise.
7121 * soft-fp/Makefile: Likewise.
7122 * dirent/Makefile: Likewise.
7123 * gmon/Makefile: Likewise.
7124 * po/Makefile: Likewise.
7125 * rt/Makefile: Likewise.
7126 * socket/Makefile: Likewise.
7127 * math/Makefile: Likewise.
7128 * signal/Makefile: Likewise.
7129 * debug/Makefile: Likewise.
7130 * elf/Makefile: Likewise.
7131 * timezone/Makefile: Likewise.
7132 * stdlib/Makefile: Likewise.
7133 * iconvdata/Makefile: Likewise.
7134 * sunrpc/Makefile: Likewise.
7135 * io/Makefile: Likewise.
7136 * argp/Makefile: Likewise.
7137 * inet/Makefile: Likewise.
7138 * hesiod/Makefile: Likewise.
7139 * grp/Makefile: Likewise.
7140 * csu/Makefile: Likewise.
7141 * wctype/Makefile: Likewise.
7142 * crypt/Makefile: Likewise.
7143 * libio/Makefile: Likewise.
7144 * string/Makefile: Likewise.
7145 * nis/Makefile: Likewise.
7146 * resolv/Makefile: Likewise.
7147 * stdio-common/Makefile: Likewise.
7148 * wcsmbs/Makefile: Likewise.
7149 * dlfcn/Makefile: Likewise.
7150 * posix/Makefile: Likewise.
7151
3b7c4e74 7152 [BZ #6959]
482ff4da
UD
7153 * timezone/Makefile: Don't install timezone files, just the programs
7154 and scripts.
7155
f72ed77d
UD
71562012-03-06 Ulrich Drepper <drepper@gmail.com>
7157
a000466f
UD
7158 * nss/databases.def: Add missing gshadow entry.
7159
f72ed77d
UD
7160 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
7161
a53b7a4e
MP
71622012-03-06 Marek Polacek <polacek@redhat.com>
7163
7164 [BZ #13726]
7165 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
7166 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
7167 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
7168 * stdio-common/tst-long-dbl-fphex.c: New file.
7169
e9258400
DM
71702012-03-06 David S. Miller <davem@davemloft.net>
7171
7172 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
7173 (set_obp_int): New function.
7174 (get_obp_int): New function.
7175 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
7176 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
7177 Avoid unused variable warnings on 'val' and use builtin_expect.
7178 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
7179 __builtin_expect.
e9258400
DM
7180 (INLINE_CLONE_SYSCALL): Likewise.
7181
3bd2c723
DM
71822012-03-05 David S. Miller <davem@davemloft.net>
7183
7184 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7185
bbb78d03
AS
71862012-03-05 Andreas Schwab <schwab@linux-m68k.org>
7187
884c5db4
AS
7188 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7189
bbb78d03
AS
7190 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
7191 only for |x| >= 40.
7192 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
7193
1c9f702a 71942012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
7195
7196 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
7197 Replace gettimeofday with __vdso_gettimeofday.
7198
7be16f82
RM
7199 * sysdeps/unix/sysv/linux/x86_64/init-first.c
7200 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
7201 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
7202
7203 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
7204 time with __vdso_time.
7205
ed58a00f
JM
72062012-03-05 Joseph Myers <joseph@codesourcery.com>
7207
7208 * manual/lang.texi (size_t): Note types to which size_t may be
7209 equivalent with the GNU C Library, but do not describe when
7210 differences between them are significant.
7211
30ee4ced
AJ
72122012-03-05 Andreas Jaeger <aj@suse.de>
7213
7214 * sysdeps/i386/fpu/libm-test-ulps: Update.
7215
b7cd39e8
JM
72162012-03-05 Joseph Myers <joseph@codesourcery.com>
7217
7218 [BZ #3976]
7219 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
7220 (__ieee754_pow): Save and restore rounding mode and use
7221 round-to-nearest for main computations.
7222 * math/libm-test.inc (pow_test_tonearest): New function.
7223 (pow_test_towardzero): Likewise.
7224 (pow_test_downward): Likewise.
7225 (pow_test_upward): Likewise.
7226 (main): Call the new functions.
7227 * sysdeps/i386/fpu/libm-test-ulps: Update.
7228 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
7229
7230 [BZ #3976]
7231 * math/libm-test.inc (cosh_test_tonearest): New function.
7232 (cosh_test_towardzero): Likewise.
7233 (cosh_test_downward): Likewise.
7234 (cosh_test_upward): Likewise.
7235 (sinh_test_tonearest): Likewise.
7236 (sinh_test_towardzero): Likewise.
7237 (sinh_test_downward): Likewise.
7238 (sinh_test_upward): Likewise.
7239 (main): Call the new functions.
7240 * sysdeps/i386/fpu/libm-test-ulps: Update.
7241 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7242
6c6a98c9
TV
72432012-03-05 Tom de Vries <tom@codesourcery.com>
7244
7245 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
7246 default stack guard is set in last bytes.
7247 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
7248
21bb2d2e 72492012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 7250
21bb2d2e 7251 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 7252
21bb2d2e
AJ
7253 [BZ #13656]
7254 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
7255 possibly allocate from heap instead of stack.
7256 * stdio-common/bug-vfprintf-nargs.c: New file.
7257 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 7258
c6922934
AS
72592012-03-03 Andreas Schwab <schwab@linux-m68k.org>
7260
7261 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7262
bc957d53
MP
72632012-03-03 Marek Polacek <polacek@redhat.com>
7264
7265 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
7266 * math/math_private.h: Likewise.
7267 * stdlib/tst-strtod.c: Likewise.
7268 * sysdeps/i386/i486/bits/atomic.h: Likewise.
7269 * sysdeps/x86_64/bits/atomic.h: Likewise.
7270
6358490d
DM
72712012-03-02 David S. Miller <davem@davemloft.net>
7272
7273 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
7274 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
7275 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
7276 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
7277 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
7278 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
7279 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
7280 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
7281
01ae168d
RM
72822012-03-02 Roland McGrath <roland@hack.frob.com>
7283
d9a17c07
RM
7284 [BZ #13792]
7285 * manual/examples/README: New file, says the example source files
7286 can be used under GPL>=2.
7287 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
7288 line containing just "*/".
7289 * manual/examples/add.c: Add copyright header (GPL>=2).
7290 * manual/examples/argp-ex1.c: Likewise.
7291 * manual/examples/argp-ex2.c: Likewise.
7292 * manual/examples/argp-ex3.c: Likewise.
7293 * manual/examples/argp-ex4.c: Likewise.
7294 * manual/examples/atexit.c: Likewise.
7295 * manual/examples/db.c: Likewise.
7296 * manual/examples/dir.c: Likewise.
7297 * manual/examples/dir2.c: Likewise.
7298 * manual/examples/execinfo.c: Likewise.
7299 * manual/examples/filecli.c: Likewise.
7300 * manual/examples/filesrv.c: Likewise.
7301 * manual/examples/fmtmsgexpl.c: Likewise.
7302 * manual/examples/genpass.c: Likewise.
7303 * manual/examples/inetcli.c: Likewise.
7304 * manual/examples/inetsrv.c: Likewise.
7305 * manual/examples/isockad.c: Likewise.
7306 * manual/examples/longopt.c: Likewise.
7307 * manual/examples/memopen.c: Likewise.
7308 * manual/examples/memstrm.c: Likewise.
7309 * manual/examples/mkfsock.c: Likewise.
7310 * manual/examples/mkisock.c: Likewise.
7311 * manual/examples/mygetpass.c: Likewise.
7312 * manual/examples/pipe.c: Likewise.
7313 * manual/examples/popen.c: Likewise.
7314 * manual/examples/rprintf.c: Likewise.
7315 * manual/examples/search.c: Likewise.
7316 * manual/examples/select.c: Likewise.
7317 * manual/examples/setjmp.c: Likewise.
7318 * manual/examples/sigh1.c: Likewise.
7319 * manual/examples/sigusr.c: Likewise.
7320 * manual/examples/stpcpy.c: Likewise.
7321 * manual/examples/strdupa.c: Likewise.
7322 * manual/examples/strftim.c: Likewise.
7323 * manual/examples/strncat.c: Likewise.
7324 * manual/examples/subopt.c: Likewise.
7325 * manual/examples/swapcontext.c: Likewise.
7326 * manual/examples/termios.c: Likewise.
7327 * manual/examples/testopt.c: Likewise.
7328 * manual/examples/testpass.c: Likewise.
7329 * manual/examples/timeval_subtract.c: Likewise.
7330
01ae168d
RM
7331 [BZ #13792]
7332 * manual/time.texi (Elapsed Time): Move timeval_subtract example
7333 function to ...
7334 * manual/timeval_subtract.c.texi: ... here, new file.
7335
49efa33d
DM
73362012-03-02 David S. Miller <davem@davemloft.net>
7337
7338 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
7339
28afd92d
JM
73402012-03-02 Joseph Myers <joseph@codesourcery.com>
7341
804360ed
JM
7342 [BZ #3976]
7343 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
7344 (__sin): Save and restore rounding mode and use round-to-nearest
7345 for all computations.
7346 (__cos): Save and restore rounding mode and use round-to-nearest
7347 for all computations.
7348 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
7349 <fenv.h>.
7350 (tan): Save and restore rounding mode and use round-to-nearest for
7351 all computations.
7352 * math/libm-test.inc (cos_test_tonearest): New function.
7353 (cos_test_towardzero): Likewise.
7354 (cos_test_downward): Likewise.
7355 (cos_test_upward): Likewise.
7356 (sin_test_tonearest): Likewise.
7357 (sin_test_towardzero): Likewise.
7358 (sin_test_downward): Likewise.
7359 (sin_test_upward): Likewise.
7360 (tan_test_tonearest): Likewise.
7361 (tan_test_towardzero): Likewise.
7362 (tan_test_downward): Likewise.
7363 (tan_test_upward): Likewise.
7364 (main): Call the new functions.
7365 * sysdeps/i386/fpu/libm-test-ulps: Update.
7366 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7367
a6d06d7b
JM
7368 [BZ #10135]
7369 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
7370 small n, then large n, before computing and testing k+n.
7371 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
7372 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
7373 Likewise.
7374 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
7375 Likewise.
7376 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
7377 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
7378 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
7379 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
7380 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
7381 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
7382 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
7383 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
7384 * math/libm-test.inc (scalbn_test): Add more tests.
7385 (scalbln_test): Likewise.
7386
07e12bb3
JM
7387 * manual/filesys.texi (mode_t): Describe constraints on size and
7388 signedness, not exact equivalence to a particular type.
7389 (ino_t): Likewise.
7390 (ino64_t): Likewise.
7391 (dev_t): Likewise.
7392 (nlink_t): Likewise.
7393 (blkcnt_t): Likewise.
7394 (blkcnt64_t): Likewise.
7395 * manual/llio.texi (off_t): Likewise.
7396
28afd92d
JM
7397 [BZ #3976]
7398 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
7399 (__ieee754_exp): Save and restore rounding mode and use
7400 round-to-nearest for all computations.
7401 * math/libm-test.inc (exp_test_tonearest): New function.
7402 (exp_test_towardzero): Likewise.
7403 (exp_test_downward): Likewise.
7404 (exp_test_upward): Likewise.
7405 (main): Call the new functions.
7406 * sysdeps/i386/fpu/libm-test-ulps: Update.
7407 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7408
b1eeb65d
CD
74092012-03-01 Chris Demetriou <cgd@google.com>
7410
7411 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
7412 have predictable order.
7413
53362a4b
DM
74142012-03-01 David S. Miller <davem@davemloft.net>
7415
3c969083
DM
7416 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
7417
759707de
DM
7418 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
7419 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
7420 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
7421 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
7422
dfdb8ff2
DM
7423 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
7424 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
7425 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
7426 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
7427 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
7428 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
7429 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
7430 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
7431 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
7432
ead89f96
DM
7433 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7434
7f66bd07
DM
7435 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
7436 * sysdeps/sparc/fpu/libm-test-ulps: to here.
7437 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
7438
53362a4b
DM
7439 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
7440 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
7441 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
7442 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
7443 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
7444 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
7445 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
7446 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
7447 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
7448 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
7449 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
7450 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
7451 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
7452 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
7453 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
7454 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
7455 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
7456 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
7457 * sysdeps/sparc/elf/configure: Regenerated.
7458
7b1902cb
JM
74592012-03-01 Joseph Myers <joseph@codesourcery.com>
7460
bec039bc
JM
7461 * configure.in (AS, LD): Require binutils 2.20 or later.
7462 * configure: Regenerated.
7463 * manual/install.texi (Tools for Compilation): Give binutils 2.20
7464 as required minimum version.
7465 * INSTALL: Regenerated.
7466
7b1902cb
JM
7467 [BZ #2541]
7468 [BZ #4108]
7469 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
7470 before squaring exponent.
7471 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
7472 bottom long double and 27 bits of top long double before squaring
7473 exponent.
7474 * math/libm-test.inc (erfc_test): Add more tests.
7475 * sysdeps/i386/fpu/libm-test-ulps: Update.
7476 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
7477 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7478
f775c276
KT
74792012-03-01 Kai Tietz <ktietz@redhat.com>
7480
7481 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
7482 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
7483 containing bit-fields.
7484 * soft-fp/extended.h (_FP_UNION_E): Likewise.
7485 * soft-fp/single.h (_FP_UNION_S): Likewise.
7486 * soft-fp/double.h (_FP_UNION_D): Likewise.
7487
5b8a4d4a
JM
74882012-02-29 Joseph Myers <joseph@codesourcery.com>
7489
0bab47b6
JM
7490 [BZ #13786]
7491 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
7492 not include ../strcmp.S.
7493 [USE_AS_STRNCASECMP_L]: Likewise.
7494 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
7495 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
7496 * sysdeps/i386/i686/multiarch/strncase_l-c.c
7497 (__strncasecmp_l_ia32): Define as alias to
7498 __strncasecmp_l_nonascii.
7499
0fcad3e2
JM
7500 [BZ #5794]
7501 * math/libm-test.inc (expm1_test): Add test for bug 5794.
7502 * sysdeps/i386/fpu/libm-test-ulps: Update.
7503 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7504
5b8a4d4a
JM
7505 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
7506 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7507
8fdceb2e
JL
75082012-02-29 Jeff Law <law@redhat.com>
7509
7510 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
7511 out of bounds read.
7512
1f393a11
MP
75132012-02-29 Marek Polacek <polacek@redhat.com>
7514
7515 [BZ #13706]
7516 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
7517 * elf/Makefile: Add rules to run tst-unused-dep.out.
7518
8847f037
DM
75192012-02-28 David S. Miller <davem@davemloft.net>
7520
7521 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
7522 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
7523 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
7524 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
7525 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
7526 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
7527
169d7f11
JM
75282012-02-29 Joseph Myers <joseph@codesourcery.com>
7529
7530 * math/libm-test.inc (llround_test): Move one test from
7531 lround_test. Use TEST_f_L in moved test.
7532 (lround_test): Move misplaced test to llround_test. Add testcase
7533 from bug 2561.
7534
39adf059
UD
75352012-02-28 Ulrich Drepper <drepper@gmail.com>
7536
7537 * sysdeps/x86_64/fpu/e_expf.S: New file.
7538 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
7539
71b5d1c5
SB
75402012-02-28 Stanislav Brabec <sbrabec@suse.cz>
7541
7542 [BZ #13637]
7543 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
7544 of remain_len that may cause incomplete multi-byte character and
7545 false match.
7546 * posix/bug-regex33.c: New file.
7547 * posix/Makefile (tests): Add bug-regex33.
7548
1f77f049
JM
75492012-02-28 Joseph Myers <joseph@codesourcery.com>
7550
7551 * manual/macros.texi: New file.
7552 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
7553 * manual/libc.texinfo: Include macros.texi.
7554 * manual/creatute.texi: Likewise.
7555 * manual/install.texi: Likewise.
7556 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
7557 @glibcadj{} in references to the GNU C Library.
7558 * manual/charset.texi: Likewise.
7559 * manual/conf.texi: Likewise.
7560 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
7561 when not using those macros.
7562 * manual/creature.texi: Likewise.
7563 * manual/crypt.texi: Likewise.
7564 * manual/errno.texi: Likewise.
7565 * manual/filesys.texi: Likewise.
7566 * manual/header.texi: Likewise.
7567 * manual/install.texi: Likewise.
7568 * manual/intro.texi: Likewise.
7569 * manual/io.texi: Likewise.
7570 * manual/job.texi: Likewise.
7571 * manual/lang.texi: Likewise.
7572 * manual/libc.texiinfo: Likewise.
7573 * manual/llio.texi: Likewise.
7574 * manual/locale.texi: Likewise.
7575 * manual/maint.texi: Likewise.
7576 * manual/math.texi: Likewise.
7577 * manual/memory.texi: Likewise.
7578 * manual/message.texi: Likewise.
7579 * manual/nss.texi: Likewise.
7580 * manual/pattern.texi: Likewise.
7581 * manual/process.texi: Likewise.
7582 * manual/resource.texi: Likewise.
7583 * manual/search.texi: Likewise.
7584 * manual/setjmp.texi: Likewise.
7585 * manual/signal.texi: Likewise.
7586 * manual/socket.texi: Likewise.
7587 * manual/startup.texi: Likewise.
7588 * manual/stdio.texi: Likewise.
7589 * manual/string.texi: Likewise.
7590 * manual/sysinfo.texi: Likewise.
7591 * manual/syslog.texi: Likewise.
7592 * manual/terminal.texi: Likewise.
7593 * manual/time.texi: Likewise.
7594 * manual/users.texi: Likewise.
7595 * INSTALL: Regenerated.
7596 * NOTES: Regenerated.
d40c5d54 7597 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 7598
450bf206
AS
75992012-02-28 Andreas Schwab <schwab@linux-m68k.org>
7600
7601 * include/dirent.h: Include <dirstream.h> before
7602 <dirent/dirent.h>.
7603
741a235b
DM
76042012-02-28 David S. Miller <davem@davemloft.net>
7605
7606 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
7607 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
7608 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
7609 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
7610
d6b5aa58
DM
76112012-02-27 David S. Miller <davem@davemloft.net>
7612
1aff59a3
DM
7613 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
7614 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
7615 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
7616 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
7617
d6b5aa58
DM
7618 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
7619 frame pointer instead of stack pointer relative arg slot.
7620 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
7621 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
7622 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
7623
433f48bf
CD
76242012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
7625
7626 [BZ #3992]
7627 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
7628
d674b76d
DM
76292012-02-27 David S. Miller <davem@davemloft.net>
7630
7631 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
7632 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
7633 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
7634 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
7635 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
7636 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
7637 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
7638 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
7639
0e7727f7
JM
76402012-02-27 Joseph Myers <joseph@codesourcery.com>
7641
7642 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
7643 later. Allow versions 5-9.
43be4ca2 7644 * configure: Regenerated.
0e7727f7
JM
7645 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
7646 required minimum version and 4.6 as recommended version. Do not
7647 mention bugs in GCC 2.7 and 2.8.
43be4ca2 7648 * INSTALL: Regenerated.
0e7727f7 7649
a78bc654
DM
76502012-02-27 David S. Miller <davem@davemloft.net>
7651
428d5830
DM
7652 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
7653 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
7654 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
7655 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
7656 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
7657 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
7658 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
7659 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
7660
a78bc654
DM
7661 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
7662 manipulate bits before adding and subtracting TWO112[sx].
7663 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
7664
4579f81c
RM
76652012-02-27 Roland McGrath <roland@hack.frob.com>
7666
36c8acb4
RM
7667 [BZ #13775]
7668 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
7669 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
7670 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
7671 being in POSIX, because they are in 1003.1-2008.
7672
84ad622b
RM
7673 * rt/tst-aio.c: Include <fcntl.h>.
7674 * rt/tst-aio7.c: Likewise.
7675 * rt/tst-aio64.c: Likewise.
7676
4579f81c
RM
7677 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
7678
abd923db
JM
76792012-02-27 Joseph Myers <joseph@codesourcery.com>
7680
7681 * manual/install.texi (--with-headers): Describe headers as
7682 interface headers, not private headers.
7683 (Specific advice for GNU/Linux systems): Describe use of headers
7684 from "make headers_install", not private headers from older
7685 kernels.
43be4ca2 7686 * INSTALL: Regenerated.
abd923db
JM
7687 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
7688 Change to 2.6.19.
7689 * sysdeps/unix/sysv/linux/configure: Regenerated.
7690
6664049b
JM
7691 * manual/llio.texi (fclean): Remove documentation.
7692
bb8b6697
JM
7693 * manual/Makefile (libc-texi-generated): New variable. Include
7694 version.texi.
7695 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
7696 $(libc-texi-generated), not duplicated list of files.
7697 (version.texi, stamp-version): New rules.
7698 (realclean): Remove $(libc-texi-generated), not individual files
7699 from that list. Do not remove dir-add.texinfo.
7700 * manual/libc.texinfo: Comment out uses of edition numbers and
7701 references to printed manual. Remove last-updated dates.
7702 (EDITION): Comment out.
7703 (ISBN): Likewise.
7704 (VERSION, UPDATED): Remove.
7705 (version.texi): Include.
7706
12e5c3b9
AS
77072012-02-27 Andreas Schwab <schwab@linux-m68k.org>
7708
7709 * sysdeps/posix/spawni.c: Include <signal.h>.
7710 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
7711 * sysdeps/pthread/aio_fsync.c: Likewise.
7712
4efeffc1 77132012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 7714
ba63ba08
UD
7715 * conform/Makefile (tests): Run only when not cross-compiling and
7716 when fast-check is not defined.
7717
d94a4670
UD
7718 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
7719 * conform/data/limits.h-data: Fixes for POSIX2008.
7720 * conform/run-conformtest.sh: Run all tests.
7721 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
7722 headers.
7723 * include/bits/dlfcn.h: Likewise.
7724 * include/langinfo.h: Likewise.
7725 * include/monetary.h: Likewise.
7726 * include/sys/poll.h: Likewise.
7727
7728 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
7729 for __USE_GNU.
7730 * posix/spawn.h: Define __need_sigset_t.
7731 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
7732 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
7733 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
7734 to get sigevent_t only.
7735 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
7736 only for __USE_GNU.
7737 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
7738 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
7739 process_vm_writev only for __USE_GNU.
7740 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
7741
7742 * conform/Makefile: For now ignore errors from run-conformtest.
7743 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
7744 POSIX to avoid namespace pollution. Don't prepend headers.
7745 * conform/data/aio.h-data: Fixes for POSIX testing.
7746 * conform/data/fcntl.h-data: Likewise.
7747 * conform/data/glob.h-data: Likewise.
7748 * conform/data/grp.h-data: Likewise.
7749 * conform/data/pthread.h-data: Likewise.
7750 * conform/data/pwd.h-data: Likewise.
7751 * conform/data/signal.h-data: Likewise.
7752 * conform/data/spawn.h-data: Likewise.
7753 * conform/data/stdio.h-data: Likewise.
7754 * conform/data/stdlib.h-data: Likewise.
7755 * conform/data/stropts.h-data: Likewise.
7756 * conform/data/sys/mman.h-data: Likewise.
7757 * conform/data/sys/stat.h-data: Likewise.
7758 * conform/data/sys/types.h-data: Likewise.
7759 * conform/data/sys/wait.h-data: Likewise.
7760 * conform/data/time.h-data: Likewise.
7761 * conform/data/unistd.h-data: Likewise.
7762 * conform/data/utime.h-data: Likewise.
7763
7764 * io/sys/stat.h: fchmod was always in POSIX.
7765 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
7766 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
7767 * rt/aio.h: Define __need_timespec before including <time.h>.
7768 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
7769 struct. Add forward declaration of pthread_attr_t and use it in
7770 sigevent.
7771 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
7772 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
7773 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
7774 always remove CLK_TCK definition.
7775
c20105c3
AS
77762012-02-26 Andreas Schwab <schwab@linux-m68k.org>
7777
7778 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
7779
7a270350
UD
77802012-02-25 Ulrich Drepper <drepper@gmail.com>
7781
31341567
UD
7782 * conform/run-conformtest.sh: New file.
7783 * conform/Makefile: Run run-conformtest for tests.
7784 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
7785 support.
7786
7787 * conform/data/uchar.h-data: New file.
7788 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
7789 * conform/data/arpa/inet.h-data: Likewise.
7790 * conform/data/assert.h-data: Likewise.
7791 * conform/data/complex.h-data: Likewise.
7792 * conform/data/cpio.h-data: Likewise.
7793 * conform/data/ctype.h-data: Likewise.
7794 * conform/data/dirent.h-data: Likewise.
7795 * conform/data/dlfcn.h-data: Likewise.
7796 * conform/data/errno.h-data: Likewise.
7797 * conform/data/fcntl.h-data: Likewise.
7798 * conform/data/float.h-data: Likewise.
7799 * conform/data/fmtmsg.h-data: Likewise.
7800 * conform/data/fnmatch.h-data: Likewise.
7801 * conform/data/ftw.h-data: Likewise.
7802 * conform/data/glob.h-data: Likewise.
7803 * conform/data/grp.h-data: Likewise.
7804 * conform/data/iconv.h-data: Likewise.
7805 * conform/data/inttypes.h-data: Likewise.
7806 * conform/data/langinfo.h-data: Likewise.
7807 * conform/data/libgen.h-data: Likewise.
7808 * conform/data/limits.h-data: Likewise.
7809 * conform/data/locale.h-data: Likewise.
7810 * conform/data/math.h-data: Likewise.
7811 * conform/data/monetary.h-data: Likewise.
7812 * conform/data/mqueue.h-data: Likewise.
7813 * conform/data/ndbm.h-data: Likewise.
7814 * conform/data/net/if.h-data: Likewise.
7815 * conform/data/netdb.h-data: Likewise.
7816 * conform/data/netinet/in.h-data: Likewise.
7817 * conform/data/nl_types.h-data: Likewise.
7818 * conform/data/poll.h-data: Likewise.
7819 * conform/data/pthread.h-data: Likewise.
7820 * conform/data/pwd.h-data: Likewise.
7821 * conform/data/regex.h-data: Likewise.
7822 * conform/data/sched.h-data: Likewise.
7823 * conform/data/search.h-data: Likewise.
7824 * conform/data/semaphore.h-data: Likewise.
7825 * conform/data/setjmp.h-data: Likewise.
7826 * conform/data/signal.h-data: Likewise.
7827 * conform/data/spawn.h-data: Likewise.
7828 * conform/data/stdarg.h-data: Likewise.
7829 * conform/data/stdio.h-data: Likewise.
7830 * conform/data/stdlib.h-data: Likewise.
7831 * conform/data/string.h-data: Likewise.
7832 * conform/data/strings.h-data: Likewise.
7833 * conform/data/stropts.h-data: Likewise.
7834 * conform/data/sys/ipc.h-data: Likewise.
7835 * conform/data/sys/mman.h-data: Likewise.
7836 * conform/data/sys/msg.h-data: Likewise.
7837 * conform/data/sys/resource.h-data: Likewise.
7838 * conform/data/sys/select.h-data: Likewise.
7839 * conform/data/sys/sem.h-data: Likewise.
7840 * conform/data/sys/shm.h-data: Likewise.
7841 * conform/data/sys/socket.h-data: Likewise.
7842 * conform/data/sys/stat.h-data: Likewise.
7843 * conform/data/sys/statvfs.h-data: Likewise.
7844 * conform/data/sys/time.h-data: Likewise.
7845 * conform/data/sys/timeb.h-data: Likewise.
7846 * conform/data/sys/times.h-data: Likewise.
7847 * conform/data/sys/types.h-data: Likewise.
7848 * conform/data/sys/uio.h-data: Likewise.
7849 * conform/data/sys/un.h-data: Likewise.
7850 * conform/data/sys/utsname.h-data: Likewise.
7851 * conform/data/sys/wait.h-data: Likewise.
7852 * conform/data/syslog.h-data: Likewise.
7853 * conform/data/tar.h-data: Likewise.
7854 * conform/data/termios.h-data: Likewise.
7855 * conform/data/utime.h-data: Likewise.
7856 * conform/data/utmpx.h-data: Likewise.
7857 * conform/data/varargs.h-data: Likewise.
7858 * conform/data/wchar.h-data: Likewise.
7859 * conform/data/wctype.h-data: Likewise.
7860 * conform/data/wordexp.h-data: Likewise.
7861
7862 * include/stropts.h: New file.
7863 * include/uchar.h: New file.
7864 * include/aio.h: Changes to allow conformtest.pl to use the headers.
7865 * include/assert.h: Likewise.
7866 * include/ctype.h: Likewise.
7867 * include/dirent.h: Likewise.
7868 * include/dlfcn.h: Likewise.
7869 * include/fcntl.h: Likewise.
7870 * include/fnmatch.h: Likewise.
7871 * include/glob.h: Likewise.
7872 * include/grp.h: Likewise.
7873 * include/libio.h: Likewise.
7874 * include/locale.h: Likewise.
7875 * include/math.h: Likewise.
7876 * include/net/if.h: Likewise.
7877 * include/netdb.h: Likewise.
7878 * include/netinet/in.h: Likewise.
7879 * include/pthread.h: Likewise.
7880 * include/pwd.h: Likewise.
7881 * include/regex.h: Likewise.
7882 * include/sched.h: Likewise.
7883 * include/search.h: Likewise.
7884 * include/setjmp.h: Likewise.
7885 * include/signal.h: Likewise.
7886 * include/stdio.h: Likewise.
7887 * include/stdlib.h: Likewise.
7888 * include/string.h: Likewise.
7889 * include/sys/cdefs.h: Likewise.
7890 * include/sys/mman.h: Likewise.
7891 * include/sys/msg.h: Likewise.
7892 * include/sys/resource.h: Likewise.
7893 * include/sys/select.h: Likewise.
7894 * include/sys/socket.h: Likewise.
7895 * include/sys/stat.h: Likewise.
7896 * include/sys/statvfs.h: Likewise.
7897 * include/sys/time.h: Likewise.
7898 * include/sys/times.h: Likewise.
7899 * include/sys/uio.h: Likewise.
7900 * include/sys/utsname.h: Likewise.
7901 * include/sys/wait.h: Likewise.
7902 * include/termios.h: Likewise.
7903 * include/time.h: Likewise.
7904 * include/ulimit.h: Likewise.
7905 * include/unistd.h: Likewise.
7906 * include/utime.h: Likewise.
7907 * include/wchar.h: Likewise.
7908 * include/wctype.h: Likewise.
7909 * include/wordexp.h: Likewise.
7910
7911 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
7912
7a270350
UD
7913 * time/time.h: TIME_UTC must be a macro.
7914 Make timespec_get available for ISO C11 only as well.
7915
7724defc
UD
79162012-02-24 Ulrich Drepper <drepper@gmail.com>
7917
7918 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
7919 Reported by Peng Haitao <penght@cn.fujitsu.com>.
7920
6b1d1d46
JM
79212012-02-24 Joseph Myers <joseph@codesourcery.com>
7922
7923 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 7924
0f8bbd69
JM
79252012-02-24 Joseph Myers <joseph@codesourcery.com>
7926
7927 * manual/texinfo.tex: Update to version 2012-01-19.16.
7928
66ab80bc
JM
79292012-02-24 Joseph Myers <joseph@codesourcery.com>
7930
7931 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
7932
74981cc5
RM
79332012-02-24 Roland McGrath <roland@hack.frob.com>
7934
ee968201
RM
7935 [BZ #13738]
7936 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
7937 * manual/fdl-1.3.texi: New file.
7938 * manual/fdl-1.1.texi: File removed.
7939
74981cc5
RM
7940 [BZ #13738]
7941 * manual/libc.texinfo (FDL_VERSION): New @set.
7942 Use it for mention of FDL in cover text.
7943 (Documentation License): Use it in @include file name.
7944
7bb764bc
JM
79452012-02-22 Joseph Myers <joseph@codesourcery.com>
7946 Roland McGrath <roland@hack.frob.com>
7947
7948 [BZ #5461]
7949 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
7950 not LONG_LONG_MAX and LONG_LONG_MIN.
7951 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
7952 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
7953 name.
7954 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
7955
6cbeae47
JM
79562012-02-22 Joseph Myers <joseph@codesourcery.com>
7957
7958 [BZ #2547]
7959 [BZ #11365]
7960 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
7961 manipulate bits before adding and subtracting TWO23[sx].
7962 * math/libm-test.inc (nearbyint_test): Add more tests.
7963
fe45ce09
JM
79642012-02-22 Joseph Myers <joseph@codesourcery.com>
7965
7966 [BZ #2548]
7967 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
7968 bits before adding and subtracting TWO23[sx].
7969 * math/libm-test.inc (rint_test): Add more tests.
7970 (rint_test_tonearest): Likewise.
7971 (rint_test_towardzero): Likewise.
7972 (rint_test_downward): Likewise.
7973 (rint_test_upward: Likewise.
7974
ff3b3d82
JM
79752012-02-22 Joseph Myers <joseph@codesourcery.com>
7976
7977 [BZ #10110]
7978 * include/stdc-predef.h: New file. Extracted from features.h.
7979 * include/features.h: Include stdc-predef.h.
7980 * Makefile (headers): Add stdc-predef.h.
7981 * CONFORMANCE (Compiler limitations): Update.
7982
ef0aab35
JM
79832012-02-22 Joseph Myers <joseph@codesourcery.com>
7984
7985 * manual/libc.texinfo (VERSION, UPDATED): Revert.
7986
58639409
DM
79872012-02-21 David S. Miller <davem@davemloft.net>
7988
7989 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
7990 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
7991
c0e70b25
DM
79922012-02-20 David S. Miller <davem@davemloft.net>
7993
7994 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
7995 using a normal save/restore sequence, rather than allocating a
7996 dummy stack frame just to store a frame pointer and restore.
7997 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
7998
fb06851d
JM
79992012-02-21 Joseph Myers <joseph@codesourcery.com>
8000
8001 * manual/install.texi: Fix stray word in line-wrapped comment.
8002
7a8b71c3
DM
80032012-02-20 David S. Miller <davem@davemloft.net>
8004
d510c123
DM
8005 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
8006 both binutils and gcc support GOTDATA.
8007
0722d7c2
DM
8008 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
8009 "rd %pc" in the PIC register setup sequences.
8010
3d2b3019
DM
8011 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
8012 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
8013 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
8014 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
8015 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
8016 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
8017 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
8018 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
8019 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
8020 (SYSCALL_ERROR_HANDLER): Likewise.
8021 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
8022 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
8023 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
8024 (SYSCALL_ERROR_HANDLER): Likewise.
8025
c80098a9
DM
8026 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
8027 (HAVE_GCC_GOTDATA): New.
8028 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
8029 relocation support in both binutils and gcc.
8030 * sysdeps/sparc/elf/configure: Regenerate.
8031
3a2545a0
DM
8032 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
8033 * sysdeps/sparc/sparc32/elf/configure: Delete.
8034 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
8035 * sysdeps/sparc/sparc64/elf/configure: Delete.
8036 * sysdeps/sparc/elf/configure.in: New file.
8037 * sysdeps/sparc/elf/configure: Generate.
8038
7a8b71c3
DM
8039 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
8040 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
8041 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
8042 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
8043 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
8044
f1e86fca
JM
80452012-02-21 Joseph Myers <joseph@codesourcery.com>
8046
8047 * manual/install.texi: Do not mention specific glibc version
8048 numbers.
8049 * manual/libc.texinfo (VERSION, UPDATED): Update.
8050 (@copying): Use @copyright{} and range of years.
8051
0e7dfaef
JM
80522012-02-21 Joseph Myers <joseph@codesourcery.com>
8053
8054 [BZ #13695]
8055 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
8056 [crti.S not in sysdirs] (generated): Do not append.
8057 [crti.S not in sysdirs] (omit-deps): Likewise.
8058 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
8059 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
8060 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
8061 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
8062 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
8063 Likewise.
8064 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
8065 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
8066 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
8067 * csu/defs.awk: Remove file.
8068 * sysdeps/generic/initfini.c: Likewise.
8069 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
8070 variable.
8071 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
8072 Likewise.
8073
599af3ca
JM
80742012-02-20 Joseph Myers <joseph@codesourcery.com>
8075
8076 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
8077 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
8078 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
8079 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
8080 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
8081 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
8082 <bits/epoll.h>.
8083 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
8084 (__EPOLL_PACKED): Define to empty if not defined by
8085 <bits/epoll.h>.
8086 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
8087 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
8088 bits/epoll.h.
8089
0e499750
JM
80902012-02-20 Joseph Myers <joseph@codesourcery.com>
8091
8092 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
8093 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
8094 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
8095 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
8096 <bits/timerfd.h>.
8097 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
8098 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
8099 bits/timerfd.h.
8100
5ad91f6e
JM
81012012-02-20 Joseph Myers <joseph@codesourcery.com>
8102
8103 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
8104 in C locale.
8105 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
8106 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
8107 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
8108 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8109
06b99b02
AJ
81102012-02-20 Aurelien Jarno <aurelien@aurel32.net>
8111
8112 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
8113 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
8114
7638c0fd
AS
81152012-02-19 Andreas Schwab <schwab@linux-m68k.org>
8116
8117 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
8118 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
8119 defined.
8120 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
8121 Likewise.
8122 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
8123 entry for 2.16.
8124
92221550
AJ
81252012-02-19 Aurelien Jarno <aurelien@aurel32.net>
8126
8127 * math/w_acos.c: Use non-signaling floating-point comparisons.
8128 * math/w_acosf.c: Likewise.
8129 * math/w_acosh.c: Likewise.
8130 * math/w_acoshf.c: Likewise.
8131 * math/w_acoshl.c: Likewise.
8132 * math/w_acosl.c: Likewise.
8133 * math/w_asin.c: Likewise.
8134 * math/w_asinf.c: Likewise.
8135 * math/w_asinl.c: Likewise.
8136 * math/w_atanh.c: Likewise.
8137 * math/w_atanhf.c: Likewise.
8138 * math/w_atanhl.c: Likewise.
8139 * math/w_exp2.c: Likewise.
8140 * math/w_exp2f.c: Likewise.
8141 * math/w_exp2l.c: Likewise.
8142 * math/w_j0.c: Likewise.
8143 * math/w_j0f.c: Likewise.
8144 * math/w_j0l.c: Likewise.
8145 * math/w_j1.c: Likewise.
8146 * math/w_j1f.c: Likewise.
8147 * math/w_j1l.c: Likewise.
8148 * math/w_jn.c: Likewise.
8149 * math/w_jnf.c: Likewise.
8150 * math/w_log.c: Likewise.
8151 * math/w_log10.c: Likewise.
8152 * math/w_log10f.c: Likewise.
8153 * math/w_log10l.c: Likewise.
8154 * math/w_log2.c: Likewise.
8155 * math/w_log2f.c: Likewise.
8156 * math/w_log2l.c: Likewise.
8157 * math/w_logf.c: Likewise.
8158 * math/w_logl.c: Likewise.
8159 * math/w_sqrt.c: Likewise.
8160 * math/w_sqrtf.c: Likewise.
8161 * math/w_sqrtl.c: Likewise.
8162 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
8163 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
8164 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
8165 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
8166 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
8167
ebaf36eb
JM
81682012-02-19 Joseph Myers <joseph@codesourcery.com>
8169
8170 [BZ #9739]
8171 * manual/string.texi (strnlen): Use correct parameter name in
8172 equivalent expression.
8173
71c254a6
JM
81742012-02-19 Joseph Myers <joseph@codesourcery.com>
8175
8176 [BZ #11174]
8177 * manual/users.texi (seteuid): Consistently use neweuid for
8178 argument name.
8179
16d2c631
JM
81802012-02-19 Joseph Myers <joseph@codesourcery.com>
8181
8182 [BZ #13704]
8183 * manual/nss.texi (Services in the NSS configuration): Correct
8184 list of services in example configuration file.
8185
cd837b09
NB
81862012-02-19 Nick Bowler <nbowler@draconx.ca>
8187
8188 [BZ #11322]
8189 * manual/arith.texi: Remove statements about negative zero
8190 behaving identically to zero.
8191
02c4bbad
JM
81922012-02-18 Joseph Myers <joseph@codesourcery.com>
8193
8194 [BZ #5993]
8195 * manual/install.texi: Do not document upgrading from libc5.
8196
366842e7
JM
81972012-02-18 Joseph Myers <joseph@codesourcery.com>
8198
8199 [BZ #4596]
8200 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
8201
dd54084d
DM
82022012-02-18 David S. Miller <davem@davemloft.net>
8203
8204 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
8205 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
8206 %o7 across the call.
8207 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
8208 instead.
8209 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
8210 SETUP_PIC_REG_LEAF.
8211 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
8212 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
8213 * sysdeps/sparc/crtn.S: Likewise.
8214
2bcc53a3
UD
82152012-02-17 Ulrich Drepper <drepper@gmail.com>
8216
8217 * aout/Makefile: Remove.
8218
09c093b5
RK
82192012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
8220
8221 [BZ #13058]
8222 * manual/examples/argp-ex1.c (main): Format definition in GNU
8223 style.
8224 * manual/examples/argp-ex2.c (main): Likewise.
8225 * manual/examples/argp-ex3.c (main): Likewise.
8226 * manual/examples/argp-ex4.c (main): Likewise.
8227 * manual/examples/longopt.c (main): Use new-style prototype
8228 definition.
8229 * manual/examples/strncat.c (main): Specify return type and use
8230 (void) for arguments.
8231 * manual/examples/subopt.c (main): Use char **argv argument.
8232
2ee633a2
JM
82332012-02-17 Joseph Myers <joseph@codesourcery.com>
8234
8235 [BZ #5077]
8236 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
8237 rounding modes.
8238
0520adde
FB
82392012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
8240
8241 [BZ #6907]
8242 * manual/string.texi (strchr): Change when strchrnul is
8243 recommended.
8244
3f4081cd
DGM
82452012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
8246
8247 [BZ #174]
8248 * manual/locale.texi (setlocale): Document LOCPATH.
8249
d1b10e78
JM
82502012-02-17 Joseph Myers <joseph@codesourcery.com>
8251
8252 [BZ #10210]
8253 * manual/process.texi (execle): Move @dots{} before last argument.
8254
79c6869c
PB
82552012-02-17 Paul Bolle <pebolle@tiscali.nl>
8256
8257 [BZ #12047]
8258 * manual/charset.texi (Generic Charset Conversion): Fix typo
8259 (LC_TYPE -> LC_CTYPE).
8260
cc6e48bc
NB
82612012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
8262
8263 [BZ #5805]
8264 * manual/arith.texi (scalbn): Use @var{} on parameter names.
8265 (scalbnf): Likewise.
8266 (scalbnl): Likewise.
8267 (scalbln): Likewise.
8268 (scalblnf): Likewise.
8269 (scalblnl): Likewise.
8270 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
8271 (vwarnx): Likewise.
8272 (verr): Likewise.
8273 (verrx): Likewise.
8274 * manual/filesys.texi (telldir): Use braces around return type.
8275 * manual/llio.texi (mmap): Add space after comma.
8276 (mmap64): Likewise.
8277 * manual/math.texi (jn): Use @var{} on parameter names.
8278 (jnf): Likewise.
8279 (jnl): Likewise.
8280 (yn): Likewise.
8281 (ynf): Likewise.
8282 (ynl): Likewise.
8283 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
8284 line.
8285 * manual/resource.texi (ulimit): Use @dots{} instead of literal
8286 "...".
8287 (sched_get_priority_min): Remove semicolon on @deftypefun line.
8288 (sched_get_priority_max): Likewise.
8289 * manual/signal.texi (sigvec): Add space after comma.
8290 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
8291 names.
8292 (if_indextoname): Likewise.
8293 (if_freenameindex): Likewise.
8294 (sendto): Use ',' instead of '.' in prototype.
8295 * manual/startup.texi (syscall): Use @dots{} instead of literal
8296 "...".
8297 * manual/stdio.texi (__fpending): Separate initial words of
8298 paragraph from @deftypefun line.
8299 * manual/syslog.texi (syslog): Use @dots{} instead of literal
8300 "...".
8301 (vsyslog): Use @var{} on parameter names.
8302 * manual/terminal.texi (stty): Use @var{} on parameter names.
8303 * manual/users.texi (getutmp): Use @var{} on parameter names.
8304 (getutmpx): Likewise.
8305
5b23062f
JM
83062012-02-17 Joseph Myers <joseph@codesourcery.com>
8307
8308 [BZ #6884]
8309 * manual/stdio.texi (fopen): Fix typos in description of
8310 ",ccs=STRING".
8311
8dee4833
AJ
83122012-02-17 Aurelien Jarno <aurelien@aurel32.net>
8313
8314 [BZ #4026]
8315 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
8316 get clock_id definition.
8317
9078ce93
TS
83182012-02-17 Thomas Schwinge <thomas@schwinge.name>
8319
8320 [BZ #4822]
8321 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
8322 (madvise): Cast every argument to void on its own.
8323
3835c55f
JM
83242012-02-17 Joseph Myers <joseph@codesourcery.com>
8325
8326 [BZ #9902]
8327 * manual/startup.texi (Exit Status): Fix typo.
8328
35c47e37
JM
83292012-02-17 Joseph Myers <joseph@codesourcery.com>
8330
8331 [BZ #10140]
8332 * manual/examples/argp-ex1.c: Include <stdlib.h>.
8333 * manual/examples/argp-ex2.c: Likewise.
8334 * manual/examples/argp-ex3.c: Likewise.
8335
e3b69ca7
RH
83362012-02-16 Richard Henderson <rth@redhat.com>
8337
8338 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
8339 * sysdeps/s390/s390-32/initfini.c: Remove.
8340 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
8341 * sysdeps/s390/s390-64/initfini.c: Remove.
8342
df83af67
KK
83432012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
8344
8345 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
8346 compiler output for sysdeps/generic/initfini.c.
8347 * sysdeps/sh/elf/initfini.c: Remove file.
8348
f63f3380
DM
83492012-02-16 David S. Miller <davem@davemloft.net>
8350
fb59b3a4
DM
8351 [BZ #11494]
8352 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
8353
f63f3380
DM
8354 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
8355 * sysdeps/sparc/crti.S: New file.
8356 * sysdeps/sparc/crtn.S: New file.
8357 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
8358 * sysdeps/sparc/sparc64/Makefile: Likewise.
8359
df6a4a4a
MF
83602012-02-15 Mike Frysinger <vapier@gentoo.org>
8361
6dd8f3dc 8362 [BZ #3335]
df6a4a4a
MF
8363 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
8364
1cac7236
RM
83652012-02-15 Roland McGrath <roland@hack.frob.com>
8366
d2c736f8
RM
8367 [BZ #4822]
8368 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
8369
1cac7236
RM
8370 * mach/devstream.c (cookie_io_functions_t): Macro removed.
8371 (write, read, close): Likewise.
8372 Patch by Aurelien Jarno <aurelien@aurel32.net>.
8373
8e475601
JM
83742012-02-15 Joseph Myers <joseph@codesourcery.com>
8375
8376 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
8377 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
8378 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
8379 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
8380 <bits/signalfd.h>.
8381 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
8382 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
8383 bits/signalfd.h.
8384
ed656b40
MP
83852012-02-14 Marek Polacek <polacek@redhat.com>
8386
8387 * sysdeps/x86_64/crti.S: New file.
8388 * sysdeps/x86_64/crtn.S: New file.
8389 * sysdeps/x86_64/elf/initfini.c: Remove file.
8390
2a979d3a
JM
83912012-02-13 Joseph Myers <joseph@codesourcery.com>
8392
8393 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
8394 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
8395 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
8396 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
8397 <bits/inotify.h>.
8398 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
8399 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
8400 bits/inotify.h.
8401
2a418ac3
JM
84022012-02-13 Joseph Myers <joseph@codesourcery.com>
8403
8404 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
8405 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
8406 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
8407 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
8408 <bits/eventfd.h>.
8409 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
8410 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
8411 bits/eventfd.h.
8412
fb779be7
TS
84132012-02-10 Thomas Schwinge <thomas@codesourcery.com>
8414
e19e83c5
RM
8415 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
8416 __feraiseexcept instead of feraiseexcept.
7c35ffed 8417
fb779be7
TS
8418 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
8419 nanosleep invocations.
8420 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
8421 strings, and add error checking for a nanosleep invocations.
8422
59ba27a6
PE
84232012-02-09 Paul Eggert <eggert@cs.ucla.edu>
8424
8425 Replace FSF snail mail address with URLs, as per GNU coding standards.
8426 Most of the snail mail addresses were wrong anyway, and omitting
8427 them makes the source code easier to maintain. Almost all of the
8428 changes are to license notices and to locale LC_IDENTIFICATION
8429 addresses, except for this one:
8430 * manual/libc.texinfo: In "Published by", give the FSF's URL,
8431 not its snail mail address.
8432
57b957eb
RH
84332012-02-09 Richard Henderson <rth@twiddle.net>
8434
af850b1c
RH
8435 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
8436 of kernel-features.h.
8437
57b957eb
RH
8438 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
8439
6b73181a
MP
84402012-02-08 Marek Polacek <polacek@redhat.com>
8441
8442 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
8443 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
8444 * sysdeps/gnu/_G_config.h: Likewise.
8445 * sysdeps/generic/_G_config.h: Likewise.
8446
26ecc33a
AS
84472012-02-08 Andreas Schwab <schwab@linux-m68k.org>
8448
6c6dbc63
AS
8449 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
8450 tests.
8451 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8452
e216c012
AS
8453 * sysdeps/powerpc/powerpc32/crti.S: New file.
8454 * sysdeps/powerpc/powerpc32/crtn.S: New file.
8455 * sysdeps/powerpc/powerpc64/crti.S: New file.
8456 * sysdeps/powerpc/powerpc64/crtn.S: New file.
8457
26ecc33a
AS
8458 * Makeconfig (have-initfini): Don't set.
8459 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
8460 * configure.in (nopic_initfini): Don't substitute.
8461 * config.h.in (HAVE_INITFINI): Don't #undef.
8462 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
8463 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
8464
3add8e13
JM
84652012-02-08 Joseph Myers <joseph@codesourcery.com>
8466
8467 Support crti.S and crtn.S provided directly by architectures.
8468 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
8469 [crti.S in sysdirs] (omit-deps): Likewise.
8470 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
8471 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
8472 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
8473 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
8474 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
8475 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
8476 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
8477 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
8478 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
8479 compiler output for sysdeps/generic/initfini.c.
8480 * sysdeps/i386/elf/Makefile: Remove file.
8481 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
8482
a22f12b4
MP
84832012-02-07 Marek Polacek <polacek@redhat.com>
8484
8485 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
8486 * sysdeps/gnu/_G_config.h: Likewise.
8487 * sysdeps/mach/hurd/_G_config.h: Likewise.
8488
148cf100
MP
84892012-02-07 Marek Polacek <polacek@redhat.com>
8490
8491 * math/Makefile (tests): Add tst-CMPLX2.
8492 * math/tst-CMPLX2.c: New file.
8493
cfdc0dd7
AS
84942012-02-07 Andreas Schwab <schwab@linux-m68k.org>
8495
84ba42c4
AS
8496 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
8497
cfdc0dd7
AS
8498 * math/libm-test.inc (jn_test): Add missing L suffix.
8499
622c86f4
MP
85002012-02-06 Marek Polacek <polacek@redhat.com>
8501
8502 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
8503 * sysdeps/i386/fpu/e_powf.S: Likewise.
8504 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
8505 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
8506 * sysdeps/i386/fpu/e_acosh.S: Likewise.
8507 * sysdeps/i386/fpu/e_pow.S: Likewise.
8508 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
8509 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
8510 * sysdeps/i386/fpu/s_expm1.S: Likewise.
8511 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
8512 * sysdeps/i386/fpu/e_log2.S: Likewise.
8513 * sysdeps/i386/fpu/e_log2l.S: Likewise.
8514 * sysdeps/i386/fpu/e_scalb.S: Likewise.
8515 * sysdeps/i386/fpu/e_powl.S: Likewise.
8516 * sysdeps/i386/fpu/s_log1p.S: Likewise.
8517 * sysdeps/i386/fpu/e_log10f.S: Likewise.
8518 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
8519 * sysdeps/i386/fpu/e_logl.S: Likewise.
8520 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
8521 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
8522 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
8523 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
8524 * sysdeps/i386/fpu/e_log2f.S: Likewise.
8525 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
8526 * sysdeps/i386/fpu/e_log.S: Likewise.
8527 * sysdeps/i386/fpu/s_cexp.S: Likewise.
8528 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
8529 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
8530 * sysdeps/i386/fpu/e_logf.S: Likewise.
8531 * sysdeps/i386/fpu/e_log10l.S: Likewise.
8532 * sysdeps/i386/fpu/e_atanh.S: Likewise.
8533 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
8534 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
8535 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
8536 * sysdeps/i386/fpu/e_log10.S: Likewise.
8537 * sysdeps/i386/fpu/s_frexp.S: Likewise.
8538 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
8539 * sysdeps/i386/fpu/s_asinh.S: Likewise.
8540 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
8541 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
8542 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
8543 * sysdeps/i386/asm-syntax.h: Likewise.
8544 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
8545 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
8546 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
8547 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
8548 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
8549 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
8550 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
8551 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
8552 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
8553 * sysdeps/powerpc/sysdep.h: Likewise.
8554 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
8555 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
8556
d4a54ac6
JM
85572012-02-06 Joseph Myers <joseph@codesourcery.com>
8558
8559 [BZ #411]
8560 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
8561
314054ea
JM
85622012-02-06 Joseph Myers <joseph@codesourcery.com>
8563
8564 * sysdeps/i386/sysdep.h: Include <features.h>.
8565 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
8566 version.
8567
d8e0ca50
JM
85682012-02-05 Joseph Myers <joseph@codesourcery.com>
8569
8570 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
8571 Define.
8572 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
8573 LOAD_PIC_REG_STR.
8574
b1da7dd9
JM
85752012-02-03 Joseph Myers <joseph@codesourcery.com>
8576
8577 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
8578 (SETUP_PIC_REG): Use GET_PC_THUNK.
8579 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
8580 macro.
8581
9a1d9254
JM
85822012-02-03 Joseph Myers <joseph@codesourcery.com>
8583
8584 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
8585 for non-PIC compilation.
8586 (SETUP_PIC_REG): Add .p2align directive.
8587 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
8588 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
8589 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
8590 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
8591 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
8592 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
8593 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
8594 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
8595 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
8596 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
8597 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
8598 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
8599 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
8600 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
8601 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
8602 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
8603 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
8604 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
8605 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
8606 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
8607 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
8608 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
8609 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
8610 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
8611 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
8612 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
8613 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
8614 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
8615 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
8616 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
8617 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
8618 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
8619 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
8620 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
8621 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
8622 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
8623 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
8624 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
8625 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
8626 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
8627 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
8628
65dc3b75
JM
86292012-02-03 Joseph Myers <joseph@codesourcery.com>
8630
8631 * math/tst-CMPLX.c: Include <stdio.h>.
8632
d55bf177
JM
86332012-01-31 Joseph Myers <joseph@codesourcery.com>
8634
8635 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
8636 float.
8637 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
8638 * sysdeps/sparc/bits/mathdef.h: Likewise.
8639
69db4f8f
MP
86402012-01-31 Marek Polacek <polacek@redhat.com>
8641
8642 * libio/libio.h: Don't define _PARAMS.
8643 * locale/programs/config.h: Don't define PARAMS.
8644 * stdlib/strtol_l.c: Likewise.
8645 (__strtol_l): Remove PARAMS from the prototype.
8646
41b81892
UD
86472012-01-31 Ulrich Drepper <drepper@gmail.com>
8648
3b49edc0
UD
8649 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
8650 names. Just use the correct names. Remove unnecessary wrapper
8651 functions.
8652 * malloc/arena.c: Likewise.
8653 * malloc/hooks.c: Likewise.
8654
41b81892
UD
8655 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
8656 ARENA_TEST says not to. Simplify test for creation of a new arena.
8657 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
8658
27a25b6e
UD
86592012-01-30 Ulrich Drepper <drepper@gmail.com>
8660
8661 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
8662 into tail calls.
8663 (update_get_addr): New function.
8664 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
8665 GET_ADDR_MODULE parameter.
8666
c8a89e7d
JM
86672012-01-30 Joseph Myers <joseph@codesourcery.com>
8668
8669 * crypt/cert.c: Remove __STDC__ conditionals.
8670 * crypt/crypt-entry.c: Likewise.
8671 * crypt/crypt_util.c: Likewise.
8672 * libio/filedoalloc.c: Likewise.
8673 * libio/fileops.c: Likewise.
8674 * libio/genops.c: Likewise.
8675 * libio/iofclose.c: Likewise.
8676 * libio/iofdopen.c: Likewise.
8677 * libio/iofopen.c: Likewise.
8678 * libio/iofopen64.c: Likewise.
8679 * libio/iogetdelim.c: Likewise.
8680 * libio/iopopen.c: Likewise.
8681 * libio/obprintf.c: Likewise.
8682 * libio/oldfileops.c: Likewise.
8683 * libio/oldiofclose.c: Likewise.
8684 * libio/oldiofdopen.c: Likewise.
8685 * libio/oldiofopen.c: Likewise.
8686 * libio/oldiopopen.c: Likewise.
8687 * libio/wfiledoalloc.c: Likewise.
8688 * libio/wgenops.c: Likewise.
8689 * locale/programs/xmalloc.c: Likewise.
8690 * misc/syslog.c: Likewise.
8691 * stdio-common/xbug.c: Likewise.
8692 * string/memchr.c: Likewise.
8693 * string/memcmp.c: Likewise.
8694 * string/memrchr.c: Likewise.
8695 * string/rawmemchr.c: Likewise.
8696 * sysdeps/posix/getcwd.c: Likewise.
8697 * time/strftime_l.c: Likewise.
8698
3b100462
JM
86992012-01-30 Joseph Myers <joseph@codesourcery.com>
8700
8701 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
8702 * config.make.in (config-cflags-sse2avx): Define.
8703 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
8704 Fix typo.
8705
607998af
CM
87062012-01-29 Chris Metcalf <cmetcalf@tilera.com>
8707
8708 * scripts/config.guess: Update from upstream config git repository.
8709 * scripts/config.sub: Likewise.
8710
3601428f
CM
87112012-01-28 Chris Metcalf <cmetcalf@tilera.com>
8712
3ac8b282
CM
8713 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
8714 (EM_NUM): Update.
8715 (R_TILEPRO_*, R_TILEGX_*): New macros.
8716
e034841e
CM
8717 * scripts/firstversions.awk: Fix bug in version range handling.
8718
540d7568
CM
8719 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
8720
3601428f
CM
8721 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
8722
463de862
CM
8723 * include/sys/epoll.h: New file.
8724 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
8725 libc_hidden_def.
8726
73139a76
UD
87272012-01-28 Ulrich Drepper <drepper@gmail.com>
8728
96bc5b45
UD
8729 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
8730 Avoid unnecessary __WORDSIZE == 64 test.
8731 (fmaxf): Use VEX format if possible.
8732 (fmax): Likewise.
8733 (fminf): Likewise.
8734 (fmin): Likewise.
8735
56f6f6a2
UD
8736 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
8737 * math/math_private.h: Remove libc_fegetround* and
8738 libc_fesetround*.
8739 * sysdeps/i386/configure.in: Check for -msse2avx.
8740 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
8741 also if SSE2AVX is defined.
8742 Remove libc_fegetround* and libc_fesetround*.
8743 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
8744 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
8745 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
8746 of HAS_YMM_USABLE.
8747 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
8748 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
8749 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
8750 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
8751 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
8752
73139a76
UD
8753 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
8754
d73f93a4
AZ
87552012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8756
8757 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
8758 size is not set.
8759 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
8760
6ee65ed6
UD
87612012-01-27 Ulrich Drepper <drepper@gmail.com>
8762
8763 [BZ #13618]
8764 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
8765 relocation.
8766 * Makeconfig (libm): Define.
8767 * elf/Makefile: Add rules to build and run tst-relsort1.
8768 * elf/tst-relsort1.c: New file.
8769 * elf/tst-relsort1mod1.c: New file.
8770 * elf/tst-relsort1mod2.c: New file.
8771
8db21882
JM
87722012-01-27 Joseph Myers <joseph@codesourcery.com>
8773
8774 * math/s_ldexp.c: Remove __STDC__ conditionals.
8775 * math/s_ldexpf.c: Likewise.
8776 * math/s_ldexpl.c: Likewise.
8777 * math/s_nextafter.c: Likewise.
8778 * math/s_nexttowardf.c: Likewise.
8779 * math/s_significand.c: Likewise.
8780 * math/s_significandf.c: Likewise.
8781 * math/s_significandl.c: Likewise.
8782 * math/w_jnl.c: Likewise.
8783 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
8784 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
8785 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
8786 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
8787 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
8788 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
8789 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
8790 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
8791 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
8792 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
8793 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
8794 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
8795 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
8796 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
8797 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
8798 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
8799 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
8800 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
8801 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
8802 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
8803 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
8804 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
8805 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
8806 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
8807 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
8808 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
8809 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
8810 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
8811 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
8812 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
8813 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
8814 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
8815 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
8816 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
8817 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
8818 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
8819 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
8820 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
8821 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
8822 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
8823 * sysdeps/ieee754/k_standard.c: Likewise.
8824 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
8825 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
8826 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
8827 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
8828 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
8829 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
8830 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
8831 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
8832 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
8833 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
8834 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
8835 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
8836 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
8837 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
8838 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
8839 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
8840 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
8841 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
8842 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
8843 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
8844 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
8845 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
8846 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
8847 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
8848 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
8849 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
8850 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
8851 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
8852 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
8853 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
8854 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
8855 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
8856 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
8857 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
8858 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
8859 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
8860 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
8861 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
8862 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
8863 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
8864 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
8865 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
8866 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
8867 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
8868 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
8869 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
8870 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
8871 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
8872 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
8873 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
8874 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
8875 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
8876 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
8877 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
8878 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
8879 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
8880 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
8881 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
8882 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
8883 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
8884 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
8885 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
8886 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
8887 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
8888 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
8889 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
8890 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
8891 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
8892 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
8893 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
8894 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
8895 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
8896 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
8897 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
8898 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
8899 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
8900 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
8901 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
8902 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
8903 * sysdeps/ieee754/s_matherr.c: Likewise.
8904 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
8905 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
8906 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
8907 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
8908
965a54a4
JM
89092012-01-26 Joseph Myers <joseph@codesourcery.com>
8910
8911 * crypt/md5.h: Remove __STDC__ conditionals.
8912 * libio/libioP.h: Likewise.
8913 * locale/programs/config.h: Likewise.
8914 * sysdeps/generic/sysdep.h: Likewise.
8915 * sysdeps/i386/asm-syntax.h: Likewise.
8916 * sysdeps/s390/asm-syntax.h: Likewise.
8917 * sysdeps/unix/sysdep.h: Likewise.
8918 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
8919 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
8920
7071ad79
JM
89212012-01-26 Joseph Myers <joseph@codesourcery.com>
8922
8923 * libio/libio.h: Remove __STDC__ conditionals.
8924 * malloc/obstack.h: Likewise.
8925 * math/complex.h: Likewise.
8926 * math/math.h: Likewise.
8927 * sysdeps/generic/_G_config.h: Likewise.
8928 * sysdeps/gnu/_G_config.h: Likewise.
8929 * sysdeps/mach/hurd/_G_config.h: Likewise.
8930 * sysdeps/powerpc/bits/mathdef.h: Likewise.
8931 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
8932 * sysdeps/sparc/bits/mathdef.h: Likewise.
8933
afc5ed09
UD
89342012-01-26 Ulrich Drepper <drepper@gmail.com>
8935
8936 [BZ #13583]
8937 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 8938 Clean up HAS_* macros.
afc5ed09 8939 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
8940 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
8941 possible.
8942 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
8943 HAS_AVX.
8944 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
8945 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
8946 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
8947 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
8948 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 8949
bdb6de1d
JM
89502012-01-25 Joseph Myers <joseph@codesourcery.com>
8951
8952 * elf/tst-unique3.cc (gets): Remove declaration.
8953 * elf/tst-unique3lib.cc (gets): Likewise.
8954 * elf/tst-unique3lib2.cc (gets): Likewise.
8955 * elf/tst-unique4.cc (gets): Likewise.
8956
b15549e6
UD
89572012-01-24 Ulrich Drepper <drepper@gmail.com>
8958
8959 * include/stdio.h: Add C++ protection. Add gets declarations and
8960 definitions.
8961 * debug/tst-chk1.c: Don't declare gets here.
8962 * stdio-common/tst-gets.c: Likewise.
8963
a037381f
JM
89642012-01-24 Joseph Myers <joseph@codesourcery.com>
8965
8966 * posix/glob: Remove directory.
8967
f1d4aa75
JM
89682012-01-24 Joseph Myers <joseph@codesourcery.com>
8969
8970 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
8971
81c0c964
PT
89722012-01-22 Pino Toscano <toscano.pino@tiscali.it>
8973
8974 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
8975 of the non-standard EPFNOSUPPORT.
8976
0ea698ae
ST
89772011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
8978
8979 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
8980 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
8981 ANYWHERE set to 1 only on KERN_NO_SPACE error.
8982
d220b117
UD
89832012-01-21 Ulrich Drepper <drepper@gmail.com>
8984
8985 * wcsmbs/uchar.h: Test __STDC_VERSION__.
8986
3e1aa84e
UD
89872012-01-20 Ulrich Drepper <drepper@gmail.com>
8988
8989 * nscd/aicache.c (addhstaiX): Do not cache negative results of
8990 transient errors.
8991 * nscd/grpcache.c (cache_addgr): Likewise.
8992 * nscd/hstcache.c (cache_addhst): Likewise.
8993 * nscd/initgrcache.c (addinitgroupsX): Likewise.
8994 * nscd/pwdcache.c (cache_addpw): Likewise.
8995 * nscd/servicescache.c (cache_addserv): Likewise.
8996
400aa020
UD
89972012-01-16 Ulrich Drepper <drepper@gmail.com>
8998
d77e7869
UD
8999 * malloc/malloc.c: Various cleanups.
9000 * malloc/hooks.c: Likewise.
9001
400aa020
UD
9002 * stdlib/Makefile (tests): Add bug-fmtmsg1.
9003 * stdlib/bug-fmtmsg1.c: New file.
9004
9005 * stdlib/fmtmsg.c (init): Add missing unlock.
9006 Patch by Peng Haitao <penght@cn.fujitsu.com>.
9007
e0a309cf
MP
90082012-01-12 Marek Polacek <polacek@redhat.com>
9009
9010 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
9011 and _GNU_SOURCE.
9012
929d11c7
WS
90132012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
9014
9015 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
9016 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
9017 macro to ensure uniqueness of label name.
9018 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
9019 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
9020
41d0e869
UD
90212012-01-11 Ulrich Drepper <drepper@gmail.com>
9022
0cc5ed3b
UD
9023 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
9024
41d0e869
UD
9025 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
9026 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
9027 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
9028 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
9029
a47a831a
UD
90302012-01-10 Ulrich Drepper <drepper@gmail.com>
9031
daa891c0
UD
9032 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
9033
9034 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
9035 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
9036 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
9037
e58ef0f2
UD
9038 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
9039
a47a831a 9040 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
9041 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
9042 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 9043 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
9044
9045 * math/bits/math-finite.h: Add ldexp support.
9046
a0bfc9c7
MP
90472012-01-10 Marek Polacek <polacek@redhat.com>
9048
9049 * locale/programs/localedef.h (show_archive_content): Add noreturn
9050 attribute.
9051
d6e97a1d
UD
90522012-01-09 Ulrich Drepper <drepper@gmail.com>
9053
9054 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
9055
d5835c26
UD
90562012-01-08 Ulrich Drepper <drepper@gmail.com>
9057
e5f484c6
UD
9058 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
9059
d5835c26
UD
9060 * io/Makefile (headers): Add bits/poll2.h.
9061
d1f741e9
WS
90622011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
9063
9064 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
9065 typo #include statement.
9066
ec09c1c4
UD
90672012-01-08 Ulrich Drepper <drepper@gmail.com>
9068
9069 * include/sys/cdefs.h: Define __attribute_alloc_size.
9070 * catgets/gencat.c: Add alloc_size attribute and apply consistently
9071 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
9072 * elf/pldd.c: Likewise.
9073 * iconv/iconv_charmap.c: Likewise.
9074 * iconv/iconvconfig.c: Likewise.
9075 * iconv/strtab.c: Likewise.
9076 * locale/programs/locale.c: Likewise.
9077 * locale/programs/localedef.h: Likewise.
9078 * locale/programs/simple-hash.c: Likewise.
9079 * nscd/nscd.h: Likewise.
9080 * nss/makedb.c: Likewise.
9081 * sysdeps/generic/ldconfig.h: Likewise.
9082 * locale/programs/localedef.c: Remove xmalloc prototype.
9083 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
9084
20b38e03
PP
90852012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
9086
9087 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
9088 appropriate.
9089
a0da5fe1
UD
90902012-01-08 Ulrich Drepper <drepper@gmail.com>
9091
1d5a644a 9092 * math/Makefile (tests): Add tst-CMPLX.
669704fd 9093 * math/tst-CMPLX.c: New file.
1d5a644a 9094
8784a6db
UD
9095 * math/complex.h (CMPLXL): Fix typo.
9096
d9a216c0
UD
9097 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
9098 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
9099 GLIBC_2.16.
9100 * debug/tst-chk1.c: Add poll and ppoll tests.
9101 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
9102 * include/sys/poll.h: Add hidden proto for ppoll.
9103 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
9104 * sysdeps/mach/hurd/ppoll.c: Likewise.
9105 * io/ppoll.c: Likewise.
9106 * debug/poll_chk.c: New file.
9107 * debug/ppoll_chk.c: New file.
9108 * include/bits/poll2.h: New file.
9109 * io/bits/poll2.h: New file.
9110
ac097f5c
UD
9111 [BZ #1350]
9112 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
9113
2119dcfa
UD
9114 * configure.in: static is always set to yes. Remove.
9115 * config.make.in: Don't set build-static.
9116 * Makeconfig: Remove use of build-static.
9117 * dlfcn/Makefile: Likewise.
9118 * elf/Makefile: Likewise.
9119 * math/Makefile: Likewise.
9120 * misc/Makefile: Likewise.
9121 * nptl/Makefile: Likewise.
9122 * sysdeps/mach/hurd/Makefile: Likewise.
9123
121766a9
UD
9124 * configure.in: PWD_P is not used anymore.
9125 * config.make.in: Remove PWD_P entry.
9126
51a1d39c 9127 * configure.in: Remove last remnants of RANLIB.
8720d066 9128 No need to check for signed size_t anymore.
215f4bdc
UD
9129 Don't set libc_commonpagesize and libc_relro_required here for Alpha
9130 and IA-64.
3857022a 9131 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
9132 * aclocal.m4: Likewise.
9133
d3ed7225
UD
9134 * wcsmbs/mbrtoc16.c: Implement using towc function.
9135 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
9136 * wcsmbs/wcsmbsload.c: Likewise.
9137 * iconv/gconv_simple.c: Likewise.
9138 * iconv/gconv_int.h: Likewise.
9139 * iconv/gconv_builtin.h: Likewise.
9140 * iconv/iconv_prog.c: Remove CHAR16 handling.
9141
9142 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
9143
9144 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
9145
a0da5fe1
UD
9146 * configure.in: Remove --with-elf and --enable-bounded options.
9147 Dont set base_machine for ia64. More non-ELF conditions removed.
9148 Remove testing and setting of leading underscore information.
9149 * config.make.in (build-bounded): Set to no.
9150 * config.h.in: Remove NO_UNDERSCORES entry.
9151 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
9152 them.
9153 * csu/start.c: Remove !NO_UNDERSCORE code.
9154 * locale/localeinfo.h: Likewise.
9155 * sysdeps/generic/machine-gmon.h: Likewise.
9156 * sysdeps/generic/sysdep.h: Likewise.
9157 * sysdeps/i386/sysdep.h: Likewise.
9158 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
9159 * sysdeps/mach/sysdep.h: Likewise.
9160 * sysdeps/s390/s390-32/sysdep.h: Likewise.
9161 * sysdeps/s390/s390-64/sysdep.h: Likewise.
9162 * sysdeps/sh/sysdep.h: Likewise.
9163 * sysdeps/sparc/sparc32/alloca.S: Likewise.
9164 * sysdeps/unix/i386/sysdep.S: Likewise.
9165 * sysdeps/unix/sparc/start.c: Likewise.
9166 * sysdeps/unix/sparc/sysdep.S: Likewise.
9167 * sysdeps/unix/sparc/sysdep.h: Likewise.
9168 * sysdeps/unix/start.c: Likewise.
9169 * sysdeps/unix/x86_64/sysdep.S: Likewise.
9170 * sysdeps/x86_64/sysdep.h: Likewise.
9171
df78418a
UD
91722012-01-07 Ulrich Drepper <drepper@gmail.com>
9173
a784e502
UD
9174 [BZ #13553]
9175 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
9176 for non-gcc.
9177 * argp/argp-fmtstream.h: Use const instead __const.
9178 * argp/argp.h: Likewise.
9179 * assert/assert.h: Likewise.
9180 * bits/fenv.h: Likewise.
9181 * bits/sched.h: Likewise.
9182 * bits/sigset.h: Likewise.
9183 * bits/sigthread.h: Likewise.
9184 * catgets/nl_types.h: Likewise.
9185 * conform/data/pthread.h-data: Likewise.
9186 * crypt/crypt-private.h: Likewise.
9187 * crypt/crypt.h: Likewise.
9188 * crypt/crypt_util.c: Likewise.
9189 * ctype/ctype.h: Likewise.
9190 * debug/execinfo.h: Likewise.
9191 * debug/mbsnrtowcs_chk.c: Likewise.
9192 * debug/mbsrtowcs_chk.c: Likewise.
9193 * debug/wcsnrtombs_chk.c: Likewise.
9194 * debug/wcsrtombs_chk.c: Likewise.
9195 * debug/wcstombs_chk.c: Likewise.
9196 * dirent/dirent.h: Likewise.
9197 * dlfcn/dlfcn.h: Likewise.
9198 * elf/neededtest4.c: Likewise.
9199 * grp/grp.h: Likewise.
9200 * gshadow/gshadow.h: Likewise.
9201 * iconv/gconv.h: Likewise.
9202 * iconv/gconv_int.h: Likewise.
9203 * iconv/gconv_simple.c: Likewise.
9204 * iconv/iconv.h: Likewise.
9205 * iconv/loop.c: Likewise.
9206 * iconv/skeleton.c: Likewise.
9207 * include/aio.h: Likewise.
9208 * include/aliases.h: Likewise.
9209 * include/argz.h: Likewise.
9210 * include/arpa/inet.h: Likewise.
9211 * include/assert.h: Likewise.
9212 * include/dirent.h: Likewise.
9213 * include/dlfcn.h: Likewise.
9214 * include/execinfo.h: Likewise.
9215 * include/fcntl.h: Likewise.
9216 * include/fenv.h: Likewise.
9217 * include/glob.h: Likewise.
9218 * include/grp.h: Likewise.
9219 * include/libintl.h: Likewise.
9220 * include/mntent.h: Likewise.
9221 * include/netdb.h: Likewise.
9222 * include/pwd.h: Likewise.
9223 * include/rpc/netdb.h: Likewise.
9224 * include/sched.h: Likewise.
9225 * include/search.h: Likewise.
9226 * include/shadow.h: Likewise.
9227 * include/signal.h: Likewise.
9228 * include/stdio.h: Likewise.
9229 * include/stdlib.h: Likewise.
9230 * include/string.h: Likewise.
9231 * include/sys/socket.h: Likewise.
9232 * include/sys/stat.h: Likewise.
9233 * include/sys/statfs.h: Likewise.
9234 * include/sys/statvfs.h: Likewise.
9235 * include/sys/syslog.h: Likewise.
9236 * include/sys/time.h: Likewise.
9237 * include/sys/uio.h: Likewise.
9238 * include/time.h: Likewise.
9239 * include/unistd.h: Likewise.
9240 * include/utmp.h: Likewise.
9241 * include/wchar.h: Likewise.
9242 * include/wctype.h: Likewise.
9243 * inet/aliases.h: Likewise.
9244 * inet/arpa/inet.h: Likewise.
9245 * inet/netinet/ether.h: Likewise.
9246 * inet/netinet/in.h: Likewise.
9247 * intl/libintl.h: Likewise.
9248 * io/bits/fcntl2.h: Likewise.
9249 * io/fcntl.h: Likewise.
9250 * io/ftw.h: Likewise.
9251 * io/sys/poll.h: Likewise.
9252 * io/sys/stat.h: Likewise.
9253 * io/sys/statfs.h: Likewise.
9254 * io/sys/statvfs.h: Likewise.
9255 * io/utime.h: Likewise.
9256 * libio/bits/stdio.h: Likewise.
9257 * libio/bits/stdio2.h: Likewise.
9258 * libio/libio.h: Likewise.
9259 * libio/libioP.h: Likewise.
9260 * libio/stdio.h: Likewise.
9261 * locale/lc-ctype.c: Likewise.
9262 * locale/locale.h: Likewise.
9263 * login/utmp.h: Likewise.
9264 * malloc/arena.c: Likewise.
9265 * malloc/malloc.c: Likewise.
9266 * malloc/malloc.h: Likewise.
9267 * malloc/mcheck.c: Likewise.
9268 * malloc/mtrace.c: Likewise.
9269 * math/bits/mathcalls.h: Likewise.
9270 * math/fenv.h: Likewise.
9271 * math/math_private.h: Likewise.
9272 * misc/bits/error.h: Likewise.
9273 * misc/bits/syslog.h: Likewise.
9274 * misc/err.h: Likewise.
9275 * misc/error.h: Likewise.
9276 * misc/fstab.h: Likewise.
9277 * misc/mntent.h: Likewise.
9278 * misc/regexp.h: Likewise.
9279 * misc/search.h: Likewise.
9280 * misc/sgtty.h: Likewise.
9281 * misc/sys/mman.h: Likewise.
9282 * misc/sys/syslog.h: Likewise.
9283 * misc/sys/uio.h: Likewise.
9284 * misc/sys/xattr.h: Likewise.
9285 * misc/ttyent.h: Likewise.
9286 * nis/rpcsvc/ypclnt.h: Likewise.
9287 * nss/nss.h: Likewise.
9288 * posix/bits/unistd.h: Likewise.
9289 * posix/fnmatch.h: Likewise.
9290 * posix/glob.h: Likewise.
9291 * posix/sched.h: Likewise.
9292 * posix/spawn.h: Likewise.
9293 * posix/sys/wait.h: Likewise.
9294 * posix/unistd.h: Likewise.
9295 * posix/wordexp.h: Likewise.
9296 * pwd/pwd.h: Likewise.
9297 * resolv/netdb.h: Likewise.
9298 * resource/sys/resource.h: Likewise.
9299 * rt/aio.h: Likewise.
9300 * rt/bits/mqueue2.h: Likewise.
9301 * rt/mqueue.h: Likewise.
9302 * shadow/shadow.h: Likewise.
9303 * signal/signal.h: Likewise.
9304 * socket/send.c: Likewise.
9305 * socket/sendto.c: Likewise.
9306 * socket/sys/socket.h: Likewise.
9307 * stdio-common/printf.h: Likewise.
9308 * stdlib/bits/stdlib.h: Likewise.
9309 * stdlib/fmtmsg.h: Likewise.
9310 * stdlib/monetary.h: Likewise.
9311 * stdlib/stdlib.h: Likewise.
9312 * stdlib/ucontext.h: Likewise.
9313 * streams/stropts.h: Likewise.
9314 * string/argz.h: Likewise.
9315 * string/bits/string2.h: Likewise.
9316 * string/string.h: Likewise.
9317 * string/strings.h: Likewise.
9318 * sunrpc/rpc/auth.h: Likewise.
9319 * sunrpc/rpc/auth_des.h: Likewise.
9320 * sunrpc/rpc/clnt.h: Likewise.
9321 * sunrpc/rpc/netdb.h: Likewise.
9322 * sunrpc/rpc/pmap_clnt.h: Likewise.
9323 * sunrpc/rpc/xdr.h: Likewise.
9324 * sysdeps/generic/inttypes.h: Likewise.
9325 * sysdeps/generic/net/if.h: Likewise.
9326 * sysdeps/generic/sys/swap.h: Likewise.
9327 * sysdeps/gnu/net/if.h: Likewise.
9328 * sysdeps/gnu/utmpx.h: Likewise.
9329 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
9330 * sysdeps/i386/i486/bits/string.h: Likewise.
9331 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
9332 * sysdeps/s390/bits/string.h: Likewise.
9333 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
9334 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
9335 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
9336 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
9337 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
9338 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
9339 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
9340 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
9341 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
9342 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
9343 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
9344 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
9345 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
9346 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
9347 * sysdeps/unix/sysv/linux/readv.c: Likewise.
9348 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
9349 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
9350 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
9351 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
9352 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
9353 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
9354 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
9355 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
9356 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
9357 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
9358 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
9359 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
9360 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
9361 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
9362 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
9363 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
9364 * sysvipc/sys/ipc.h: Likewise.
9365 * sysvipc/sys/msg.h: Likewise.
9366 * sysvipc/sys/sem.h: Likewise.
9367 * sysvipc/sys/shm.h: Likewise.
9368 * termios/termios.h: Likewise.
9369 * time/sys/time.h: Likewise.
9370 * time/time.h: Likewise.
9371 * wcsmbs/bits/wchar2.h: Likewise.
9372 * wcsmbs/uchar.h: Likewise.
9373 * wcsmbs/wchar.h: Likewise.
9374 * wctype/wctype.h: Likewise.
9375
0269750c
UD
9376 [BZ #13551]
9377 * Makeconfig: Remove all but ELF support including AIX support.
9378 * Makerules: Likewise.
9379 * config.h.in: Likewise.
9380 * config.make.in: Likewise.
9381 * configure: Likewise.
9382 * configure.in: Likewise.
9383 * csu/Makefile: Likewise.
9384 * csu/version.c: Likewise.
9385 * debug/Makefile: Likewise.
9386 * dlfcn/Makefile: Likewise.
9387 * elf/Makefile: Likewise.
9388 * extra-lib.mk: Likewise.
9389 * iconv/Makefile: Likewise.
9390 * include/libc-symbols.h: Likewise.
9391 * include/shlib-compat.h: Likewise.
9392 * resolv/Makefile: Likewise.
9393 * resolv/res_libc.c: Likewise.
9394 * rt/Makefile: Likewise.
9395 * sysdeps/i386/asm-syntax.h: Likewise.
9396 * sysdeps/i386/sysdep.h: Likewise.
9397 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
9398 * sysdeps/mach/sysdep.h: Likewise.
9399 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
9400 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
9401 * sysdeps/s390/asm-syntax.h: Likewise.
9402 * sysdeps/s390/s390-32/sysdep.h: Likewise.
9403 * sysdeps/s390/s390-64/sysdep.h: Likewise.
9404 * sysdeps/sh/sysdep.h: Likewise.
9405 * sysdeps/unix/sparc/sysdep.h: Likewise.
9406 * sysdeps/wordsize-32/divdi3.c: Likewise.
9407 * sysdeps/x86_64/sysdep.h: Likewise.
9408
00bbd29b
UD
9409 * argp/Versions: Remove _argp_unlock_xxx.
9410
9411 [BZ #13559]
9412 * abilist/ld.abilist: Update. Adjust for removal of tls option.
9413 * abilist/libBrokenLocale.abilist: Likewise.
9414 * abilist/libanl.abilist: Likewise.
9415 * abilist/libc.abilist: Likewise.
9416 * abilist/libcrypt.abilist: Likewise.
9417 * abilist/libdl.abilist: Likewise.
9418 * abilist/libm.abilist: Likewise.
9419 * abilist/libnsl.abilist: Likewise.
9420 * abilist/libpthread.abilist: Likewise.
9421 * abilist/libresolv.abilist: Likewise.
9422 * abilist/librt.abilist: Likewise.
9423 * abilist/libthread_db.abilist: Likewise.
9424 * abilist/libutil.abilist: Likewise.
9425 * abilist/libnss_db.abilist: New file.
9426
9427 * scripts/abilist.awk: Add support for indirect functions.
9428
a2693a0e
UD
9429 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
9430
3f05895f
UD
9431 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
9432
ecb6fb48
UD
9433 * shlib-versions: Remove entries for ports architectures.
9434
664f8cb9
UD
9435 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
9436 files in ports.
9437 * elf/stackguard-macros.h: Remove support for IA-64.
9438 * elf/tst-auditmod1.c: Likewise.
9439 * sysdeps/generic/ldsodefs.h: Likewise.
9440
7ae81d88
UD
9441 * sysdeps/unix/sysv/linux/configure.in: Ports should define
9442 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
9443 configure files.
9444
bdeba135
UD
9445 [BZ #13552]
9446 * configure.in: Remove --enable-omitfp support.
9447 * FAQ.in: Adjust.
9448 * config.make.in: Likewise.
9449 * Makeconfig: Likewise.
9450 * manual/install.texi: Likewise.
9451
d75a0a62
UD
9452 In case anyone cares, the IA-64 architecture could move to ports.
9453 * sysdeps/ia64/*: Removed.
9454 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 9455 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 9456
dcc9756b
UD
9457 [BZ #13555]
9458 * configure.in: Remove entries for unsupported architectures.
9459
d3761ebc 9460 [BZ #13533]
9954432e
UD
9461 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
9462 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
9463 routines.
9464 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
9465 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
9466 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
9467 fall back to using wcrtomb.
9468 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
9469 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
9470 renaming.
9471 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
9472 * wcsmbs/tst-c16c32-1.c: New file.
9473
9474 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
9475 local variable.
9476
c3a87236
UD
9477 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
9478
28926a1b
UD
9479 * elf/tst-unique3.cc: Add explicit declaration of gets.
9480 * elf/tst-unique3lib.cc: Likewise.
9481 * elf/tst-unique3lib2.cc: Likewise.
9482 * elf/tst-unique4.cc: Likewise.
9483
df78418a
UD
9484 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
9485
8ecd6b2a
JM
94862012-01-06 Joseph Myers <joseph@codesourcery.com>
9487
9488 [BZ #13566]
9489 * assert/assert.h (static_assert): Don't define for C++.
9490 * libio/stdio.h (gets): Do declare for C++ <= C++11.
9491 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
9492
9f115170
UD
94932012-01-03 Ulrich Drepper <drepper@gmail.com>
9494
5e0d0300
UD
9495 * iconv/loop.c (single loop): Fix assertion in storing of
9496 remaining bytes.
9497
9f115170
UD
9498 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
9499
81fb02b0
UD
95002012-01-01 Ulrich Drepper <drepper@gmail.com>
9501
9502 * posix/getconf.c: Update copyright year.
9503 * nss/getent.c: Likewise.
a316c1f6 9504 * nss/makedb.c: Likewise.
81fb02b0
UD
9505 * iconv/iconvconfig.c: Likewise.
9506 * iconv/iconv_prog.c: Likewise.
9507 * elf/ldconfig.c: Likewise.
a316c1f6
UD
9508 * elf/pldd.c: Likewise.
9509 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
9510 * catgets/gencat.c: Likewise.
9511 * csu/version.c: Likewise.
9512 * elf/ldd.bash.in: Likewise.
9513 * elf/sprof.c (print_version): Likewise.
9514 * locale/programs/locale.c: Likewise.
9515 * locale/programs/localedef.c: Likewise.
a316c1f6 9516 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
9517 * nscd/nscd.c (print_version): Likewise.
9518 * debug/xtrace.sh: Likewise.
9519 * malloc/memusage.sh: Likewise.
9520 * malloc/mtrace.pl: Likewise.
9521 * debug/catchsegv.sh: Likewise.
9522
2ba92745
JJ
95232011-12-30 Jakub Jelinek <jakub@redhat.com>
9524
9525 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
9526 pure attribute.
9527
dadebdae
UD
95282011-12-24 Ulrich Drepper <drepper@gmail.com>
9529
d3761ebc 9530 [BZ #13533]
db6af3eb
UD
9531 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
9532 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
9533 transformations.
9534 * iconv/gconv_int.h: Likewise.
9535 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
9536 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
9537 from libc for GLIBC_2.16.
9538 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
9539 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
9540 * wcsmbs/uchar.h: Really define mbstate_t.
9541 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
9542 * wcsmbs/c16rtomb.c: New file.
9543 * wcsmbs/mbrtoc16.c: New file.
9544 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
9545 for C/POSIX locale.
9546 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
9547 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
9548
dadebdae
UD
9549 * wcsmbs/wchar.h: Add missing __restrict.
9550
67371b56
UD
95512011-12-23 Ulrich Drepper <drepper@gmail.com>
9552
74033a25
UD
9553 [BZ #13532]
9554 * time/Makefile (routines): Add timespec_get.
9555 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
9556 * time/time.h: Define TIME_UTC and declare timespec_get. Define
9557 timespec for ISO C11.
9558 * time/timespec_get.c: New file.
9559 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
9560 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
9561
380d7e87
UD
9562 [BZ #13531]
9563 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
9564 * stdlib/stdlib.h: Declare aligned_alloc.
9565 * Versions.def: Add GLIBC_2.16 for libc.
9566 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
9567
4e9e7a35
UD
9568 [BZ 13527]
9569 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
9570 ISO C11.
9571
380d7e87 9572 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
9573 code.
9574
03a71829
UD
9575 [BZ #13528]
9576 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
9577
839e283e
UD
9578 [BZ #13529]
9579 * assert/assert.h (static_assert): Define.
9580
ce5294e2 9581 * version.h: Update for 2.16 development version.
90fa7312 9582
8d44e150 9583 [BZ #13526]
d7809905
UD
9584 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
9585 _ISOC11_SOURCE.
9586
c0da14cd
UD
9587 * version.h (RELEASE): Bump for 2.15 release.
9588 * include/features.h (__GLIBC_MINOR__): Bump to 15.
9589
530a3249
MP
9590 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
9591 Patch by Marek Polacek <mpolacek@redhat.com>.
9592
67371b56
UD
9593 * bits/byteswap.h: Protect long long constants with __extension__.
9594 * sysdeps/i386/bits/byteswap.h: Likewise.
9595 * sysdeps/ia64/bits/byteswap.h: Likewise.
9596 * sysdeps/s390/bits/byteswap.h: Likewise.
9597 * sysdeps/x86_64/bits/byteswap.h: Likewise.
9598
15db4de1
LD
95992011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9600
9601 [BZ #13540]
bbe315ea
LD
9602 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
9603 destination buffer.
15db4de1
LD
9604 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
9605
2b2596b1
MP
96062011-12-23 Marek Polacek <polacek@redhat.com>
9607
9608 * elf/dl-addr.c (determine_info): Add inline keyword.
9609 * elf/tst-auditmod4b.c (check_avx): Likewise.
9610 * elf/tst-auditmod6b.c (check_avx): Likewise.
9611 * elf/tst-auditmod6c.c (check_avx): Likewise.
9612 * elf/tst-auditmod7b.c (check_avx): Likewise.
9613
70c6c246
UD
96142011-12-23 Ulrich Drepper <drepper@gmail.com>
9615
9616 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
9617 !__SSE_MATH__.
9618
c044cf14
LD
96192011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9620
15db4de1 9621 [BZ #13540]
c044cf14
LD
9622 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
9623 processing for last bytes.
9624
6b13d9d9
BH
96252011-08-06 Bruno Haible <bruno@clisp.org>
9626
d455f537
BH
9627 [BZ #13061]
9628 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
9629 U+0385, not to U+1FEE.
9630
6b13d9d9
BH
9631 [BZ #13062]
9632 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
9633 entry for U+00A5 U+0301.
9634
db910efd
UD
96352011-12-22 Ulrich Drepper <drepper@gmail.com>
9636
27deeafc
UD
9637 [BZ #13166]
9638 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
9639 buffer for the output is too small.
9640
aed9d171
UD
9641 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
9642 optimization.
9643
db910efd
UD
9644 [BZ #13185]
9645 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
9646 SSE flags if possible.
9647
2bd779ae
LD
96482011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9649
e7f9dac3 9650 [BZ #13540]
2bd779ae
LD
9651 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
9652 processing for last bytes.
9653
154bfc16
JM
96542011-12-22 Joseph Myers <joseph@codesourcery.com>
9655
9656 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
9657 (syscall-list-default-options, syscall-list-default-condition)
9658 (syscall-list-includes): Define.
9659 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
9660 list of ABIs and options and #if conditions for each ABI. Do not
9661 handle common syscalls between ABIs specially.
9662 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
9663 Remove.
9664 (syscall-list-variants, syscall-list-32bit-options)
9665 (syscall-list-32bit-condition, syscall-list-64bit-options)
9666 (syscall-list-64bit-condition): Define.
9667 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
9668 (syscall-list-variants, syscall-list-32bit-options)
9669 (syscall-list-32bit-condition, syscall-list-64bit-options)
9670 (syscall-list-64bit-condition): Define.
9671 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
9672 Remove.
9673 (syscall-list-variants, syscall-list-32bit-options)
9674 (syscall-list-32bit-condition, syscall-list-64bit-options)
9675 (syscall-list-64bit-condition): Define.
9676 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
9677 Remove.
9678 (syscall-list-variants, syscall-list-32bit-options)
9679 (syscall-list-32bit-condition, syscall-list-64bit-options)
9680 (syscall-list-64bit-condition): Define.
9681
21eaf3a5
UD
96822011-12-22 Ulrich Drepper <drepper@gmail.com>
9683
16c6f992
UD
9684 * locale/iso-639.def: Add brx entry.
9685
41043168
UD
9686 [BZ #13328]
9687 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
9688 Proposed by Mariusz_Cukr <marcukr@op.pl>.
9689
21eaf3a5
UD
9690 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
9691 __feraiseexcept_renamed.
9692
e3a851a2
UD
96932011-12-21 Ulrich Drepper <drepper@gmail.com>
9694
4920765e
UD
9695 [BZ #13538]
9696 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
9697 EPOLLET with unsigned values.
9698 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
9699 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
9700
e3a851a2
UD
9701 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
9702 to large cancellation.
9703 * math/s_cacoshf.c: Likewise.
9704 * math/s_cacoshl.c: Likewise.
9705
b27e24b8
RK
97062011-11-18 Richard B. Kreckel <kreckel@ginac.de>
9707
9708 [BZ #13305]
aebefeee 9709 [BZ #12786]
b27e24b8
RK
9710 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
9711 * math/s_cacoshf.c: Likewise.
9712 * math/s_cacoshl.c: Likewise.
9713
ee190f67
UD
97142011-12-21 Ulrich Drepper <drepper@gmail.com>
9715
9716 [BZ #13439]
9717 * iconv/gconv.h: Define __GCONV_SWAP.
9718 * iconvdata/unicode.c: The swap bit must be stored in __flags.
9719 * iconvdata/utf-16.c: Likewise.
9720 * iconvdata/utf-32.c: Likewise.
9721
707f25df
AS
97222011-12-21 Andreas Schwab <schwab@linux-m68k.org>
9723
9724 [BZ #13524]
9725 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
9726 numerator after shifting it by one limb.
9727
d2daaa1e
RÁE
97282011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
9729
9730 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
9731 under [__USE_EXTERN_INLINES].
9732
a4647e72
UD
97332011-12-17 Ulrich Drepper <drepper@gmail.com>
9734
9735 [BZ #13446]
9736 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
9737
f0b264f1
AZ
97382011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9739
9740 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
9741 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
9742 optimized code.
9743 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
9744 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
9745 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
9746 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
9747 for strncasecmp/strncasecmp_l compilation.
9748 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
9749 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
9750
8ef4f244
MP
97512011-12-08 Marek Polacek <mpolacek@redhat.com>
9752
9753 [BZ #13484]
9754 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
9755 of __asm__.
9756
97ac2654
UD
97572011-12-17 Ulrich Drepper <drepper@gmail.com>
9758
9759 [BZ #13506]
9760 * time/tzfile.c (__tzfile_read): Check values from file header.
9761
91d2a845
WS
97622011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
9763
9764 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
9765 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
9766 * powerpc/powerpc32/dl-start.S: Likewise.
9767 * powerpc/powerpc32/elf/start.S: Likewise.
9768 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
9769 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
9770 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
9771 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
9772 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
9773 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
9774 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
9775 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
9776 * powerpc/powerpc32/fpu/s_round.S: Likewise.
9777 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
9778 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
9779 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
9780 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
9781 * powerpc/powerpc32/memset.S: Likewise.
9782 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
9783 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
9784 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
9785 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
9786 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
9787 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
9788 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
9789 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
9790 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
9791 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
9792 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
9793 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
9794 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
9795
a1267ba1
AZ
97962011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9797
9798 * math/libm-test.inc: Added more nearbyint tests.
9799 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
9800 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
9801 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
9802 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
9803
ad8ac1bd
RL
98042011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
9805
9806 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
9807 FD_CLOEXEC.
9808
1d3e4b61
UD
98092011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9810
9811 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
9812 Add wcscpy-ssse3 wcscpy-c.
9813 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
9814 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
9815 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
9816 * sysdeps/x86_64/wcschr.S: New file.
9817 * sysdeps/x86_64/wcsrchr.S: New file.
9818 * string/test-strcmp.c: Remove checking of wcscmp function for
9819 wrong alignments.
9820 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
9821 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
9822 wcsrchr-sse2 wcsrchr-c.
9823 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
9824 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
9825 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
9826 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
9827 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
9828 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
9829 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
9830 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
9831 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
9832 * wcsmbc/wcschr.c (WCSCHR): New macro.
9833
5b330a2d
UD
98342011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9835
9836 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
9837 * wcsmbs/test-wcsrchr.c: New file.
9838 * string/test-strrchr.c: Add wcsrchr support.
9839 (WIDE): New macro.
9840 * wcsmbs/test-wcscpy.c: New file.
9841 * string/test-strcpy.c: Add wcscpy support.
9842 (WIDE): New macro.
26428b7c 9843
f039c043
UD
98442011-12-10 Ulrich Drepper <drepper@gmail.com>
9845
9846 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
9847 the inner loop.
9848
850fb039
AS
98492011-12-06 Andreas Schwab <schwab@linux-m68k.org>
9850
9851 [BZ #13472]
9852 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
9853
4efbd5cb
UD
98542011-12-04 Ulrich Drepper <drepper@gmail.com>
9855
52ff5dd0 9856 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 9857 Minor optimizations.
52ff5dd0 9858
4efbd5cb
UD
9859 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
9860 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
9861 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
9862
8a426e12
UD
98632011-12-03 Ulrich Drepper <drepper@gmail.com>
9864
aff2453d
UD
9865 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
9866 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
9867 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
9868 for gcc to avoid warnings.
9869 * inet/Makefile (tests): Add tst-checks.
9870 * inet/tst-checks.c: New file.
9871
9872 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
9873 warning.
9874
9875 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
9876 __wmemcmp_sse2.
9877
9878 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
9879 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
9880
8a426e12
UD
9881 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
9882
9bea3473
UD
98832011-12-02 Ulrich Drepper <drepper@gmail.com>
9884
3a965496
UD
9885 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
9886 problem.
9887
9bea3473
UD
9888 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
9889
f101631b
UD
98902011-11-29 Joseph Myers <joseph@codesourcery.com>
9891
9892 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
9893 conditional on GCC version.
9894 (__arch_compare_and_exchange_val_8_acq)
9895 (__arch_compare_and_exchange_val_16_acq)
9896 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
9897 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
9898 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
9899
a98275aa
UD
99002011-12-02 Joseph Myers <joseph@codesourcery.com>
9901
9902 * sysdeps/sh/backtrace.c: New file.
9903
d4cc29a2
AS
99042011-12-02 Andreas Schwab <schwab@redhat.com>
9905
9906 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
9907 parenthesis.
9908
6257af2d
AS
99092011-12-01 Andreas Schwab <schwab@redhat.com>
9910
9911 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
9912 falling back to utime.
9913
b5f44c1a
AS
99142011-11-30 Andreas Schwab <schwab@redhat.com>
9915
9916 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
9917 expectations for float.
9918
f3a6cc0a
AS
99192011-11-29 Andreas Schwab <schwab@redhat.com>
9920
9921 * locale/weight.h (findidx): Add parameter len.
9922 * locale/weightwc.h (findidx): Likewise.
9923 * posix/fnmatch_loop.c (FCT): Adjust caller.
9924 * posix/regcomp.c (build_equiv_class): Likewise.
9925 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
9926 * posix/regexec.c (check_node_accept_bytes): Likewise.
9927 * string/strcoll_l.c (STRCOLL): Likewise.
9928 * string/strxfrm_l.c (STRXFRM): Likewise.
9929
9d65ea3a
UD
99302011-11-17 Ulrich Drepper <drepper@gmail.com>
9931
9932 * Makefile.in: Remove CVSOPT handling.
9933 * configure.in: Remove use of AC_REVISION.
9934 * iconvdata/Makefile (distribute): No need to filter out CVS.
9935 * scripts/list-sources.sh: Remove CVS, subversion and monotone
9936 handling.
9937
5583a086
AS
99382011-11-16 Andreas Schwab <schwab@redhat.com>
9939
9940 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
9941 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
9942 [USE_AS_STRNCASECMP_L]: Likewise.
9943 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
9944 NO_TLS_DIRECT_SEG_REFS.
9945 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
9946 Fix argument offsets for non-PIC.
9947 [USE_AS_STRNCASECMP_L]: Likewise.
9948 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
9949 NO_TLS_DIRECT_SEG_REFS.
9950
d62a8200
UD
99512011-11-15 Ulrich Drepper <drepper@gmail.com>
9952
9d65ea3a 9953 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
9954 O_CLOEXEC.
9955 * locale/loadlocale.c (_nl_load_locale): Likewise.
9956
09f93bd3
AS
99572011-11-15 Andreas Schwab <schwab@redhat.com>
9958
446514f9
AS
9959 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
9960 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
9961 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
9962 (SYSCALL_GETTIME): Set errno on error.
9963
09f93bd3
AS
9964 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
9965 count references to noai6ai_cached.
9966
312be3f9
UD
99672011-11-15 Ulrich Drepper <drepper@gmail.com>
9968
9969 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
9970
9971 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
9972 FD_CLOEXEC for /proc/self/maps.
9973
9974 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
9975 FD_CLOEXEC for /proc/meminfo.
9976
9977 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
9978 gai.conf.
9979
9980 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
9981 FD_CLOEXEC for given file.
9982
9983 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
9984
9985 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
9986 FD_CLOEXEC for /etc/hosts.
9987 (_gethtent): Likewise.
9988
9989 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
9990
9991 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
9992 cancellation and set FD_CLOEXEC for /etc/netgroup.
9993
9994 * nss/nss_files/files-key.c (search): Don't allow cancellation when
9995 reading /etc/publickey.
9996
9997 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
9998 allow cancellation when reading /etc/group.
9999
10000 * nss/nss_files/files-alias.c (internal_setent): Don't allow
10001 cancellation.
10002 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
10003
10004 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
10005 when using data file.
10006
10007 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
10008
10009 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
10010 (write_nis_obj): Use "c" and "e" in fopen.
10011
10012 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
10013
10014 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
10015
10016 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
10017
10018 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
10019
10020 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
10021 locale.alias.
10022
10023 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
10024
10025 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
10026
10027 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
10028
10029 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
10030 file parsing and set FD_CLOEXEC.
10031
82af0fa8
UD
100322011-11-14 Ulrich Drepper <drepper@gmail.com>
10033
10034 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
10035
a5fb313c
AS
100362011-11-14 Andreas Schwab <schwab@redhat.com>
10037
10038 * malloc/arena.c (arena_get2): Don't call reused_arena when
10039 _int_new_arena failed.
10040
6abf3465
UD
100412011-11-14 Ulrich Drepper <drepper@gmail.com>
10042
10043 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
10044 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
10045 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
10046 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
10047 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
10048 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
10049 to compile strcasecmp and strncasecmp.
10050 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
10051 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
10052
10053 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
10054
76e3966e
UD
100552011-11-13 Ulrich Drepper <drepper@gmail.com>
10056
10057 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
10058 locale-defines.sym to gen-as-const-headers.
10059 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
10060 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
10061 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
10062 to compile strcasecmp and strncasecmp.
10063 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
10064 strcasecmp_l and strncasecmp_l.
10065 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
10066 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
10067 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
10068 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
10069 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
10070 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
10071 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
10072 * sysdeps/i386/i686/multiarch/strncase.S: New file.
10073 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
10074 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
10075 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
10076
ab26144e
UD
100772011-11-12 Ulrich Drepper <drepper@gmail.com>
10078
7edb22ef
UD
10079 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
10080 result of SYSDEP_GETTIME_CPU to retval.
10081 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
10082 parameter list to macro. Remove trailing semicolon. Adjust users.
10083
9694fc44
UD
10084 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
10085 variable.
10086
8ad89ef8
UD
10087 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
10088 mantissa words.
10089 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
10090
0c822ef9
UD
10091 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
10092 from unused variable.
10093
874e0564
UD
10094 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
10095 DWARF definitions.
10096 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
10097 for assembling.
10098
3a2edc79
UD
10099 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
10100 over namespaces.
10101
f3c2577f
UD
10102 * sunrpc/rpc_prot.c (rejected): Fix case value.
10103
294ce126
UD
10104 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
10105 unsigned long long int to avoid warnings in shift.
10106
5e2b63c6
UD
10107 * posix/regex_internal.c (re_string_reconstruct): Actually use result
10108 of use of trans.
10109 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
10110 variable tmp.
10111
e7f4b08e
UD
10112 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
10113 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
10114 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
10115
ab26144e
UD
10116 * nis/nis_table.c (nis_list): Use variable of correct type for
10117 result of __follow_path call.
10118
8a6d5255
AZ
101192011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10120
10121 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
10122 of math functions ceil, trunc, floor, round, and sqrt, when
10123 avaliable on the platform.
10124 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
10125 name clash.
10126 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
10127 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
10128 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
10129
aaddc98c
MP
101302011-10-30 Marek Polacek <mpolacek@redhat.com>
10131
10132 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
10133 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
10134
95b7042b
RM
101352011-11-11 Roland McGrath <roland@hack.frob.com>
10136
10137 * include/unistd.h: Fix __readlink return type.
10138 Reported by Chris Metcalf <cmetcalf@tilera.com>.
10139
57769839
UD
101402011-11-11 Ulrich Drepper <drepper@gmail.com>
10141
10142 * stdlib/ucontext.h: Undo last change for makecontext.
10143
edc5984d
AS
101442011-11-11 Andreas Schwab <schwab@redhat.com>
10145
98591e58
AS
10146 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
10147
edc5984d
AS
10148 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
10149 * setjmp/setjmp.h: Mark functions as non-leaf.
10150 * setjmp/bits/setjmp2.h: Likewise.
10151 * stdlib/ucontext.h: Likewise.
10152
77cdc054
AS
101532011-11-10 Andreas Schwab <schwab@redhat.com>
10154
10155 * malloc/arena.c (_int_new_arena): Don't increment narenas.
10156 (reused_arena): Don't check arena limit.
10157 (arena_get2): Atomically check arena limit.
10158
fe72eebd
UD
101592011-11-08 Ulrich Drepper <drepper@gmail.com>
10160
5f078c32
UD
10161 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
10162 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
10163
fe72eebd
UD
10164 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
10165 instructions.
10166
ae1bc2fa
AS
101672011-11-07 Andreas Schwab <schwab@redhat.com>
10168
7583a88d
AS
10169 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
10170 handler when locking.
10171
ae1bc2fa
AS
10172 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
10173 Fix size of allocated buffer.
10174
10fb0bfa
AS
101752011-11-04 Andreas Schwab <schwab@redhat.com>
10176
998832a4
AS
10177 [BZ #10103]
10178 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
10179 declarations for long double functions.
10180 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
10181
10fb0bfa
AS
10182 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
10183
3d7ba52b
AS
101842011-11-03 Andreas Schwab <schwab@redhat.com>
10185
a9ae54a1
AS
10186 * nscd/nscd.c (main): Don't start AVC thread until credentials are
10187 installed.
10188
3d7ba52b
AS
10189 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
10190 is disabled.
10191
bc8db248
ST
101922011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
10193
10194 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
10195
45b96dd6
AS
101962011-11-01 Andreas Schwab <schwab@linux-m68k.org>
10197
647776f6
AS
10198 * include/alloca.h (stackinfo_alloca_round): Define.
10199 (extend_alloca): Use it.
10200 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
10201 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
10202 here.
10203
d91a8b93
AS
10204 * scripts/check-local-headers.sh: Ignore libaudit.h.
10205
45b96dd6
AS
10206 * nscd/Makefile (extra-objs): Make recursively expanded.
10207
432d41ce
UD
102082011-11-01 Ulrich Drepper <drepper@gmail.com>
10209
34372fc6
UD
10210 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
10211 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
10212
fadb59f8
UD
10213 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
10214 * posix/tst-rfc3484-2.c: Likewise.
10215 * posix/tst-rfc3484-3.c: Likewise.
10216
78239589
UD
10217 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
10218 process_vm_writev.
10219 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
10220 process_vm_writev.
10221 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
10222 process_vm_writev from libc using GLIBC_2.15 version.
10223
432d41ce
UD
10224 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
10225
02f9c6cf
PP
102262011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
10227
10228 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
10229 stack usage.
10230
3a2c0242
UD
102312011-10-31 Ulrich Drepper <drepper@gmail.com>
10232
f4ec4833
UD
10233 [BZ #13367]
10234 * nss/getent.c (initgroups_keys): Show error message in case no group
10235 names are given.
10236
3a2c0242
UD
10237 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
10238 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
10239 __bump_nl_timestamp.
10240 * nscd/connections (nscd_init): When host database is served open
10241 netlink socket and request notification about configuration changes.
10242 (main_loop_poll): Track netlink file descriptor and bump timestamp
10243 in case data becomes available.
10244 (main_loop_epoll): Likewise.
10245 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
10246 (database_pers_head): Add extra_data fileds.
10247 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
10248 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
10249 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
10250 Adjust caller.
10251 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
10252 in6ai data, call __free_in6ai.
10253 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
10254 Add -DHAVE_NETLINK.
10255 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
10256 interface information. Reuse previous data if netlink timestamp
10257 is not changed.
10258 (__bump_nl_timestamp): New function.
10259 (__free_in6ai): New function.
10260
636064eb
UD
102612011-10-30 Ulrich Drepper <drepper@gmail.com>
10262
10263 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
10264 close_not_cancel_no_status here.
10265 (__check_pf): Reorganize code a bit to not call close twice if OOM.
10266
9beb2334
UD
102672011-10-29 Ulrich Drepper <drepper@gmail.com>
10268
6ef76f3b
UD
10269 [BZ #13276]
10270 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
10271 return value.
10272
0ffc4f3e 10273 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
10274 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
10275 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
10276
cb95113e
UD
102772011-07-03 Andreas Jaeger <aj@suse.de>
10278
10279 [BZ #10709]
10280 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
10281 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
10282 * math/libm-test.inc (sin_test): Add test case.
10283
a1b560ff
UD
102842011-10-29 Ulrich Drepper <drepper@gmail.com>
10285
c9aaface
UD
10286 [BZ #13337]
10287 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
10288 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
10289
d272e7f1
UD
10290 * elf/chroot_canon.c (chroot_canon): Cleanups.
10291
1bc33071
UD
10292 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
10293
1760874d
TJ
10294 [BZ #13335]
10295 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
10296 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
10297
51d91b18
UD
10298 * string/test-strchr.c: Make usable for strchrnul testing.
10299 * string/test-strchrnul.c: New file.
10300 * string/Makefile (strop-tests): Add strchrnul.
10301
a1b560ff 10302 * po/it.po: Update from translation team.
b611fb81 10303 * po/es.po: Likewise.
a1b560ff 10304
a5b81e1f
UD
103052011-10-28 Ulrich Drepper <drepper@gmail.com>
10306
fd52bc6d
UD
10307 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
10308 the three constants needed as parameters. Drop the others.
10309 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
10310 __m128i_strloadu_tolower.
52e4b9eb
UD
10311 Create and initialize variable zero and use it in all the places
10312 where _mm_setzero_si128 was used.
fd52bc6d 10313
a5b81e1f
UD
10314 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
10315 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
10316 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
10317 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
10318 anymore.
10319 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
10320 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
10321 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
10322 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
10323 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
10324 __mpranred, __mptan.
10325 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
10326 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
10327 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
10328 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
10329 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
10330 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
10331 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
10332 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
10333 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
10334
b4343346
AS
103352011-10-28 Andreas Schwab <schwab@redhat.com>
10336
0c92d8a8
AS
10337 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
10338 redefine if SHARED.
10339 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
10340
b4343346
AS
10341 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
10342 wide char related routines to wcsmbs subdir.
10343
3871f58f
AS
103442011-10-27 Andreas Schwab <schwab@redhat.com>
10345
10346 [BZ #13344]
10347 * misc/sys/cdefs.h (__THROWNL): Define.
10348 * posix/unistd.h: Use __THREADNL instead of __THREAD
10349 for memory synchronization functions.
10350
94d44d9f
RM
103512011-10-26 Roland McGrath <roland@hack.frob.com>
10352
21b64b15 10353 [BZ #13349]
94d44d9f
RM
10354 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
10355 doesn't exist.
10356 * manual/stdio.texi (Obstack Streams): Node removed.
10357
f6ce9294
AS
103582011-10-26 Andreas Schwab <schwab@redhat.com>
10359
80479147
AS
10360 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
10361 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
10362 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
10363
f6ce9294
AS
10364 * math/math_private.h (math_force_eval): Allow non-addressable
10365 arguments.
10366 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
10367
618280a1
UD
103682011-10-25 Ulrich Drepper <drepper@gmail.com>
10369
e0016b11
UD
10370 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
10371 file is not needed.
10372
10373 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
10374 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
10375 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
10376 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
10377 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
10378 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
10379 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
10380 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
10381 Add AVX variants.
10382 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
10383 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
10384 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
10385 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
10386 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
10387 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
10388 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
10389 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
10390 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
10391 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
10392 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
10393 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
10394 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
10395 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
10396 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
10397 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
10398 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
10399 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
10400 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
10401
10402 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
10403 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
10404
618280a1
UD
10405 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
10406 place. Use VEX encoding when compiling for AVX.
10407
37822576
AS
104082011-10-25 Andreas Schwab <schwab@redhat.com>
10409
1f1e1947
AS
10410 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
10411 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
10412
37822576
AS
10413 * string/test-strchr.c (do_test): Don't generate NUL bytes.
10414
31ea014d
UD
104152011-10-25 Ulrich Drepper <drepper@gmail.com>
10416
d7826aa1 10417 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 10418 useless if() expression.
d7826aa1
UD
10419 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
10420 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
10421 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
10422 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
10423 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
10424 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
10425 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
10426 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
10427 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
10428 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
10429 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
10430 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
10431 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
10432 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
10433 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
10434 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
10435 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
10436 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
10437 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
10438
31ea014d
UD
10439 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
10440
16437fec
AS
104412011-10-25 Andreas Schwab <schwab@redhat.com>
10442
10443 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
10444 condition.
10445 * elf/dl-fini.c (_dl_sort_fini): Likewise.
10446
31d3cc00
UD
104472011-10-25 Ulrich Drepper <drepper@gmail.com>
10448
10449 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
10450 .text section. Avoid duplicate constants.
10451 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
10452 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
10453 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
10454 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
10455 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
10456 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
10457 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
10458 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
10459 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
10460 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
10461 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
10462 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
10463 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
10464 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
10465 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
10466 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
10467 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
10468 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
10469 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
10470 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
10471 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
10472 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
10473 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
10474 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
10475 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
10476 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
10477 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
10478 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
10479 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
10480 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
10481 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
10482 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
10483 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
10484 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
10485 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
10486 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
10487 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
10488 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
10489 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
10490 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
10491 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
10492 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
10493 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
10494 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
10495 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
10496
58985aa9
UD
104972011-10-24 Ulrich Drepper <drepper@gmail.com>
10498
202c9deb
UD
10499 * sysdeps/x86_64/dla.h: Move to ...
10500 * sysdeps/x86_64/fpu/dla.h: ...here.
10501 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
10502 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 10503
af968f62
UD
10504 * config.make.in: Add have-mfma4 entry.
10505 * configure.in: Substitute libc_cv_cc_fma4.
10506 * math/Makefile (dbl-only-routines): Add sincostab.
10507 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
10508 Use __sincostab not sincos.
10509 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
10510 name is a macro.
10511 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
10512 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
10513 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
10514 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
10515 using __copysign.
10516 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
10517 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
10518 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
10519 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
10520 and __inv.
10521 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
10522 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
10523 __copysign.
10524 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
10525 define aliases when function name is a macro.
10526 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
10527 sysdeps/ieee754/dbl-64/sincos.tbl.
10528 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
10529 fma4-enabled routines.
10530 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
10531 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
10532 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
10533 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
10534 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
10535 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
10536 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
10537 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
10538 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
10539 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
10540 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
10541 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
10542 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
10543 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
10544 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
10545 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
10546 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
10547 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
10548 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
10549 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
10550 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
10551 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
10552 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
10553 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
10554 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
10555 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
10556 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
10557 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
10558 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
10559 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
10560
58985aa9
UD
10561 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
10562 rename.
10563 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
10564 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
10565 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
10566 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
10567 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
10568 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
10569 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
10570 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
10571
a201fbcf
AS
105722011-10-24 Andreas Schwab <schwab@redhat.com>
10573
10574 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
10575
fc2ee42a
LD
105762011-10-23 Ulrich Drepper <drepper@gmail.com>
10577
bb3129bd
UD
10578 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
10579
0275fff8
UD
10580 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
10581 prediction.
10582 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
10583
2fa2ae85
UD
10584 * string/strnlen.c: Don't define STRNLEN, reverse logic.
10585 Remove unused variable magic_bits.
10586 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
10587
fc2ee42a
LD
10588 * string/strnlen.c: Define and use STRNLEN macro.
10589 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
10590 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
10591 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
10592 * wcsmbs/wcslen.c: Define and use WCSLEN.
10593 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
10594 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
10595 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
10596 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
10597 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
10598 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
10599 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
10600
ce7dd29f
LD
106012011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10602
10603 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
10604 strnlen-sse2-no-bsf.
10605 Rename strlen-no-bsf to strlen-sse2-no-bsf.
10606 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
10607 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
10608 Add strnlen support.
10609 (USE_AS_STRNLEN): New macro.
10610 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
10611 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
10612 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
10613 * sysdeps/x86_64/wcslen.S: New file.
10614
979c70a3
MZ
106152011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
10616
10617 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
10618 XMM-moves are used for copying on small sizes.
10619
2d09f82f
LD
106202011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10621
10622 * wcsmbs/Makefile (strop-tests): Add wcschr.
10623 * wcsmbs/test-wcschr.c: New file.
10624 * string/test-strchr.c: Update.
10625 Add wcschr support.
10626 (WIDE): New macro.
10627
619fccca
LD
106282011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10629
2d09f82f 10630 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
10631 * wcsmbs/test-wcslen.c: New file.
10632 * string/test-strlen.c: Update.
10633 Add wcslen support.
10634 (WIDE): New macro.
10635
09f699ea
UD
106362011-10-23 Ulrich Drepper <drepper@gmail.com>
10637
10638 * po/it.po: Update from translation team.
10639
95584d3b
LD
106402011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10641
10642 * sysdeps/x86_64/wcscmp.S: Update.
10643 Fix wrong comparison semantics.
10644 wcscmp shall use signed comparison not unsigned.
10645 Don't use substraction to avoid overflow bug.
10646 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
10647 * wcsmbc/wcscmp.c: Likewise.
10648 * string/test-strcmp.c: Likewise.
10649 Add new tests to check cases with negative values.
10650
c8b3296b
UD
106512011-10-23 Ulrich Drepper <drepper@gmail.com>
10652
10653 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
10654 * sysdeps/x86_64/dla.h: ...here. New file.
10655 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
10656 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
10657 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
10658 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
10659 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
10660 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
10661 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
10662 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
10663 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
10664
246ad57a
AS
106652011-10-23 Andreas Schwab <schwab@linux-m68k.org>
10666
10667 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
10668 __ynl_finite aliases.
10669
a1a87169
UD
106702011-10-22 Ulrich Drepper <drepper@gmail.com>
10671
0d355eb7
UD
10672 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10673
a1a87169
UD
10674 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
10675 define DLA_FMA.
10676 [DLA_FMA] (EMULV): Use DLA_FMA.
10677 [DLA_FMA] (MUL12): Use EMULV.
10678 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
10679 that are not needed.
10680 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
10681 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
10682 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
10683 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
10684 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
10685 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
10686 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
10687
ee2aafe0
AS
106882011-10-22 Andreas Schwab <schwab@linux-m68k.org>
10689
10690 * math/s_nan.c: Undef __nan.
10691 * math/s_nanf.c: Undef __nanf.
10692 * math/s_nanl.c: Undef __nanl.
10693 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
10694 "math_private.h".
10695
bc62c2fb
UD
106962011-10-22 Ulrich Drepper <drepper@gmail.com>
10697
77425c63
UD
10698 * math/s_catan.c: Add branch predictions.
10699 * math/s_catanf.c: Likewise.
10700 * math/s_catanh.c: Likewise.
10701 * math/s_catanhf.c: Likewise.
10702 * math/s_catanhl.c: Likewise.
10703 * math/s_catanl.c: Likewise.
10704 * math/s_cexp.c: Likewise.
10705 * math/s_cexpf.c: Likewise.
10706 * math/s_cexpl.c: Likewise.
10707 * math/s_clog.c: Likewise.
10708 * math/s_clog10.c: Likewise.
10709 * math/s_clog10f.c: Likewise.
10710 * math/s_clog10l.c: Likewise.
10711 * math/s_clogf.c: Likewise.
10712 * math/s_clogl.c: Likewise.
10713 * math/s_csqrt.c: Likewise.
10714 * math/s_csqrtf.c: Likewise.
10715 * math/s_csqrtl.c: Likewise.
10716 * math/s_ctanf.c: Likewise.
10717 * math/s_ctanh.c: Likewise.
10718 * math/s_ctanhf.c: Likewise.
10719 * math/s_ctanhl.c: Likewise.
10720 * math/s_ctanl.c: Likewise.
10721
bc62c2fb
UD
10722 * math/math_private.h: Define __nan, __nanf, __nanl.
10723 * math/s_cacosh.c: Include <math_private.h>.
10724 * math/s_cacoshl.c: Likewise.
10725 * math/s_casinh.c: Likewise.
10726 * math/s_casinhf.c: Likewise.
10727 * math/s_casinhl.c: Likewise.
10728 * math/s_ccos.c: Rely entire on ccosh.
10729 * math/s_ccosf.c: Rely entire on ccoshf.
10730 * math/s_ccosl.c: Rely entirely on ccoshl.
10731 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
10732 Remove tests for FE_INVALID.
10733 * math/s_ccoshf.c: Likewise.
10734 * math/s_ccoshl.c: Likewise.
10735 * math/s_csin.c: Likewise.
10736 * math/s_csinf.c: Likewise.
10737 * math/s_csinh.c Likewise.
10738 * math/s_csinhf.c: Likewise.
10739 * math/s_csinhl.c: Likewise.
10740 * math/s_csinl.c: Likewise.
10741 * math/s_ctan.c: Likewise.
10742 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
10743 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
10744 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
10745
8ec250a4
UD
107462011-10-21 Ulrich Drepper <drepper@gmail.com>
10747
c196fed8
UD
10748 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
10749 compilation problems.
10750
8ec250a4
UD
10751 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
10752 __builtin_expect.
10753
8d4f46c6
UD
107542011-10-20 Ulrich Drepper <drepper@gmail.com>
10755
ed72b654
UD
10756 * sysdeps/i386/configure.in: Test for -mfma4 option.
10757 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
10758 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
10759 COMMON_CPUID_INDEX_80000001.
10760 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
10761 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
10762 use it if FMA3 is not supported.
10763 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
10764
8d4f46c6
UD
10765 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
10766 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
10767
d45c60c2
AS
107682011-10-20 Andreas Schwab <schwab@redhat.com>
10769
10770 [BZ #12892]
10771 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
10772 it would create a cycle with a link time dependency.
10773
d9a4d2ab
UD
107742011-10-19 Ulrich Drepper <drepper@gmail.com>
10775
855d1560
UD
10776 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
10777 instruction.
10778 * string/Makefile (strop-tests): Add rawmemchr.
10779 * string/test-rawmemchr.c: New file.
10780
d9a4d2ab
UD
10781 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
10782 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
10783 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
10784 when compiling str{,n}casecmp and when AVX is available. Hook up
10785 new optimized code in initializers.
10786
8f3b1ffe
AS
107872011-10-19 Andreas Schwab <schwab@redhat.com>
10788
10789 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
10790 __feraiseexcept instead of feraiseexcept.
10791
d38f1dba
UD
107922011-10-18 Ulrich Drepper <drepper@gmail.com>
10793
d9a8d0ab
UD
10794 * math/math_private.h: Define defaults for libc_fetestexcept and
10795 libc_feupdateenv.
10796 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
10797 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
10798 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
10799 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
10800 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
10801 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
10802 libc_fetestexcept and libc_feupdateenv.
10803
4855e3dd
UD
10804 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
10805 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
10806 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
10807 * sysdeps/x86_64/fpu/math_private.h: Define special version of
10808 libc_feholdexcept_setround.
10809
581d30e3
UD
10810 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
10811 Add s_nearbyint-c and s_nearbyintf-c.
10812 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
10813 nearbyintf inlines.
10814 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
10815 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
10816 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
10817 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
10818
d38f1dba
UD
10819 * math/math_private.h: Define defaults for libc_fegetround,
10820 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
10821 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
10822 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
10823 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
10824 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
10825 standard functions.
10826 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
10827 Remove comments and hacks for old compiler versions.
10828 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
10829 libc_fegetround, libc_fesetround, libc_feholdexcept, and
10830 libc_feholdexceptl.
10831
caa6c9d8
AS
108322011-10-18 Andreas Schwab <schwab@redhat.com>
10833
10834 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
10835 (__feraiseexcept_renamed): Add __NTH.
10836 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
10837 namespace violations.
10838
97c066e6
UD
108392011-10-17 Ulrich Drepper <drepper@gmail.com>
10840
99ce7b04
UD
10841 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
10842
1004d182
UD
10843 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
10844
228a984d
UD
10845 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
10846 recently added interfaces.
10847 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
10848
c8553a6a
UD
10849 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
10850 about macro parameter expansion.
10851
ed22dcf6
UD
10852 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
10853 __NO_MATH_INLINES is defined. Cleanups.
10854
10855 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
10856 and __floorf is target has SSE4.1.
10857 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
10858 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
10859 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
10860 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
10861
b171c137
UD
10862 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
10863 name.
10864 (floorf): Likewise.
10865
97c066e6
UD
10866 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
10867
629f62ef
AS
108682011-10-17 Andreas Schwab <schwab@redhat.com>
10869
49a43d80
AS
10870 * misc/sys/cdefs.h: Fix last change.
10871
629f62ef
AS
10872 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
10873 database lookup.
10874
e453f6cd
UD
108752011-10-16 Ulrich Drepper <drepper@gmail.com>
10876
aa78043a
UD
10877 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
10878
ad0f5cad
UD
10879 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
10880 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
10881 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
10882 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
10883 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
10884 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
10885 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
10886 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
10887 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
10888 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
10889 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
10890 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
10891 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
10892 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
10893 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
10894 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
10895 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
10896 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
10897 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
10898 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
10899 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
10900 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
10901
10902 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
10903 ceil, ceilf, floor, floorf.
10904
10905 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
10906 Perform IRELATIVE relocations last.
10907
e453f6cd
UD
10908 * elf/do-rel.h: Add another parameter nrelative, replacing the
10909 local variable with the same name. Change name of the function
10910 to end in Rel or Rela (uppercase).
10911 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
10912 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
10913 elf_dynamic_do_##reloc function.
10914
fd5bdc09
UD
109152011-10-15 Ulrich Drepper <drepper@gmail.com>
10916
79b195b5
UD
10917 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
10918 is sufficient, at least on modern CPUs.
10919
d4a28569
UD
10920 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
10921
b61099b5
UD
10922 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
10923 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
10924
bcf01e6d
UD
10925 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
10926 __expl_finite.
10927 * math/bits/math-finite.h: Add entries for exp.
10928 * math/e_expl.c: Add __*_finite alias.
10929 * sysdeps/i386/fpu/e_exp.S: Likewise.
10930 * sysdeps/i386/fpu/e_expf.S: Likewise.
10931 * sysdeps/i386/fpu/e_expl.c: Likewise.
10932 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
10933 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
10934 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
10935 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
10936 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
10937 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
10938 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
10939
ba1a0d59
UD
10940 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
10941 is sufficient, at least on modern CPUs.
10942
fd5bdc09
UD
10943 * ctype/ctype-info.c (__ctype_init): Define.
10944 * include/ctype.h (__ctype_init): Declare.
10945 (__ctype_b_loc): The variable is always initialized.
10946 (__ctype_toupper_loc): Likewise.
10947 (__ctype_tolower_loc): Likewise.
10948 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
10949 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
10950
7872cfb0
AS
109512011-10-15 Andreas Schwab <schwab@linux-m68k.org>
10952
b468825a
AS
10953 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
10954
7872cfb0
AS
10955 * configure.in: Also look in $cxxmachine/include for C++ system
10956 headers.
10957
be13f7bf
LD
109582011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10959
10960 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
10961 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
10962 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
10963 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
10964 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
10965 (USE_AS_WMEMCMP): New macro.
10966 Fixing indents.
10967 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
10968 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
10969 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
10970 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
10971 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
10972 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
10973 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
10974 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
10975 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
10976 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
10977 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
10978 (USE_AS_WMEMCMP): New macro.
10979 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
10980 * sysdeps/string/test-memcmp.c: Update.
10981 Fix simple_wmemcmp.
10982 Add new tests.
10983 * wcsmbs/wmemcmp.c: Update.
10984 (WMEMCMP): New macro.
10985 Fix overflow bug.
10986
556a2007
AJ
109872011-10-12 Andreas Jaeger <aj@suse.de>
10988
10989 [BZ #13268]
10990 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
10991
538faaa7
UD
109922011-10-15 Ulrich Drepper <drepper@gmail.com>
10993
ab6737ff
UD
10994 * libio/iofwide.c (do_length): Avoid warning.
10995
538faaa7
UD
10996 * ctype/ctype.h (__isctype_f): Add missing __THROW.
10997
396a21b1
UD
109982011-10-14 Ulrich Drepper <drepper@gmail.com>
10999
cdf2901f
UD
11000 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
11001
38ad40ce
UD
11002 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
11003 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
11004 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
11005 * sysdeps/i386/i686/fpu/e_log.S: New file.
11006 * sysdeps/i386/i686/fpu/e_logf.S: New file.
11007 * sysdeps/i386/i686/fpu/e_logl.S: New file.
11008
396a21b1
UD
11009 * ctype/ctype.h: Add support for inlined isXXX functions when
11010 compiling C++ code.
11011
6b1f68c9
AS
110122011-10-14 Andreas Schwab <schwab@redhat.com>
11013
349290c0
AS
11014 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
11015
6b1f68c9
AS
11016 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
11017
f2282d42
RM
110182011-10-13 Roland McGrath <roland@hack.frob.com>
11019
11020 [BZ #13291]
11021 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
11022
5298ffa8
AS
110232011-10-13 Andreas Schwab <schwab@redhat.com>
11024
714fad23
AS
11025 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
11026 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
11027 feraiseexcept.
11028
81dcc7fb
AS
11029 * sysdeps/x86_64/memrchr.S: Check for zero size.
11030
5298ffa8
AS
11031 * string/stratcliff.c: Add memrchr tests.
11032
951fbcec
LD
110332011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
11034
11035 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
11036 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
11037 rawmemchr-sse2 rawmemchr-sse2-bsf.
11038 * sysdeps/i386/i686/multiarch/memchr.S: New file.
11039 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
11040 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
11041 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
11042 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
11043 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
11044 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
11045 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
11046 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
11047 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
11048 * string/memrchr.c (MEMRCHR): New macro.
11049
0ac5ae23
UD
110502011-10-12 Ulrich Drepper <drepper@gmail.com>
11051
11052 Add integration with gcc's -ffinite-math-only and optimize wrapper
11053 functions in libm.
11054 * Versions.def: Define GLIBC_2.15 version for libm.
11055 * math/Makefile (headers): Add bits/math-finite.h.
11056 * math/bits/math-finite.h: New file.
11057 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
11058 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
11059 * math/e_acoshl.c: Add __*_finite alias.
11060 * math/e_acosl.c: Likewise.
11061 * math/e_asinl.c: Likewise.
11062 * math/e_atan2l.c: Likewise.
11063 * math/e_atanhl.c: Likewise.
11064 * math/e_coshl.c: Likewise.
11065 * math/e_exp10.c: Likewise.
11066 * math/e_exp10f.c: Likewise.
11067 * math/e_exp10l.c: Likewise.
11068 * math/e_exp2l.c: Likewise.
11069 * math/e_fmodl.c: Likewise.
11070 * math/e_gammal_r.c: Likewise.
11071 * math/e_hypotl.c: Likewise.
11072 * math/e_j0l.c: Likewise.
11073 * math/e_j1l.c: Likewise.
11074 * math/e_jnl.c: Likewise.
11075 * math/e_lgammal_r.c: Likewise.
11076 * math/e_log10l.c: Likewise.
11077 * math/e_log2l.c: Likewise.
11078 * math/e_logl.c: Likewise.
11079 * math/e_powl.c: Likewise.
11080 * math/e_sinhl.c: Likewise.
11081 * math/e_sqrtl.c: Likewise.
11082 * math/e_scalb.c: Completely rewritten and optimized.
11083 * math/e_scalbf.c: Likewise.
11084 * math/e_scalbl.c: Likewise.
11085 * math/w_acos.c: Likewise.
11086 * math/w_acosf.c: Likewise.
11087 * math/w_acosl.c: Likewise.
11088 * math/w_acosh.c: Likewise.
11089 * math/w_acoshf.c: Likewise.
11090 * math/w_acoshl.c: Likewise.
11091 * math/w_asin.c: Likewise.
11092 * math/w_asinf.c: Likewise.
11093 * math/w_asinl.c: Likewise.
11094 * math/w_atan2.c: Likewise.
11095 * math/w_atan2f.c: Likewise.
11096 * math/w_atan2l.c: Likewise.
11097 * math/w_atanh.c: Likewise.
11098 * math/w_atanhf.c: Likewise.
11099 * math/w_atanhl.c: Likewise.
11100 * math/w_exp10.c: Likewise.
11101 * math/w_exp10f.c: Likewise.
11102 * math/w_exp10l.c: Likewise.
11103 * math/w_fmod.c: Likewise.
11104 * math/w_fmodf.c: Likewise.
11105 * math/w_fmodl.c: Likewise.
11106 * math/w_j0.c: Likewise.
11107 * math/w_j0f.c: Likewise.
11108 * math/w_j0l.c: Likewise.
11109 * math/w_j1.c: Likewise.
11110 * math/w_j1f.c: Likewise.
11111 * math/w_j1l.c: Likewise.
11112 * math/w_jn.c: Likewise.
11113 * math/w_jnf.c: Likewise.
11114 * math/w_log.c: Likewise.
11115 * math/w_logf.c: Likewise.
11116 * math/w_logl.c: Likewise.
11117 * math/w_log10.c: Likewise.
11118 * math/w_log10f.c: Likewise.
11119 * math/w_log10l.c: Likewise.
11120 * math/w_log2.c: Likewise.
11121 * math/w_log2f.c: Likewise.
11122 * math/w_log2l.c: Likewise.
11123 * math/w_pow.c: Likewise.
11124 * math/w_powf.c: Likewise.
11125 * math/w_powl.c: Likewise.
11126 * math/w_remainder.c: Likewise.
11127 * math/w_remainderf.c: Likewise.
11128 * math/w_remainderl.c: Likewise.
11129 * math/w_scalb.c: Likewise.
11130 * math/w_scalbf.c: Likewise.
11131 * math/w_scalbl.c: Likewise.
11132 * math/w_sqrt.c: Likewise.
11133 * math/w_sqrtf.c: Likewise.
11134 * math/w_sqrtl.c: Likewise.
11135 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
11136 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
11137 used.
11138 * math/math_private.h: Declare __kernel_standard_f.
11139 * math/w_cosh.c: Remove cruft and optimize a bit.
11140 * math/w_coshf.c: Likewise.
11141 * math/w_coshl.c: Likewise.
11142 * math/w_exp2.c: Likewise.
11143 * math/w_exp2f.c: Likewise.
11144 * math/w_exp2l.c: Likewise.
11145 * math/w_hypot.c: Likewise.
11146 * math/w_hypotf.c: Likewise.
11147 * math/w_hypotl.c: Likewise.
11148 * math/w_lgamma.c: Likewise.
11149 * math/w_lgamma_r.c: Likewise.
11150 * math/w_lgammaf.c: Likewise.
11151 * math/w_lgammaf_r.c: Likewise.
11152 * math/w_lgammal.c: Likewise.
11153 * math/w_lgammal_r.c: Likewise.
11154 * math/w_sinh.c: Likewise.
11155 * math/w_sinhf.c: Likewise.
11156 * math/w_sinhl.c: Likewise.
11157 * math/w_tgamma.c: Likewise.
11158 * math/w_tgammaf.c: Likewise.
11159 * math/w_tgammal.c: Likewise.
11160 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
11161 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
11162 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
11163 Minor optimizations. Pretty printing. Remove cruft.
11164 * sysdeps/i386/fpu/e_acosf.S: Likewise.
11165 * sysdeps/i386/fpu/e_acosh.S: Likewise.
11166 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
11167 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
11168 * sysdeps/i386/fpu/e_acosl.c: Likewise.
11169 * sysdeps/i386/fpu/e_asin.S: Likewise.
11170 * sysdeps/i386/fpu/e_asinf.S: Likewise.
11171 * sysdeps/i386/fpu/e_atan2.S: Likewise.
11172 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
11173 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
11174 * sysdeps/i386/fpu/e_atanh.S: Likewise.
11175 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
11176 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
11177 * sysdeps/i386/fpu/e_exp10.S: Likewise.
11178 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
11179 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
11180 * sysdeps/i386/fpu/e_exp2.S: Likewise.
11181 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
11182 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
11183 * sysdeps/i386/fpu/e_fmod.S: Likewise.
11184 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
11185 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
11186 * sysdeps/i386/fpu/e_hypot.S: Likewise.
11187 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
11188 * sysdeps/i386/fpu/e_log.S: Likewise.
11189 * sysdeps/i386/fpu/e_log10.S: Likewise.
11190 * sysdeps/i386/fpu/e_log10f.S: Likewise.
11191 * sysdeps/i386/fpu/e_log10l.S: Likewise.
11192 * sysdeps/i386/fpu/e_log2.S: Likewise.
11193 * sysdeps/i386/fpu/e_log2f.S: Likewise.
11194 * sysdeps/i386/fpu/e_log2l.S: Likewise.
11195 * sysdeps/i386/fpu/e_logf.S: Likewise.
11196 * sysdeps/i386/fpu/e_logl.S: Likewise.
11197 * sysdeps/i386/fpu/e_pow.S: Likewise.
11198 * sysdeps/i386/fpu/e_powf.S: Likewise.
11199 * sysdeps/i386/fpu/e_powl.S: Likewise.
11200 * sysdeps/i386/fpu/e_remainder.S: Likewise.
11201 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
11202 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
11203 * sysdeps/i386/fpu/e_scalb.S: Likewise.
11204 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
11205 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
11206 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
11207 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
11208 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
11209 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
11210 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
11211 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
11212 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
11213 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
11214 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
11215 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
11216 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
11217 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
11218 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
11219 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
11220 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
11221 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
11222 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
11223 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
11224 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
11225 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
11226 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
11227 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
11228 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
11229 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
11230 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
11231 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
11232 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
11233 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
11234 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
11235 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
11236 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
11237 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
11238 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
11239 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
11240 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
11241 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
11242 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
11243 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
11244 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
11245 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
11246 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
11247 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
11248 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
11249 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
11250 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
11251 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
11252 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
11253 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
11254 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
11255 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
11256 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
11257 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
11258 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
11259 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
11260 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
11261 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
11262 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
11263 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
11264 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
11265 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
11266 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
11267 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
11268 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
11269 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
11270 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
11271 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
11272 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
11273 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
11274 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
11275 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
11276 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
11277 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
11278 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
11279 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
11280 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
11281 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
11282 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
11283 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
11284 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
11285 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
11286 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
11287 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
11288 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
11289 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
11290 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
11291 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
11292 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
11293 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
11294 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
11295 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
11296 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
11297 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
11298 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
11299 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
11300 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
11301 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
11302 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
11303 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
11304 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
11305 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
11306 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
11307 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
11308 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
11309 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
11310 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
11311 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
11312 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
11313 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
11314 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
11315 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
11316 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
11317 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
11318 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
11319 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
11320 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
11321 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
11322 (__isnanf): Likewise.
11323 (__isinf_ns): Likewise.
11324 (__isinf_nsf): Likewise.
11325 (__finite): Likewise.
11326 (__finitef): Likewise.
11327 (__ieee754_sqrt): Define as macro.
11328 (__ieee754_sqrtf): Define as macro.
11329 (__ieee754_sqrtl): Define as macro.
11330 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
11331 inlined copy.
11332 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
11333 __FINITE_MATH_ONLY__ consistent.
11334 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
11335
12cc2fcd
AS
113362011-10-10 Andreas Schwab <schwab@linux-m68k.org>
11337
a843a204
AS
11338 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
11339 of rawmemchr.
11340
12cc2fcd
AS
11341 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
11342
c853acd5
UD
113432011-10-09 Ulrich Drepper <drepper@gmail.com>
11344
11345 * po/ja.po: Update from translation team.
11346
c658d255
RM
113472011-10-08 Roland McGrath <roland@hack.frob.com>
11348
110946e4
RM
11349 * locale/programs/locarchive.c (prepare_address_space): New function.
11350 (create_archive, enlarge_archive, open_archive): Use it.
11351
50604220
RM
11352 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
11353 inside [SHARED], where it is used.
11354
c658d255
RM
11355 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
11356
11357 * nss/getent.c (netgroup_keys): Remove unused variable.
11358 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
11359
6a621eb7
UD
113602011-10-08 Ulrich Drepper <drepper@gmail.com>
11361
7edb55ce
UD
11362 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
11363 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
11364 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
11365 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
11366 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
11367 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
11368 * math/Makefile (libm-calls): Add s_isinf_ns.
11369 * math/divtc3.c: Use __isinf_nsl instead of isinf.
11370 * math/multc3.c: Likewise.
11371 * math/s_casin.c: Likewise.
11372 * math/s_casinf.c: Likewise.
11373 * math/s_casinl.c: Likewise.
11374 * math/s_ccos.c: Likewise.
11375 * math/s_ccosf.c: Likewise.
11376 * math/s_ccosl.c: Likewise.
11377 * math/s_ctan.c: Likewise.
11378 * math/s_ctanf.c: Likewise.
11379 * math/s_ctanh.c: Likewise.
11380 * math/s_ctanhf.c: Likewise.
11381 * math/s_ctanhl.c: Likewise.
11382 * math/s_ctanl.c: Likewise.
11383 * math/w_fmod.c: Likewise.
11384 * math/w_fmodf.c: Likewise.
11385 * math/w_fmodl.c: Likewise.
11386 * math/w_remainder.c: Likewise.
11387 * math/w_remainderf.c: Likewise.
11388 * math/w_remainderl.c: Likewise.
11389 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
11390 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
11391 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
11392 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
11393 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
11394 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
11395 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
11396 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
11397
187da0ae
UD
11398 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
11399 of the number.
11400 * stdio-common/printf_fphex.c: Likewise.
11401 * stdio-common/printf_size.c: Likewise.
11402
9277c064
UD
11403 * math/e_exp10.c: Include math_private.h using <...> not "...".
11404 * math/e_exp10f.c: Likewise.
11405 * math/e_exp10l.c: Likewise.
11406 * math/e_exp2l.c: Likewise.
11407 * math/e_j0l.c: Likewise.
11408 * math/e_j1l.c: Likewise.
11409 * math/e_jnl.c: Likewise.
11410 * math/e_lgammal_r.c: Likewise.
11411 * math/e_rem_pio2l.c: Likewise.
11412 * math/e_scalb.c: Likewise.
11413 * math/e_scalbf.c: Likewise.
11414 * math/e_scalbl.c: Likewise.
11415 * math/k_cosl.c: Likewise.
11416 * math/k_sinl.c: Likewise.
11417 * math/k_tanl.c: Likewise.
11418 * math/s_cacoshf.c: Likewise.
11419 * math/s_catan.c: Likewise.
11420 * math/s_catanf.c: Likewise.
11421 * math/s_catanh.c: Likewise.
11422 * math/s_catanhf.c: Likewise.
11423 * math/s_catanhl.c: Likewise.
11424 * math/s_catanl.c: Likewise.
11425 * math/s_ccosh.c: Likewise.
11426 * math/s_ccoshf.c: Likewise.
11427 * math/s_ccoshl.c: Likewise.
11428 * math/s_cexp.c: Likewise.
11429 * math/s_cexpf.c: Likewise.
11430 * math/s_cexpl.c: Likewise.
11431 * math/s_clog.c: Likewise.
11432 * math/s_clog10.c: Likewise.
11433 * math/s_clog10f.c: Likewise.
11434 * math/s_clog10l.c: Likewise.
11435 * math/s_clogf.c: Likewise.
11436 * math/s_clogl.c: Likewise.
11437 * math/s_csin.c: Likewise.
11438 * math/s_csinf.c: Likewise.
11439 * math/s_csinh.c: Likewise.
11440 * math/s_csinhf.c: Likewise.
11441 * math/s_csinhl.c: Likewise.
11442 * math/s_csinl.c: Likewise.
11443 * math/s_csqrt.c: Likewise.
11444 * math/s_csqrtf.c: Likewise.
11445 * math/s_csqrtl.c: Likewise.
11446 * math/s_ctan.c: Likewise.
11447 * math/s_ctanf.c: Likewise.
11448 * math/s_ctanh.c: Likewise.
11449 * math/s_ctanhf.c: Likewise.
11450 * math/s_ctanhl.c: Likewise.
11451 * math/s_ctanl.c: Likewise.
11452 * math/s_ldexp.c: Likewise.
11453 * math/s_ldexpf.c: Likewise.
11454 * math/s_ldexpl.c: Likewise.
11455 * math/s_significand.c: Likewise.
11456 * math/s_significandf.c: Likewise.
11457 * math/s_significandl.c: Likewise.
11458 * math/w_acos.c: Likewise.
11459 * math/w_acosf.c: Likewise.
11460 * math/w_acosh.c: Likewise.
11461 * math/w_acoshf.c: Likewise.
11462 * math/w_acoshl.c: Likewise.
11463 * math/w_acosl.c: Likewise.
11464 * math/w_asin.c: Likewise.
11465 * math/w_asinf.c: Likewise.
11466 * math/w_asinl.c: Likewise.
11467 * math/w_atan2.c: Likewise.
11468 * math/w_atan2f.c: Likewise.
11469 * math/w_atan2l.c: Likewise.
11470 * math/w_atanh.c: Likewise.
11471 * math/w_atanhf.c: Likewise.
11472 * math/w_atanhl.c: Likewise.
11473 * math/w_cosh.c: Likewise.
11474 * math/w_coshf.c: Likewise.
11475 * math/w_coshl.c: Likewise.
11476 * math/w_dremf.c: Likewise.
11477 * math/w_exp10.c: Likewise.
11478 * math/w_exp10f.c: Likewise.
11479 * math/w_exp10l.c: Likewise.
11480 * math/w_exp2.c: Likewise.
11481 * math/w_exp2f.c: Likewise.
11482 * math/w_fmod.c: Likewise.
11483 * math/w_fmodf.c: Likewise.
11484 * math/w_fmodl.c: Likewise.
11485 * math/w_hypot.c: Likewise.
11486 * math/w_hypotf.c: Likewise.
11487 * math/w_hypotl.c: Likewise.
11488 * math/w_j0.c: Likewise.
11489 * math/w_j0f.c: Likewise.
11490 * math/w_j0l.c: Likewise.
11491 * math/w_j1.c: Likewise.
11492 * math/w_j1f.c: Likewise.
11493 * math/w_j1l.c: Likewise.
11494 * math/w_jn.c: Likewise.
11495 * math/w_jnf.c: Likewise.
11496 * math/w_jnl.c: Likewise.
11497 * math/w_lgamma.c: Likewise.
11498 * math/w_lgamma_r.c: Likewise.
11499 * math/w_lgammaf.c: Likewise.
11500 * math/w_lgammaf_r.c: Likewise.
11501 * math/w_lgammal.c: Likewise.
11502 * math/w_lgammal_r.c: Likewise.
11503 * math/w_log.c: Likewise.
11504 * math/w_log10.c: Likewise.
11505 * math/w_log10f.c: Likewise.
11506 * math/w_log10l.c: Likewise.
11507 * math/w_log2.c: Likewise.
11508 * math/w_log2f.c: Likewise.
11509 * math/w_log2l.c: Likewise.
11510 * math/w_logf.c: Likewise.
11511 * math/w_logl.c: Likewise.
11512 * math/w_pow.c: Likewise.
11513 * math/w_powf.c: Likewise.
11514 * math/w_powl.c: Likewise.
11515 * math/w_remainder.c: Likewise.
11516 * math/w_remainderf.c: Likewise.
11517 * math/w_remainderl.c: Likewise.
11518 * math/w_scalb.c: Likewise.
11519 * math/w_scalbf.c: Likewise.
11520 * math/w_scalbl.c: Likewise.
11521 * math/w_sinh.c: Likewise.
11522 * math/w_sinhf.c: Likewise.
11523 * math/w_sinhl.c: Likewise.
11524 * math/w_sqrt.c: Likewise.
11525 * math/w_sqrtf.c: Likewise.
11526 * math/w_sqrtl.c: Likewise.
11527 * math/w_tgamma.c: Likewise.
11528 * math/w_tgammaf.c: Likewise.
11529 * math/w_tgammal.c: Likewise.
11530
6a621eb7
UD
11531 * po/ja.po: Update from translation team.
11532
bf582445
AJ
115332011-09-29 Andreas Jaeger <aj@suse.de>
11534
f9efbf3a
AJ
11535 [BZ #13179]
11536 * sunrpc/netname.c (netname2host): Fix logic.
11537
bf582445
AJ
11538 [BZ #6779]
11539 [BZ #6783]
11540 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
11541 correctly.
11542 * math/w_remainder.c (__remainder): Likewise.
11543 * math/w_remainderf.c (__remainderf): Likewise.
11544 * math/libm-test.inc (remainder_test): Add test cases.
11545
48693bea
AK
115462011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11547
11548 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
11549 sdiv_qrnnd.
11550
42622229
LD
115512011-10-07 Ulrich Drepper <drepper@gmail.com>
11552
11553 * string/test-memcmp.c: Avoid unncessary #defines.
11554 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
11555
093ecf92
LD
115562011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
11557
11558 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
11559 Use new sse2 version for core i3 - i7 as it's faster
11560 than sse42 version.
11561 (bit_Prefer_PMINUB_for_stringop): New.
11562 * sysdeps/x86_64/rawmemchr.S: Update.
11563 Replace with faster SSE2 version.
11564 * sysdeps/x86_64/memrchr.S: New file.
11565 * sysdeps/x86_64/memchr.S: Update.
11566 Replace with faster SSE2 version.
11567
fde56e5c
MP
115682011-09-12 Marek Polacek <mpolacek@redhat.com>
11569
11570 * elf/dl-load.c (lose): Add cast to avoid warning.
11571
21fd49a9
UD
115722011-10-07 Ulrich Drepper <drepper@gmail.com>
11573
5a06e643
UD
11574 * po/ca.po: Update from translation team.
11575
684ae515
UD
11576 * inet/getnetgrent_r.c: Hook up nscd.
11577 * nscd/Makefile (routines): Add nscd_netgroup.
11578 (nscd-modules): Add netgroupcache.
11579 (CFLAGS-netgroupcache.c): Define.
11580 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
11581 (cache_search): Add const to second parameter.
11582 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
11583 INNETGR.
11584 (dbs): Add netgrdb entry.
11585 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
11586 (verify_persistent_db): Handle netgrdb.
11587 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
11588 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
11589 GETFDNETGR.
11590 (netgroup_response_header): Define.
11591 (innetgroup_response_header): Define.
11592 (datahead): Add netgroup_response_header and innetgroup_response_header
11593 elements.
11594 * nscd/nscd.conf: Add entries for netgroup cache.
11595 * nscd/nscd.h (dbtype): Add netgrdb.
11596 (_PATH_NSCD_NETGROUP_DB): Define.
11597 (netgroup_iov_disabled): Declare.
11598 (xmalloc, xcalloc, xrealloc): Move declarations here.
11599 (cache_search): Adjust prototype.
11600 Add netgroup-related prototypes.
11601 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
11602 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
11603 (__nscd_innetgr): Declare.
11604 * nscd/selinux.c (perms): Use access_vector_t as element type and
11605 add netgroup-related initializers.
11606 * nscd/netgroupcache.c: New file.
11607 * nscd/nscd_netgroup.c: New file.
11608 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
11609 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
11610 For four parameters use innetgr.
11611 * nss/nss_files/files-init.c: Add definition and callback for netgr.
11612 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
11613 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
11614 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
11615
21fd49a9
UD
11616 * nscd/connections.c (register_traced_file): Don't register file
11617 for disabled databases.
11618
054c0457
UD
116192011-10-06 Ulrich Drepper <drepper@gmail.com>
11620
32b63198
UD
11621 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
11622
054c0457
UD
11623 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
11624 from tree and freeing node.
11625
64031225
JO
116262011-09-25 Jiri Olsa <jolsa@redhat.com>
11627
11628 * nss/nsswitch.c (__nss_database_lookup): Handle
11629 nss_parse_service_list out of memory case.
11630
0490345c
JO
116312011-09-15 Jiri Olsa <jolsa@redhat.com>
11632
11633 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
11634 out of memory case.
11635
3a62d00d
AS
116362011-10-04 Andreas Schwab <schwab@redhat.com>
11637
11638 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
11639 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
11640 pass it down.
11641 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
11642 elf_machine_rela, elf_machine_lazy_rel.
11643 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
11644 (ELF_DYNAMIC_DO_REL): Likewise.
11645 (ELF_DYNAMIC_DO_RELA): Likewise.
11646 (ELF_DYNAMIC_RELOCATE): Likewise.
11647 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
11648 to ELF_DYNAMIC_DO_REL.
11649 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
11650 (dl_main): In trace mode always set __RTLD_NOIFUNC.
11651 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
11652 elf_machine_rela.
11653 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
11654 skip_ifunc, don't call ifunc function if non-zero.
11655 (elf_machine_rela): Likewise.
11656 (elf_machine_lazy_rel): Likewise.
11657 (elf_machine_lazy_rela): Likewise.
11658 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
11659 (elf_machine_lazy_rel): Likewise.
11660 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
11661 Likewise.
11662 (elf_machine_lazy_rel): Likewise.
11663 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
11664 Likewise.
11665 (elf_machine_lazy_rel): Likewise.
11666 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
11667 (elf_machine_lazy_rel): Likewise.
11668 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
11669 (elf_machine_lazy_rel): Likewise.
11670 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
11671 (elf_machine_lazy_rel): Likewise.
11672 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
11673 (elf_machine_lazy_rel): Likewise.
11674 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
11675 (elf_machine_lazy_rel): Likewise.
11676 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
11677 (elf_machine_lazy_rel): Likewise.
11678
68577918
UD
116792011-09-28 Ulrich Drepper <drepper@gmail.com>
11680
11681 * nss/nss_files/files-init.c (_nss_files_init): Use static
11682 initialization for all the *_traced_file variables.
11683
68822d74
AS
116842011-09-28 Andreas Schwab <schwab@redhat.com>
11685
11686 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
11687
2056100b
RM
116882011-09-27 Roland McGrath <roland@hack.frob.com>
11689
11690 [BZ #13226]
11691 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
11692
32c76b63
AS
116932011-09-27 Andreas Schwab <schwab@redhat.com>
11694
11695 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
11696 Reread the line before reparsing it.
11697
bf972c9d
AS
116982011-09-26 Andreas Schwab <schwab@redhat.com>
11699
11700 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
11701
e057a1b5
JM
117022011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
11703 Maxim Kuvyrkov <maxim@codesourcery.com>
11704 Joseph Myers <joseph@codesourcery.com>
11705
11706 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
11707 if needed for __stack_chk_guard.
11708
bc7e1c36
RM
117092011-09-19 Roland McGrath <roland@hack.frob.com>
11710
ecb1482f
RM
11711 * sysdeps/posix/spawni.c (script_execute): Always define it.
11712 It will be optimized away if unused.
11713 (maybe_script_execute): New function.
11714 (__spawni): Call it.
11715
bc7e1c36
RM
11716 * Makerules: Don't include tls.make.
11717 (config-tls): Always set to thread.
11718 * tls.make.c: File removed.
11719
1c3b002b
MF
117202011-09-19 Mike Frysinger <vapier@gentoo.org>
11721
11722 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
11723 * config.make.in (CPPFLAGS-config): New substituted variable.
11724
2840865d
UD
117252011-09-15 Ulrich Drepper <drepper@gmail.com>
11726
88738eb6
UD
11727 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
11728
cbf645a6 11729 [BZ #13192]
2840865d
UD
11730 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
11731 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
11732
b402e91a
RM
117332011-09-15 Roland McGrath <roland@hack.frob.com>
11734
11735 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
11736 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
11737 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
11738 (CALL_FAIL): Likewise.
11739 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
11740 (CALL_FAIL): Macro removed.
11741 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
11742
4c1a1f71
UD
117432011-09-15 Ulrich Drepper <drepper@gmail.com>
11744
11745 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
11746 for __FINITE_MATH_ONLY__ == 1.
11747
edc121be
AS
117482011-09-15 Andreas Schwab <schwab@redhat.com>
11749
11750 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
11751 __ieee754_sqrt instead of sqrt.
11752 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
11753 __ieee754_sqrtf instead of sqrtf.
11754 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
11755 __floorf instead of floorf.
11756 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
11757 __floorf, __truncf instead of floorf, truncf.
11758
cd205654
UD
117592011-09-14 Ulrich Drepper <drepper@gmail.com>
11760
ee4d0315
UD
11761 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
11762
cd205654
UD
11763 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
11764 __extern_always_inline.
11765 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
11766 32-bit.
11767
48b67d71
AS
117682011-09-14 Andreas Schwab <schwab@redhat.com>
11769
11770 * elf/rtld.c (dl_main): Also relocate in dependency order when
11771 doing symbol dependency testing.
11772
1ae12c75
AS
117732011-09-13 Andreas Schwab <schwab@linux-m68k.org>
11774
11775 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
11776 Always define `refsym'.
11777
995a80df
AS
117782011-09-13 Andreas Schwab <schwab@redhat.com>
11779
e529793b
AS
11780 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
11781 (__FD_ELT): Renamed from __FDELT.
11782 * misc/bits/select2.h (__FD_ELT): Likewise.
11783 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
11784 __FD_MASK instead of __FDELT, __FDMASK.
11785 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
11786 Likewise.
11787 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
11788 Likewise.
11789
52d4fef8
AS
11790 * elf/Makefile (gen-ldd): Fix pattern.
11791
995a80df
AS
11792 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
11793 (init_tls): Likewise.
11794
8682f8b0
UD
117952011-09-12 Ulrich Drepper <drepper@gmail.com>
11796
11797 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
11798
de82006d
AS
117992011-09-12 Andreas Schwab <schwab@redhat.com>
11800
a7c8e6a1
AS
11801 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
11802 `struct cmsghdr *' instead of `void *'.
11803 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
11804 Likewise.
11805
0f31fe77
AS
118062011-09-11 Andreas Schwab <schwab@linux-m68k.org>
11807
11808 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
11809 if non-absolute.
11810 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
11811 ldd_rewrite_script.
0f31fe77 11812
32b4c839
UD
118132011-09-11 Ulrich Drepper <drepper@gmail.com>
11814
83cd1420
UD
11815 * configure.in: Remove --with-tls option.
11816 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
11817 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
11818 out in case it is missing.
11819 * sysdeps/ia64/elf/configure.in: Likewise.
11820 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
11821 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
11822 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
11823 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
11824 * sysdeps/sh/elf/configure.in: Likewise.
11825 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
11826 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
11827 * sysdeps/x86_64/elf/configure.in: Likewise.
11828 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
11829 * sysdeps/mach/hurd/tls.h: Likewise.
11830
633f745d
UD
11831 [BZ #13067]
11832 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
11833
f318beb8
UD
11834 [BZ #13090]
11835 * configure.in: Fix use of AC_INIT.
11836
32b4c839
UD
11837 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
11838
3ce1f295
UD
118392011-09-10 Ulrich Drepper <drepper@gmail.com>
11840
bb016596
UD
11841 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
11842 __set_errno.
8e58439c
UD
11843 * malloc/hooks.c: Likewise.
11844
aebae053 11845 [BZ #11929]
02d46fc4
UD
11846 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
11847 variables statically.
11848 (narenas): Initialize.
11849 (list_lock): Initialize.
bb016596
UD
11850 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
11851 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
11852 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
11853 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
11854 Add initializers to main_arena and mp_.
11855 (malloc_state): Remove pagesize member. Change all users to use
11856 GLRO(dl_pagesize).
11857
11858 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
11859 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
11860 is always initialized.
11861
22a89187
UD
11862 * malloc/malloc.c: Removed unused configurations and dead code.
11863 * malloc/arena.c: Likewise.
11864 * malloc/hooks.c: Likewise.
02d46fc4 11865 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 11866
d063d164
UD
11867 * include/tls.h: Removed. USE___THREAD must always be defined.
11868 * bits/libc-tsd.h: Don't handle !USE___THREAD.
11869 * elf/dl-libc.c: Likewise.
11870 * elf/dl-tsd.c: Likewise.
11871 * include/errno.h: Likewise.
11872 * include/netdb.h: Likewise.
11873 * include/resolv.h: Likewise.
11874 * inet/herrno-loc.c: Likewise.
11875 * inet/herrno.c: Likewise.
11876 * malloc/arena.c: Likewise.
11877 * malloc/hooks.c: Likewise.
11878 * malloc/malloc.c: Likewise.
11879 * resolv/res-state.c: Likewise.
11880 * resolv/res_libc.c: Likewise.
11881 * sysdeps/i386/dl-machine.h: Likewise.
11882 * sysdeps/ia64/dl-machine.h: Likewise.
11883 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
11884 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
11885 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
11886 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
11887 * sysdeps/sh/dl-machine.h: Likewise.
11888 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
11889 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
11890 * sysdeps/unix/i386/sysdep.S: Likewise.
11891 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
11892 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
11893 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
11894 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
11895 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
11896 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
11897 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
11898 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
11899 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
11900 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
11901 * sysdeps/unix/x86_64/sysdep.S: Likewise.
11902 * sysdeps/x86_64/dl-machine.h: Likewise.
11903 * tls.make.c: Likewise.
11904
3ce1f295
UD
11905 * configure.in: Remove --with-__thread option. Make tests for
11906 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
11907 tls_model attribute fail if no support is available. Remove
11908 USE_IN_LIBIO.
11909 * Makeconfig: Adjust for dropped configure option. All features are
11910 now mandatory.
11911 * Makerules: Likewise.
11912 * Versions.def: Likewise.
11913 * argp/argp-fmtstream.c: Likewise.
11914 * argp/argp-fmtstream.h: Likewise.
11915 * argp/argp-help.c: Likewise.
11916 * assert/assert.c: Likewise.
11917 * config.h.in: Likewise.
11918 * config.make.in: Likewise.
11919 * configure: Likewise.
11920 * configure.in: Likewise.
11921 * csu/Versions: Likewise.
11922 * csu/init.c: Likewise.
11923 * elf/tst-audit2.c: Likewise.
11924 * elf/tst-tls10.c: Likewise.
11925 * elf/tst-tls10.h: Likewise.
11926 * elf/tst-tls11.c: Likewise.
11927 * elf/tst-tls12.c: Likewise.
11928 * elf/tst-tls14.c: Likewise.
11929 * elf/tst-tlsmod11.c: Likewise.
11930 * elf/tst-tlsmod12.c: Likewise.
11931 * elf/tst-tlsmod13.c: Likewise.
11932 * elf/tst-tlsmod13a.c: Likewise.
11933 * elf/tst-tlsmod14a.c: Likewise.
11934 * elf/tst-tlsmod15b.c: Likewise.
11935 * elf/tst-tlsmod16a.c: Likewise.
11936 * elf/tst-tlsmod16b.c: Likewise.
11937 * elf/tst-tlsmod7.c: Likewise.
11938 * elf/tst-tlsmod8.c: Likewise.
11939 * elf/tst-tlsmod9.c: Likewise.
11940 * gmon/gmon.c: Likewise.
11941 * grp/fgetgrent_r.c: Likewise.
11942 * grp/putgrent.c: Likewise.
11943 * hurd/fopenport.c: Likewise.
11944 * include/libc-symbols.h: Likewise.
11945 * include/tls.h: Likewise.
11946 * intl/gettextP.h: Likewise.
11947 * intl/loadinfo.h: Likewise.
11948 * locale/global-locale.c: Likewise.
11949 * locale/localeinfo.h: Likewise.
11950 * mach/devstream.c: Likewise.
11951 * malloc/arena.c: Likewise.
11952 * malloc/set-freeres.c: Likewise.
11953 * misc/err.c: Likewise.
11954 * misc/getttyent.c: Likewise.
11955 * misc/mntent_r.c: Likewise.
11956 * posix/getopt.c: Likewise.
11957 * posix/wordexp.c: Likewise.
11958 * pwd/fgetpwent_r.c: Likewise.
11959 * resolv/Versions: Likewise.
11960 * resolv/res_hconf.c: Likewise.
11961 * shadow/fgetspent_r.c: Likewise.
11962 * shadow/putspent.c: Likewise.
11963 * stdio-common/printf_fphex.c: Likewise.
11964 * stdio-common/tmpfile.c: Likewise.
11965 * stdlib/abort.c: Likewise.
11966 * stdlib/fmtmsg.c: Likewise.
11967 * sunrpc/auth_unix.c: Likewise.
11968 * sunrpc/clnt_perr.c: Likewise.
11969 * sunrpc/clnt_tcp.c: Likewise.
11970 * sunrpc/clnt_udp.c: Likewise.
11971 * sunrpc/clnt_unix.c: Likewise.
11972 * sunrpc/openchild.c: Likewise.
11973 * sunrpc/svc_simple.c: Likewise.
11974 * sunrpc/svc_tcp.c: Likewise.
11975 * sunrpc/svc_udp.c: Likewise.
11976 * sunrpc/svc_unix.c: Likewise.
11977 * sunrpc/xdr.c: Likewise.
11978 * sunrpc/xdr_array.c: Likewise.
11979 * sunrpc/xdr_rec.c: Likewise.
11980 * sunrpc/xdr_ref.c: Likewise.
11981 * sunrpc/xdr_stdio.c: Likewise.
11982
1248c1c4
PB
119832011-09-09 Ulrich Drepper <drepper@gmail.com>
11984
11985 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
11986
119872011-07-03 Andreas Jaeger <aj@suse.de>
11988
11989 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
11990 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
11991 regenerate with gen-libm-tests.pl.
11992
119932010-05-12 Petr Baudis <pasky@suse.cz>
11994
11995 [BZ #11589]
11996 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
11997 around j0() zero points by switching to j1().
11998 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
11999 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
12000 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
12001 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
12002
f22e1074
UD
120032011-09-09 Ulrich Drepper <drepper@gmail.com>
12004
f19009c1
UD
12005 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
12006 instead of 0.
12007 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
12008 instead of 0. .
12009 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
12010 Patch in part by Pavel Roskin <proski@gnu.org>.
12011
3f8cc204
UD
12012 [BZ #13138]
12013 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
12014 realloc.
12015 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
12016 Free memory block if necessary.
12017
f22e1074
UD
12018 [BZ #12847]
12019 * libio/genops.c (INTDEF): For string streams the _lock pointer can
12020 be NULL. Don't lock in this case.
12021
0a2349f9
RM
120222011-09-09 Roland McGrath <roland@hack.frob.com>
12023
12024 * elf/elf.h (ELFOSABI_GNU): New macro.
12025 (ELFOSABI_LINUX): Define to that.
12026
f3cdd467
DZ
120272011-07-29 Denis Zaitceff <zaitceff@gmail.com>
12028
12029 * string/strncat.c (strncat): Undef the symbol in case it has been
12030 defined in bits/string.h.
12031
74718d13
UD
120322011-09-09 Ulrich Drepper <drepper@gmail.com>
12033
633e9e0f
UD
12034 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
12035
0a2349f9 12036 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
12037 link map.
12038
f9924780
AJ
120392011-08-17 Andreas Jaeger <aj@suse.de>
12040
12041 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
12042
7f5517aa
PP
120432011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
12044 Ian Lance Taylor <iant@google.com>
12045
12046 * math/libm-test.inc (lround_test): New testcase.
12047 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
12048
762011fe
UD
120492011-09-08 Ulrich Drepper <drepper@gmail.com>
12050
92963737
UD
12051 * Makefile: Remove support for automatic cvs check-ins.
12052 * Makerules: Likewise.
12053 * config.make.in: Likewise.
12054 * configure.in: Likewise.
12055 * intl/Makefile: Likewise.
12056 * locale/Makefile: Likewise.
12057 * po/Makefile: Likewise.
12058 * posix/Makefile: Likewise.
12059 * sysdeps/gnu/Makefile: Likewise.
12060 * sysdeps/mach/hurd/Makefile: Likewise.
12061 * sysdeps/sparc/sparc32/Makefile: Likewise.
12062
b0727fd8
JS
12063 [BZ #13118]
12064 * posix/Makefile (bug-regex32-ENV): Define.
12065 Patch by John Stanley <jpsinthemix@verizon.net>.
12066
a0f33f99
UD
12067 * misc/Makefile (headers): Add bits/select2.h.
12068 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
12069 * misc/bits/select2.h: New file.
12070 * include/bits/select2.h: New file.
12071 * debug/Makefile (routines): Add fdelt_chk.
12072 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
12073 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
12074 FD_ISSET.
12075 * debug/fdelt_chk.c: New file.
12076
762011fe
UD
12077 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
12078 * wcsmbs/test-wmemcmp.c: Likewise.
12079 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 12080 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
12081
120822011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12083
12084 * string/Makefile (strop-tests): Add memcmp.
12085 * string/test-wmemcmp.c: New file.
12086 * string/test-memcmp.c: Add wmemcmp support.
12087
7f513ec8
RM
120882011-09-08 Roland McGrath <roland@hack.frob.com>
12089
0442afb4
RM
12090 [BZ #13153]
12091 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
12092 2011-07-19 change.
12093
7f513ec8
RM
12094 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
12095 garbage value in a __mach_port_mod_refs call in the cases of the
12096 task-self and thread-self ports.
12097
a12b2239
ST
120982011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
12099
12100 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
12101
610f9ab4
AS
121022011-09-08 Andreas Schwab <schwab@redhat.com>
12103
7f513ec8 12104 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 12105
48882a1a
LD
121062011-09-07 Ulrich Drepper <drepper@gmail.com>
12107
b49865be
UD
12108 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
12109
fdc86bc9
UD
12110 * elf/dl-libc.c (dlerror_run): Pass back error code from
12111 dl_catch_error.
12112
c966526a
UD
12113 [BZ #13123]
12114 * elf/dl-load.c (lose): Free l_origin if it is valid.
12115
48882a1a
LD
12116 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
12117 names.
12118 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
12119 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
12120 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
12121 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
12122 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
12123 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
12124
77a2a8b4
AZ
121252011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12126
12127 * sysdeps/powerpc/fpu/e_hypot.c: New file.
12128 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
12129 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
12130 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
12131 * sysdeps/powerpc/fpu/k_cosf.c: New file.
12132 * sysdeps/powerpc/fpu/k_sinf.c: New file.
12133 * sysdeps/powerpc/fpu/s_cosf.c: New file.
12134 * sysdeps/powerpc/fpu/s_sinf.c: New file.
12135 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
12136 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
12137
24f579d8
AM
121382011-08-15 Alan Modra <amodra@gmail.com>
12139
12140 [BZ #13092]
12141 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
12142 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
12143 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
12144 ppc_mcount to static-only-routines.
12145 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
12146 __mcount_internal.
12147 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
12148 __mcount_internal with usual JUMPTARGET. Remove useless nop.
12149
3d4837df
UD
121502011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
12151
12152 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
12153 for finite and infinity parameters.
12154
22700377
WS
121552011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
12156
12157 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
12158 and add nop instructions for throughput optimization.
12159 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
12160
5025581e
WS
121612011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
12162
12163 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
12164 aligned copy for power7 with vector-scalar instructions.
12165 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
12166
08a300c9
L
121672011-07-24 H.J. Lu <hongjiu.lu@intel.com>
12168
12169 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
12170 AVX check.
12171
59178ef9
AS
121722011-09-07 Andreas Schwab <schwab@redhat.com>
12173
12174 [BZ #13144]
12175 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
12176 last change.
12177
e38ba7ab
UD
121782011-09-07 Ulrich Drepper <drepper@gmail.com>
12179
12180 * sysdeps/unix/sysv/linux/x86_64/init-first.c
12181 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
12182 syscall wrapper around clock_gettime in __vdso_clock_gettime.
12183 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
12184 clock_gettime.
12185
d53a73ac
UD
121862011-09-06 Ulrich Drepper <drepper@gmail.com>
12187
fc8bffcc
UD
12188 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
12189 Forgot to demangle the pointer.
12190
ceaa0c5d
UD
12191 * sysdeps/i386/sysdep.h: Define atom_text_section.
12192 * sysdeps/x86_64/sysdep.h: Likewise.
12193 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
12194 section with atom_text_section.
12195 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
12196 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
12197 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
12198 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
12199 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
12200
a77d3c17
UD
12201 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
12202 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
12203 already be defined. Change to take two parameters and don't assign
12204 result to variable. Adjust all users.
12205 Define INTERNAL_GETTIME if not already defined.
12206 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
12207 call.
12208 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
12209 HAVE_CLOCK_GETTIME_VSYSCALL.
12210 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
12211
d53a73ac
UD
12212 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
12213 gettimeofday vsyscall, just use time.
12214
a8f84144
AS
122152011-09-06 Andreas Schwab <schwab@redhat.com>
12216
12217 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
12218 <errno.h>.
12219
ef606249
UD
122202011-09-06 Ulrich Drepper <drepper@gmail.com>
12221
12222 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
12223 syscall on x86-64.
12224 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
12225 syscall.
12226 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
12227 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
12228 syscall if possible.
12229
6585cb60
UD
122302011-09-05 Ulrich Drepper <drepper@gmail.com>
12231
12232 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
12233 e_ident. Don't pass to find_mapsXX.
12234 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
12235
a5f524e4
LD
122362011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
12237
12238 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
12239 strchr-sse2-no-bsf strrchr-sse2-no-bsf
12240 * sysdeps/x86_64/multiarch/strchr.S: Update.
12241 Check bit_slow_BSF bit.
12242 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
12243 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
12244 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
12245
554881ef
UD
122462011-09-05 Ulrich Drepper <drepper@gmail.com>
12247
d96de963
UD
12248 [BZ #13134]
12249 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
12250 before glibc 2.15.
12251 (tryshell): Define.
12252 (__spawni): Change last parameter to be flag. Test
12253 SPAWN_XFLAGS_USE_PATH flag to use path or not.
12254 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
12255 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
12256 * posix/spawni.c: Likewise.
12257 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
12258 * posix/spawnp.c: Likewise. Change normal version to use
12259 SPAWN_XFLAGS_USE_PATH.
12260 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
12261 SPAWN_XFLAGS_TRY_SHELL.
12262
d48e5868
UD
12263 [BZ #13150]
12264 * posix/glob.h: Remove gcc 1.x support.
12265
554881ef
UD
12266 [BZ #13068]
12267 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
12268
693fb948
LD
122692011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
12270
12271 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
12272 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
12273 strrchr-sse2-bsf
12274 * sysdeps/i386/i686/multiarch/strchr.S: New file.
12275 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
12276 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
12277 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
12278 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
12279 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
12280
1b48c537
UD
122812011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12282
49d42c37
UD
12283 * sysdeps/x86_64/wcscmp.S: New file.
12284
1b48c537
UD
12285 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
12286 wcscmp-c wcscmp-sse2
12287 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
12288 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
12289 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
12290 * wcsmbs/wcscmp.c: Allow renaming.
12291
15c95c5d
DM
122922011-09-05 David S. Miller <davem@davemloft.net>
12293
12294 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
12295 stack slot, rather than the struct return pointer slot.
12296 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
12297 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
12298 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
12299 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
12300
2f0ad8f3
UD
123012011-09-05 Ulrich Drepper <drepper@gmail.com>
12302
d88ae418
UD
12303 * po/ja.po: Update from translation team.
12304
2f0ad8f3
UD
12305 [BZ #13144]
12306 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
12307 kernel in 64-bit binaries.
12308
5f4318d1
DM
123092011-09-01 David S. Miller <davem@davemloft.net>
12310
12311 * elf/elf.h (HWCAP_SPARC_*): Move to..
12312 * sysdeps/sparc/sysdep.h: this new file and add new values.
12313 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
12314 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
12315 _DL_HWCAP_COUNT to 24.
12316 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
12317 entries.
12318 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
12319 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
12320 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
12321 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
12322 instead of magic constants.
12323 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
12324
3ba57516
DM
123252011-08-31 David S. Miller <davem@davemloft.net>
12326
12327 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
12328 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
12329 Reimplement to do errno handling inline.
12330 (SYSCALL_ERROR_HANDLER): New macro.
12331 (__SYSCALL_STRING): Do not do errno handling in asm.
12332 (__CLONE_SYSCALL_STRING): Delete.
12333 (__INTERNAL_SYSCALL_STRING): Delete.
12334 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
12335 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
12336 (PSEUDO): Reimplement to do errno handling inline.
12337 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
12338 (SYSCALL_ERROR_HANDLER): New macro.
12339 (__SYSCALL_STRING): Do not do errno handling in asm.
12340 (__CLONE_SYSCALL_STRING): Delete.
12341 (__INTERNAL_SYSCALL_STRING): Delete.
12342 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
12343 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
12344 i386.
12345 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
12346 (inline_syscall*): Add 'err' argument.
12347 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
12348 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
12349 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
12350 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
12351
12352 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
12353 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
12354
2bc17433
AS
123552011-08-30 Andreas Schwab <schwab@redhat.com>
12356
12357 * elf/rtld.c (dl_main): Relocate objects in dependency order.
12358
fbeb5f4d
JO
123592011-08-29 Jiri Olsa <jolsa@redhat.com>
12360
12361 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
12362 directive.
12363
ad69cc26
DM
123642011-08-24 David S. Miller <davem@davemloft.net>
12365
12366 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
12367
39dd69df
AS
123682011-08-24 Andreas Schwab <schwab@redhat.com>
12369
12370 * elf/Makefile: Add rules to build and run unload8 test.
12371 * elf/unload8.c: New file.
12372 * elf/unload8mod1.c: New file.
12373 * elf/unload8mod1x.c: New file.
12374 * elf/unload8mod2.c: New file.
12375 * elf/unload8mod3.c: New file.
12376
12377 * elf/dl-close.c (_dl_close_worker): Reset private search list if
12378 it wasn't used.
12379
2c0b250a
DM
123802011-08-23 David S. Miller <davem@davemloft.net>
12381
12382 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
12383 subtract stack bias.
12384 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
12385 %sp not %fp in calculations.
12386 (_JMPBUF_UNWINDS_ADJ): Likewise.
12387
22044b48
DM
12388 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
12389 (aio_suspend): Call it to force an exception region around the
12390 AIO_MISC_WAIT() invocation.
12391
2cae4995
AS
123922011-08-23 Andreas Schwab <schwab@redhat.com>
12393
12394 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
12395 backslash.
12396
873a772e
AJ
123972011-07-04 Aurelien Jarno <aurelien@aurel32.net>
12398
12399 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
12400 protection macro.
12401 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
12402 and <dl-machine.h>.
12403 (Elf64_FuncDesc): Remove.
12404
25ad0df1
DM
124052011-08-22 David S. Miller <davem@davemloft.net>
12406
12407 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
12408 sigaltstack check, add missing cfi directives.
12409 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
12410 missing cfi directives, and sigaltstack handling.
12411
e888bcbe
AS
124122011-08-16 Andreas Schwab <schwab@redhat.com>
12413
12414 [BZ #11724]
12415 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
12416 object is seen twice.
12417 * elf/dl-fini.c (_dl_sort_fini): Likewise.
12418
12419 * elf/Makefile (distribute): Add tst-initorder2.c.
12420 (tests): Add tst-initorder2.
12421 (modules-names): Add tst-initorder2a tst-initorder2b
12422 tst-initorder2c tst-initorder2d. Add rules to build them.
12423 ($(objpfx)tst-initorder2.out): New rule.
12424 * elf/tst-initorder2.c: New file.
12425 * elf/tst-initorder2.exp: New file.
12426
87162f46
AS
124272011-08-22 Andreas Schwab <schwab@redhat.com>
12428
70538b7f
AS
12429 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
12430
f55ffe58
AS
12431 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
12432 dependencies back to end of function.
12433
87162f46
AS
12434 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
12435 $(elfobjdir)/ld.so.
12436
91b392a4
UD
124372011-08-21 Ulrich Drepper <drepper@gmail.com>
12438
12439 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
12440 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
12441 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
12442 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
12443 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
12444 of __vdso_gettimeofday.
12445 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
12446 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
12447 attribute_hidden.
12448 (_libc_vdso_platform_setup): Remove initialization of
12449 __vdso_gettimeofday and __vdso_time.
12450
5c43483f
UD
124512011-08-20 Ulrich Drepper <drepper@gmail.com>
12452
775a77e7
UD
12453 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
12454 and fgetc_unlocked.
12455 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
12456 getc_unlocked.
89f447ed 12457
49c74ba9
UD
12458 * elf/dl-open.c (add_to_global): Report additions to the global scope
12459 for LD_DEBUG=scopes.
12460 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 12461 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 12462
5c43483f
UD
12463 [BZ #13114]
12464 * stdio-common/Makefile (tests): Add bug24.
12465 * stdio-common/bug24.c: New file.
12466
a101b025
AJ
124672011-08-19 Andreas Jaeger <aj@suse.de>
12468
12469 [BZ #13114]
12470 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
12471 non-existant file when using close-on-exec mode.
12472
c88f1766
UD
124732011-08-20 Ulrich Drepper <drepper@gmail.com>
12474
0276a718
UD
12475 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
12476 the very first instruction.
12477
c88f1766
UD
12478 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
12479 the CFI state in the end.
12480 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
12481 inclusion of dl-trampoline.h.
12482 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
12483
51ccffa0
AS
124842011-08-19 Andreas Schwab <schwab@redhat.com>
12485
94d7165f
AS
12486 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
12487 expectations for long double.
12488
51ccffa0
AS
12489 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
12490 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
12491
fd708658 124922011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
12493
12494 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
12495 artificual limit depends upon the system page size.
12496
44f0a71e
UD
124972011-08-17 Ulrich Drepper <drepper@gmail.com>
12498
12499 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
12500 * resolv/Makefile: Define CFLAGS-libresolv.
12501
8de79a24
AS
125022011-08-17 Andreas Schwab <schwab@redhat.com>
12503
12504 * nss/makedb.c (compute_tables): Make variables used in nested
12505 function static.
12506
27724598
UD
125072011-08-17 Ulrich Drepper <drepper@gmail.com>
12508
c5305d88
UD
12509 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
12510 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
12511 if buffer was too small.
12512
27724598
UD
12513 * elf/pldd.c (main): Attach to all threads in the process.
12514 Rewrite /proc handling to use *at functions.
12515
076fe015
UD
125162011-08-16 Ulrich Drepper <drepper@gmail.com>
12517
174baab3
UD
12518 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
12519 specifies first scope to show.
12520 (dl_open_worker): Update callers. Move printing scope of new
12521 object to before the relocation.
44f0a71e 12522 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
12523 * sysdeps/generic/ldsodefs.h: Update declaration.
12524
076fe015
UD
12525 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
12526 string for the scope number.
12527
a60df2c3
UD
125282011-08-14 Ulrich Drepper <drepper@gmail.com>
12529
12530 * nscd/servicescache.c (cache_addserv): Make sure written is always
12531 initialized.
12532
5e4287d1
RM
125332011-08-14 Roland McGrath <roland@hack.frob.com>
12534
85ae0589
RM
12535 * sysdeps/i386/i486/bits/atomic.h
12536 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
12537 statement expression, so as to suppress "set but not used" warning.
12538 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
12539
69f63097
RM
12540 * string/strncat.c (STRNCAT): Use prototype definition.
12541
675456ef
RM
12542 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
12543 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
12544 -Iprograms here.
12545 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
12546 (localedef-modules): Add localedef.
12547 (locale-modules): Add locale.
12548
5e4287d1
RM
12549 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
12550 * elf/rtld.c (dl_main): Invert order of assignment in last change,
12551 to avoid a warning.
12552
9c96ff23
DM
125532011-08-14 David S. Miller <davem@davemloft.net>
12554
12555 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
12556 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
12557
f9ddf089
UD
125582011-08-13 Ulrich Drepper <drepper@gmail.com>
12559
44f0a71e 12560 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
12561 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
12562 * elf/rtld.c (dl_main): Set l_name of vDSO.
12563 Call _dl_show_scope when DL_DEBUG_SCOPES.
12564 (process_dl_debug): Recognize scopes flag and also set it for all.
12565 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
12566 Declare _dl_show_scope.
12567
1dc27704
UD
12568 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
12569 (do_dlopen): Pass caller_dlopen to dl_open.
12570 (__libc_dlopen_mode): Initialize caller_dlopen.
12571
f9ddf089
UD
12572 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
12573 of libc. Make tolower call locale-independent. Optimize a bit by
12574 using isdigit instead of isalnum.
12575 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
12576
9ac533d3
UD
125772011-08-12 Ulrich Drepper <drepper@gmail.com>
12578
12579 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
12580 was a dependency or dynamically loaded.
12581
89edf2e9
UD
125822011-08-11 Ulrich Drepper <drepper@gmail.com>
12583
8e999d29
UD
12584 * intl/l10nflist.c: Allow architecture-specific pop function.
12585 * sysdeps/x86_64/l10nflist.c: New file.
12586
89edf2e9
UD
12587 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
12588 classification.
12589
14d96785
AS
125902011-08-10 Andreas Schwab <schwab@redhat.com>
12591
12592 * include/dirent.h: Add libc_hidden_proto for scandirat and
12593 scandirat64. Don't declare __scandirat64.
12594 * dirent/scandirat.c: Add libc_hidden_def.
12595 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
12596 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
12597
6761ac04
DM
125982011-08-10 David S. Miller <davem@davemloft.net>
12599
12600 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
12601 enum.
12602 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
12603 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
12604 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
12605
c55fbd1e
UD
126062011-08-09 Ulrich Drepper <drepper@gmail.com>
12607
12608 * Versions.def [libc]: Add GLIBC_2.15.
12609 * dirent/Makefile (routines): Add scandirat and scandirat64.
12610 * dirent/Versions [libc]: Export scandirat and scandirat64 for
12611 GLIBC_2.15.
12612 * dirent/dirent.h: Declare scandirat and scandirat64.
12613 * dirent/scandirat.c: New file.
12614 * dirent/scandirat64.c: New file.
12615 * sysdeps/wordsize-64/scandirat.c: New file.
12616 * sysdeps/wordsize-64/scandirat64.c: New file.
12617 * dirent/opendir.c: Define opendirat.
12618 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
12619 using scandirat.
12620 * dirent/scandir64.c: Adjust for scandir.c change.
12621 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
12622 __scandirat64, and __scandir_cancel_handler.
12623 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
12624 additional parameter and use openat instead of open (outside of ld.so).
12625 Add new __opendir as wrapper around __opendirat.
12626 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
12627 here without requiring old scandirat implementation.
12628
879165f2
UD
126292011-08-08 Ulrich Drepper <drepper@gmail.com>
12630
12631 * dirent/scandir.c (cancel_handler): Renamed to
12632 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
12633 defined. Adjust users.
12634 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
12635 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
12636
cb7e923b
UD
126372011-08-04 Ulrich Drepper <drepper@gmail.com>
12638
16292edd
UD
12639 * string/test-string.h (IMPL): Use __STRING to expand name and then
12640 stringify it.
12641
cb7e923b
UD
12642 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
12643 of cleanups.
12644
cff82933
LD
126452011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12646
12647 * string/Makefile: Update.
12648 (strop-tests): Append strncat.
12649 * string/test-wcscmp.c: New file.
12650 New comprehensive test for wcscmp.
12651 * string/test-strcmp.c: Update.
12652 (WIDE): New define.
12653
9be9bfcc
AS
126542011-07-22 Andreas Schwab <schwab@redhat.com>
12655
12656 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
12657 line.
12658
2e96f1c7
AS
126592011-07-26 Andreas Schwab <schwab@redhat.com>
12660
12661 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
12662 encoding to ACE if AI_IDN.
12663
85188888
JJ
126642011-08-01 Jakub Jelinek <jakub@redhat.com>
12665
12666 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
12667 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
12668
5fa16e9b
LD
126692011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
12670
12671 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
12672 Fix overflow bug in strncat.
12673 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
12674
12675 * string/test-strncat.c: Update.
12676 Add new tests for checking overflow bugs.
12677
126782011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
12679
12680 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
12681 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
12682 * sysdeps/i386/i686/multiarch/strcat.S: New file.
12683 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
12684 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
12685 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
12686 * sysdeps/i386/i686/multiarch/strncat.S: New file.
12687 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
12688 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
12689
12690 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
12691 (USE_AS_STRCAT): Define.
12692 Add strcat and strncat support.
12693 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
12694
8c1a459f
AS
126952011-07-25 Andreas Schwab <schwab@redhat.com>
12696
12697 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
12698 __n bigger than INT_MAX+1.
12699 (__strncmp_g): Likewise.
12700
bba33c28
UD
127012011-07-23 Ulrich Drepper <drepper@gmail.com>
12702
798be72d
UD
12703 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
12704 * libio/stido.h: Likewise.
12705
8accd4dc
UD
12706 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
12707 (AF_NFC): Define.
12708 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
12709 (AF_NFC): Define.
12710
cbff0d96
UD
12711 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
12712 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
12713 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
12714 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
12715 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
12716
9191c04a
UD
12717 [BZ #13021]
12718 * scripts/test-installation.pl: Don't expect libnss_test1 to be
12719 installed.
12720
bba33c28
UD
12721 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
12722 typo.
12723 (_dl_x86_64_save_sse): Likewise.
12724
90f139dd
UD
127252011-07-22 Ulrich Drepper <drepper@gmail.com>
12726
1aae088a
UD
12727 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
12728 OSXSAVE.
12729 (_dl_x86_64_save_sse): Likewise.
12730
8e2045f5
UD
12731 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
12732
90f139dd
UD
12733 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
12734
1d002f25
AS
127352011-07-21 Andreas Schwab <schwab@redhat.com>
12736
12737 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
12738 change.
12739 (_dl_x86_64_save_sse): Use correct AVX check.
12740
21137f89
UD
127412011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12742
12743 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
12744 bug in strncpy/strncat.
12745 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
12746
a65c0b7a
UD
127472011-07-21 Ulrich Drepper <drepper@gmail.com>
12748
12749 * string/tester.c (test_strcat): Add tests for different alignments
12750 of source and destination.
12751 (test_strncat): Likewise.
12752
6986b98a
UD
127532011-07-20 Ulrich Drepper <drepper@gmail.com>
12754
90bb2039
UD
12755 [BZ #12852]
12756 * posix/glob.c (glob): Check passed in values before using them in
12757 expressions to avoid some overflows.
12758 (glob_in_dir): Likewise.
12759
5644ef54
UD
12760 [BZ #13007]
12761 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
12762 check for AVX enablement so that we don't crash with old kernels and
12763 new hardware.
12764 * elf/tst-audit4.c: Add same checks here.
12765 * elf/tst-audit6.c: Likewise.
12766
12767 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 12768
bfc9dc9b
AS
127692011-07-09 Andreas Schwab <schwab@linux-m68k.org>
12770
12771 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
12772
702e64bb
UD
127732011-07-20 Ulrich Drepper <drepper@gmail.com>
12774
12775 * po/cs.po: Update from translation team.
12776 * po/bg.po: Likewise.
12777
295e904f
MP
127782011-07-12 Marek Polacek <mpolacek@redhat.com>
12779
12780 * misc/sys/cdefs.h: Add support for const attribute.
12781 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
12782 to gnu_dev_{major,minor,makedev} functions.
12783
3ff94596
MP
127842011-07-20 Marek Polacek <mpolacek@redhat.com>
12785
12786 * intl/dcigettext.c (get_output_charset): Add missing bracket.
12787
28b59fca
AS
127882011-07-20 Andreas Schwab <schwab@redhat.com>
12789
12790 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
12791 strlen results.
12792
19df733e
AK
127932011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12794
12795 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
12796 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
12797 register in order to avoid conflicts with the soft frame pointer
12798 being held in r11 when necessary.
12799 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
12800 (INTERNAL_VSYSCALL_NCS): Likewise.
12801
c8835729
MP
128022011-07-14 Marek Polacek <mpolacek@redhat.com>
12803
12804 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
12805 * elf/dl-fini.c (_dl_fini): Adjust caller.
12806 * elf/dl-close.c (_dl_close_worker): Likewise.
12807 * sysdeps/generic/ldsodefs.h: Adjust declaration.
12808
b902330c
MP
128092011-07-15 Marek Polacek <mpolacek@redhat.com>
12810
8991e135
MP
12811 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
12812 "aux_cache->nlibs < 0".
12813
b902330c
MP
12814 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
12815 in the reload-count case.
12816
99710781
LD
128172011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
12818
12819 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
12820 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
12821 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
12822 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
12823 * sysdeps/x86_64/multiarch/strcat.S: New file.
12824 * sysdeps/x86_64/multiarch/strncat.S: New file.
12825 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
12826 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
12827 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
12828 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
12829 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
12830 (USE_AS_STRCAT): Define.
12831 Add strcat and strncat support.
12832 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
12833 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
12834 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
12835 * string/strncat.c: Update.
12836 (USE_AS_STRNCAT): Define.
12837 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
12838 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
12839 and i7.
12840 * sysdeps/x86_64/multiarch/init-arch.h
12841 (bit_Prefer_PMINUB_for_stringop): New.
12842 (index_Prefer_PMINUB_for_stringop): Likewise.
12843 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
12844 bit_Prefer_PMINUB_for_stringop.
12845
7dc6bd90
UD
128462011-07-19 Ulrich Drepper <drepper@gmail.com>
12847
12848 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
12849 buffer64.
12850 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
12851 of casting of buffer.
12852 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
12853 buffer32 and buffer64.
12854 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
12855 writes instead of casting of buffer.
12856 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
12857 buffer32.
12858 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
12859 casting of buffer.
12860
e0e72284
AS
128612011-07-19 Andreas Schwab <schwab@redhat.com>
12862
12863 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
12864
feb1eb0b
UD
128652011-07-19 Ulrich Drepper <drepper@gmail.com>
12866
12867 * nscd/nscd.c (termination_handler): Don't do anything for a database
12868 if it has not yet been initialized.
12869
298711ff
UD
128702011-07-18 Ulrich Drepper <drepper@gmail.com>
12871
12872 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
12873
128742011-07-15 Marek Polacek <mpolacek@redhat.com>
12875
12876 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
12877
f9d68389
UD
128782011-07-18 Ulrich Drepper <drepper@gmail.com>
12879
12880 * po/nl.po: Update from translation team.
12881 * po/sv.po: Likewise.
12882
db290cf5
RM
128832011-07-16 Roland McGrath <roland@hack.frob.com>
12884
12885 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
12886 now disallowed by GCC.
5c550700 12887
fd5e21c7
RM
12888 * configure.in (use-default-link): Default to yes if a test -shared
12889 link meets our qualifications.
12890 * configure: Regenerated.
12891
5c550700
RM
12892 * config.make.in (output-format): New variable.
12893 * configure.in: Check for ld --print-output-format support.
12894 * configure: Regenerated.
12895 * Makerules ($(common-objpfx)format.lds)
12896 [$(output-format) != unknown]: Just use $(output-format),
12897 instead of the linker-script munging.
12898
9fa2c032
RM
128992011-07-14 Roland McGrath <roland@hack.frob.com>
12900
a6928d51
RM
12901 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
12902 of $(common-objpfx)shlib.lds.
12903 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
12904
661607b3
RM
12905 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
12906 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
12907
9fa2c032
RM
12908 * configure.in (-z relro check): Adjust test code to add a large
12909 writable data section after it.
12910 * configure: Regenerated.
12911
defe9061
RM
129122011-07-11 Roland McGrath <roland@hack.frob.com>
12913
12914 * configure.in (-z relro check): Fix test code to make the variable
12915 truly const.
12916 * configure: Regenerated.
12917
319b9ad4
UD
129182011-07-11 Ulrich Drepper <drepper@gmail.com>
12919
12920 * nscd/nscd.h (struct traced_file): Define.
12921 (struct database_dyn): Remove inotify_descr, reset_res, and filename
12922 elements. Add traced_files.
12923 (inotify_fd): Declare.
12924 (register_traced_file): Declare.
12925 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
12926 (inotify_fd): Export.
12927 (resolv_conf_descr): Remove.
12928 (nscd_init): Move inotify descriptor creation to main.
12929 Don't register files for notification here.
12930 (register_traced_file): New function.
12931 (invalidate_cache): Don't use reset_res to determine whether to call
12932 res_init, go through the list of registered files.
12933 (main_loop_poll): The inotify descriptors are now stored in the
12934 structures for the traced files.
12935 (main_loop_epoll): Likewise
12936 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
12937 to __nss_disable_nscd.
12938 * nscd/cache.c (prune_cache): There is no single inotify descriptor
12939 for a database anymore. Check the records for all the registered
12940 files instead.
12941 * nss/Makefile (libnss_files-routines): Add files-init.
12942 (libnss_db-routines): Add db-init.
12943 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
12944 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
12945 * nss/nss_db/db-init.c: New file.
12946 * nss/nss_files/files-init.c: New file.
12947 * nss/nsswitch.c (nss_load_library): New function. Broken out of
12948 __nss_lookup_function.
12949 (__nss_lookup_function): Call nss_load_library.
12950 (nss_load_all_libraries): New function.
12951 (__nss_disable_nscd): Take parameter with callback function for files
12952 to register. Set is_nscd. Load all the DSOs for the NSS modules
12953 used for the cached services.
12954 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
12955 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
12956 options for features to all the files in nscd.
12957
12958 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
12959
23bee3e8
RM
129602011-07-10 Roland McGrath <roland@hack.frob.com>
12961
12962 * csu/elf-init.c (__libc_csu_init): Comment typo.
12963
46a5b7f0
UD
129642011-07-09 Ulrich Drepper <drepper@gmail.com>
12965
12966 * po/pl.po: Update from translation team.
12967 * po/ja.po: Likewise.
12968 * po/ru.po: Likewise.
12969 * po/ko.po: Likewise.
12970 * po/fr.po: Likewise.
12971
d30cf5bb
RM
129722011-07-09 Roland McGrath <roland@hack.frob.com>
12973
113ddea4
RM
12974 * configure.in (.ctors/.dtors header and trailer check):
12975 Use an empirical test on a built program.
12976 * configure: Regenerated.
12977
574920b4
RM
12978 * configure.in (-z relro check): Use an empirical test on a built DSO.
12979 Detect, but do not require, on ia64.
12980 * configure: Regenerated.
12981
d30cf5bb
RM
12982 * configure.in (READELF): Find it with AC_CHECK_TOOL.
12983 Update tests that use readelf to use $READELF instead.
12984 * configure: Regenerated.
12985
8538fdb3
UD
129862011-07-08 Ulrich Drepper <drepper@gmail.com>
12987
12988 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
12989 if the result is not used.
12990
04d08991
AJ
129912011-07-05 Andreas Jaeger <aj@suse.de>
12992
12993 [BZ#9696]
12994 * stdlib/tst-strtod.c: Add testcase.
12995
de283087
AD
129962011-07-07 Ulrich Drepper <drepper@gmail.com>
12997
4e5f31c8 12998 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 12999 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
13000 The latter has a higher limit. Take additional parameter to pass to
13001 the new function.
13002 (__pathconf): Pass file to __statfs_link_max.
13003 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
13004 __statfs_link_max.
13005 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
13006 __statfs_link_max.
13007
de283087
AD
13008 [BZ #12868]
13009 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
13010 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
13011 Handle Lustre.
13012 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
13013 (__statfs_filesize_max): Likewise.
13014 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
13015
c75fa153
AJ
130162011-07-05 Andreas Jaeger <aj@suse.de>
13017
13018 * resolv/res_comp.c (dn_skipname): Remove unused variable.
13019
1a544854
UD
130202011-07-06 Marek Polacek <mpolacek@redhat.com>
13021
13022 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
13023 `status' variable.
13024 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
13025 Likewise.
13026
6f0eec67
UD
130272011-07-04 H.J. Lu <hongjiu.lu@intel.com>
13028
13029 * Makefile (strop-tests): Add strncat.
13030 * string/test-strncat.c: New file.
13031
aae30307
UD
130322011-06-30 Marek Polacek <mpolacek@redhat.com>
13033
13034 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
13035
c0cfb5eb
UD
130362011-06-21 Andreas Jaeger <aj@suse.de>
13037
13038 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
13039 Copy rule from iconvdata/Makefile.
13040
01636b21
UD
130412011-07-06 Ulrich Drepper <drepper@gmail.com>
13042
13043 [BZ #12922]
13044 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
13045 but no long options are defined, just return 'W'.
13046
9895c8bc
UD
130472011-06-22 Marek Polacek <mpolacek@redhat.com>
13048
13049 [BZ #9696]
13050 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
13051
5d4cf042
UD
130522011-07-06 Ulrich Drepper <drepper@gmail.com>
13053
13054 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
13055 netgroups to read.
960e5535 13056 (innetgr): Likewise.
5d4cf042 13057
751eb97e
RM
130582011-07-05 Roland McGrath <roland@hack.frob.com>
13059
13060 * config.make.in (install_root): Default to $(DESTDIR).
13061
f15f1e45
UD
130622011-07-05 Ulrich Drepper <drepper@gmail.com>
13063
13064 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
13065
4e34ac6a
RM
130662011-07-02 Roland McGrath <roland@hack.frob.com>
13067
5e9b6af4
RM
13068 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
13069
84f9ea0f
RM
13070 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
13071 containing directory rather than embedding absolute directory names.
13072
ea5ee9f7
RM
13073 * scripts/check-local-headers.sh: Rewritten using awk.
13074 Match by word, not by line. Print error messages for matches.
13075 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
13076
1b74661a
RM
13077 * Makerules [shlib-lds-flags empty]:
13078 ($(common-objpfx)libc_pic.opts): New target.
13079 ($(common-objpfx)libc_pic.os.clean): New target.
13080 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
13081
13082 * config.make.in (OBJCOPY): New variable.
13083 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
13084 * configure: Regenerated.
13085
f781ef40
RM
13086 * config.make.in (use-default-link): New variable.
13087 * configure.in (use_default_link): Grok --with-default-link to set it.
13088 * configure: Regenerated.
13089 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
13090 (shlib-lds, shlib-lds-flags): Define to empty.
13091
2d4fa81e
RM
13092 * Makerules (shlib-lds): New variable.
13093 (shlib-lds-flags): New variable.
13094 (build-shlib, build-moduile, build-module-asneeded): Use it.
13095 ($(common-objpfx)libc.so): Use $(shlib-lds).
13096 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
13097 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
13098
31fffa6b
RM
13099 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
13100 DT_FLAGS/DT_FLAGS_1 with zero flags.
13101
4e34ac6a
RM
13102 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
13103 linker script munging.
13104
fcfc776b
UD
131052011-07-02 Ulrich Drepper <drepper@gmail.com>
13106
13107 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
13108 as 128-bit value.
13109 * crypt/sha512.c (sha512_process_block): Perform total addition using
13110 128-bit if possible.
13111 (__sha512_finish_ctx): Likewise.
13112 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
13113 as 64-bit value.
13114 * crypt/sha256.c (SWAP64): Define.
13115 (sha256_process_block): Perform total addition using 64-bit if
13116 possible.
13117 (__sha256_finish_ctx): Likewise.
13118
99231d9a
UD
131192011-07-01 Ulrich Drepper <drepper@gmail.com>
13120
13121 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
13122 * nscd/initgrcache.c (addinitgroupsX): Likewise.
13123 * nscd/hstcache.c (cache_addhst): Likewise.
13124 * nscd/grpcache.c (cache_addgr): Likewise.
13125 * nscd/aicache.c (addhstaiX): Likewise
13126 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
13127
445b4a53
TK
131282011-07-01 Thorsten Kukuk <kukuk@suse.de>
13129
13130 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
13131 * nscd/initgrcache.c (addinitgroupsX): Likewise.
13132 * nscd/hstcache.c (cache_addhst): Likewise.
13133 * nscd/grpcache.c (cache_addgr): Likewise.
13134 * nscd/aicache.c (addhstaiX): Likewise
13135
6d4d8e8e
AS
131362011-07-01 Andreas Schwab <schwab@redhat.com>
13137
13138 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
13139 domain only when needed.
13140
89f654c5
AS
131412011-06-30 Andreas Schwab <schwab@redhat.com>
13142
13143 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
13144 is always restored.
13145
cf3b23ff
UD
131462011-06-29 Ulrich Drepper <drepper@gmail.com>
13147
13148 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
13149 are re-adding the entry.
13150 * nscd/servicescache.c (cache_addserv): Likewise.
13151
751626f9
AJ
131522011-06-30 Aurelien Jarno <aurelien@aurel32.net>
13153
13154 * sysdeps/generic/dl-irel.h: fix protection against multiple
13155 inclusions.
13156 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
13157
9113ea1f
UD
131582011-06-28 Ulrich Drepper <drepper@gmail.com>
13159
5c0b8d90
UD
13160 [BZ #12935]
13161 * malloc/memusage.sh: Fix quoting in message.
13162 * debug/xtrace.sh: Likewise.
13163
9113ea1f
UD
13164 * configure.in: Remove support for --experimental-malloc option, make
13165 it the default.
13166 * config.make.in: Likewise.
13167 * malloc/Makefile: Likewise.
13168
a4172181
AS
131692011-06-27 Andreas Schwab <schwab@redhat.com>
13170
13171 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
13172 two-byte characters.
13173
78a7eee7
RM
131742011-06-27 Roland McGrath <roland@hack.frob.com>
13175
62bede13
RM
13176 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
13177 AC_CACHE_CHECK invocation.
13178 * configure: Regenerated.
13179
78a7eee7
RM
13180 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
13181
5ce33a62
UD
131822011-06-27 Ulrich Drepper <drepper@gmail.com>
13183
034807a9
UD
13184 [BZ #12350]
13185 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
13186 bit from old_res_options.
13187
4902da17
UD
13188 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
13189
5ce33a62
UD
13190 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
13191 value type for setfct.
13192
c2344f56
L
131932011-06-23 H.J. Lu <hongjiu.lu@intel.com>
13194
13195 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
13196 __gettimeofday instead of gettimeofday.
13197
68468076
UD
131982011-06-26 Ulrich Drepper <drepper@gmail.com>
13199
13200 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
13201
acb0d739
L
132022011-06-24 H.J. Lu <hongjiu.lu@intel.com>
13203
13204 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
13205
13206 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
13207 info.
13208
8912479f
L
132092011-06-22 H.J. Lu <hongjiu.lu@intel.com>
13210
13211 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
13212 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
13213 strcpy-sse2-unaligned strncpy-sse2-unaligned
13214 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
13215 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
13216 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
13217 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
13218 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
13219 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
13220 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
13221 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
13222 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
13223 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
13224 (STRCPY): Support SSE2 and SSSE3 versions.
13225
d5495a11
UD
132262011-06-24 Ulrich Drepper <drepper@gmail.com>
13227
13228 [BZ #12874]
13229 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
13230 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
13231 kernels which artificially limit size of requests.
13232
0b1cbaae
L
132332011-06-22 H.J. Lu <hongjiu.lu@intel.com>
13234
13235 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
13236 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
13237 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
13238 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
13239 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
13240 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
13241 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
13242 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
13243 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
13244 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
13245 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
13246 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
13247 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
13248 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
13249 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
13250 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
13251 Enable unaligned load optimization for Intel Core i3, i5 and i7
13252 processors.
13253 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
13254 Define.
13255 (index_Fast_Unaligned_Load): Define.
13256 (HAS_FAST_UNALIGNED_LOAD): Define.
13257
07f494a0
MP
132582011-06-23 Marek Polacek <mpolacek@redhat.com>
13259
13260 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
13261
fa3fc0fe
UD
132622011-06-22 Ulrich Drepper <drepper@gmail.com>
13263
13264 [BZ #12907]
13265 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
13266 until it is clear that the information is realy needed.
13267 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
13268
e12df166
AS
132692011-06-22 Andreas Schwab <schwab@redhat.com>
13270
13271 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
13272
852eb34d
UD
132732011-06-22 Ulrich Drepper <drepper@gmail.com>
13274
84e2a551
UD
13275 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
13276 /sys/devices/system/cpu/online if it is usable.
13277
852eb34d
UD
13278 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
13279 reading the information from the /proc filesystem to once a second.
13280
6e502e19
UD
132812011-06-21 Andreas Jaeger <aj@suse.de>
13282
13283 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
13284 NULL after inclusion of kernel headers.
13285
75d39ff2
UD
132862011-06-21 Ulrich Drepper <drepper@gmail.com>
13287
51f9aa6a
UD
13288 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
13289 calls to internal_setent.
13290
c0244a9d
UD
13291 [BZ #12885]
13292 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
13293 addresses using gethostbyname4_r ignore IPv4 addresses.
13294
c5e3c2ae
UD
13295 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
13296 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
13297
75d39ff2
UD
13298 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
13299
42675c6f
DM
133002011-06-20 David S. Miller <davem@davemloft.net>
13301
13302 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
13303 inclusions.
13304 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
13305
13306 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
13307 (elf_irel): Use it.
13308 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
13309 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
13310 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
13311 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
13312 * sysdeps/x86_64/dl-irel.h: Likewise.
13313
13314 * elf/dl-runtime.c: Use elf_ifunc_invoke.
13315 * elf/dl-sym.c: Likewise.
13316
57912a71
UD
133172011-06-15 Ulrich Drepper <drepper@gmail.com>
13318
13319 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
13320 need to dereference resplen2.
13321
ee22793d
AS
133222011-06-14 Andreas Schwab <schwab@redhat.com>
13323
13324 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
13325
a9e836b0
UD
133262011-06-15 Ulrich Drepper <drepper@gmail.com>
13327
77fb9117
UD
13328 * Makeconfig: Define vardbdir and inst_vardbdir.
13329 * nss/Makefile: Add rules to install db-Makefile.
13330
40c1b22c
UD
13331 * nss/nss_db/db-XXX.c: Cleanup.
13332
9f2da732
UD
13333 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
13334 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
13335 GLIBC_PRIVATE.
13336 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
13337 * nss/makedb.c: Implement -g option to specify that value strings
13338 are generated and should not be added to table iterated over for
13339 get*ent calls.
13340 * nss/nss_db/db-initgroups.c: New file.
13341
82e9a1f7
UD
13342 * nss/getent.c: Add support for initgroups lookups through getgrouplist
13343 interface.
13344
c41af17e
UD
13345 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
13346 (internal_getgrouplist): Adjust to name change.
13347 Update use_initgroups_entry if this is not the first call.
13348 * nss/databases.def: Add initgroups entry.
13349
a9e836b0
UD
13350 * nss/makedb.c (compute_tables): Check result of multiple hash table
13351 sizes to minimize maximum chain length.
13352
2666d441
UD
133532011-06-14 Ulrich Drepper <drepper@gmail.com>
13354
13355 * Versions.def: Add entry for libnss_db.
13356 * shlib-versions: Likewise.
13357 * nss/Makefile: Add rules to build libnss_db.
13358 * nss/Versions: Add libnss_db information. Organize libnss_files
13359 entries better.
13360 * nss/db-Makefile: Add gshadow support. Change rules for the new
13361 makedb progra. Some minor improvements to generate smaller files.
13362 * nss/nss_db/nss_db.h: Move NSS database header data structures to
13363 here from...
13364 * nss/makedb.c: ...here.
13365 Improve database format to be smaller and require less memory at
13366 runtime.
13367 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
13368 db anymore.
13369 * nss/nss_db/db-netgrp.c: Likewise.
13370 * nss/nss_db/db-open.c: Likewise.
13371 * nss/nss_files/flies-XXX.x: Adjust comments.
13372 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
13373 * nss/nss_files/files-grp.c: Likewise.
13374 * nss/nss_files/files-hosts.c: Likewise.
13375 * nss/nss_files/files-network.c: Likewise.
13376 * nss/nss_files/files-proto.c: Likewise.
13377 * nss/nss_files/files-pwd.c: Likewise.
13378 * nss/nss_files/files-rpc.c: Likewise.
13379 * nss/nss_files/files-service.c: Likewise.
13380 * nss/nss_files/files-sgrp.c: Likewise.
13381 * nss/nss_files/files-spwd.c: Likewise.
13382 * nss/nss_db/db-alias.c: Removed.
13383 * nss/nss_db/dummy-db.h: Removed.
13384
9ee76b5a
UD
133852011-06-02 Ulrich Drepper <drepper@gmail.com>
13386
13387 * nss/makedb.c: Rewritten to not use database library.
13388 * nss/Makefile: Update to build new makedb program.
13389
c71ca1f8
AJ
133902011-06-14 Andreas Jaeger <aj@suse.de>
13391
13392 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
13393 memset declaration.
13394
3154bfb8
UD
133952011-06-10 Andreas Schwab <schwab@redhat.com>
13396
13397 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
13398 tmpbuf.
13399
b350afab
RM
134002011-06-10 Roland McGrath <roland@hack.frob.com>
13401
decd4e50
RM
13402 * Makerules (shlib.lds): Fail if the linker script comes out empty.
13403 * elf/Makefile ($(objpfx)ld.so): Likewise.
13404
5615eaf2
RM
13405 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
13406 Don't list ld.so twice in dependencies.
13407
13408 * posix/bug-regex31.c: Include <stdlib.h>.
13409
13410 * nscd/hstcache.c (cache_addhst): Remove unused variable.
13411
13412 * nis/nss_compat/compat-spwd.c
13413 (getspent_next_nss_netgr): Remove unused variable.
13414 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
13415
13416 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
13417 nonmembers" output to use the right array.
13418
13419 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
13420
13421 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
13422
13423 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
13424 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
13425 * catgets/gencat.c (read_input_file): Likewise.
13426 * locale/programs/locarchive.c (enlarge_archive): Likewise.
13427
13428 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
13429 variable definition inside #if's controlling its use.
13430
13431 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
13432
13433 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
13434
13435 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
13436
13437 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
13438 unreachable code.
13439
13440 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
13441
b68e08db
RM
13442 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
13443 * configure: Regenerated.
13444
b350afab
RM
13445 * Makerules: Revert last change.
13446 * elf/Makefile: Likewise.
13447
28368601
RM
134482011-06-09 Roland McGrath <roland@hack.frob.com>
13449
13450 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
13451 * elf/Makefile ($(objpfx)librtld.os): Likewise.
13452 (reloc-link): Likewise.
13453
11988f8f
UD
134542011-06-09 Ulrich Drepper <drepper@gmail.com>
13455
13456 * elf/Makefile: Add rules to build pldd.
13457 * elf/pldd.c: New file.
13458 * elf/pldd-xx.c: New file.
13459
e80fab37
UD
134602011-06-07 Ulrich Drepper <drepper@gmail.com>
13461
13462 * version.h: Update for 2.15 development version.
13463
9b849836
DM
134642011-06-07 David S. Miller <davem@davemloft.net>
13465
13466 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
13467 ifuncs.
13468 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
13469 elf_machine_lazy_rel): Likewise.
13470 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
13471 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
13472 elf_machine_lazy_rel): Likewise.
13473 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
13474 dl_hwcap via passed in argument.
13475 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
13476 Likewise.
13477
5a31b283
AK
134782011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13479
13480 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
13481
069e52f8
RM
134822011-06-06 Roland McGrath <roland@hack.frob.com>
13483
13484 [BZ #12849]
13485 * manual/fdl-1.1.texi: New file, verbatim from:
13486 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
13487 * manual/lgpl-2.1.texi: New file, verbatim from:
13488 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
13489 * manual/Makefile (licenses): New variable, list those new file names.
13490 (texis): Use it.
13491 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
13492
13493 * manual/fdl.texi: File removed.
13494 * manual/lesser.texi: File removed.
13495 * manual/libc.texinfo (Copying, Documentation License):
13496 Use new @include file names, put @appendix directive before @include.
13497
f16846a5
JJ
134982011-06-04 Jakub Jelinek <jakub@redhat.com>
13499
13500 [BZ #12841]
13501 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
13502 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
13503 (mq_open): Add __NTH.
13504
3d29045b
L
135052011-06-02 H.J. Lu <hongjiu.lu@intel.com>
13506
13507 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
13508 Assume Intel Core i3/i5/i7 processor if AVX is available.
13509
8c297311
UD
135102011-05-31 Ulrich Drepper <drepper@gmail.com>
13511
13512 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
13513 typo.
13514
c8fc0c91
UD
135152011-05-31 Andreas Schwab <schwab@redhat.com>
13516
13517 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
13518 memory. Use alloca_account. Fix memory leak when retrying.
13519
5b27a807
UD
135202011-05-31 Ulrich Drepper <drepper@gmail.com>
13521
356f8bc6
UD
13522 * version.h (RELEASE): Bump for 2.14 release.
13523 * include/features.h (__GLIBC_MINOR__): Bump to 14.
13524
5b27a807
UD
13525 * config.make.in (RANLIB): Remove entry.
13526
01f16ab0
UD
135272011-05-30 Ulrich Drepper <drepper@gmail.com>
13528
41fce8bd
UD
13529 * po/Makefile (po-sed-cmd): Add ksh to extensions.
13530 (libc.pot): Work around missing support for .ksh extension in xgettext.
13531
4769ae77
UD
13532 [BZ #12684]
13533 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
13534 if both request failed.
13535 (send_dg): In case of server errors clear resplen or *resplen2.
13536
6b1e7d19
UD
13537 [BZ #12454]
13538 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
13539 when there are multiple maps.
13540 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
13541 (_dl_fini): Remove test here.
13542
01f16ab0
UD
13543 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
13544
b1ebd700
UD
135452011-05-29 Ulrich Drepper <drepper@gmail.com>
13546
7ae22829
UD
13547 [BZ #12350]
13548 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
13549 bit from old_res_options.
13550 (gaih_inet): Likewise.
13551
553149f6 13552 [BZ #11099]
18a84741 13553 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
13554 as signed.
13555
652ffab1
UD
13556 * resolv/res_init.c (res_setoptions): Make the code more compact.
13557
16985fd0
UD
13558 [BZ #11558]
13559 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
13560 set RES_USEVC.
13561
0464f746
UD
13562 [BZ #11634]
13563 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
13564
7d17596c
UD
13565 * malloc/malloc.h: Mark malloc hook variables as deprecated.
13566
cf6bbbd7
UD
13567 [BZ #11781]
13568 * malloc/malloc.h: Declare malloc hook variables as volatile.
13569
13f1ab36
UD
13570 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
13571 in last patch.
13572
b1ebd700
UD
13573 [BZ #11799]
13574 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 13575 raise in the comment.
80e2212d
UD
13576 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
13577 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
13578 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 13579
ce67228d
UD
135802011-05-28 Ulrich Drepper <drepper@gmail.com>
13581
8887a920
UD
13582 [BZ #12811]
13583 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
13584 grow the buffers more if it already has to be sufficient.
13585 (build_wcs_upper_buffer): Likewise.
13586 * posix/regexec.c (check_matching): Likewise.
13587 (clean_state_log_if_needed): Likewise.
13588 (extend_buffers): Don't enlarge buffers beyond size of the input
13589 buffer.
13590 Patches mostly by Emil Wojak <emil@wojak.eu>.
13591 * posix/bug-regex32.c: New file.
13592 * posix/Makefile (tests): Add bug-regex32.
13593
4f031072
UD
13594 * locale/findlocale.c (_nl_find_locale): Return right away if
13595 _nl_explode_name failed.
13596 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
13597
d0478f0c
UD
13598 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
13599
de81b246
UD
13600 * debug/xtrace.sh: Unify messages.
13601 * malloc/memusage.sh: Likewise.
13602
c738465a
UD
13603 [BZ #12813]
13604 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
13605 time symbol from vDSO. Substitute with vsyscall if not available.
13606 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
13607 __vdso_time.
13608
f1f929d7
UD
13609 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
13610 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
13611 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
13612 Add sendmmsg and internal_sendmmsg.
13613 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
13614 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
13615 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
13616
ce67228d
UD
13617 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
13618 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
13619 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
13620
e57420c6
UD
136212011-05-27 Ulrich Drepper <drepper@gmail.com>
13622
a8509ca5
UD
13623 [BZ #12813]
13624 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
13625 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
13626 available.
13627 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
13628 __vdso_getcpu.
13629
e57420c6
UD
13630 [BZ #12814]
13631 * iconvdata/Makefile (tests): Add bug-iconv9.
13632 * iconvdata/bug-iconv9.c: New file.
13633
4d07db15
AS
136342011-05-27 Andreas Schwab <schwab@redhat.com>
13635
13636 [BZ #12814]
13637 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
13638
ea486f69
JJ
136392011-05-25 Jakub Jelinek <jakub@redhat.com>
13640
13641 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
13642 (struct user_regs_struct): Change intcs field back to cs.
13643
6f038433
UD
136442011-05-25 Ulrich Drepper <drepper@gmail.com>
13645
13646 * po/ja.po: Update from translation team.
13647
67f86a25
UD
136482011-05-23 Ulrich Drepper <drepper@gmail.com>
13649
13650 [BZ #12795]
13651 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
13652 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
13653
def7fbd6
AS
136542011-05-20 Andreas Schwab <schwab@redhat.com>
13655
13656 * stdlib/longlong.h: Update from GCC.
13657
f50ef8f1
AS
136582011-05-23 Andreas Schwab <schwab@redhat.com>
13659
13660 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
13661 parameter name.
13662 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
13663 Add parameter name.
13664 (__sysconf): Pass it down.
13665
de7ce8f1
UD
136662011-05-22 Ulrich Drepper <drepper@gmail.com>
13667
f2962a71
UD
13668 [BZ #12671]
13669 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
13670 some situations.
13671 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
13672 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
13673 add in in __libc_use_alloca calls. Adjust callers.
13674 (glob): Use malloc in some situations.
13675
de7ce8f1
UD
13676 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
13677 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
13678 pltexit.
13679
aec84f53
UD
136802011-05-21 Ulrich Drepper <drepper@gmail.com>
13681
05bb4a68
UD
13682 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
13683 and CLOCK_BOOTTIME_ALARM.
13684
7ea72f99
UD
13685 [BZ #12782]
13686 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
13687 is returned.
13688
7e4afad5
UD
13689 * string/_strerror.c (__strerror_r): Print negative errors as signed
13690 numbers.
13691
8e211fec
UD
13692 [BZ #12777]
13693 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
13694 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
13695 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
13696
f7d82dc9
UD
13697 * configure.in: Fix typo in redirection and correct removal of test
13698 files in two cases.
13699
cc9e536d
UD
13700 [BZ #12788]
13701 * locale/setlocale.c (new_composite_name): Fix test to check for
13702 identical name of all categories.
13703
aec84f53
UD
13704 [BZ #12792]
13705 * libio/filedoalloc.c (local_isatty): New function.
13706 (_IO_file_doallocate): Use local_isatty.
13707 * stdio-common/perror.c (perror): In case a new stream is used
13708 forward the stream error.
13709 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
13710 error flag.
13711
78e64fdc
RT
137122011-05-20 Ulrich Drepper <drepper@gmail.com>
13713
34a9094f
UD
13714 [BZ #11869]
13715 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
13716 alloca.
13717 * include/alloca.h (extend_alloca_account): Define.
13718
78e64fdc
RT
13719 [BZ #11857]
13720 * posix/regex.h: Fix comments with documentation of user-accessible
13721 fields after compilation and describe correct free'ing of pattern
13722 after re_compile_pattern.
13723 Patch by Reuben Thomas <rrt@sc3d.org>.
13724
457bddfc
RA
137252011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
13726
13727 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
13728 and -mno-altivec to prevent the compiler from using Altivec and/or
13729 VSX instructions when the corresponding registers are not available.
13730
a4527b51
AS
137312011-05-19 Andreas Schwab <schwab@redhat.com>
13732
13733 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
13734
ed690b2f
UD
137352011-05-19 Ulrich Drepper <drepper@gmail.com>
13736
13737 * libio/freopen.c (freopen): Use __dup2, not dup2.
13738 * libio/freopen64.c (freopen64): Likewise.
13739
8db73634
L
137402011-05-17 H.J. Lu <hongjiu.lu@intel.com>
13741
13742 [BZ #12775]
13743 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
13744 * math/Makefile (tests): Add test-powl.
13745 (CFLAGS-test-powl.c): Define.
13746 * math/test-powl.c: New file.
13747
0a197a9d
L
137482011-05-16 H.J. Lu <hongjiu.lu@intel.com>
13749
13750 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
13751
ee30c380
UD
137522011-05-17 Ulrich Drepper <drepper@gmail.com>
13753
13754 [BZ #11837]
13755 * iconvdata/gb18030.c: Update to GB18020-2005.
13756
6ce75379
UD
137572011-05-16 Ulrich Drepper <drepper@gmail.com>
13758
a4b89fd8
AR
13759 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
13760 RE_SYNTAX_POSIX_AWK): Update to match recent development.
13761 Patch by Aharon Robbins <arnold@skeeve.com>.
13762
ea389b12
UD
13763 [BZ #11892]
13764 * stdlib/putenv.c (putenv): Don't always create copy of the variable
13765 on the stack.
13766
68a3f91f
UD
13767 [BZ #11895]
13768 * misc/pselect.c (__pselect): Handle timeout value errors hidden
13769 through underflows.
13770
15cc7dd1
UD
13771 [BZ #12766]
13772 * misc/error.c (error_at_line): Ensure file_name and old_file_name
13773 point to strings before performing equality test for error_one_per_line
13774 mode.
13775
f3799213
UD
13776 [BZ #11697]
13777 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
13778
d79a9c94
UD
13779 [BZ #11820]
13780 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
13781 (struct user_fpregs_struct): Avoid __uint*_t types.
13782
56e5eb46
UD
13783 [BZ #6420]
13784 * malloc/mtrace.c (tr_where): Add additional parameter to point to
13785 symbol info. Use it instead of calling _dl_addr locally.
13786 (lock_and_info): New function.
13787 (tr_freehook): Call lock_and_info and pass symbol info as additional
13788 parameter to tr_where.
13789 (tr_mallochook): Likewise.
13790 (tr_reallochook): Likewise.
13791 (tr_memalignhook): Likewise.
13792
6ce75379
UD
13793 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
13794 used and couldn't be at all thread-safe.
13795
f8a3b5bf
UD
137962011-05-15 Ulrich Drepper <drepper@gmail.com>
13797
94b7cc37
UD
13798 * libio/freopen.c (freopen): Don't close old file descriptor
13799 before the new one is opened. Instead dup the new file descriptor
13800 to the old one after the new stream is created.
13801 * libio/freopen64.c (freopen64): Likewise.
13802 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
13803 * libio/fileops.c (_IO_new_file_close_it): Handle new
13804 _IO_FLAGS2_NOCLOSE flag.
13805 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
13806 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
13807 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
13808 _IO_FLAGS2_NOCLOSE flag.
13809 * include/unistd.h: Add hidden_proto for dup3.
13810 Define __have_dup3.
13811 * io/dup3.c: Define hidden symbol.
13812 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
13813
bd25564e
UD
13814 [BZ #7101]
13815 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
13816 when an incomplete long option is used.
13817 * posix/tst-getopt_long1.c: New file.
13818 * posix/Makefile (tests): Add tst-getopt_long1.
13819
c84cfef4
UD
13820 [BZ #10138]
13821 * scripts/config.guess: Update from autoconf-2.68.
13822 * scripts/config.sub: Likewise.
13823
3b85df27
UD
13824 [BZ #10157]
13825 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
13826 tests into ...
13827 (has_cpuclock): ...this. New function.
13828 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
13829 macro here based on has_cpuclock code.
13830
15a856b1
UD
13831 [BZ #10149]
13832 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
13833 First byte (not low byte) is now always NUL.
13834 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
13835
05f399e6
UD
13836 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
13837 Use non-cancelable interfaces.
13838
10a52685 13839 [BZ #9809]
94ecc67d
UD
13840 * locale/iso-639.def: Add entry for Sorani.
13841
f8a3b5bf
UD
13842 [BZ #11901]
13843 * include/stdlib.h: Move include protection to the right place.
13844 Define abort_msg_s. Declare __abort_msg with it.
13845 * stdlib/abort.c (__abort_msg): Adjust type.
13846 * assert/assert.c (__assert_fail_base): New function. Majority
13847 of code from __assert_fail. Allocate memory for __abort_msg with
13848 mmap.
13849 (__assert_fail): Now call __assert_fail_base.
13850 * assert/assert-perr.c: Remove bulk of implementation. Use
13851 __assert_fail_base.
13852 * include/assert.hL Declare __assert_fail_base.
13853 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
13854 mmap.
13855 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
13856
1af4e298
UD
138572011-05-14 Ulrich Drepper <drepper@gmail.com>
13858
f8a3b5bf 13859 [BZ #11952]
d26dfc60
MG
13860 [BZ #12453]
13861 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
13862 until all modules are registered in the DTV.
13863 * elf/Makefile: Add rules to build and run tst-tls19.
13864 * elf/tst-tls19.c: New file.
13865 * elf/tst-tls19mod1.c: New file.
13866 * elf/tst-tls19mod2.c: New file.
13867 * elf/tst-tls19mod3.c: New file.
13868 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
13869
2fc54d6f
UD
13870 [BZ #12083]
13871 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
13872 correctly.
13873
98d76b46
UD
13874 [BZ #12601]
13875 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
13876 two-byte sequence errors.
13877 * iconvdata/Makefile (tests): Add bug-iconv8.
13878 * iconvdata/bug-iconv8.c: New file.
13879
da3c19ef
UD
13880 [BZ #12626]
13881 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
13882 buf2 definition.
13883
ca408c15
UD
13884 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
13885
d6f67f7d
UD
13886 [BZ #12432]
13887 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
13888 (dummy_getcfa): New function.
13889 (init): Get _Unwind_GetCFA address, use dummy if not found.
13890 (backtrace_helper): In recursion check, also check whether CFA changes.
13891 (__backtrace): Completely initialize arg.
13892
1af4e298 13893 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
13894 storing incomplete byte sequence in state object. Avoid testing for
13895 guaranteed too small input if we know there is enough data available.
1af4e298 13896
da62f81b
AS
138972011-05-11 Andreas Schwab <schwab@redhat.com>
13898
13899 * Makeconfig (+link-pie): Indent.
13900 * Rules (binaries-pie): Define if $(have-fpie) and
13901 $(build-shared).
13902 (binaries-shared): Also filter out $(binaries-pie).
13903 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
13904 * nscd/Makefile (others-pie): Add nscd.
13905 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
13906 ($(objpfx)nscd): Remove command override.
13907 * login/Makefile (others-pie): Add pt_chown.
13908 ($(objpfx)pt_chown): Remove command override.
13909 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
13910 remove command overrides.
13911
fcabc0f8
UD
139122011-05-13 Ulrich Drepper <drepper@gmail.com>
13913
20030ae6
UD
13914 * libio/tst_putwc.c: Fix error messages.
13915
fcabc0f8
UD
13916 [BZ #12724]
13917 * libio/fileops.c (_IO_new_file_close_it): Always flush when
13918 currently writing and seek to current position when not.
13919 * libio/Makefile (tests): Add bug-fclose1.
13920 * libio/bug-fclose1.c: New file.
13921
320a5dc0
PB
139222011-05-12 Ulrich Drepper <drepper@gmail.com>
13923
13924 [BZ #12511]
13925 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
13926 don't set DF_1_NODELETE here.
13927 (do_lookup_x): When entering new entry test for copy relocation
13928 and if necessary set DF_1_NODELETE flag.
13929 * elf/tst-unique4.cc: New file.
13930 * elf/tst-unique4.h: New file.
13931 * elf/tst-unique4lib.cc: New file.
13932 * elf/Makefile: Add rules to build and run tst-unique4.
13933 Patch by Piotr Bury <pbury@goahead.com>.
13934
22836f52
UD
139352011-05-11 Ulrich Drepper <drepper@gmail.com>
13936
f574184a
UD
13937 [BZ #12052]
13938 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
13939
e1fb097f
UD
13940 [BZ #12625]
13941 * misc/mntent_r.c (addmntent): Flush the stream after the output
13942
22836f52
UD
13943 [BZ #12393]
13944 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
13945 (is_trusted_path_normalize): Skip initial colon. Append slash
13946 to empty buffer. Duplicate is_trusted_path code but allow
13947 constructed patch to be prefix.
13948 (is_dst): Allow $ORIGIN followed by /.
13949 (_dl_dst_substitute): Correct clearing of check_for_trusted.
13950 Correct testing of result of is_trusted_path_normalize
13951 (decompose_rpath): Fix warning.
13952
7b3b0b2a
UD
139532011-05-10 Ulrich Drepper <drepper@gmail.com>
13954
13955 [BZ #11257]
13956 * grp/initgroups.c (internal_getgrouplist): When we found the service
13957 list through the initgroups entry in nsswitch.conf do not always
13958 continue on a successful lookup. Don't always use the
eac80ce2 13959 __nss_group_database value if it is set.
7b3b0b2a
UD
13960 * nss/nsswitch.conf (initgroups): Change action for successful db
13961 lookup to continue for compatibility.
13962
2a81eaa5
UD
139632011-05-09 Ulrich Drepper <drepper@gmail.com>
13964
be97a69e
UD
13965 [BZ #11532]
13966 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
13967 and CP774 modules.
13968 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
13969 and CP774 modules.
13970 * iconvdata/tst-tables.sh: Likewise.
13971 * iconvdata/cp770.c: New file.
13972 * iconvdata/cp771.c: New file.
13973 * iconvdata/cp772.c: New file.
13974 * iconvdata/cp773.c: New file.
13975 * iconvdata/cp774.c: New file.
13976 * iconvdata/testdata/CP770: New file.
13977 * iconvdata/testdata/CP770..UTF8: New file.
13978 * iconvdata/testdata/CP771: New file.
13979 * iconvdata/testdata/CP771..UTF8: New file.
13980 * iconvdata/testdata/CP772: New file.
13981 * iconvdata/testdata/CP772..UTF8: New file.
13982 * iconvdata/testdata/CP773: New file.
13983 * iconvdata/testdata/CP773..UTF8: New file.
13984 * iconvdata/testdata/CP774: New file.
13985 * iconvdata/testdata/CP774..UTF8: New file.
13986
13987 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
13988 END CHARMAP line.
13989 * iconvdata/gen-8bit-gap.sh: Likewise.
13990 * iconvdata/gen-8bit.sh: Likewise.
13991
c1e9e399
UD
13992 * locale/iso-639.def: Add ary entry.
13993
24c55fb3 13994 [BZ #11258]
96b4b1b0
UD
13995 * locale/C-translit.h.in: Add U20A1 transliteration.
13996
bdc2f971
KB
13997 [BZ #12178]
13998 * locale/iso-639.def: Add wae entry.
13999 Patch by Kevin Bortis <bortis@translate-wae.ch>.
14000
2952b117
UD
14001 [BZ #12545]
14002 * locale/programs/localedef.c (construct_output_path): Use ssize_t
14003 for n.
14004
2a81eaa5
UD
14005 [BZ #12711]
14006 * locale/C-translit.h.in: Add entry for U20B9.
14007 Patch by pravin.d.s@gmail.com.
14008
28377d1b
UD
140092011-05-08 Ulrich Drepper <drepper@gmail.com>
14010
7fb90fb8
UD
14011 [BZ #12713]
14012 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
14013 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
14014 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
14015 in rtld. Use *stat64.
7fb90fb8 14016 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 14017 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 14018 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
14019 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
14020 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
14021 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
14022 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
14023 __fstatat64 macros.
7fb90fb8
UD
14024 * include/dirent.h: Add libc_hidden_proto for rewinddir.
14025 * dirent/rewinddir.c: Add libc_hidden_def.
14026 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 14027 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 14028
28377d1b
UD
14029 * include/dirent.h (__alloc_dir): Add flags parameter.
14030 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
14031 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
14032 __alloc_dir.
14033 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
14034 from fdopendir if O_CLOEXEC is already set.
14035
66bdbaa4
AM
140362011-03-15 Alan Modra <amodra@gmail.com>
14037
14038 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
14039 l_tls_firstbyte_offset non-zero. Save padding offset in
14040 l_tls_firstbyte_offset for later use.
14041 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
14042 freeing static tls block.
14043
95721191
JN
140442011-03-05 Jonathan Nieder <jrnieder@gmail.com>
14045
14046 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
14047 where #ifdef was intended. The intent is to prevent ARG_MAX from
14048 being defined by the kernel headers.
14049
f87dfb1f
UD
140502011-05-07 Ulrich Drepper <drepper@gmail.com>
14051
14052 [BZ #12734]
14053 * resolv/resolv.h: Define RES_NOTLDQUERY.
14054 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
14055 no-tld-query and set RES_NOTLDQUERY.
14056 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
14057 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
14058 modern BIND to search name as TLD unless forbidden.
14059
47c3cd7a
UD
140602011-05-07 Petr Baudis <pasky@suse.cz>
14061 Ulrich Drepper <drepper@gmail.com>
14062
14063 [BZ #12393]
14064 * elf/dl-load.c (fillin_rpath): Move trusted path check...
14065 (is_trusted_path): ...to here.
c1e9ea35 14066 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 14067 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 14068 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 14069
8a35c912
PP
140702011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
14071
14072 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
14073 __BEGIN/__END_DECLS.
14074
acd41f47
UD
140752011-05-06 Ulrich Drepper <drepper@gmail.com>
14076
14077 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
14078 NSS_STATUS_NOTFOUND if no record was found.
14079
597df647
AS
140802011-05-05 Andreas Schwab <schwab@redhat.com>
14081
14082 * sunrpc/Makefile (headers): Add rpc/netdb.h.
14083 (headers-not-in-tirpc): Remove rpc/netdb.h
14084 * resolv/netdb.h: Revert last change.
14085
b9af1301
PP
140862011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
14087
14088 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
14089 circular dependency between libgcc.a and libc.a.
14090
4e34d5f5
AS
140912011-05-05 Andreas Schwab <schwab@redhat.com>
14092
14093 * resolv/netdb.h: Don't include <rpc/netdb.h>.
14094 * nis/Makefile: Don't install rpcsvc/*.
14095 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
14096 instead of <rpc/types.h>.
14097 (MAXHOSTNAMELEN): Define.
14098
00ee369c
AS
140992011-05-03 Andreas Schwab <schwab@redhat.com>
14100
14101 * elf/ldconfig.c (add_dir): Don't crash on empty path.
14102
0b592a30
MB
141032011-04-28 Maciej Babinski <mbabinski@google.com>
14104
14105 [BZ #12714]
14106 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
14107 gethostbyname4_r when IPv6 results are possible.
14108
6e04cbbe
UD
141092011-05-02 Ulrich Drepper <drepper@gmail.com>
14110
14111 [BZ #12723]
14112 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
14113 _PC_PIPE_BUF handling.
14114
e4ecafe0
BH
141152011-04-30 Bruno Haible <bruno@clisp.org>
14116
14117 [BZ #12717]
14118 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
14119 * resolv/netdb.h (getnameinfo): Change type of flags parameter
14120 to 'int'.
14121 * inet/getnameinfo.c (getnameinfo): Likewise.
14122
125ee683
UD
141232011-04-29 Ulrich Drepper <drepper@gmail.com>
14124
14125 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
14126 to groups setting in database lookup.
14127 * nss/nsswitch.conf: Add initgroups entry.
14128
b722481a
EB
141292011-04-22 Ulrich Drepper <drepper@gmail.com>
14130
14131 [BZ #12685]
14132 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
14133 mode string.
14134 Patch by Eric Blake <eblake@redhat.com>.
14135
4df46dbd
L
141362011-04-20 H.J. Lu <hongjiu.lu@intel.com>
14137
14138 * sunrpc/Makefile (need-export-routines): Add svc_run.
14139 (routines): Remove svc_run.
14140 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
14141 * sunrpc/clnt_perr.c (clnt_perrno): Export.
14142 * sunrpc/svc_run.c (svc_run): Likewise.
14143 * sunrpc/svc_udp.c (svcudp_create): Likewise.
14144
e84142d2
UD
141452011-04-21 Ulrich Drepper <drepper@gmail.com>
14146
14147 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
14148 problem in reallocation in last patch.
14149
877175d8
UD
141502011-04-20 Ulrich Drepper <drepper@gmail.com>
14151
14152 * sunrpc/Makefile: Move inclusion of Rules.
14153
ab8eed78
UD
141542011-04-19 Ulrich Drepper <drepper@gmail.com>
14155
14156 * nss/nss_files/files-initgroups.c: New file.
14157 * nss/Makefile (libnss_files-routines): Add files-initgroups.
14158 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
14159 _nss_files_initgroups_dyn.
14160
e3d8f584
RS
141612011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
14162
14163 * elf/elf.h (R_ARM_IRELATIVE): Define.
14164
af190f45
UD
141652011-04-19 Ulrich Drepper <drepper@gmail.com>
14166
14167 * po/ru.po: Update from translation team.
14168
53cf59ef
UD
141692011-04-17 Ulrich Drepper <drepper@gmail.com>
14170
14171 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
14172 dependencies.
14173
4c559bcd
MF
141742011-02-06 Mike Frysinger <vapier@gentoo.org>
14175
14176 [BZ #12653]
14177 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
14178 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
14179 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
14180 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
14181 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
14182
4420675c
AS
141832011-03-28 Andreas Schwab <schwab@linux-m68k.org>
14184
14185 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
14186 differing bytes.
14187 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
14188 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
14189 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
14190
75ea32ab
UD
141912011-04-17 Ulrich Drepper <drepper@gmail.com>
14192
14193 [BZ #12420]
14194 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
14195 storing it.
14196 * stdlib/bug-getcontext.c: New file.
14197 * stdlib/Makefile: Add rules to build and run bug-getcontext.
14198
27390476
AK
141992011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14200
14201 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
14202 instructions into .machine "z9-109".
14203 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
14204 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
14205
10442705
AK
142062011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14207
14208 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
14209 between environment variables and auxiliary vector.
14210
7b57bfe5
UD
142112011-04-16 Ulrich Drepper <drepper@gmail.com>
14212
14213 * Makefile: Add rules to build linkobj/libc.so.
14214 * include/libc-symbols.h: Define libc_hidden_nolink.
14215 * include/rpc/auth.h: Mark functions which are to be hidden.
14216 * include/rpc/auth_des.h: Likewise.
14217 * include/rpc/auth_unix.h: Likewise.
14218 * include/rpc/clnt.h: Likewise.
14219 * include/rpc/des_crypt.h: Likewise.
14220 * include/rpc/key_prot.h: Likewise.
14221 * include/rpc/pmap_clnt.h: Likewise.
14222 * include/rpc/pmap_prot.h: Likewise.
14223 * include/rpc/pmap_rmt.h: Likewise.
14224 * include/rpc/rpc_msg.h: Likewise.
14225 * include/rpc/svc.h: Likewise.
14226 * include/rpc/svc_auth.h: Likewise.
14227 * include/rpc/xdr.h: Likewise.
14228 * nis/Makefile: Link all DSOs against linkobj/libc.so.
14229 * nss/Makefile: Likewise.
14230 * sunrpc/Makefile: Don't install headers. Build library with normal
14231 entry points. Don't build rpcinfo. Link RPC tests appropriately.
14232 * sunrpc/auth_des.c: Hide exported symbols by default, export some
14233 for the compat linking library. Remove use of INTDEF/INTUSE.
14234 * sunrpc/auth_none.c: Likewise.
14235 * sunrpc/auth_unix.c: Likewise.
14236 * sunrpc/authdes_prot.c: Likewise.
14237 * sunrpc/authuxprot.c: Likewise.
14238 * sunrpc/clnt_gen.c: Likewise.
14239 * sunrpc/clnt_perr.c: Likewise.
14240 * sunrpc/clnt_raw.c: Likewise.
14241 * sunrpc/clnt_simp.c: Likewise.
14242 * sunrpc/clnt_tcp.c: Likewise.
14243 * sunrpc/clnt_udp.c: Likewise.
14244 * sunrpc/clnt_unix.c: Likewise.
14245 * sunrpc/des_crypt.c: Likewise.
14246 * sunrpc/des_soft.c: Likewise.
14247 * sunrpc/get_myaddr.c: Likewise.
14248 * sunrpc/key_call.c: Likewise.
14249 * sunrpc/key_prot.c: Likewise.
14250 * sunrpc/netname.c: Likewise.
14251 * sunrpc/pm_getmaps.c: Likewise.
14252 * sunrpc/pm_getport.c: Likewise.
14253 * sunrpc/pmap_clnt.c: Likewise.
14254 * sunrpc/pmap_prot.c: Likewise.
14255 * sunrpc/pmap_prot2.c: Likewise.
14256 * sunrpc/pmap_rmt.c: Likewise.
14257 * sunrpc/publickey.c: Likewise.
14258 * sunrpc/rpc_cmsg.c: Likewise.
14259 * sunrpc/rpc_common.c: Likewise.
14260 * sunrpc/rpc_dtable.c: Likewise.
14261 * sunrpc/rpc_prot.c: Likewise.
14262 * sunrpc/rpc_thread.c: Likewise.
14263 * sunrpc/rtime.c: Likewise.
14264 * sunrpc/svc.c: Likewise.
14265 * sunrpc/svc_auth.c: Likewise.
14266 * sunrpc/svc_authux.c: Likewise.
14267 * sunrpc/svc_raw.c: Likewise.
14268 * sunrpc/svc_run.c: Likewise.
14269 * sunrpc/svc_simple.c: Likewise.
14270 * sunrpc/svc_tcp.c: Likewise.
14271 * sunrpc/svc_udp.c: Likewise.
14272 * sunrpc/svc_unix.c: Likewise.
14273 * sunrpc/svcauth_des.c: Likewise.
14274 * sunrpc/xcrypt.c: Likewise.
14275 * sunrpc/xdr.c: Likewise.
14276 * sunrpc/xdr_array.c: Likewise.
14277 * sunrpc/xdr_float.c: Likewise.
14278 * sunrpc/xdr_intXX_t.c: Likewise.
14279 * sunrpc/xdr_mem.c: Likewise.
14280 * sunrpc/xdr_rec.c: Likewise.
14281 * sunrpc/xdr_ref.c: Likewise.
14282 * sunrpc/xdr_sizeof.c: Likewise.
14283 * sunrpc/xdr_stdio.c: Likewise.
14284
e6c61494
UD
142852011-04-10 Ulrich Drepper <drepper@gmail.com>
14286
14287 [BZ #12650]
14288 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
14289 * sysdeps/ia64/dl-tls.h: Likewise.
14290 * sysdeps/powerpc/dl-tls.h: Likewise.
14291 * sysdeps/s390/dl-tls.h: Likewise.
14292 * sysdeps/sh/dl-tls.h: Likewise.
14293 * sysdeps/sparc/dl-tls.h: Likewise.
14294 * sysdeps/x86_64/dl-tls.h: Likewise.
14295 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
14296
34fe483e
AS
142972011-03-14 Andreas Schwab <schwab@redhat.com>
14298
14299 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
14300 rpath element also skip the following colon.
14301 (expand_dynamic_string_token): Add is_path parameter and pass
14302 down to DL_DST_REQUIRED and _dl_dst_substitute.
14303 (decompose_rpath): Call expand_dynamic_string_token with
14304 non-zero is_path. Ignore empty rpaths.
14305 (_dl_map_object_from_fd): Call expand_dynamic_string_token
14306 with zero is_path.
14307
f12a32e6
AS
143082011-04-08 Andreas Schwab <schwab@linux-m68k.org>
14309
14310 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
14311 Make cancelable.
14312
38a7d692
UD
143132011-04-09 Ulrich Drepper <drepper@gmail.com>
14314
14315 [BZ #12655]
14316 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
14317 Patch by Filipe David Manana <fdmanana@apache.org>.
14318
e451d22b
AS
143192011-04-07 Andreas Schwab <schwab@redhat.com>
14320
14321 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
14322 Maintain aligned stack.
14323 (CHECK_RSP): Remove unused macro.
14324
dedc7c7b
UD
143252011-04-03 Ulrich Drepper <drepper@gmail.com>
14326
14327 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
14328 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
14329
94521213
UD
143302011-04-02 Ulrich Drepper <drepper@gmail.com>
14331
14332 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
14333
8cb700c0 14334 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 14335
0354e355
L
143362011-03-26 H.J. Lu <hongjiu.lu@intel.com>
14337
14338 [BZ #12518]
14339 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
14340 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
14341 * sysdeps/x86_64/memmove.c: New file.
14342 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
14343 (memcpy): Renamed to ...
14344 (__new_memcpy): This.
14345 (memcpy): Provide GLIBC_2_14 memcpy.
14346 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
14347 (memcpy): Provide GLIBC_2_2_5 memcpy.
14348
8593482f
UD
143492011-04-01 Ulrich Drepper <drepper@gmail.com>
14350
14351 [BZ #12631]
14352 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
14353
81a5726b
AS
143542011-03-30 Andreas Schwab <schwab@redhat.com>
14355
14356 * misc/syncfs.c: New file.
14357 * misc/Makefile (routines): Add syncfs.
14358 * posix/unistd.h: Declare syncfs.
14359 * sysdeps/unix/syscalls.list: Add syncfs.
14360
00e5419f
AS
143612011-04-01 Andreas Schwab <schwab@redhat.com>
14362
14363 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
14364 open_by_handle_at.
14365 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
14366 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
14367 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
14368 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
14369 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
14370 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
14371 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
14372
748876bf
UD
143732011-04-01 Ulrich Drepper <drepper@gmail.com>
14374
658e451d
UD
14375 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
14376 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
14377 * sysdeps/unix/sysv/linux/powerpc/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/x86_64/bits/fcntl.h: Likewise.
14382
748876bf
UD
14383 * io/Makefile: Compile fallocate.c, fallocate64.c, and
14384 sync_file_range.c with -fexceptions.
14385 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
14386 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
14387 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
14388 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
14389 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
14390 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
14391 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
14392 sync_file_range as cancellation point
14393 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
14394 now a wrapper around __call_sync_file_range with cancellation handling.
14395 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
14396 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
14397 function name to __call_sync_file_range.
14398 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
14399 Add call_sync_file_range.
748876bf 14400
6e63d5e1
AS
144012011-04-01 Andreas Schwab <schwab@redhat.com>
14402
14403 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 14404 bits/timex.h.
6e63d5e1 14405
46998f74
UD
144062011-04-01 Ulrich Drepper <drepper@gmail.com>
14407
4c1423ed
UD
14408 * iconv/iconv.h: Fix typo in comment.
14409 * io/fcntl.h: Likewise.
14410 * libio/stdio.h: Likewise.
14411 * posix/spawn.h: Likewise.
14412 * posix/unistd.h: Likewise.
14413 * stdlib/stdlib.h: Likewise.
14414 * time/time.h: Likewise.
14415 * wcsmbs/wchar.h: Likewise.
14416
158648c0
UD
14417 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
14418 open_by_handle): Add.
14419 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
14420 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
14421 Augment a few comments.
14422 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
14423 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
14424 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
14425 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
14426 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
14427 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
14428 open_by_handle.
14429
46998f74
UD
14430 * io/fcntl.h (AT_EMPTY_PATH): Define.
14431
83fe108b
UD
144322011-03-30 Ulrich Drepper <drepper@gmail.com>
14433
14434 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
14435 * sysdeps/unix/sysv/linux/bits/time.h: New file.
14436 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
14437 to...
14438 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
14439 * Versions.def: Add GLIBC_2.14.
14440 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
14441 Export.
83fe108b 14442
bb242059
UD
144432011-03-22 Ulrich Drepper <drepper@gmail.com>
14444
14445 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
14446 round counter.
14447 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
14448
c97a1282
L
144492011-03-20 H.J. Lu <hongjiu.lu@intel.com>
14450
14451 [BZ #12597]
14452 * string/test-strncmp.c (do_page_test): New function.
14453 (check2): Likewise.
14454 (test_main): Call check2.
14455 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
14456
2a115601
UD
144572011-03-20 Ulrich Drepper <drepper@gmail.com>
14458
14459 [BZ #12587]
14460 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
14461 Handle cache information in CPU leaf 4.
14462 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
14463
8126d904
UD
144642011-03-18 Ulrich Drepper <drepper@gmail.com>
14465
042c49c6 14466 [BZ #12583]
8126d904
UD
14467 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
14468 character representation.
14469 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
14470
ccfe366e
RA
144712011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
14472
14473 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
14474 END(__isnan) to END(__isnanf) to match function entry point/label
14475 EALIGN(__isnanf,...).
14476
c6e13027
JJ
144772011-03-10 Jakub Jelinek <jakub@redhat.com>
14478
14479 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
14480
33f85a3f
UD
144812011-03-10 Ulrich Drepper <drepper@gmail.com>
14482
028478fa
UD
14483 [BZ #12510]
14484 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
14485 copy from the symbol referenced in the relocation to initialize the
14486 used variable.
14487 Patch by Piotr Bury <pbury@goahead.com>.
14488 * elf/Makefile: Add rules to build and tst-unique3.
14489 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
14490 * elf/tst-unique3.cc: New file.
14491 * elf/tst-unique3.h: New file.
14492 * elf/tst-unique3lib.cc: New file.
14493 * elf/tst-unique3lib2.cc: New file.
14494
33f85a3f
UD
14495 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
14496
03592fc7
MF
144972011-03-10 Mike Frysinger <vapier@gentoo.org>
14498
14499 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
14500 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
14501 to _start.
03592fc7 14502
6a5ee102
UD
145032011-03-06 Ulrich Drepper <drepper@gmail.com>
14504
14505 * elf/dl-load.c (_dl_map_object): If we are looking for the first
14506 to-be-loaded object along a path to loader is ld.so.
14507
7e4ba49c
HJ
145082011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
14509 Ulrich Drepper <drepper@gmail.com>
14510
14511 * sysdeps/x86_64/memset.S: After aligning destination, code
14512 branches to different locations depending on the value of
14513 misalignment, when multiarch is enabled. Fix this.
14514
145152011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
14516
14517 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
14518 Set _x86_64_preferred_memory_instruction for AMD processsors.
14519 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
14520 Set bit_Prefer_SSE_for_memop for AMD processors.
14521
13a804de
UD
145222011-03-04 Ulrich Drepper <drepper@gmail.com>
14523
14524 * libio/fmemopen.c (fmemopen): Optimize a bit.
14525
9d25c392
AS
145262011-03-03 Andreas Schwab <schwab@redhat.com>
14527
14528 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
14529
a5543c6a
RM
145302011-03-03 Roland McGrath <roland@redhat.com>
14531
14532 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
14533
012d35f7
DM
145342011-02-28 Aurelien Jarno <aurelien@aurel32.net>
14535
7e4ba49c 14536 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
14537 __bzero_ultra1 instead of __memset_ultra1.
14538
4bff6e01
AS
145392011-02-23 Andreas Schwab <schwab@redhat.com>
14540 Ulrich Drepper <drepper@gmail.com>
14541
14542 [BZ #12509]
14543 * include/link.h (struct link_map): Add l_orig_initfini.
14544 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
14545 returning unsuccessfully.
14546 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
14547 close of a file loaded at startup, restore the original l_initfini
14548 list.
14549 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
14550 list, store the pointer.
14551 * elf/Makefile ($(objpfx)noload-mem): New rule.
14552 (noload-ENV): Define.
14553 (tests): Add $(objpfx)noload-mem.
14554 * elf/noload.c: Include <memcheck.h>.
14555 (main): Call mtrace. Close all opened handles.
14556
f2092faf
AS
145572011-02-17 Andreas Schwab <schwab@redhat.com>
14558
14559 [BZ #12454]
14560 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
14561 dependencies are missing.
14562
6c8a2e88
ST
145632011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
14564
f2092faf 14565 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
14566 Hurd needs munmap.
14567 * sysdeps/mach/hurd/ifreq.h: New file.
14568
84a42118
PB
145692011-01-27 Petr Baudis <pasky@suse.cz>
14570 Ulrich Drepper <drepper@gmail.com>
14571
071f805e 14572 [BZ 12445]#
84a42118
PB
14573 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
14574 to extend_alloca().
14575 * stdio-common/bug23.c: New file.
14576 * stdio-common/Makefile (tests): Add bug23.
14577
e23fe25b
AS
145782010-09-28 Andreas Schwab <schwab@redhat.com>
14579 Ulrich Drepper <drepper@gmail.com>
14580
14581 [BZ #12489]
14582 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
14583 before performing relro protection. At old place add assertion
14584 to make sure nothing changed.
14585
d3f02e10
NS
145862011-02-17 Nathan Sidwell <nathan@codesourcery.com>
14587 Glauber de Oliveira Costa <glommer@gmail.com>
14588
14589 * elf/elf.h: Add new ARM TLS relocs.
14590
d55fd7a5
RA
145912011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
14592
14593 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
14594 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
14595 cast from r3.
14596 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
14597 'tests' variable.
14598 * sysdeps/wordsize-64/tst-writev.c: New file.
14599
2206397e
RA
146002011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
14601
14602 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
14603 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
14604 insns in _dl_start to prevent a TOC reference before relocs are
14605 resolved.
14606
e9433893
UD
146072011-02-15 Ulrich Drepper <drepper@gmail.com>
14608
14609 [BZ #12469]
14610 * Makeconfig: Remove RANLIB definition.
14611 * Makerules: Don't use RANLIB.
14612 * aclocal.m4: Remove ranlib test.
14613 * configure.in: No need to check for ranlib.
14614 * elf/rtld-Rules: Don't use RANLIB.
14615
f75286c6
ST
146162011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
14617
8e31c82d
ST
14618 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
14619 protection macro.
14620 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
14621 inclusion protection macro.
14622
f75286c6
ST
14623 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
14624 SIGRTMIN and SIGRTMAX and print information in that case only when
14625 SIGRTMIN is defined.
14626
c1d0e639
JJ
146272011-02-11 Jakub Jelinek <jakub@redhat.com>
14628
14629 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
14630 arginfo fn returning -1.
14631
14632 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
14633 and thousands string is zero terminated.
14634
edf9294e
AS
146352011-02-03 Andreas Schwab <schwab@redhat.com>
14636
14637 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
14638 sysdeps/unix/sysv/linux/bits/socket.h.
14639
2b7e92df
ST
146402011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
14641
edf9294e
AS
14642 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
14643 (__CPU_COUNT): Remove old macros.
14644 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
14645 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
14646 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
14647 (__sched_cpualloc, __sched_cpufree): Add declarations.
14648
a4c7ea7b
UD
146492011-02-05 Ulrich Drepper <drepper@gmail.com>
14650
14651 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
14652 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
14653 * nscd/aicache.c (addhstaiX): Return timeout of added value.
14654 (readdhstai): Return value of addhstaiX call.
14655 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
14656 (addgrbyX): Return value returned by cache_addgr.
14657 (readdgrbyname): Return value returned by addgrbyX.
14658 (readdgrbygid): Likewise.
14659 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
14660 (addpwbyX): Return value returned by cache_addpw.
14661 (readdpwbyname): Return value returned by addhstbyX.
14662 (readdpwbyuid): Likewise.
14663 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
14664 (addservbyX): Return value returned by cache_addserv.
14665 (readdservbyname): Return value returned by addservbyX:
14666 (readdservbyport): Likewise.
14667 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
14668 (addhstbyX): Return value returned by cache_addhst.
14669 (readdhstbyname): Return value returned by addhstbyX.
14670 (readdhstbyaddr): Likewise.
14671 (readdhstbynamev6): Likewise.
14672 (readdhstbyaddrv6): Likewise.
14673 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
14674 (readdinitgroups): Return value returned by addinitgroupsX.
14675 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
14676 (prune_cache): Keep track of timeout value of re-added entries.
14677 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
14678 * nscd/nscd.h: Adjust prototypes of readd* functions.
14679
a0bf67cc
RM
146802011-02-04 Roland McGrath <roland@redhat.com>
14681
14682 * nis/nis_server.c (nis_servstate): Use the right name for 0.
14683 (nis_stats): Likewise.
14684 * nis/nis_modify.c (nis_modify): Likewise.
14685 * nis/nis_remove.c (nis_remove): Likewise.
14686 * nis/nis_add.c (nis_add): Likewise.
14687
14688 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
14689
14690 * posix/fnmatch_loop.c: Add some consts.
14691
14692 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
14693
435b95eb
L
146942011-02-02 H.J. Lu <hongjiu.lu@intel.com>
14695
14696 [BZ #12460]
14697 * config.make.in (config-cflags-novzeroupper): Define.
14698 * configure.in: Substitute libc_cv_cc_novzeroupper.
14699 * elf/Makefile (AVX-CFLAGS): Define.
14700 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
14701 (CFLAGS-tst-auditmod4a.c): Likewise.
14702 (CFLAGS-tst-auditmod4b.c): Likewise.
14703 (CFLAGS-tst-auditmod6b.c): Likewise.
14704 (CFLAGS-tst-auditmod6c.c): Likewise.
14705 (CFLAGS-tst-auditmod7b.c): Likewise.
14706 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
14707
8517b15e
UD
147082011-02-02 Ulrich Drepper <drepper@gmail.com>
14709
14710 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
14711 function to the callback.
14712 Patch partly by Jiri Olsa <jolsa@redhat.com>.
14713
10a656fe
AS
147142011-02-02 Andreas Schwab <schwab@redhat.com>
14715
14716 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
14717 of errno.
14718
968dad0a
UD
147192011-01-19 Ulrich Drepper <drepper@gmail.com>
14720
9f94d2ea 14721 [BZ #11724]
968dad0a
UD
14722 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
14723 of constructors.
14724 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
14725 of destructors.
14726 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
14727
14728 [BZ #11724]
14729 * elf/Makefile: Add rules to build and run new test.
14730 * elf/tst-initorder.c: New file.
14731 * elf/tst-initorder.exp: New file.
14732 * elf/tst-initordera1.c: New file.
14733 * elf/tst-initordera2.c: New file.
14734 * elf/tst-initordera3.c: New file.
14735 * elf/tst-initordera4.c: New file.
14736 * elf/tst-initorderb1.c: New file.
14737 * elf/tst-initorderb2.c: New file.
14738 * elf/tst-order-a1.c: New file.
14739 * elf/tst-order-a2.c: New file.
14740 * elf/tst-order-a3.c: New file.
14741 * elf/tst-order-a4.c: New file.
14742 * elf/tst-order-b1.c: New file.
14743 * elf/tst-order-b2.c: New file.
14744 * elf/tst-order-main.c: New file.
14745 New test case by George Gensure <werkt0@gmail.com>.
14746
86e92359
UD
147472010-10-01 Andreas Schwab <schwab@redhat.com>
14748
14749 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
14750 decoding ACE if AI_CANONIDN.
14751
5d5732b0
UD
147522011-01-18 Ulrich Drepper <drepper@gmail.com>
14753
14754 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
14755
a77e8cbc
UD
147562011-01-17 Ulrich Drepper <drepper@gmail.com>
14757
6392473f
UD
14758 * version.h (RELEASE): Bump for 2.13 release.
14759 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
14760
620a0529
UD
14761 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
14762
18ba70a5
UD
14763 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
14764 MADV_NOHUGEPAGE.
32465c3e
UD
14765 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
14766 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
14767 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
14768 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
14769 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
14770 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
14771
c0dafcf1
UD
14772 * posix/getconf.c: Update copyright year.
14773 * catgets/gencat.c: Likewise.
14774 * csu/version.c: Likewise.
14775 * debug/catchsegv.sh: Likewise.
14776 * debug/xtrace.sh: Likewise.
14777 * elf/ldconfig.c: Likewise.
14778 * elf/ldd.bash.in: Likewise.
14779 * elf/sprof.c (print_version): Likewise.
14780 * iconv/iconv_prog.c: Likewise.
14781 * iconv/iconvconfig.c: Likewise.
14782 * locale/programs/locale.c: Likewise.
14783 * locale/programs/localedef.c: Likewise.
14784 * malloc/memusage.sh: Likewise.
14785 * malloc/mtrace.pl: Likewise.
14786 * nscd/nscd.c (print_version): Likewise.
14787 * nss/getent.c: Likewise.
14788
a77e8cbc
UD
14789 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
14790 PF_CAIF, and PF_ALG.
14791 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
14792
77e8bddf
AS
147932011-01-16 Andreas Schwab <schwab@linux-m68k.org>
14794
1f20b93a
AS
14795 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
14796 (modules-names): Use them.
14797 (ifunc-test-modules, ifunc-pie-tests): Define.
14798 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
14799 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
14800 (test-extras): Likewise.
14801 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
14802 $(compile-command.c).
14803 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
14804 (all-built-dso): Define.
14805 (check-textrel.out, check-execstack.out): Depend on it.
14806
77e8bddf
AS
14807 * configure.in: Don't override --enable-multi-arch.
14808
bc425b33
UD
148092011-01-15 Ulrich Drepper <drepper@gmail.com>
14810
14811 [BZ #6812]
14812 * nscd/hstcache.c (tryagain): Define.
14813 (cache_addhst): Return tryagain not notfound for temporary errors.
14814 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
14815 failed.
14816
794c3ad3
UD
148172011-01-14 Ulrich Drepper <drepper@gmail.com>
14818
70181fdd
UD
14819 [BZ #10563]
14820 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
14821 to make the syscall.
14822 * sysdeps/unix/sysv/linux/setgroups.c: New file.
14823
794c3ad3
UD
14824 [BZ #12378]
14825 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
14826 and fall back to matching as normal character if the string ends before
14827 the matching ']' is found. This is what POSIX requires.
14828 * posix/testfnm.c: Adjust test result.
14829 * posix/globtest.sh: Adjust test result. Add new test.
14830 * posix/tst-fnmatch.input: Likewise.
14831 * posix/tst-fnmatch2.c: Add new test.
14832
68dc9497
AS
148332010-12-28 Andreas Schwab <schwab@linux-m68k.org>
14834
14835 * elf/Makefile (check-execstack): Revert last change. Depend on
14836 check-execstack.h.
14837 (check-execstack.h): New target.
14838 (generated): Add check-execstack.h.
14839 * elf/check-execstack.c: Include "check-execstack.h".
14840 (main): Revert last change.
14841 (handle_file): Return zero if GNU_STACK is absent and
14842 DEFAULT_STACK_PERMS doesn't include PF_X.
14843
451f001b
UD
148442011-01-13 Ulrich Drepper <drepper@gmail.com>
14845
cfa28e56
UD
14846 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
14847 in child fails because the descriptor is already closed.
8cf8ce17
UD
14848 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
14849 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
14850 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 14851
1086d70d
UD
14852 [BZ #12397]
14853 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
14854 syscall.
14855
451f001b
UD
14856 [BZ #10484]
14857 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
14858 temporary buffer used to handle multi lookups locally.
a85b5cb4 14859 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 14860
08769175
UD
148612011-01-12 Ulrich Drepper <drepper@gmail.com>
14862
14863 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
14864 loader is ld.so.
14865
5e49c52e
UD
148662011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
14867
14868 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
14869 alignment for SSE2.
14870
60522a5f
UD
148712011-01-12 Ulrich Drepper <drepper@gmail.com>
14872
14873 [BZ #12394]
14874 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
14875 characters. When rounding increased number of integer digits recompute
14876 number of groups.
14877 * stdio-common/tst-grouping.c: New file.
14878 * stdio-common/Makefile: Add rules to build and run tst-grouping.
14879
f257bbd7
UD
148802011-01-09 Ulrich Drepper <drepper@gmail.com>
14881
14882 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
14883 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
14884
14885 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
14886 void.
14887 * bits/select.h: Likewise.
14888
fa9c15cb
UD
148892011-01-08 Ulrich Drepper <drepper@gmail.com>
14890
14891 * po/ja.po: Update from translation team.
14892
16c2895f
DM
148932011-01-04 David S. Miller <davem@sunset.davemloft.net>
14894
14895 [BZ #11155]
14896 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
14897 implementation just like for lxstat, fxstatat, et al.
14898
2543fef2
JM
148992010-12-27 Jim Meyering <meyering@redhat.com>
14900
14901 [BZ #12348]
14902 * posix/regexec.c (build_trtable): Return failure indication upon
14903 calloc failure. Otherwise, re_search_internal could infloop on OOM.
14904
98727dbe
UD
149052010-12-25 Ulrich Drepper <drepper@gmail.com>
14906
5bd6dc5c
UD
14907 [BZ #12201]
14908 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
14909 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
14910 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
14911 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
14912
97983464
UD
14913 [BZ #12207]
14914 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
14915
98727dbe
UD
14916 [BZ #12204]
14917 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
14918 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
14919
4a531bb0
L
149202010-12-15 H.J. Lu <hongjiu.lu@intel.com>
14921
14922 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
14923 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
14924 script has SORT_BY_INIT_PRIORITY.
14925 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
14926 NO_CTORS_DTORS_SECTIONS is defined.
14927 * elf/soinit.c: Likewise.
14928 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
14929 NO_CTORS_DTORS_SECTIONS is defined.
14930 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
14931 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
14932 * sysdeps/sh/init-first.c: Likewise.
14933 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
14934
07eb4b71
UD
149352010-12-24 Ulrich Drepper <drepper@gmail.com>
14936
14937 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
14938 always use the slow path.
14939
30950a5f
RA
149402010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
14941
14942 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
14943 similar rule which adds the sysdep directories to the header search in
14944 order to pick up the correct platform stackinfo.h.
14945 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
14946 perform test if it is, otherwise return successfully without testing.
14947 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
14948 DEFAULT_STACK_PERMS define in stackinfo.h.
14949 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
14950 defined in stackinfo.h.
14951 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
14952 DEFAULT_STACK_PERMS defined in stackinfo.h.
14953 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
14954 * sysdeps/ia64/stackinfo.h: Likewise.
14955 * sysdeps/s390/stackinfo.h: Likewise.
14956 * sysdeps/sh/stackinfo.h: Likewise.
14957 * sysdeps/sparc/stackinfo.h: Likewise.
14958 * sysdeps/x86_64/stackinfo.h: Likewise.
14959 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
14960 PF_X for powerpc64. Retain PF_X for powerpc32.
14961
db753e2c
UD
149622010-12-19 Ulrich Drepper <drepper@gmail.com>
14963
14b697f7
UD
14964 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
14965 accurately.
db753e2c
UD
14966 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
14967 GETDENTS_64BIT_ALIGNED.
14968
28300719
UD
149692010-12-14 Ulrich Drepper <dreper@gmail.com>
14970
14b697f7 14971 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 14972
4f197237
AS
149732010-12-10 Andreas Schwab <schwab@redhat.com>
14974
dbb0472f
AS
14975 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
14976 _GNU_SOURCE.
14977
4f197237
AS
14978 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
14979 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
14980 Remove __restrict.
14981 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
14982 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
14983
fb88ac72
UD
149842010-12-09 Ulrich Drepper <drepper@gmail.com>
14985
14986 [BZ #11655]
14987 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
14988 are initialized.
14989
42acbb92
JJ
149902010-12-09 Jakub Jelinek <jakub@redhat.com>
14991
14992 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
14993
c038d98d
UD
149942010-12-03 Ulrich Drepper <drepper@gmail.com>
14995
14996 * po/it.po: Update from translation team.
14997
3a4a2499
L
149982010-12-01 H.J. Lu <hongjiu.lu@intel.com>
14999
15000 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
15001 unused codes.
15002
1e24cf6e
UD
150032010-11-30 Ulrich Drepper <drepper@gmail.com>
15004
15005 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
15006
a7690819
AS
150072010-11-24 Andreas Schwab <schwab@redhat.com>
15008
15009 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
15010 specially.
15011 (gaih_getanswer_slice): Likewise.
15012
3bf8d1b1
JJ
150132010-10-20 Jakub Jelinek <jakub@redhat.com>
15014
15015 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
15016
6db52fbb
PB
150172010-05-31 Petr Baudis <pasky@suse.cz>
15018
15019 [BZ #11149]
15020 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
15021 silently even in the chroot mode.
15022
eaca7569
UD
150232010-11-22 Ulrich Drepper <drepper@gmail.com>
15024
15025 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
15026 last patch a bit. Pretty printing
15027
3056dcdb
UD
150282010-05-31 Petr Baudis <pasky@suse.cz>
15029
15030 [BZ #10085]
15031 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
15032 initialization of skip_initgroups_dyn.
15033
cf7c9078
UD
150342010-11-19 Ulrich Drepper <drepper@gmail.com>
15035
15036 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
15037 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
15038
a1fb5e3e
UD
150392010-11-16 Ulrich Drepper <drepper@gmail.com>
15040
15041 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
15042
3540d66b
AS
150432010-11-11 Andreas Schwab <schwab@redhat.com>
15044
15045 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
15046 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
15047 (tst-fnmatch-ENV): Set MALLOC_TRACE.
15048 ($(objpfx)tst-fnmatch-mem): New rule.
15049 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
15050 * posix/tst-fnmatch.c (main): Call mtrace.
15051
13b69574
L
150522010-11-11 H.J. Lu <hongjiu.lu@intel.com>
15053
15054 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
15055 Support Intel processor model 6 and model 0x2c.
15056
da93d214
LM
150572010-11-10 Luis Machado <luisgpm@br.ibm.com>
15058
15059 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
15060 signed comparison.
15061
8ca52c6e
L
150622010-11-09 H.J. Lu <hongjiu.lu@intel.com>
15063
15064 [BZ #12205]
15065 * string/test-strncasecmp.c (check_result): New function.
15066 (do_one_test): Use it.
15067 (check1): New function.
15068 (test_main): Use it.
15069 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
15070 Support strcasecmp and strncasecmp.
15071
69da074d
UD
150722010-11-08 Ulrich Drepper <drepper@gmail.com>
15073
15074 [BZ #12194]
15075 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
15076 * sysdeps/x86_64/bits/byteswap.h: Likewise.
15077
ff02d528
L
150782010-11-07 H.J. Lu <hongjiu.lu@intel.com>
15079
15080 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
15081 IFUNC support.
15082 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
15083 memset-x86-64.
15084 * sysdeps/x86_64/multiarch/bzero.S: New file.
15085 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
15086 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
15087 * sysdeps/x86_64/multiarch/memset.S: New file.
15088 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
15089 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
15090 Set bit_Prefer_SSE_for_memop for Intel processors.
15091 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
15092 Define.
15093 (index_Prefer_SSE_for_memop): Define.
15094 (HAS_PREFER_SSE_FOR_MEMOP): Define.
15095
344d0b54
LM
150962010-11-04 Luis Machado <luisgpm@br.ibm.com>
15097
15098 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
15099 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
15100
c0dde15b
UD
151012010-11-03 H.J. Lu <hongjiu.lu@intel.com>
15102
15103 [BZ #12191]
15104 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
15105 (__x86_64_raw_data_cache_size_half): Likewise.
15106 (__x86_64_raw_shared_cache_size): Likewise.
15107 (__x86_64_raw_shared_cache_size_half): Likewise.
15108
15109 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
15110 (__x86_64_raw_data_cache_size_half): Likewise.
15111 (__x86_64_raw_shared_cache_size): Likewise.
15112 (__x86_64_raw_shared_cache_size_half): Likewise.
15113 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
15114 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
15115 and __x86_64_raw_shared_cache_size_half. Round
15116 __x86_64_data_cache_size_half, __x86_64_data_cache_size
15117 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
15118 to multiple of 256 bytes.
15119
0e516e0e
MS
151202010-11-03 Ulrich Drepper <drepper@gmail.com>
15121
15122 [BZ #12167]
15123 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
15124 of inacessible symlinks. Verify result of symlink before returning it.
15125 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
15126 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
15127
0e012e87
ER
151282010-10-28 Erich Ritz <erichritz@gmail.com>
15129
15130 * math/math.h (isinf): Fix typo in comment.
15131
de0ff7bc
UD
151322010-11-01 Ulrich Drepper <drepper@gmail.com>
15133
15134 * po/da.po: Update from translation team.
15135
fa41c84d
UD
151362010-10-26 Ulrich Drepper <drepper@gmail.com>
15137
15138 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
15139 is added to the list.
15140
f0967738
AK
151412010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15142 Ulrich Drepper <drepper@gmail.com>
15143
15144 * elf/dl-object.c (_dl_new_object): Don't append the new object to
15145 the global list here. Move code to...
15146 (_dl_add_to_namespace_list): ...here. New function.
15147 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
15148 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
15149 * elf/dl-load.c (lose): Don't remove the element from the list.
15150 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
15151 (_dl_map_object): Likewise.
15152
151532010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
15154
15155 [BZ #12159]
15156 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
15157 into all bytes of SSE register.
15158 Patch by Richard Li <richardpku@gmail.com>.
15159
f0967738 151602010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
15161
15162 [BZ #12140]
15163 * malloc/malloc.c (_int_free): Fill correct number of bytes when
15164 perturbing.
15165
d0b9e94f
MB
151662010-10-20 Michael B. Brutman <brutman@us.ibm.com>
15167
15168 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
15169 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
15170 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
15171 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
15172 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
15173 submachine.
15174 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
15175
8e9f92e9
AS
151762010-10-22 Andreas Schwab <schwab@redhat.com>
15177
15178 * include/dlfcn.h (__RTLD_SECURE): Define.
15179 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
15180 mode & __RTLD_SECURE instead.
15181 (open_path): Rename preloaded parameter to secure.
15182 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
15183 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
15184 * elf/dl-deps.c (openaux): Likewise.
15185 * elf/rtld.c (struct map_args): Remove is_preloaded.
15186 (map_doit): Don't use it.
15187 (dl_main): Likewise.
15188 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
15189 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
15190
bc96fbda
AS
151912010-09-09 Andreas Schwab <schwab@redhat.com>
15192
15193 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
15194 (sysd-rules-targets): Remove duplicates.
15195 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
15196 rtld-%.$o dependency.
15197
22cd1c9b
AS
151982010-10-18 Andreas Schwab <schwab@redhat.com>
15199
15200 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
15201 _dl_map_object do it.
15202
18edac48
UD
152032010-10-19 Ulrich Drepper <drepper@gmail.com>
15204
15205 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
15206 fast fma builtins, define the macros in the C99 standard.
15207 (FP_FAST_FMAF): Likewise.
15208 (FP_FAST_FMAL): Likewise.
15209 * sysdeps/x86_64/bits/mathdef.h: Likewise.
15210
15211 * bits/mathdef.h: Update copyright year.
15212 * sysdeps/powerpc/bits/mathdef.h: Likewise.
15213
d2050124
MM
152142010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
15215
15216 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
15217 builtins, define the macros in the C99 standard.
15218 (FP_FAST_FMAF): Likewise.
15219 (FP_FAST_FMAL): Likewise.
15220 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
15221 multiply/add.
15222 (FP_FAST_FMAF): Likewise.
15223
475facd1
JJ
152242010-10-15 Jakub Jelinek <jakub@redhat.com>
15225
15226 [BZ #3268]
15227 * math/libm-test.inc (fma_test): Some new testcases.
15228 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
15229 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
15230 y and infinite z. Do multiplication by C already in long double.
15231 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
15232 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
15233 y and infinite z. Do bitwise or of inexact bit into u.d.
15234 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
15235 * sysdeps/i386/fpu/s_fmaf.S: Removed.
15236 * sysdeps/i386/fpu/s_fma.S: Removed.
15237 * sysdeps/i386/fpu/s_fmal.S: Removed.
15238
7c08a05c
JJ
152392010-10-16 Jakub Jelinek <jakub@redhat.com>
15240
15241 [BZ #3268]
15242 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
15243 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
15244 computation is not scheduled after fetestexcept. Fix value
15245 of minimum denormal long double.
15246
f3f7372d
JJ
152472010-10-14 Jakub Jelinek <jakub@redhat.com>
15248
15249 [BZ #3268]
15250 * math/libm-test.inc (fma_test): Add some more tests.
15251 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
15252 correctly.
15253
14d43591
AS
152542010-10-15 Andreas Schwab <schwab@redhat.com>
15255
15256 * scripts/data/localplt-s390-linux-gnu.data: New file.
15257 * scripts/data/localplt-s390x-linux-gnu.data: New file.
15258
5e908464
JJ
152592010-10-13 Jakub Jelinek <jakub@redhat.com>
15260
15261 [BZ #3268]
15262 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
15263 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
15264 instead of dbl-64.
15265 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
15266 inlines.
15267 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
15268 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
15269 if one of x and y is very large and the other is subnormal.
15270 * sysdeps/s390/fpu/s_fmaf.c: New file.
15271 * sysdeps/s390/fpu/s_fma.c: New file.
15272 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
15273 * sysdeps/powerpc/fpu/s_fma.S: New file.
15274 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
15275 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
15276 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
15277
152782010-10-12 Jakub Jelinek <jakub@redhat.com>
15279
15280 [BZ #3268]
15281 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
15282 fma tests.
15283 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
15284 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
15285 * sysdeps/i386/i686/multiarch/s_fma.c: Include
15286 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
15287 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
15288 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
15289 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
15290
b833d51f
UD
152912010-10-12 Ulrich Drepper <drepper@redhat.com>
15292
15293 [BZ #12078]
15294 * posix/regcomp.c (parse_branch): One more memory leak plugged.
15295 * posix/bug-regex31.input: Add test case.
15296
1751705d
UD
152972010-10-11 Ulrich Drepper <drepper@gmail.com>
15298
e9b9cbf5
UD
15299 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
15300 * posix/bug-regex31.input: New file.
15301
15302 [BZ #12078]
15303 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
15304 (parse_sub_exp): Fix last change, use postorder.
15305
ef06edbe
UD
15306 * posix/bug-regex31.c: New file.
15307 * posix/Makefile: Add rules to build and run bug-regex31.
15308
a129c80d
UD
15309 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
15310
15311 [BZ #12078]
15312 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
15313
b76b818e
UD
15314 [BZ #12108]
15315 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
15316 to have entries in sys_siglist.
15317
1751705d
UD
15318 [BZ #12093]
15319 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
15320 be NULL.
15321
9ff8d36f
JJ
153222010-10-07 Jakub Jelinek <jakub@redhat.com>
15323
15324 [BZ #3268]
15325 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
15326 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
15327 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
15328 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
15329 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
15330 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
15331 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
15332 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
15333 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
15334 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
15335 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
15336 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
15337 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
15338 * math/ftestexcept.c (fetestexcept): Likewise.
15339 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
15340 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
15341 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
15342 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
15343 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
15344 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
15345 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
15346
af325969
UD
153472010-10-11 Ulrich Drepper <drepper@gmail.com>
15348
c579b202 15349 [BZ #12107]
af325969
UD
15350 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
15351 newline.
15352
67a67b95
UD
153532010-10-06 Ulrich Drepper <drepper@gmail.com>
15354
15355 * string/bug-strstr1.c: New file.
15356 * string/Makefile: Add rules to build and run bug-strstr1.
15357
5fb308bc
EB
153582010-10-05 Eric Blake <eblake@redhat.com>
15359
15360 [BZ #12092]
15361 * string/str-two-way.h (two_way_long_needle): Always clear memory
15362 when skipping input due to the shift table.
15363
45db99c7
UD
153642010-10-03 Ulrich Drepper <drepper@gmail.com>
15365
3b111893
UD
15366 [BZ #12005]
15367 * malloc/mcheck.c: Handle large requests.
15368
45db99c7
UD
15369 [BZ #12077]
15370 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
15371 for strncmp and strncasecmp.
15372 * string/stratcliff.c: Add tests for strcmp and strncmp.
15373 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
15374
cf7a1eb8
NI
153752010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
15376
15377 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
15378 __set_fpscr.
15379
6484ba5e
AJ
153802010-09-30 Andreas Jaeger <aj@suse.de>
15381
15382 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
15383 (CGROUP_SUPER_MAGIC): Define.
15384 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
15385 Handle btrfs and cgroup file systems.
15386 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
15387 Likewise.
15388
91c42559
LM
153892010-09-27 Luis Machado <luisgpm@br.ibm.com>
15390
15391 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
15392 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
15393
87a97932
AK
153942010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15395
15396 [BZ #12067]
15397 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
15398 trying to locate the ELF header.
15399
c21cc9bc
AS
154002010-09-27 Andreas Schwab <schwab@redhat.com>
15401
15402 [BZ #11611]
15403 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
15404 Mask out sign-bit copies when constructing f_fsid.
15405
315970f6
PB
154062010-09-24 Petr Baudis <pasky@suse.cz>
15407
15408 * debug/stack_chk_fail_local.c: Add missing licence exception.
15409 * debug/warning-nop.c: Likewise.
15410
1ac7a2c7
JM
154112010-09-15 Joseph Myers <joseph@codesourcery.com>
15412
15413 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
15414 implementing getdents64 using getdents syscall, set d_type if
15415 __ASSUME_GETDENTS32_D_TYPE.
15416
56801c50
AS
154172010-09-16 Andreas Schwab <schwab@redhat.com>
15418
15419 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
15420 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
15421
dda51327
UD
154222010-09-21 Ulrich Drepper <drepper@redhat.com>
15423
15424 [BZ #12037]
15425 * posix/unistd.h: Undo change of feature selection for ftruncate from
15426 2010-01-11.
15427
8ffcee4a
UD
154282010-09-20 Ulrich Drepper <drepper@redhat.com>
15429
a545ecd9 15430 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
15431 detection.
15432
e24f0a8b
AS
154332010-09-20 Andreas Schwab <schwab@redhat.com>
15434
15435 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
15436 fanotify_mark.
15437 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
15438
7291c56f
AS
154392010-09-14 Andreas Schwab <schwab@redhat.com>
15440
15441 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
15442 variables after CHECK_SP call.
15443 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
15444
bc5fb037
AS
154452010-09-13 Andreas Schwab <schwab@redhat.com>
15446 Ulrich Drepper <drepper@redhat.com>
15447
15448 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
15449 re-relocationg ld.so.
15450 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
15451 _dl_init_paths call.
15452 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
15453 here anymore.
15454
e66e7419
UD
154552010-09-14 Ulrich Drepper <drepper@redhat.com>
15456
15457 * resolv/res_init.c (__res_vinit): Count the default server we added.
15458
c044aa75
CLT
154592010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
15460 Ulrich Drepper <drepper@redhat.com>
15461
15462 [BZ #11968]
15463 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
15464 (____longjmp_chk): Use %ebx for saving value across system call.
15465 Add unwind info.
15466
32cf4069
AS
154672010-09-06 Andreas Schwab <schwab@redhat.com>
15468
15469 * manual/Makefile: Don't mix pattern rules with normal rules.
15470
817328ee
AS
154712010-09-05 Andreas Schwab <schwab@linux-m68k.org>
15472
15473 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
15474 operation.
15475 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
15476 * libio/iofopncook.c (_IO_cookie_init): Likewise.
15477 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
15478 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
15479 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
15480 Likewise.
15481
29fddf61
UD
154822010-09-04 Ulrich Drepper <drepper@redhat.com>
15483
15484 [BZ #11979]
15485 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
15486 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
15487
0959ffc9
UD
154882010-09-02 Ulrich Drepper <drepper@redhat.com>
15489
15490 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
15491 * sysdeps/x86_64/addmul_1.S: Likewise.
15492 * sysdeps/x86_64/lshift.S: Likewise.
15493 * sysdeps/x86_64/mul_1.S: Likewise.
15494 * sysdeps/x86_64/rshift.S: Likewise.
15495 * sysdeps/x86_64/sub_n.S: Likewise.
15496 * sysdeps/x86_64/submul_1.S: Likewise.
15497
ece29840
ST
154982010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
15499
0959ffc9
UD
15500 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
15501 Define __sched_param instead of SCHED_* and sched_param when
ece29840 15502 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 15503 * bits/sched.h [__need_schedparam]
ece29840 15504 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
15505 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
15506 (__defined_schedparam): Define to 1.
ece29840
ST
15507 (__sched_param): New structure, identical to sched_param.
15508 (__need_schedparam): Undefine.
15509
e53a31fe
MF
155102010-08-31 Mike Frysinger <vapier@gentoo.org>
15511
fdc0c10d
MF
15512 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
15513 (epoll_create1): Declare.
15514
e53a31fe
MF
15515 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
15516
a726d796
AS
155172010-08-31 Andreas Schwab <schwab@redhat.com>
15518
15519 [BZ #7066]
15520 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
15521 shifting retval into place.
15522
2f3e3dc7
UD
155232010-09-01 Ulrich Drepper <drepper@redhat.com>
15524
f2933da9
UD
15525 * nis/rpcsvc/nis.h: Update copyright notice.
15526 * nis/rpcsvc/nis.x: Likewise.
15527 * nis/rpcsvc/nis_callback.h: Likewise.
15528 * nis/rpcsvc/nis_callback.x: Likewise.
15529 * nis/rpcsvc/nis_object.x: Likewise.
15530 * nis/rpcsvc/nis_tags.h: Likewise.
15531 * nis/rpcsvc/yp.h: Likewise.
15532 * nis/rpcsvc/yp.x: Likewise.
15533 * nis/rpcsvc/ypupd.h: Likewise.
15534 * nis/yp_xdr.c: Likewise.
15535 * nis/ypupdate_xdr.c: Likewise.
15536
2f3e3dc7
UD
15537 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
15538 mainly the body of pmap_getport. Add parameters to specify timeouts.
15539 (pmap_getport): Use __libc_rpc_getport.
15540 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
15541 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
15542 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
15543
f3dcc2f9
AS
155442010-08-31 Andreas Schwab <schwab@linux-m68k.org>
15545
15546 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
15547 fanotify_mark.
15548
6d34eb5b
RM
155492010-08-27 Roland McGrath <roland@redhat.com>
15550
15551 * sysdeps/i386/i686/multiarch/Makefile
15552 (CFLAGS-varshift.c): New variable.
15553
9ea3de11
UD
155542010-08-27 Ulrich Drepper <drepper@redhat.com>
15555
c96d23fc
UD
15556 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
15557 * sysdeps/i386/i686/multiarch/varshift.c: New file.
15558
9ea3de11
UD
15559 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
15560
15561 * sysdeps/x86_64/strlen.S: Minimal code improvement.
15562
623aac7f
L
155632010-08-26 H.J. Lu <hongjiu.lu@intel.com>
15564
15565 * sysdeps/x86_64/strlen.S: Unroll the loop.
15566 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
15567 strlen-sse2 strlen-sse2-bsf.
15568 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
15569 __strlen_no_bsf if bit_Slow_BSF is set.
15570 (__strlen_sse42): Removed.
15571 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
15572 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
15573
8b2b7715
RM
155742010-08-25 Roland McGrath <roland@redhat.com>
15575
15576 * sysdeps/x86_64/multiarch/varshift.S: File removed.
15577 * sysdeps/x86_64/multiarch/varshift.c: New file.
15578 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
15579 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
15580 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
15581 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
15582
e73015f2
L
155832010-08-25 H.J. Lu <hongjiu.lu@intel.com>
15584
15585 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
15586 strlen-sse2 strlen-sse2-bsf.
15587 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
15588 __strlen_sse2_bsf if bit_Slow_BSF is unset.
15589 (__strlen_sse2): Removed.
15590 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
15591 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
15592 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
15593 bit_Slow_BSF for Atom.
15594 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
15595 (index_Slow_BSF): Define.
15596 (HAS_SLOW_BSF): Define.
15597
df24a73e
UD
155982010-08-25 Ulrich Drepper <drepper@redhat.com>
15599
15600 [BZ #10851]
15601 * resolv/res_init.c (__res_vinit): When no server address at all
15602 is given default to loopback.
15603
f2ac4868
RM
156042010-08-24 Roland McGrath <roland@redhat.com>
15605
09055553
RM
15606 * configure.in: Remove config-name.h generation.
15607 * configure: Regenerated.
15608 * config-name.in: File removed.
15609 * scripts/config-uname.sh: New file.
15610 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
15611 ($(objdir)config-name.h): New target.
15612
f2ac4868
RM
15613 * sunrpc/rpc_parse.h: Avoid nested comment.
15614
73f27d5e
RH
156152010-08-24 Richard Henderson <rth@redhat.com>
15616 Ulrich Drepper <drepper@redhat.com>
15617 H.J. Lu <hongjiu.lu@intel.com>
15618
15619 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
15620 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
15621 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
15622 Replace _mm_srli_si128 with __m128i_shift_right. Replace
15623 _mm_alignr_epi8 with _mm_loadu_si128.
15624 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
15625 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
15626 (__m128i_shift_right): Removed.
15627 * sysdeps/i386/i686/multiarch/varshift.h: New file.
15628 * sysdeps/i386/i686/multiarch/varshift.S: New file.
15629 * sysdeps/x86_64/multiarch/varshift.h: New file.
15630 * sysdeps/x86_64/multiarch/varshift.S: New file.
15631
84b9230c
MF
156322010-08-21 Mike Frysinger <vapier@gentoo.org>
15633
15634 * configure.in: Move assembler checks to before sysdep dir checking.
15635
9bbd0ddc
PB
156362010-08-20 Petr Baudis <pasky@suse.cz>
15637
15638 * LICENSES: Sync the sunrpc license.
15639
9da4bb31
UD
156402010-08-19 Ulrich Drepper <drepper@redhat.com>
15641
a7ab6ec8
UD
15642 * sunrpc/auth_des.c: Update copyright notice once again.
15643 * sunrpc/auth_none.c: Likewise.
15644 * sunrpc/auth_unix.c: Likewise.
15645 * sunrpc/authdes_prot.c: Likewise.
15646 * sunrpc/authuxprot.c: Likewise.
15647 * sunrpc/bindrsvprt.c: Likewise.
15648 * sunrpc/clnt_gen.c: Likewise.
15649 * sunrpc/clnt_perr.c: Likewise.
15650 * sunrpc/clnt_raw.c: Likewise.
15651 * sunrpc/clnt_simp.c: Likewise.
15652 * sunrpc/clnt_tcp.c: Likewise.
15653 * sunrpc/clnt_udp.c: Likewise.
15654 * sunrpc/clnt_unix.c: Likewise.
15655 * sunrpc/des_crypt.c: Likewise.
15656 * sunrpc/des_soft.c: Likewise.
15657 * sunrpc/get_myaddr.c: Likewise.
15658 * sunrpc/getrpcport.c: Likewise.
15659 * sunrpc/key_call.c: Likewise.
15660 * sunrpc/key_prot.c: Likewise.
15661 * sunrpc/openchild.c: Likewise.
15662 * sunrpc/pm_getmaps.c: Likewise.
15663 * sunrpc/pm_getport.c: Likewise.
15664 * sunrpc/pmap_clnt.c: Likewise.
15665 * sunrpc/pmap_prot.c: Likewise.
15666 * sunrpc/pmap_prot2.c: Likewise.
15667 * sunrpc/pmap_rmt.c: Likewise.
15668 * sunrpc/rpc/auth.h: Likewise.
15669 * sunrpc/rpc/auth_unix.h: Likewise.
15670 * sunrpc/rpc/clnt.h: Likewise.
15671 * sunrpc/rpc/des_crypt.h: Likewise.
15672 * sunrpc/rpc/key_prot.h: Likewise.
15673 * sunrpc/rpc/netdb.h: Likewise.
15674 * sunrpc/rpc/pmap_clnt.h: Likewise.
15675 * sunrpc/rpc/pmap_prot.h: Likewise.
15676 * sunrpc/rpc/pmap_rmt.h: Likewise.
15677 * sunrpc/rpc/rpc.h: Likewise.
15678 * sunrpc/rpc/rpc_des.h: Likewise.
15679 * sunrpc/rpc/rpc_msg.h: Likewise.
15680 * sunrpc/rpc/svc.h: Likewise.
15681 * sunrpc/rpc/svc_auth.h: Likewise.
15682 * sunrpc/rpc/types.h: Likewise.
15683 * sunrpc/rpc/xdr.h: Likewise.
15684 * sunrpc/rpc_clntout.c: Likewise.
15685 * sunrpc/rpc_cmsg.c: Likewise.
15686 * sunrpc/rpc_common.c: Likewise.
15687 * sunrpc/rpc_cout.c: Likewise.
15688 * sunrpc/rpc_dtable.c: Likewise.
15689 * sunrpc/rpc_hout.c: Likewise.
15690 * sunrpc/rpc_main.c: Likewise.
15691 * sunrpc/rpc_parse.c: Likewise.
15692 * sunrpc/rpc_parse.h: Likewise.
15693 * sunrpc/rpc_prot.c: Likewise.
15694 * sunrpc/rpc_sample.c: Likewise.
15695 * sunrpc/rpc_scan.c: Likewise.
15696 * sunrpc/rpc_scan.h: Likewise.
15697 * sunrpc/rpc_svcout.c: Likewise.
15698 * sunrpc/rpc_tblout.c: Likewise.
15699 * sunrpc/rpc_util.c: Likewise.
15700 * sunrpc/rpc_util.h: Likewise.
15701 * sunrpc/rpcinfo.c: Likewise.
15702 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
15703 * sunrpc/rpcsvc/key_prot.x: Likewise.
15704 * sunrpc/rpcsvc/klm_prot.x: Likewise.
15705 * sunrpc/rpcsvc/mount.x: Likewise.
15706 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
15707 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
15708 * sunrpc/rpcsvc/rex.x: Likewise.
15709 * sunrpc/rpcsvc/rstat.x: Likewise.
15710 * sunrpc/rpcsvc/rusers.x: Likewise.
15711 * sunrpc/rpcsvc/sm_inter.x: Likewise.
15712 * sunrpc/rpcsvc/spray.x: Likewise.
15713 * sunrpc/rpcsvc/yppasswd.x: Likewise.
15714 * sunrpc/rtime.c: Likewise.
15715 * sunrpc/svc.c: Likewise.
15716 * sunrpc/svc_auth.c: Likewise.
15717 * sunrpc/svc_authux.c: Likewise.
15718 * sunrpc/svc_raw.c: Likewise.
15719 * sunrpc/svc_run.c: Likewise.
15720 * sunrpc/svc_simple.c: Likewise.
15721 * sunrpc/svc_tcp.c: Likewise.
15722 * sunrpc/svc_udp.c: Likewise.
15723 * sunrpc/svc_unix.c: Likewise.
15724 * sunrpc/svcauth_des.c: Likewise.
15725 * sunrpc/xcrypt.c: Likewise.
15726 * sunrpc/xdr.c: Likewise.
15727 * sunrpc/xdr_array.c: Likewise.
15728 * sunrpc/xdr_float.c: Likewise.
15729 * sunrpc/xdr_mem.c: Likewise.
15730 * sunrpc/xdr_rec.c: Likewise.
15731 * sunrpc/xdr_ref.c: Likewise.
15732 * sunrpc/xdr_sizeof.c: Likewise.
15733 * sunrpc/xdr_stdio.c: Likewise.
15734
9da4bb31
UD
15735 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
15736 handling.
15737
bdaa77bc
AS
157382010-08-19 Andreas Schwab <schwab@redhat.com>
15739
15740 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
15741
fe2f79db
LM
157422010-08-19 Luis Machado <luisgpm@br.ibm.com>
15743
15744 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
15745 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
15746 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
15747 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
15748 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
15749 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
15750 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
15751 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
15752 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
15753 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
15754 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
15755 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
15756 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
15757 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
15758
b9b42ee0
AB
157592010-07-26 Anton Blanchard <anton@samba.org>
15760
15761 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
15762 * malloc/arena.c (heap_trim): Likewise.
15763
1c06ba31
UD
157642010-08-16 Ulrich Drepper <drepper@redhat.com>
15765
15766 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
15767 here. Not...
15768 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
15769 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
15770
f8392f40
L
157712010-08-12 H.J. Lu <hongjiu.lu@intel.com>
15772
15773 * sysdeps/i386/elf/Makefile: New file.
15774
3162f12e
AS
157752010-08-14 Andreas Schwab <schwab@linux-m68k.org>
15776
15777 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
15778 from fanotify_init.
15779 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
15780 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
15781
28c90b2c
UD
157822010-08-15 Ulrich Drepper <drepper@redhat.com>
15783
15784 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
15785 of strncasecmp_l.
1feccb6c 15786 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 15787
ca6bb004
UD
157882010-08-14 Ulrich Drepper <drepper@redhat.com>
15789
e9f82e0d
UD
15790 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
15791 strncase_l-nonascii.
15792 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
15793 Add strncase_l-ssse3.
15794 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
15795 * sysdeps/x86_64/strcmp.S: Likewise.
15796 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
15797 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
15798 * sysdeps/x86_64/strncase.S: New file.
15799 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
15800 * sysdeps/x86_64/strncase_l.S: New file.
15801 * string/Makefile (strop-tests): Add strncasecmp.
15802 * string/test-strncasecmp.c: New file.
15803
15804 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
15805 warning.
15806
ca6bb004
UD
15807 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
15808 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
15809
052fa7b3
AS
158102010-08-14 Andreas Schwab <schwab@linux-m68k.org>
15811
15812 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
15813
962dba78
UD
158142010-08-12 Ulrich Drepper <drepper@redhat.com>
15815
15816 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
15817 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
15818 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
15819
bebff237
AM
158202010-05-01 Alan Modra <amodra@gmail.com>
15821
15822 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
15823 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
15824 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
15825 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
15826 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
15827 tidying. Don't tail-call __sigjmp_save for static lib.
15828 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
15829 save location.
15830 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
15831 (CALL_MCOUNT): Add eh info, and nop after bl.
15832 (TAIL_CALL_SYSCALL_ERROR): New macro.
15833 (PSEUDO_RET): Use it.
15834 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
15835 Correct save location of integer regs and cr.
15836 (_dl_profile_resolve): Correct cr save location. Delete nops
15837 after bl when SHARED. Reduce cfi size a little by better
15838 placement of cfi directives.
15839 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
15840 make a stack frame. Instead use parm save area as a temp.
15841 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
15842 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
15843 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
15844 Don't make a stack frame for parent, use parm save area.
15845 Increase child stack frame to 112 bytes. Don't save unused reg,
15846 and adjust reg usage. Set up cfi on error recovery and
15847 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
15848 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
15849 (__makecontext): Add dummy nop after jump to exit.
15850 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
15851 Use correct parm save area and cr save, reduce stack frame.
15852 Correct cfi for possible PSEUDO_RET frame setup.
15853 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
15854 Branch to local label emitted by PSEUDO_RET rather than
15855 __syscall_error.
15856
02637374
AS
158572010-08-12 Andreas Schwab <schwab@redhat.com>
15858
15859 [BZ #11904]
15860 * locale/programs/locale.c (print_assignment): New function.
15861 (show_locale_vars): Use it.
15862
c3e2f19b
UD
158632010-08-11 Ulrich Drepper <drepper@redhat.com>
15864
3cdaa6ad
UD
15865 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
15866 field.
15867 (struct statfs64): Likewise.
15868 (_STATFS_F_FLAGS): Define.
15869 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
15870 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
15871 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
15872 (ST_VALID): Define locally.
15873 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
15874 __statvfs_getflags, use the provided value.
15875 * sysdeps/unix/sysv/linux/kernel-features.h: Define
15876 __ASSUME_STATFS_F_FLAGS.
15877
754f7da3
UD
15878 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
15879
10b3bedc
UD
15880 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
15881 Add sys/fanotify.h.
15882 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
15883 fanotify_mask for GLIBC_2.13.
15884 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
15885 fanotify_init and fanotify_mark.
15886 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
15887 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
15888
c08fb0d7
UD
15889 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
15890 Add prlimit.
15891 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
15892 prlimit64 for GLIBC_2.13.
15893 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
15894 prlimit64.
15895 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
15896 syscall.
15897 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
15898 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
15899 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
15900 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
15901 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
15902 add prlimit alias.
15903 * sysdeps/unix/sysv/linux/prlimit.c: New file.
15904
15bac72b
UD
15905 [BZ #11903]
15906 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
15907 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
15908
c3e2f19b
UD
15909 * nss/Makefile: Add rules to build and run tst-nss-test1.
15910 * shlib-versions: Add entry for libnss_test1.
15911 * nss/nss_test1.c: New file.
15912 * nss/tst-nss-test1.c: New file.
15913
15914 * nss/nsswitch.c (__nss_database_custom): Define new variable.
15915 (__nss_configure_lookup): Set appropriate entry in
15916 __nss_configure_lookup to true.
15917 * nss/nsswitch.h: Define enum with indeces of databases in
15918 databases and __nss_database_custom arrays. Declare
15919 __nss_database_custom.
15920 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
15921 to avoid using nscd when custom rules are installed.
15922 * nss/getXXbyYY_r.c: Likewise.
15923 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
15924
15925 * nss/nss_files/files-parse.c: Whitespace fixes.
15926
f15ce4d8
UD
159272010-08-09 Ulrich Drepper <drepper@redhat.com>
15928
15929 [BZ #11883]
15930 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
15931 * posix/fnmatch_loop.c: Likewise.
15932
d22e4cc9
AK
159332010-07-17 Andi Kleen <ak@linux.intel.com>
15934
15935 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
15936 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
15937 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
15938 * Versions.def [GLIBC_2.13]: Add.
15939
805bc17d
UD
159402010-08-06 Ulrich Drepper <drepper@redhat.com>
15941
15942 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
15943 Also fail if tpwd after pwuid call is NULL.
15944
5a42321d
ST
159452010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
15946
15947 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
15948 when converting to ms.
15949
fd3ebeda
ST
159502010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
15951
15952 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
15953 EOPNOTSUPP errors with ENOTTY.
15954 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
15955 EOPNOTSUPP errors with ENOTTY.
15956
73507d3a
UD
159572010-07-31 Ulrich Drepper <drepper@redhat.com>
15958
15959 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
15960 Add strcasecmp_l-ssse3.
15961 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
15962 strcasecmp.
15963 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
15964 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
15965 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
15966
fe36dd02
UD
159672010-07-30 Ulrich Drepper <drepper@redhat.com>
15968
66f6765a
UD
15969 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
15970
42e08a54
UD
15971 * string/Makefile (strop-tests): Add strcasecmp.
15972 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
15973 strcasecmp_l-nonascii.
15974 (gen-as-const-headers): Add locale-defines.sym.
15975 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
15976 * sysdeps/x86_64/strcasecmp.S: New file.
15977 * sysdeps/x86_64/strcasecmp_l.S: New file.
15978 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
15979 * sysdeps/x86_64/locale-defines.sym: New file.
15980 * string/test-strcasecmp.c: New file.
15981
fe36dd02
UD
15982 * string/test-strcasestr.c: Test both ends of the range of characters.
15983 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
15984
48cbc0d6
RM
159852010-07-29 Roland McGrath <roland@redhat.com>
15986
76e6d6bc 15987 [BZ #11856]
48cbc0d6
RM
15988 * manual/locale.texi (Yes-or-No Questions): Fix example code.
15989
880113d9
UD
159902010-07-27 Ulrich Drepper <drepper@redhat.com>
15991
15992 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
15993 for ld.so.
15994
deb9cabb
AS
159952010-07-27 Andreas Schwab <schwab@redhat.com>
15996
15997 * manual/memory.texi (Malloc Tunable Parameters): Document
15998 M_PERTURB.
15999
1c7570ff
RM
160002010-07-26 Roland McGrath <roland@redhat.com>
16001
16002 [BZ #11840]
16003 * configure.in (-fgnu89-inline check): Set and substitute
16004 gnu89_inline, not libc_cv_gnu89_inline.
16005 * configure: Regenerated.
16006 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
16007
24fb0f88
UD
160082010-07-26 Ulrich Drepper <drepper@redhat.com>
16009
16010 * string/test-strnlen.c: New file.
16011 * string/Makefile (strop-tests): Add strnlen.
16012 * string/tester.c (test_strnlen): Add a few more test cases.
16013 * string/tst-strlen.c: Better error reporting.
16014
16015 * sysdeps/x86_64/strnlen.S: New file.
16016
8e96b93a
UD
160172010-07-24 Ulrich Drepper <drepper@redhat.com>
16018
16019 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
16020 lower-latency instructions.
16021
dbc676d4
UD
160222010-07-23 Ulrich Drepper <drepper@redhat.com>
16023
16024 * string/test-strcasestr.c: New file.
16025 * string/test-strstr.c: New file.
16026 * string/Makefile (strop-tests): Add strstr and strcasestr.
16027 * string/str-two-way.h: Don't undefine MAX.
16028 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
16029
f6a31e0e
AS
160302010-07-21 Andreas Schwab <schwab@redhat.com>
16031
16032 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
16033 strcasestr-nonascii.
16034 (CFLAGS-strcasestr-nonascii.c): Define.
16035 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
16036 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
16037 Remove unused attribute.
16038
5dbc3b6c
RM
160392010-07-20 Roland McGrath <roland@redhat.com>
16040
16041 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
16042 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
16043 ld.so.cache was broken. With it, there is no way to disable dsocaps
16044 like LD_HWCAP_MASK can disable hwcaps.
16045
23d101d8
EPM
160462010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
16047
16048 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
16049
cc9f2e47
UD
160502010-07-16 Ulrich Drepper <drepper@redhat.com>
16051
16052 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
16053 call in strcasestr.
16054 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
16055 __strcasestr_sse42_nonascii.
16056 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
16057 strcasestr-nonascii.c.
16058 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
16059
77c1b069
LM
160602010-06-15 Luis Machado <luisgpm@br.ibm.com>
16061
16062 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
16063 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
16064 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
16065 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
16066
440566c3
UD
160672010-07-09 Ulrich Drepper <drepper@redhat.com>
16068
16069 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
16070 fcntl.
16071
5be9d05d
AS
160722010-07-06 Andreas Schwab <schwab@redhat.com>
16073
c30b7ee2 16074 [BZ #11577]
5be9d05d
AS
16075 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
16076 dl_signal_cerror.
16077
8a492a67
UD
160782010-07-06 Ulrich Drepper <drepper@redhat.com>
16079
16080 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
16081 _PC_PIPE_BUF using F_GETPIPE_SZ.
16082
713df3d5
RM
160832010-07-05 Roland McGrath <roland@redhat.com>
16084
16085 * manual/arith.texi (Rounding Functions): Fix rint description
16086 implicit in round description.
16087
702e8f14
UD
160882010-07-02 Ulrich Drepper <drepper@redhat.com>
16089
16090 * elf/Makefile: Fix linking for a few tests to make recent linker
16091 happy.
16092
52ed8be9
AS
160932010-06-30 Andreas Schwab <schwab@redhat.com>
16094
16095 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
16096 $(common-objpfx)libc_nonshared.a.
16097
f47c9a11
LM
160982010-06-21 Luis Machado <luisgpm@br.ibm.com>
16099
16100 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
16101 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
16102 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
16103 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
16104 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
16105 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
16106 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
16107 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
16108 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
16109 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
16110 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
16111 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
16112 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
16113 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
16114 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
16115 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
16116 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
16117 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
16118 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
16119 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
16120 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
16121 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
16122 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
16123 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
16124 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
16125 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
16126 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
16127 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
16128 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
16129 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
16130 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
16131 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
16132 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
16133 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
16134 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
16135 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
16136 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
16137 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
16138 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
16139 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
16140 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
16141 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
16142 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
16143 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
16144 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
16145 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
16146 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
16147 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
16148
6fb8cbcb
L
161492010-06-25 H.J. Lu <hongjiu.lu@intel.com>
16150
16151 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
16152 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
16153 * string/memmove.c (memmove): Renamed to ...
16154 (MEMMOVE): ...this. Default to memmove.
16155 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
16156 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
16157 (END_CHK): Define.
16158 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
16159 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
16160 mempcpy-ssse3-back memmove-ssse3-back.
16161 * sysdeps/x86_64/multiarch/bcopy.S: New file .
16162 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
16163 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
16164 * sysdeps/x86_64/multiarch/memcpy.S: New file.
16165 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
16166 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
16167 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
16168 * sysdeps/x86_64/multiarch/memmove.c: New file.
16169 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
16170 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
16171 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
16172 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
16173 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
16174 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
16175 Define.
16176 (index_Fast_Copy_Backward): Define.
16177 (HAS_ARCH_FEATURE): Define.
16178 (HAS_FAST_REP_STRING): Define.
16179 (HAS_FAST_COPY_BACKWARD): Define.
16180
4e733bac 161812010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
16182
16183 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
16184 Restore proper fallback handling.
16185
63c4ed22
UD
161862010-06-19 Ulrich Drepper <drepper@redhat.com>
16187
ac2b484c
UD
16188 [BZ #11701]
16189 * posix/group_member.c (__group_member): Correct checking loop.
16190
63c4ed22
UD
16191 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
16192 OOM in getpwuid_r correctly. Return error number when the caller
16193 should return, otherwise -1.
16194 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
16195 call returning > 0 value.
16196 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
16197
765ade4b
AS
161982010-06-07 Andreas Schwab <schwab@redhat.com>
16199
16200 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
16201 libc_nonshared.a from targets in modules-names.
16202
80da2e09
KS
162032010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
16204
16205 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
16206 requires it.
16207
158db122
LM
162082010-06-10 Luis Machado <luisgpm@br.ibm.com>
16209
16210 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
16211 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
16212 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
16213 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
16214
caa78cf8
AS
162152010-06-02 Andreas Schwab <schwab@redhat.com>
16216
16217 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
16218
b2ef2c01
UD
162192010-06-14 Ulrich Drepper <drepper@redhat.com>
16220
16221 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
16222 and F_GETPIPE_SZ.
16223 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
16224 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
16225 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
16226 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
16227 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
16228 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
16229
fbd643b6
RM
162302010-06-14 Roland McGrath <roland@redhat.com>
16231
16232 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
16233
f32f2869
JJ
162342010-06-07 Jakub Jelinek <jakub@redhat.com>
16235
16236 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
16237 __REDIRECT followed by __THROW.
16238 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
16239 * posix/getopt.h (getopt): Likewise.
16240
2a50c078
EPM
162412010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
16242
16243 * hurd/lookup-at.c (__file_name_lookup_at): Accept
16244 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
16245 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
16246 in AT_FLAGS.
16247 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
16248 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
16249
eb5ad2eb
LM
162502010-05-28 Luis Machado <luisgpm@br.ibm.com>
16251
16252 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
16253
3c88fe1e
L
162542010-05-26 H.J. Lu <hongjiu.lu@intel.com>
16255
16256 [BZ #11640]
16257 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
16258 Properly check family and model.
16259
d2f73151
TY
162602010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
16261
16262 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
16263
ebd2e13d
LM
162642010-05-24 Luis Machado <luisgpm@br.ibm.com>
16265
16266 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
16267
b32b8b45
UD
162682010-05-21 Ulrich Drepper <drepper@redhat.com>
16269
16270 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
16271 symbol reference.
16272
9acbe24d
AS
162732010-05-19 Andreas Schwab <schwab@redhat.com>
16274
16275 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
16276 symbol reference.
16277
f0ccf6ea
AS
162782010-05-21 Andreas Schwab <schwab@redhat.com>
16279
3d04ff3a
AS
16280 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
16281 and internal_recvmmsg.
16282 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
16283 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
16284 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
16285 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
16286
f0ccf6ea
AS
16287 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
16288 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
16289 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
16290
5b08ac57
AS
162912010-05-20 Andreas Schwab <schwab@redhat.com>
16292
16293 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
16294
4828935d
LM
162952010-05-17 Luis Machado <luisgpm@br.ibm.com>
16296
16297 POWER7 optimizations.
16298 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
16299 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
16300
373d545e
UD
163012010-05-19 Ulrich Drepper <drepper@redhat.com>
16302
16303 * version.h: Update for 2.13 development version.
16304
21a2b1ae
AS
163052010-05-12 Andrew Stubbs <ams@codesourcery.com>
16306
16307 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
16308 exceptions. Return 0.
16309
3f7dcb2b
RM
163102010-05-07 Roland McGrath <roland@redhat.com>
16311
16312 * elf/ldconfig.c (main): Add a const.
16313
5f24d53a 163142010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 16315
a160f8d8
UD
16316 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
16317 (args_options): Add no-idn option.
16318 (ahosts_keys_int): Add idn_flags to ai_flags.
16319 (parse_option): Handle 'i' option to clear idn_flags.
16320
5f24d53a
UD
16321 * malloc/malloc.c (_int_free): Possible race in the most recently
16322 added check. Only act on the data if no current modification
16323 happened.
265bb1ce
UD
16324
16325See ChangeLog.17 for earlier changes.