]> git.ipfire.org Git - thirdparty/glibc.git/blame - ChangeLog
Use x86_64 bits/{io,perm}.h for i386 and x86_64
[thirdparty/glibc.git] / ChangeLog
CommitLineData
f3d1f93c
L
12012-06-04 H.J. Lu <hongjiu.lu@intel.com>
2
3 [BZ #14117]
4 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
5 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
6 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
7 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
8 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
9 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
10
d9dc34cd
TMQMF
112012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
12
13 [BZ #13743]
14 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
15 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
16 (sysdep_headers): Include sys/platform/ppc.h.
17 * sysdeps/powerpc/test-gettimebase.c: Test for
18 __ppc_get_timebase() to catch future ISA opcode/insn changes.
19 * manual/Makefile (appendices): Include platform.texi.
20 * manual/contrib.texi (Contributors): Update @node pointers.
21 * manual/maint.texi (Maintenance): Likewise.
22 (Platform): New node.
23 * manual/platform.texi: New file. Document the new features.
24
4af3879c
SP
252012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
26 Jakub Jelinek <jakub@redhat.com>
27
28 [BZ #14188]
29 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
30 where __builtin_expect is unavailable.
31
2fd6ff13
DM
322012-06-03 David S. Miller <davem@davemloft.net>
33
34 * stdlib/longlong.h: Updated from GCC.
35
173f7220
AS
362012-06-02 Andreas Schwab <schwab@linux-m68k.org>
37
38 [BZ #14042]
39 * sysdeps/powerpc/powerpc32/mcount.c: New file.
40 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
41 __mcount_internal.
42 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
43 (GLIBC_2.16): Likewise.
44
f34a1c6f
L
452012-06-01 H.J. Lu <hongjiu.lu@intel.com>
46
47 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
48
88a4576f
JM
492012-06-01 Joseph Myers <joseph@codesourcery.com>
50
ea32bcdd
JM
51 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
52 (default-abi): New variable.
53 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
54 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
55 variable.
56 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
57 Likewise.
58 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
59 Likewise.
60 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
61 Likewise.
62
88a4576f
JM
63 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
64 definition. Document in comment.
65
402fe938
DM
662012-06-01 David S. Miller <davem@davemloft.net>
67
68 * stdlib/longlong.h: Updated from GCC.
69
3553723f
L
702012-06-01 H.J. Lu <hongjiu.lu@intel.com>
71
72 [BZ #14117]
3bd872c4
L
73 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
74 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
75 sys/debugreg.h sys/io.h here.
76 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
77 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
78 sys/io.h.
79 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
80 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
81 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
82 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
83 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
84 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
85
3553723f
L
86 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
87 Define only if __x86_64__ is defined.
88
4842e4fe
JM
892012-06-01 Joseph Myers <joseph@codesourcery.com>
90
c5bfe3d5
JM
91 [BZ #14048]
92 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
93 Use int64_t for variable i.
94 * math/libm-test.inc (fmod_test): Add more tests.
95
4842e4fe
JM
96 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
97 z computation is not scheduled after fetestexcept.
98 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
99 Use math_force_eval instead of asm to ensure calculation scheduled
100 before exception test.
101 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
102 Ensure a1 + u.d computation is not scheduled after fetestexcept.
103
efb73488
AJ
1042012-06-01 Aurelien Jarno <aurelien@aurel32.net>
105
106 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
107 computation is not scheduled after fetestexcept.
108
29bcce7c
L
1092012-06-01 H.J. Lu <hongjiu.lu@intel.com>
110
111 [BZ #14117]
112 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
113 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
114
73a68f94
AZ
1152012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
116
117 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
118 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
119
67b6df78
L
1202012-05-31 H.J. Lu <hongjiu.lu@intel.com>
121
edf2933a 122 [BZ #14117]
ebc64a18
L
123 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
124 <bits/wordsize.h>.
125 (__WCHAR_MIN): Support __WORDSIZE == 64.
126 (__WCHAR_MAX): Likewise.
127
edf2933a
L
128 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
129 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
130
57c6cf40
L
131 [BZ #14183]
132 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
133 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
134
67b6df78 135 [BZ #14117]
8eb6281e
L
136 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
137 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
138
aac639f4
L
139 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
140 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
141
67b6df78
L
142 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
143 Defined to 1 if __x86_64__ isn't defined.
144 (_STAT_VER_LINUX_OLD): New.
145 (st_atime): Remove duplicate.
146 (st_mtime): Likewise.
147 (st_ctime): Likewise.
148
1c2cfe81
DM
1492012-05-31 David S. Miller <davem@davemloft.net>
150
151 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
152 entries.
153
5be8418c
AS
1542012-06-01 Andreas Schwab <schwab@linux-m68k.org>
155
e7725326
AS
156 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
157 gen-libm-test.pl.
158
5be8418c
AS
159 [BZ #14132]
160 * elf/dl-reloc.c: Include <_itoa.h>.
161 (_dl_reloc_bad_type): Remove use of INTUSE.
162 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
163 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
164 * stdio-common/psiginfo.c (psiginfo): Likewise.
165 * stdio-common/psignal.c (psignal): Likewise.
166 * string/strsignal.c (strsignal): Likewise.
167 * include/signal.h (_sys_siglist): Declare hidden proto.
168 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
169 INTVARDEF with libc_hidden_data_def.
170 * stdio-common/itoa-udigits.c: Likewise.
171 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
172 (_itoa_lower_digits_internal): Remove declaration.
173 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
174 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
175 (_sys_sigabbrev_internal): Remove aliases.
176 (_sys_siglist): Define hidden alias.
177
507352f1
MT
1782012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
179
180 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
181 bits/sysctl.h.
182
42bbb1c3
L
1832012-05-31 H.J. Lu <hongjiu.lu@intel.com>
184
185 [BZ #14117]
6bd784b6
L
186 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
187 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
188
8bca20f0
L
189 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
190 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
191 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
192 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
193 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
194 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
195
f9e890a9
L
196 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
197 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
198 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
199
471101a1
L
200 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
201 with __addr.
202 (insw): Likewise.
203 (insl): Likewise.
204 (outsb): Likewise.
205 (outsw): Likewise.
206 (outsl): Likewise.
207
6451c862
L
208 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
209 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
210 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
211
a254b8c9
L
212 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
213 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
214 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
215 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
216 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
217 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
218
b8dfdd92
L
219 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
220 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
221
578cd270
L
222 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
223 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
224
de662f5f
L
225 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
226 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
227 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
228
25653439
L
229 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
230 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
231 to ...
232 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
233
6bad24a0
L
234 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
235 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
236 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
237
42bbb1c3
L
238 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
239 for x86-64.
240 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
241
2d10d547
JM
2422012-05-31 Joseph Myers <joseph@codesourcery.com>
243
244 * math/math.h (M_El): Use two more decimal places.
245 (M_LOG2El): Likewise.
246 (M_LOG10El): Likewise.
247 (M_LN2l): Likewise.
248 (M_LN10l): Likewise.
249 (M_PIl): Likewise.
250 (M_PI_2l): Likewise.
251 (M_PI_4l): Likewise.
252 (M_1_PIl): Likewise.
253 (M_2_PIl): Likewise.
254 (M_2_SQRTPIl): Likewise.
255 (M_SQRT2l): Likewise.
256 (M_SQRT1_2l): Likewise.
257
f230c29b
DM
2582012-05-31 David S. Miller <davem@davemloft.net>
259
260 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
261 values between float registers.
262 * sysdeps/sparc/sparc64/memset.S: Likewise.
263 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
264
fed806c3
MF
2652012-05-31 Mike Frysinger <vapier@gentoo.org>
266
267 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
268 -D_FORTIFY_SOURCE=1.
269 (CPPFLAGS-tst-longjmp_chk.c): Define.
270 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
271 (CPPFLAGS-tst-longjmp_chk2.c): Define.
272 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
273 CFLAGS-tst-wchar-h.c.
274
30917259
MP
2752012-05-31 Marek Polacek <polacek@redhat.com>
276
277 [BZ #14132]
278 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
279 __endmntent_internal): Remove declaration.
280 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
281 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
282 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
283
1c58d5dc
DM
2842012-05-30 David S. Miller <davem@davemloft.net>
285
286 * sysdeps/sparc/sparc32/soft-fp/q_util.c
287 (___Q_simulate_exceptions): Use real FP ops rather than writing
288 into the %fsr.
289 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
290 Likewise.
291
7dc00e0d
L
2922012-05-30 H.J. Lu <hongjiu.lu@intel.com>
293
294 [BZ #14117]
0bd53985
L
295 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
296 * sysdeps/x86/bits/xtitypes.h: This.
297
3a257e66
L
298 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
299 * sysdeps/x86/bits/wordsize.h: This.
300
62f62904
L
301 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
302 * sysdeps/x86/bits/huge_vall.h: This.
303
404fe9d9
L
304 * sysdeps/i386/bits/select.h: Removed.
305 * sysdeps/x86_64/bits/select.h: Renamed to ...
306 * sysdeps/x86/bits/select.h: This.
307
d48d0446
L
308 * sysdeps/i386/bits/setjmp.h: Removed.
309 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
310 * sysdeps/x86/bits/setjmp.h: This.
311
7dc00e0d
L
312 * sysdeps/i386/bits/mathdef.h: Removed.
313 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
314 * sysdeps/x86/bits/mathdef.h: This.
315
03277f8f
AS
3162012-05-30 Andreas Schwab <schwab@linux-m68k.org>
317
318 [BZ #14132]
319 * include/sys/socket.h (__connect_internal)
320 (__libc_sa_len_internal): Remove declaration.
321 (__connect, __libc_sa_len): Declare hidden_proto.
322 (SA_LEN): Remove use of INTUSE.
323 * socket/connect.c: Add libc_hidden_def.
324 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
325 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
326 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
327 alias.
328 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
329 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
330 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
331 of adding _internal alias.
332
13764867
L
3332012-05-30 H.J. Lu <hongjiu.lu@intel.com>
334
335 [BZ #14117]
6bd97696
L
336 * sysdeps/i386/bits/link.h: Removed.
337 * sysdeps/i386/bits/linkmap.h: Likewise.
338 * sysdeps/x86_64/bits/link.h: Renamed to ...
339 * sysdeps/x86/bits/link.h: This.
340 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
341 * sysdeps/x86/bits/linkmap.h: This.
342
f726f0bb
L
343 * sysdeps/i386/bits/endian.h: Removed.
344 * sysdeps/x86_64/bits/endian.h: Renamed to ...
345 * sysdeps/x86/bits/endian.h: This.
346
13764867
L
347 * sysdeps/i386/bits/byteswap.h: Removed.
348 * sysdeps/i386/bits/byteswap-16.h: Likewise.
349 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
350 * sysdeps/x86/bits/byteswap.h: This.
351 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
352 * sysdeps/x86/bits/byteswap-16.h: This.
353 * sysdeps/i386/Implies: Add x86.
354 * sysdeps/x86_64/Implies: Likewise.
355
ae251b0b
DM
3562012-05-30 David S. Miller <davem@davemloft.net>
357
358 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
359 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
360 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
361 (FP_TRAPPING_EXCEPTIONS): Define.
362 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
363 (FP_TRAPPING_EXCEPTIONS): Define.
364 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
365 subnormals only when inexact has been signalled or underflow
366 exceptions are enabled.
367 (_FP_PACK_CANONICAL): Likewise.
368
d5c90867
L
3692012-05-30 H.J. Lu <hongjiu.lu@intel.com>
370
371 [BZ #14183]
372 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
373 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
374
63f1549e
RH
3752012-05-30 Richard Henderson <rth@twiddle.net>
376
8d8f2279
RH
377 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
378 with #ifndef NOT_IN_libc.
379
63f1549e
RH
380 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
381 marked to avoid plt entry.
382
0ab0291b
L
3832012-05-30 H.J. Lu <hongjiu.lu@intel.com>
384
385 [BZ #14112]
386 * Makeconfig (default-abi): New macro.
387 (abi-includes): Likewise.
388 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
389 $(abi-$(default-abi)-lib-soname) for soname if defined.
390 ($(common-objpfx)gnu/lib-names.stmp): Generate from
391 abi-variants.
392 * Makefile (installed-stubs): Likewise.
393 * include/stubs-biarch.h: Removed.
394 * scripts/lib-names.awk: Only handle one library at a time.
395 * scripts/soversions.awk: Remove WORDSIZE support.
396 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
397 entries.
398 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
399 Removed.
400 (syscall-list-default-condition): Likewise.
401 (syscall-list-default-condition): Likewise.
402 (syscall-list-includes): Likewise.
403 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
404 syscall-list-* with abi-*. Handle undefined abi-variants.
405 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
406 * sysdeps/unix/sysv/linux/i386/Implies: New file.
407 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
408 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
409 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
410 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
411 Removed.
412 (syscall-list-32-options): Likewise.
413 (syscall-list-32-condition): Likewise.
414 (syscall-list-64-options): Likewise.
415 (syscall-list-64-condition): Likewise.
416 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
417 macro.
418 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
419 Renamed to ...
420 (abi-*): This.
421 (abi-64-ld-soname): New macro.
422 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
423 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
424 Renamed to ...
425 (abi-*): This.
426 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
427 * sysdeps/x86_64/x32/shlib-versions: Likewise.
428
4da0431d
JM
4292012-05-30 Joseph Myers <joseph@codesourcery.com>
430
3a85279c
JM
431 * sysdeps/unix/sysv/linux/kernel-features.h
432 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
433 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
434 include <kernel-features.h>.
435 [!__NR_ftruncate64]: Remove conditional code.
436 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
437 [__NR_ftruncate64]: Make code unconditional.
438 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
439 * sysdeps/unix/sysv/linux/truncate64.c: Do not
440 include <kernel-features.h>.
441 [!__NR_ftruncate64]: Remove conditional code.
442 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
443 [__NR_ftruncate64]: Make code unconditional.
444 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
445 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
446 include <kernel-features.h>.
447 [!__NR_ftruncate64]: Remove conditional code.
448 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
449 [__NR_ftruncate64]: Make code unconditional.
450 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
451 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
452 include <kernel-features.h>.
453 [!__NR_ftruncate64]: Remove conditional code.
454 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
455 [__NR_ftruncate64]: Make code unconditional.
456 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
457
4da0431d
JM
458 * configure.in (libc_cv_fpie): Weaken to a compile test using
459 LIBC_TRY_CC_OPTION.
460 * configure: Regenerated.
461
11ef492c
AK
4622012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
463
464 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
465 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
466 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
467 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
468 Refreshed.
469 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
470 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
471 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
472 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
473 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
474 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
475 Refreshed.
476
d66ef399
DM
4772012-05-27 David S. Miller <davem@davemloft.net>
478
479 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
480 (___Q_zero): New.
481 (__Q_simulate_exceptions): Return void. Change to simulate
482 exceptions by writing into the %fsr.
483 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
484 (__Qp_handle_exceptions): Likewise.
485 (numbers): Delete.
486 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
487 __Qp_handle_exceptions.
488 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
489 __Qp_handle_exceptions.
490 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
491 as unused and give dummy FP_RND_NEAREST initializer.
492 (FP_INHIBIT_RESULTS): Define.
493 (___Q_simulate_exceptions): Update declaration.
494 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
495 formatting.
496 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
497 as unused and give dummy FP_RND_NEAREST initializer.
498 (__Qp_handle_exceptions): Update declaration.
499 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
500 formatting.
501
04fb54b5
TS
5022012-05-27 Thomas Schwinge <thomas@codesourcery.com>
503
504 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
505 the temporary FPU control word.
506 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
507 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
508 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
509 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
510 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
511 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
512 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
513 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
514 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
515 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
516 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
517
3f99608f
KK
5182012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
519
520 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
521 fields.
522
65a4de4e
CLT
5232012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
524
525 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
526 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
527 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
528 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
529 Likewise.
530 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
531 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
532 Likewise.
533
15749d40
UD
5342012-05-27 Ulrich Drepper <drepper@gmail.com>
535
536 * po/h.po: Update from translation team.
537
25dbcb27
AS
5382012-05-26 Andreas Schwab <schwab@linux-m68k.org>
539
3d3f8e55
AS
540 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
541
25dbcb27
AS
542 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
543 handling of denormals.
544 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
545 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
546 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
547 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
548 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
549 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
550 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
551 Likewise.
552
7ad47a80 5532012-05-26 Marek Polacek <polacek@redhat.com>
d81dcb35
MP
554
555 [BZ #14152]
556 * math/libm-test.inc (fma_test): Don't always expect underflow
557 exception.
558
9c6ea9fa
SP
5592012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
560
561 [BZ #12416]
562 * elf/tst-execstack.c: Include stackinfo.h.
563 (do_test): Adjust test case to ensure that pthread_getattr_np
564 behaviour remains the same after marking stack executable.
565
a8239222
JM
5662012-05-25 Joseph Myers <joseph@codesourcery.com>
567
568 * sysdeps/unix/sysv/linux/kernel-features.h
569 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
570 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
571 kernel-features.h.
572 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
573 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
574 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
575 kernel-features.h.
576 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
577 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
578
918b5606
L
5792012-05-25 H.J. Lu <hongjiu.lu@intel.com>
580
581 * configure.in: Define the default includes to being none.
582 * configure: Regenerated.
583
3a097cc7
RM
5842012-05-25 Roland McGrath <roland@hack.frob.com>
585
8422c9a5
RM
586 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
587 * sysdeps/x86_64/setjmp.S: Likewise.
588 * sysdeps/i386/bsd-setjmp.S: Likewise.
589 * sysdeps/i386/bsd-_setjmp.S: Likewise.
590 * sysdeps/i386/setjmp.S: Likewise.
591 * sysdeps/i386/__longjmp.S: Likewise.
592 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
593 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
594
3a097cc7
RM
595 * include/stap-probe.h: New file.
596 * configure.in: Handle --enable-systemtap.
597 * configure: Regenerated.
598 * config.h.in (USE_STAP_PROBE): New #undef.
599 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
600 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
601 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
602
21708942
JM
6032012-05-25 Joseph Myers <joseph@codesourcery.com>
604
605 [BZ #13717]
606 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
607 to 2.4.0 where earlier.
608 * sysdeps/unix/sysv/linux/configure: Regenerated.
609 * sysdeps/unix/sysv/linux/i386/chown.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/fchown.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/fchownat.c (fchownat)
618 [__ASSUME_32BITUIDS]: Make code unconditional.
619 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
620 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
621 <kernel-features.h>.
622 [__ASSUME_32BITUIDS]: Make code unconditional.
623 [!__ASSUME_32BITUIDS]: Remove conditional code.
624 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
625 <kernel-features.h>.
626 [__ASSUME_32BITUIDS]: Make code unconditional.
627 [!__ASSUME_32BITUIDS]: Remove conditional code.
628 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
629 <kernel-features.h>.
630 [__ASSUME_32BITUIDS]: Make code unconditional.
631 [!__ASSUME_32BITUIDS]: Remove conditional code.
632 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
633 <kernel-features.h>.
634 [__ASSUME_32BITUIDS]: Make code unconditional.
635 [!__ASSUME_32BITUIDS]: Remove conditional code.
636 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
637 <kernel-features.h>.
638 [__ASSUME_32BITUIDS]: Make code unconditional.
639 [!__ASSUME_32BITUIDS]: Remove conditional code.
640 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
641 <kernel-features.h>.
642 [__ASSUME_32BITUIDS]: Make code unconditional.
643 [!__ASSUME_32BITUIDS]: Remove conditional code.
644 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
645 <kernel-features.h>.
646 [__ASSUME_32BITUIDS]: Make code unconditional.
647 [!__ASSUME_32BITUIDS]: Remove conditional code.
648 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
649 <kernel-features.h>.
650 [__ASSUME_32BITUIDS]: Make code unconditional.
651 [!__ASSUME_32BITUIDS]: Remove conditional code.
652 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
653 <kernel-features.h>.
654 [__ASSUME_32BITUIDS]: Make code unconditional.
655 [!__ASSUME_32BITUIDS]: Remove conditional code.
656 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
657 <kernel-features.h>.
658 [__ASSUME_32BITUIDS]: Make code unconditional.
659 [!__ASSUME_32BITUIDS]: Remove conditional code.
660 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
661 <kernel-features.h>.
662 [__NR_setresgid] (__setresgid): Do not declare.
663 [__ASSUME_32BITUIDS]: Make code unconditional.
664 [!__ASSUME_32BITUIDS]: Remove conditional code.
665 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
666 <kernel-features.h>.
667 [__NR_setresuid] (__setresuid): Do not declare.
668 [__ASSUME_32BITUIDS]: Make code unconditional.
669 [!__ASSUME_32BITUIDS]: Remove conditional code.
670 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
671 <kernel-features.h>.
672 [__ASSUME_32BITUIDS]: Make code unconditional.
673 [!__ASSUME_32BITUIDS]: Remove conditional code.
674 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
675 <kernel-features.h>.
676 [__ASSUME_32BITUIDS]: Make code unconditional.
677 [!__ASSUME_32BITUIDS]: Remove conditional code.
678 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
679 <kernel-features.h>.
680 [__ASSUME_32BITUIDS]: Make code unconditional.
681 [!__ASSUME_32BITUIDS]: Remove conditional code.
682 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
683 <kernel-features.h>.
684 [__ASSUME_32BITUIDS]: Make code unconditional.
685 [!__ASSUME_32BITUIDS]: Remove conditional code.
686 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
687 <kernel-features.h>.
688 [__ASSUME_32BITUIDS]: Make code unconditional.
689 [!__ASSUME_32BITUIDS]: Remove conditional code.
690 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
691 <kernel-features.h>.
692 [__ASSUME_32BITUIDS]: Make code unconditional.
693 [!__ASSUME_32BITUIDS]: Remove conditional code.
694 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
695 <kernel-features.h>.
696 [__ASSUME_32BITUIDS]: Make code unconditional.
697 [!__ASSUME_32BITUIDS]: Remove conditional code.
698 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
699 <kernel-features.h>.
700 [__ASSUME_32BITUIDS]: Make code unconditional.
701 [!__ASSUME_32BITUIDS]: Remove conditional code.
702 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
703 <kernel-features.h>.
704 [__ASSUME_32BITUIDS]: Make code unconditional.
705 [!__ASSUME_32BITUIDS]: Remove conditional code.
706 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
707 <kernel-features.h>.
708 [__ASSUME_32BITUIDS]: Make code unconditional.
709 [!__ASSUME_32BITUIDS]: Remove conditional code.
710 * sysdeps/unix/sysv/linux/kernel-features.h
711 (__ASSUME_SETRESUID_SYSCALL): Remove.
712 (__ASSUME_SETRESGID_SYSCALL): Likewise.
713 (__ASSUME_32BITUIDS): Likewise.
714 (__ASSUME_LDT_WORKS): Likewise.
715 (__ASSUME_O_DIRECTORY): Likewise.
716 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
717 architecture but not kernel version.
718 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
719 (__ASSUME_MMAP2_SYSCALL): Likewise.
720 (__ASSUME_STAT64_SYSCALL): Likewise.
721 (__ASSUME_IPC64): Likewise.
722 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
723 <kernel-features.h>.
724 [__ASSUME_32BITUIDS]: Make code unconditional.
725 [!__ASSUME_32BITUIDS]: Remove conditional code.
726 * sysdeps/unix/sysv/linux/opendir.c: Do not include
727 <kernel-features.h>.
728 [__ASSUME_O_DIRECTORY]: Make code unconditional.
729 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
730 132096]: Remove conditional code.
731 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
732 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
733 <kernel-features.h>.
734 [__ASSUME_32BITUIDS]: Make code unconditional.
735 [!__ASSUME_32BITUIDS]: Remove conditional code.
736 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
737 <kernel-features.h>.
738 [__ASSUME_32BITUIDS]: Make code unconditional.
739 [!__ASSUME_32BITUIDS]: Remove conditional code.
740 * sysdeps/unix/sysv/linux/setegid.c: Do not include
741 <kernel-features.h>.
742 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
743 unconditional.
744 (__setresgid): Do not declare.
745 [__ASSUME_32BITUIDS]: Make code unconditional.
746 [!__ASSUME_32BITUIDS]: Remove conditional code.
747 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
748 <kernel-features.h>.
749 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
750 unconditional.
751 (__setresuid): Do not declare.
752 [__ASSUME_32BITUIDS]: Make code unconditional.
753 [!__ASSUME_32BITUIDS]: Remove conditional code.
754 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
755 <kernel-features.h>.
756 [__ASSUME_32BITUIDS]: Make code unconditional.
757 [!__ASSUME_32BITUIDS]: Remove conditional code.
758 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
759 <kernel-features.h>.
760 [__ASSUME_32BITUIDS]: Make code unconditional.
761 [!__ASSUME_32BITUIDS]: Remove conditional code.
762
a386f1cc
RH
7632012-05-25 Richard Henderson <rth@twiddle.net>
764
765 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
766 dl_hwcap to ifunc resolver.
767 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
768 elf_ifunc_invoke.
769 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
770 dl_hwcap to ifunc resolver.
771 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
772
b6550497
JM
7732012-05-24 Joseph Myers <joseph@codesourcery.com>
774
775 [BZ #14153]
776 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
777 for |x| <= 2**-26, not 2**-57.
778 * math/libm-test.inc (acos_test): Do not allow spurious underflow
779 exception.
780
b0bc23a1
JL
7812012-05-24 Jeff Law <law@redhat.com>
782
783 * stdio-common/Makefile (tests): Add bug25.
784 * stdio-common/bug25.c: New test.
785
347c92e9
L
7862012-05-24 H.J. Lu <hongjiu.lu@intel.com>
787
788 [BZ #13576]
789 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
790 multiple of MALLOC_ALIGNMENT in size.
791 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
792
6bcc8b3f
JM
7932012-05-24 Joseph Myers <joseph@codesourcery.com>
794
795 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
796 Require >= 256.
797 (FILENAME_MAX): Use macro-int-constant.
798 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
799 (_IOFBF): Use macro-int-constant.
800 (_IOLBF): Likewise.
801 (_IONBF): Likewise.
802 (SEEK_CUR): Likewise.
803 (SEEK_END): Likewise.
804 (SEEK_SET): Likewise.
805 (TMP_MAX): Likewise.
806 (EOF): Use macro-int-constant. Require < 0.
807 (NULL): Use macro-constant. Require == 0.
808 (stdin): Require type to be FILE *.
809 (stdout): Likewise.
810 (stderr): Likewise.
811 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
812 macro-int-constant.
813 (EXIT_SUCCESS): Likewise.
814 (NULL): Use macro-constant. Require == 0.
815 (RAND_MAX): Use macro-int-constant.
816 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
817 [C99-based standards] (strtof): Require function.
818 [C99-based standards] (strtold): Likewise.
819 [C99-based standards] (strtoll): Likewise.
820 [C99-based standards] (strtoull): Likewise.
821 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
822 [ISO || ISO99 || ISO11] (limits.h): Likewise.
823 [ISO || ISO99 || ISO11] (math.h): Likewise.
824 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
825 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
826 [ISO || ISO99 || ISO11] (*_t): Do not allow.
827
d18ea0c5
AS
8282012-05-24 Andreas Schwab <schwab@linux-m68k.org>
829
830 [BZ #14132]
56d25bb8
AS
831 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
832 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
833 * intl/dgettext.c (DCGETTEXT): Likewise.
834 * intl/gettext.c (DCGETTEXT): Likewise.
835 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
836 * posix/regex_internal.h (gettext): Likewise.
837 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
838 Remove declaration.
839 * include/argz.h (__argz_count_internal)
840 (__argz_stringify_internal): Remove declaration.
841 (__argz_count, __argz_stringify): Declare hidden proto.
842 * intl/dcgettext.c: Remove use of INTDEF.
843 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
844 * string/argz-stringify.c: Likewise.
845 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
846 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
847 Declare hidden proto.
d18ea0c5
AS
848 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
849 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
850 Declare hidden proto.
851 * include/stdio.h (__asprintf_internal): Don't declare.
852 (__asprintf): Don't define as macro. Declare hidden proto.
853 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
854 (__fsetlocking): Declare hidden proto.
855 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
856 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
857 hidden proto.
858 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
859 (_IO_setlinebuf): Remove use of INTUSE.
860 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
861 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
862 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
863 Remove declaration.
864 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
865 (_IO_do_flush): Remove use of INTUSE.
866 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
867 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
868 (_IO_adjust_column, _IO_least_wmarker)
869 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
870 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
871 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
872 (_IO_default_doallocate, _IO_wdefault_doallocate)
873 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
874 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
875 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
876 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
877 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
878 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
879 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
880 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
881 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
882 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
883 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
884 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
885 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
886 proto.
887 (_IO_flush_all_internal, _IO_adjust_column_internal)
888 (_IO_default_uflow_internal, _IO_default_finish_internal)
889 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
890 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
891 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
892 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
893 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
894 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
895 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
896 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
897 (_IO_file_close_internal, _IO_file_close_it_internal)
898 (_IO_file_underflow_internal, _IO_file_overflow_internal)
899 (_IO_file_init_internal, _IO_file_attach_internal)
900 (_IO_file_fopen_internal, _IO_file_read_internal)
901 (_IO_file_sync_internal, _IO_file_seek_internal)
902 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
903 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
904 (_IO_str_underflow_internal, _IO_str_overflow_internal)
905 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
906 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
907 (_IO_list_all_internal, _IO_link_in_internal)
908 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
909 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
910 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
911 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
912 (_IO_do_write_internal, _IO_padn_internal)
913 (_IO_getline_info_internal, _IO_getline_internal)
914 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
915 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
916 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
917 (_IO_vfscanf_internal, _IO_vfprintf_internal)
918 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
919 (_IO_init_internal, _IO_un_link_internal): Don't declare.
920 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
921 with libc_hidden_ver, remove use of INTUSE.
922 * libio/genops.c: Likewise.
923 * libio/freopen.c: Likewise.
924 * libio/freopen64.c: Likewise.
925 * libio/iofclose.c: Likewise.
926 * libio/iofdopen.c: Likewise.
927 * libio/iofflush.c: Likewise.
928 * libio/iofflush_u.c: Likewise.
929 * libio/iofgets.c: Likewise.
930 * libio/iofgets_u.c: Likewise.
931 * libio/iofopen.c: Likewise.
932 * libio/iofopncook.c: Likewise.
933 * libio/iofread.c: Likewise.
934 * libio/iofread_u.c: Likewise.
935 * libio/ioftell.c: Likewise.
936 * libio/iofwrite.c: Likewise.
937 * libio/iogetline.c: Likewise.
938 * libio/iogets.c: Likewise.
939 * libio/iogetwline.c: Likewise.
940 * libio/iopadn.c: Likewise.
941 * libio/iopopen.c: Likewise.
942 * libio/ioseekoff.c: Likewise.
943 * libio/ioseekpos.c: Likewise.
944 * libio/iosetbuffer.c: Likewise.
945 * libio/iosetvbuf.c: Likewise.
946 * libio/ioungetc.c: Likewise.
947 * libio/ioungetwc.c: Likewise.
948 * libio/iovdprintf.c: Likewise.
949 * libio/iovsprintf.c: Likewise.
950 * libio/iovsscanf.c: Likewise.
951 * libio/memstream.c: Likewise.
952 * libio/obprintf.c: Likewise.
953 * libio/oldfileops.c: Likewise.
954 * libio/oldiofclose.c: Likewise.
955 * libio/oldiofdopen.c: Likewise.
956 * libio/oldiofopen.c: Likewise.
957 * libio/oldiopopen.c: Likewise.
958 * libio/oldstdfiles.c: Likewise.
959 * libio/putc.c: Likewise.
960 * libio/setbuf.c: Likewise.
961 * libio/setlinebuf.c: Likewise.
962 * libio/stdfiles.c: Likewise.
963 * libio/strops.c: Likewise.
964 * libio/vasprintf.c: Likewise.
965 * libio/vscanf.c: Likewise.
966 * libio/vsnprintf.c: Likewise.
967 * libio/vswprintf.c: Likewise.
968 * libio/wfiledoalloc.c: Likewise.
969 * libio/wfileops.c: Likewise.
970 * libio/wgenops.c: Likewise.
971 * libio/wmemstream.c: Likewise.
972 * libio/wstrops.c: Likewise.
973 * libio/__fpurge.c: Likewise.
974 * libio/__fsetlocking.c: Likewise.
975 * assert/assert.c: Likewise.
976 * debug/fgets_chk.c: Likewise.
977 * debug/fgets_u_chk.c: Likewise.
978 * debug/fread_chk.c: Likewise.
979 * debug/fread_u_chk.c: Likewise.
980 * debug/gets_chk.c: Likewise.
981 * debug/obprintf_chk.c: Likewise.
982 * debug/vasprintf_chk.c: Likewise.
983 * debug/vdprintf_chk.c: Likewise.
984 * debug/vsnprintf_chk.c: Likewise.
985 * debug/vsprintf_chk.c: Likewise.
986 * malloc/mtrace.c: Likewise.
987 * misc/error.c: Likewise.
988 * misc/syslog.c: Likewise.
989 * stdio-common/asprintf.c: Likewise.
990 * stdio-common/fxprintf.c: Likewise.
991 * stdio-common/getw.c: Likewise.
992 * stdio-common/isoc99_fscanf.c: Likewise.
993 * stdio-common/isoc99_scanf.c: Likewise.
994 * stdio-common/isoc99_vfscanf.c: Likewise.
995 * stdio-common/isoc99_vscanf.c: Likewise.
996 * stdio-common/isoc99_vsscanf.c: Likewise.
997 * stdio-common/printf-prs.c: Likewise.
998 * stdio-common/printf_fp.c: Likewise.
999 * stdio-common/printf_fphex.c: Likewise.
1000 * stdio-common/printf_size.c: Likewise.
1001 * stdio-common/putw.c: Likewise.
1002 * stdio-common/scanf.c: Likewise.
1003 * stdio-common/sprintf.c: Likewise.
1004 * stdio-common/tmpfile.c: Likewise.
1005 * stdio-common/vfprintf.c: Likewise.
1006 * stdio-common/vfscanf.c: Likewise.
1007 * stdlib/strfmon_l.c: Likewise.
1008 * sunrpc/openchild.c: Likewise.
1009 * sunrpc/xdr_stdio.c: Likewise.
1010 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
1011 * sysdeps/mach/hurd/tmpfile.c: Likewise.
1012
d6c33fda
RM
10132012-05-24 Roland McGrath <roland@hack.frob.com>
1014
c1487492
RM
1015 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
1016
1017 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
1018 in the third column, to generate for the shared library an IFUNC
1019 that uses _dl_vdso_vsym.
1020 * Makerules (COMPILE.c, compile-stdin.c): New variables.
1021 * Makeconfig (object-suffixes-noshared): New variable.
1022
1023 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
1024 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
1025 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
1026 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
1027
d6c33fda
RM
1028 [BZ #14132]
1029 * include/sys/time.h (__gettimeofday): Remove macro.
1030 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
1031 * time/gettimeofday.c (__gettimeofday): Remove #undef.
1032 Remove INTDEF.
1033 (__gettimeofday): Add libc_hidden_def.
1034 (gettimeofday): Add libc_hidden_weak.
1035 * sysdeps/mach/gettimeofday.c: Likewise.
1036 * sysdeps/posix/gettimeofday.c: Likewise.
1037 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
1038 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
1039 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
1040 (__gettimeofday_internal): Remove strong_alias.
1041 (__gettimeofday): Add libc_hidden_def.
1042 (gettimeofday): Add libc_hidden_weak.
1043 * sysdeps/unix/syscalls.list (gettimeofday):
1044 Remove __gettimeofday_internal alias.
1045
b5a2bbe6
L
10462012-05-24 Daniel Jacobowitz <drow@false.org>
1047 H.J. Lu <hongjiu.lu@intel.com>
1048
1049 [BZ #12495]
1050 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
1051 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
1052 (largebin_index_32_big): New.
1053 (largebin_index): Use it for 16-byte alignment.
1054 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
1055 correction with front_misalign.
1056
cfba4fda
L
10572012-05-24 H.J. Lu <hongjiu.lu@intel.com>
1058
7f907421
L
1059 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
1060 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
1061 Likewise.
1062 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
1063 Likewise.
1064 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
1065 Likewise.
1066 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
1067 Likewise.
1068 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
1069 Likewise.
1070 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
1071 Likewise.
1072 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
1073 Likewise.
1074 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
1075 Likewise.
1076 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
1077 Likewise.
1078 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
1079 Likewise.
1080 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
1081 Likewise.
1082 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
1083 Likewise.
1084
cfba4fda
L
1085 * scripts/data/c++-types-x32-linux-gnu.data: New file.
1086 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
1087
80bad0cc
JM
10882012-05-24 Joseph Myers <joseph@codesourcery.com>
1089
7a25eb06
JM
1090 [BZ #10846]
1091 [BZ #14036]
1092 * math/libm-test.inc (exp_test): Add test from bug 14036.
1093 (pow_test): Add test from bug 10846.
1094
795405f9
JM
1095 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
1096 and other flags.
1097 (special_function): Do not include flags in test name.
1098 (parse_args): Likewise.
1099 * sysdeps/i386/fpu/libm-test-ulps: Update.
1100 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
1101 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
1102 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
1103 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1104
80bad0cc
JM
1105 * math/gen-libm-test.pl (%beautify): Add entries for underflow
1106 exceptions.
1107 * math/libm-test.inc ("Philosophy"): Update comment about
1108 exception testing.
1109 (UNDERFLOW_EXCEPTION): New macro.
1110 (UNDERFLOW_EXCEPTION_OK): Likewise.
1111 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
1112 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
1113 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
1114 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
1115 (INVALID_EXCEPTION_OK): Update value.
1116 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
1117 (OVERFLOW_EXCEPTION_OK): Likewise.
1118 (IGNORE_ZERO_INF_SIGN): Likewise.
1119 (test_exceptions): Handle underflow exceptions.
1120 (acos_test): Update for underflow exception expectations.
1121 (cexp_test): Likewise.
1122 (clog_test): Likewise.
1123 (clog10_test): Likewise.
1124 (csqrt_test): Likewise.
1125 (ctan_test): Likewise.
1126 (ctanh_test): Likewise.
1127 (exp_test): Likewise.
1128 (exp10_test): Likewise.
1129 (exp2_test): Likewise.
1130 (expm1_test): Likewise.
1131 (fma_test): Likewise.
1132 (j0_test): Likewise.
1133 (jn_test): Likewise.
1134 (nexttoward_test): Likewise.
1135 (pow_test): Likewise.
1136 (scalbn_test): Likewise.
1137 (scalbln_test): Likewise.
1138 (tan_test): Likewise.
1139 (y1_test): Likewise.
1140 * sysdeps/i386/fpu/libm-test-ulps: Update.
1141 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1142
9e0e3d0b
DM
11432012-05-23 David S. Miller <davem@davemloft.net>
1144
1145 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
1146 (__libc_sigaction): Remove unused local variables.
1147
ccd0a08f
L
11482012-05-23 H.J. Lu <hongjiu.lu@intel.com>
1149
1150 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
1151
62bdf9a6
PE
11522012-05-23 Paul Eggert <eggert@cs.ucla.edu>
1153
f8591f80
PE
1154 mktime: avoid signed integer overflow
1155 * time/mktime.c (__mktime_internal): Do not mishandle the case
1156 where diff == INT_MIN.
1157
94c7d826
PE
1158 mktime: simplify computation of average
1159 * time/mktime.c (ranged_convert): Use new time_t_avg function
1160 instead of rolling our own (probably-slower) code.
1161
ce73d683
PE
1162 mktime: do not assume signed right shift propagates sign bit
1163 * time/mktime.c (isdst_differ): New static function.
1164 (__mktime_internal): No need to normalize tm_isdst now.
1165 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
1166 tm_isdst values.
1167
72a22e59
PE
1168 mktime: merge another wrapv change from gnulib
1169 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
1170 from some compilers.
1171
68605433
PE
1172 mktime: remove incorrect attempt at unusual arithmetics
1173 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
1174 The code didn't really work on such machines anyway.
1175 (TYPE_MINIMUM): Assume two's complement.
1176 (twos_complement_arithmetic): Verify that long_int and time_t
1177 are two's complement (or unsigned, in the latter case).
1178
03cf7fe3
PE
1179 mktime: check signed shifts on long_int and time_t, too
1180 * time/mktime.c (SHR): Check that shifts work as desired
1181 on the types long_int and time_t too, as SHR is used on
1182 such types.
1183
f04dfbc2
PE
1184 mktime: do not assume 'long' is wide enough
1185 * time/mktime.c (verify): Move decl up.
1186 (long_int): New type.
1187 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
1188 to remove assumption in the code that 'long' is wide enough to
1189 store year values. This assumption is not true on x32 and on
1190 some non-glibc platforms.
1191
62bdf9a6
PE
1192 mktime: merge wrapv change from gnulib
1193 * time/mktime.c (WRAPV): New macro.
1194 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
1195 (guess_time_tm, __mktime_internal): Do not assume that signed
1196 integer overflow wraps around; modern compilers generate code
1197 where this assumption is no longer valid.
1198
5e292e4f
L
11992012-05-23 H.J. Lu <hongjiu.lu@intel.com>
1200
1201 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
1202 Replace "jmp L(pseudo_end)" with "ret".
1203 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
1204 Likewise.
1205
8caf8c87
AJ
12062012-05-23 Andreas Jaeger <aj@suse.de>
1207
1208 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
1209 * sysdeps/unix/sysv/linux/poll.c: Remove file.
1210
1a09dc56
AJ
12112012-05-23 Andreas Jaeger <aj@suse.de>
1212 Maximilian Attems <max@stro.at>
1213
1214 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
1215 New macros.
1216
1c87aba0
L
12172012-05-23 H.J. Lu <hongjiu.lu@intel.com>
1218
1219 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
1220 code so that pseudo_end is just ret and the stack pointer is
1221 correct also for static library in error case.
1222
40e45bd5
JM
12232012-05-23 Joseph Myers <joseph@codesourcery.com>
1224
c2670533
JM
1225 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
1226 move to syscalls.list.
1227 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
1228 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
1229 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
1230 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
1231
40e45bd5
JM
1232 * manual/install.texi (Running make install): Do not mention Linux
1233 kernel version for which pt_chown is not needed.
1234 (Linux): Do not mention problems with nscd with 2.0 kernels.
1235 * INSTALL: Regenerated.
1236
be08eda5
AJ
12372012-05-23 Andreas Jaeger <aj@suse.de>
1238
1239 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
1240 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
1241 macro.
1242 * sysdeps/unix/sysv/linux/s390/bits/mman.h
1243 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
1244 * sysdeps/unix/sysv/linux/sh/bits/mman.h
1245 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
1246 * sysdeps/unix/sysv/linux/i386/bits/mman.h
1247 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
1248 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
1249 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
1250 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
1251 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
1252 * sysdeps/unix/sysv/linux/bits/in.h
1253 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
1254
a6a056bb
RM
12552012-05-22 Roland McGrath <roland@hack.frob.com>
1256
1257 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
1258 (PREPARE_VERSION): Just use assert instead, it will be elided
1259 under [NDEBUG] anyway.
1260
c9009328
L
12612012-05-22 H.J. Lu <hongjiu.lu@intel.com>
1262
1263 * sysdeps/unix/sysv/linux/Makefile: Include
1264 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
cb191f23 1265 (sysdep_routines): Remove sysctl.
c9009328
L
1266 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
1267 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
1268 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
1269 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
1270 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
1271
73338355
AJ
12722012-05-22 Andreas Jaeger <aj@suse.de>
1273
1274 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
1275 that pseudo_end is just ret and the stack pointer is correct also
1276 for static library in error case.
1277
d44638b0
PP
12782012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
1279
1280 [BZ #14122]
1281 * nss/nsswitch.c (defconfig_entries): New variable.
1282 (__nss_database_lookup): Don't leak defconfig entries.
1283 (nss_parse_service_list): Don't leak on error paths.
1284 (free_database_entries): New function.
1285 (free_defconfig): New function.
1286 (free_mem): Move common code to free_database_entries.
1287
31a39bd8
L
12882012-05-22 H.J. Lu <hongjiu.lu@intel.com>
1289
da0331a8
L
1290 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
1291 Add arch_prctl.
1292 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
1293
31a39bd8
L
1294 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
1295 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
1296 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
1297 New macro.
1298 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
1299 (INTERNAL_SYSCALL_TYPES): Likewise.
1300 (LOAD_ARGS_TYPES_[1-6]): Likewise.
1301 (LOAD_REGS_TYPES_[1-6]): Likewise.
1302 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
1303 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
1304
45470df3
AZ
13052012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1306
1307 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
1308 copysignl for GLIBC_2_0.
1309 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
1310 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
1311 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
1312 logbl for GLIBC_2_0.
1313 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
1314 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
1315
98a61bcb
L
13162012-05-22 H.J. Lu <hongjiu.lu@intel.com>
1317
a4f6e481
L
1318 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
1319 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
1320
f63d5db6
L
1321 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
1322 Use "neg %eax".
1323
98a61bcb
L
1324 * time/mktime.c: Update copyright years.
1325
95770f14
PE
13262012-05-22 Paul Eggert <eggert@cs.ucla.edu>
1327
6226efbd
PE
1328 mktime: merge comment-quoting-style change from gnulib
1329 * time/mktime.c: Quote 'like this' in comments.
1330 The GNU coding standards suggest that we no longer quote `like this',
1331 as "`" and "'" are typically rendered asymmetrically nowadays.
1332 The typical gnulib style is to quote 'like this' when quoting
1333 code, and "like this" when quoting English.
1334
b99e4f78
PE
1335 * time/mktime.c (compile-command): Add "-I.".
1336
643e01e6
PE
1337 mktime: merge mktime-internal.h change from gnulib
1338 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
1339
2554247d
PE
1340 mktime: merge time_r change from gnulib
1341 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
1342
826dd0ab
PE
1343 mktime: merge DEBUG change from gnulib
1344 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
1345 case system <time.h> has a #define.
1346
bd83aabe
PE
1347 mktime: merge <sys/types.h> change from gnulib
1348 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
1349 since <time.t> is now guaranteed to define time_t.
1350
95770f14
PE
1351 mktime: merge HAVE_CONFIG_H change from gnulib
1352 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
1353
5e1a27a9
L
13542012-05-22 H.J. Lu <hongjiu.lu@intel.com>
1355
0e44a77e
L
1356 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
1357 Use "neg %eax".
1358
5e1a27a9
L
1359 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
1360 __rlim_t cast.
1361 (struct rusage): Use anonymous union to pad each field to
1362 __syscall_slong_t.
1363
46259bec
DM
13642012-05-21 David S. Miller <davem@davemloft.net>
1365
1366 * Makefules (o-iterator): Remove .s cases.
1367 (compile-command.s): Delete.
1368 (COMPILE.s): Delete.
1369 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
1370
59f0c22e
JM
13712012-05-21 Joseph Myers <joseph@codesourcery.com>
1372
1373 * configure.in (libc_cv_predef_stack_protector): Only consider
1374 "foobar" and "__stack_chk_fail" lines in libc_undefs.
1375 * configure: Regenerated.
1376
20c07380
L
13772012-05-21 H.J. Lu <hongjiu.lu@intel.com>
1378
bbb3154b
L
1379 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
1380 New macro. Use R*LP on int and pointer.
1381 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
c5b3a2c0
L
1382 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
1383 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
bbb3154b
L
1384 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
1385
20c07380
L
1386 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
1387 [__WORDSIZE_TIME64_COMPAT32] instead of
1388 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
1389 (struct utmp): Likewise.
1390 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
1391 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
1392 Renamed to ...
1393 (__WORDSIZE_TIME64_COMPAT32): This.
1394 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
1395 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
1396 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
1397 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
1398 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
1399 (__WORDSIZE_TIME64_COMPAT32): New macro.
1400
d8d1017e
AJ
14012012-05-21 Andreas Jaeger <aj@suse.de>
1402
1403 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
1404 only if [SHARED]. Add prototype for __wcschr_ia32.
1405
6c7fb145
RM
14062012-05-21 Roland McGrath <roland@hack.frob.com>
1407
1408 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
1409 of %rbp unmolested in the jmp_buf while mangling the low bits.
1410 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
1411 unmolested high bits of %rbp while demangling the low bits.
1412 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
1413
66274218
AJ
14142012-05-21 Andreas Jaeger <aj@suse.de>
1415
07c58f8f
AJ
1416 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
1417 * sunrpc/svc_simple.c: Use it for registerrpc.
1418 * sunrpc/xcrypt.c: Use it for passwd2des.
1419
66274218
AJ
1420 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
1421
61f65140
L
14222012-05-21 H.J. Lu <hongjiu.lu@intel.com>
1423
1424 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
1425 Don't define if [__SYSCALL_WORDSIZE != 32].
1426 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
1427 New macro.
1428
5fefb436
AJ
14292012-05-21 Bruno Haible <bruno@clisp.org>
1430 Andreas Jaeger <aj@suse.de>
1431
1432 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
1433 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
1434 inptr and inend for must_buffer_ch.
1435 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
1436 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
1437 * stdio-common/Makefile (tests): Remove bug15.
1438 (bug15-ENV): Remove macro.
1439 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
1440 anymore.
1441
d8e272ab
AJ
14422012-05-19 Andreas Jaeger <aj@suse.de>
1443 Roland McGrath <roland@hack.frob.com>
1444
1445 * manual/contrib.texi: Completely rewritten. It contains now an
1446 alphabetical list of contributors and their contributions.
1447
4a56a162
RH
14482012-05-21 Richard Henderson <rth@twiddle.net>
1449
1450 * misc/getauxval.c (__getauxval): Use unsigned long int.
1451 * misc/sys/auxv.h: Include <sys/cdefs.h>.
1452 (getauxval): Use unsigned long int.
1453
d024d23c
L
14542012-05-21 H.J. Lu <hongjiu.lu@intel.com>
1455
1456 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
1457
cbc00a03
RM
14582012-05-21 Roland McGrath <roland@hack.frob.com>
1459
1460 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
1461 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
1462 __alignof__ (long double).
1463
478143fa
AZ
14642012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1465
1466 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1467
c7683a6d
RH
14682012-05-20 Richard Henderson <rth@twiddle.net>
1469
1470 * misc/getauxval.c: New file.
1471 * misc/sys/auxv.h: New file.
1472 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
1473 (routines): Add getauxval.
1474 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
1475 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
1476 * elf/dl-sysdep.c (_dl_auxv): Remove.
1477 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
1478 * elf/dl-support.c (_dl_auxv): New variable.
1479 (_dl_aux_init): Initialize it.
1480 * manual/startup.texi (Auxiliary Vector): New node.
1481 * sysdeps/generic/bits/hwcap.h: New file.
1482 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
1483 * sysdeps/powerpc/sysdep.h: ... here. Include it.
1484 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
1485 * sysdeps/sparc/sysdep.h: ... here. Include it.
1486 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
1487 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
cbc00a03
RM
1488 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
1489 Update.
c7683a6d
RH
1490 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
1491 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
1492 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
1493 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
1494 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
1495 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
1496 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
1497 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
1498
a6f1845d
AZ
14992012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1500
1501 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1502
cbcbe830
DM
15032012-05-19 David S. Miller <davem@davemloft.net>
1504
1505 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1506
e0b16cc2
JM
15072012-05-19 Joseph Myers <joseph@codesourcery.com>
1508
1509 [BZ #14123]
1510 * math/s_ccosh.c: Include <float.h>
1511 (__ccosh): Avoid internal overflow calculating sinh and cosh
1512 values before multiplying by sin and cos values.
1513 * math/s_ccoshf.c: Likewise.
1514 * math/s_ccoshl.c: Likewise.
1515 * math/s_csin.c: Likewise.
1516 * math/s_csinf.c: Likewise.
1517 * math/s_csinl.c: Likewise.
1518 * math/s_csinh.c: Likewise.
1519 * math/s_csinhf.c: Likewise.
1520 * math/s_csinhl.c: Likewise.
1521 * math/libm-test.inc (ccos_test): Add more tests.
1522 (ccosh_test): Likewise.
1523 (csin_test): Likewise.
1524 (csinh_test): Likewise.
1525 * sysdeps/i386/fpu/libm-test-ulps: Update.
1526 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1527
6ad13e08
L
15282012-05-19 H.J. Lu <hongjiu.lu@intel.com>
1529
f66f0ce8
L
1530 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
1531 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
1532
6ad13e08
L
1533 * sysdeps/x86_64/x32/_itoa.h: Add comment.
1534
b1d072a7
JM
15352012-05-19 Joseph Myers <joseph@codesourcery.com>
1536
1537 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
1538 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
1539 * sysdeps/powerpc/soft-fp/Versions: Likewise.
1540 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
1541 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
1542 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
1543 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
1544 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
1545 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
1546 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
1547 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
1548 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
1549 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
1550 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
1551 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
1552 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
1553 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
1554 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
1555 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
1556 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
1557 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
1558 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
1559 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
1560 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
1561 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
1562 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
1563 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
1564 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
1565 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
1566 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
1567 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
1568
9eae47cb
AJ
15692012-05-18 Andreas Jaeger <aj@suse.de>
1570
1571 * csu/.gitignore: Delete.
1572
bb07f69f
L
15732012-05-18 H.J. Lu <hongjiu.lu@intel.com>
1574
1575 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
1576 (timex): Use __syscall_slong_t.
1577
e6bdb741
AJ
15782012-05-18 Andreas Jaeger <aj@suse.de>
1579 Carlos O'Donell <carlos_odonell@mentor.com>
1580
1581 * manual/install.texi (Configuring and compiling): Update
1582 description about files modified in the source directory.
d6c33fda 1583 * INSTALL: Regenerated.
e6bdb741 1584
1b74487e
L
15852012-05-18 H.J. Lu <hongjiu.lu@intel.com>
1586
1587 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
1588 value. Use "or" to set return value to -1.
1589 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
1590 negate return value.
1591
a88b64b9
TMQMF
15922012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
1593
1594 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
1595 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
1596 failure if the compiler has Graphite support disabled.
1597 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
1598 Likewise.
1599 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
1600 CFLAGS-memmove.c): Likewise.
1601 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
1602 Likewise.
1603
3707636e
L
16042012-05-18 H.J. Lu <hongjiu.lu@intel.com>
1605
610b8622
L
1606 * sysdeps/x86_64/x32/_itoa.h: New file.
1607
7cd195df
L
1608 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
1609 getdents system call only if kernel and user dirents have the
1610 same d_ino and d_off.
1611
94b07d20
L
1612 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
1613 LLONG_MAX != LONG_MAX.
1614 (_itoa_word): Use _ITOA_WORD_TYPE on value.
1615 (_fitoa_word): Likewise.
1616
18298070
L
1617 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
1618 years.
1619 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
1620 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
1621 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
1622
553c7ea4
L
1623 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
1624 include <bits/wordsize.h>. Check __x86_64__ instead of
1625 __WORDSIZE.
1626 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
1627 if __x86_64__ is defined. Use anonymous union on fpstate.
1628
3707636e
L
1629 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
1630 anonymous union.
1631
b53ef01a
AS
16322012-05-18 Andreas Schwab <schwab@linux-m68k.org>
1633
37fb1dc0
AS
1634 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
1635 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
1636 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
1637 Refer to _rtld_local_ro instead of _rtld_global_ro.
1638 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
1639 Likewise.
1640 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
1641 Likewise.
1642 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
1643 Likewise.
1644 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
1645 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
1646 of _rtld_global, and rtld_progname instead of _dl_argv[0].
1647
b53ef01a
AS
1648 * sysdeps/powerpc/powerpc32/dl-machine.c
1649 (__elf_machine_runtime_setup) [PROF]: Don't reference
1650 _dl_prof_resolve.
1651
7a185db2
AJ
16522012-05-18 Andreas Jaeger <aj@suse.de>
1653
1654 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
1655 function only available for GCCs before 3.4 since GCC 3.4
1656 introduced a builtin.
1657 (lrint): Likewise.
1658 (llrintf): Likewise.
1659 (llrint): Likewise.
1660 (fmaxf): Likewise.
1661 (fmax): Likewise.
1662 (fminf): Likewise.
1663 (fmin): Likewise.
1664 (rint): Likewise.
1665 (rintf): Likewise.
1666 (nearbyint): Likewise.
1667 (nearbyintf): Likewise.
1668 (ceil): Likewise.
1669 (ceilf): Likewise.
1670 (floor): Likewise.
1671 (floorf): Likewise.
1672
3e5aef87
L
16732012-05-17 H.J. Lu <hongjiu.lu@intel.com>
1674
428bd707
L
1675 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
1676 on both fields and cast pointer to __syscall_ulong_t.
1677
3e5aef87
L
1678 * bits/types.h (__fsword_t): New type.
1679 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
1680 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
1681 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
1682 (__FSWORD_T_TYPE): Likewise.
1683 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
1684 (__FSWORD_T_TYPE): Likewise.
1685 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
1686 (__FSWORD_T_TYPE): Likewise.
1687 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
1688 (__FSWORD_T_TYPE): Likewise.
1689 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
1690 __SWORD_TYPE with __fsword_t.
1691 (statfs64): Likewise.
1692
1ba7c3dc
DM
16932012-05-17 David S. Miller <davem@davemloft.net>
1694
1695 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
1696
59910343
AJ
16972012-05-17 Andreas Jaeger <aj@suse.de>
1698
1699 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
1700 warning.
1701
2e4c1e9e
L
17022012-05-17 H.J. Lu <hongjiu.lu@intel.com>
1703
1704 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
1705
de7f5ce7
AJ
17062012-05-17 Andreas Jaeger <aj@suse.de>
1707
1708 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
1709 when it is used.
1710
286abc3d
CM
17112012-05-17 Chris Metcalf <cmetcalf@tilera.com>
1712
1713 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
1714
477cc68e
L
17152012-05-17 H.J. Lu <hongjiu.lu@intel.com>
1716
1717 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
1718 * sysdeps/x86_64/tst-mallocalign1.c: New file.
1719
1a0994f5
CD
17202012-05-17 Andreas Jaeger <aj@suse.de>
1721 Carlos O'Donell <carlos_odonell@mentor.com>
1722
1723 [BZ #14059]
1724 * sysdeps/x86_64/multiarch/init-arch.h
1725 (bit_YMM_Usable): Rename to...
1726 (bit_AVX_Usable): ... this.
1727 (bit_FMA4_Usable): New macro.
1728 (bit_XMM_state): New macro.
1729 (bit_YMM_state): New macro.
1730 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
1731 [__ASSEMBLER__] (index_AVX_Usable): ... this.
1732 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
1733 (CPUID_OSXSAVE): New macro.
1734 (CPUID_AVX): New macro.
1735 (CPUID_FMA4): New macro.
1736 (index_YMM_Usable): Rename to...
1737 (index_AVX_Usable): ... this.
1738 (HAS_AVX): Use HAS_ARCH_FEATURE.
1739 (HAS_FMA4): Likewise.
1740 (HAS_YMM_USABLE): Remove.
1741 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
1742 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
1743 are present.
1744 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
1745 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
1746 * sysdeps/x86_64/multiarch/Makefile: Likewise.
1747 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
1748 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
1749
0af797de
CM
17502012-05-17 Chris Metcalf <cmetcalf@tilera.com>
1751
1752 * math/libm-test.c: Support platforms without multiple rounding modes.
1753 * math/bug-nextafter.c: Support platforms without FP exceptions.
1754 * math/bug-nexttoward.c: Likewise.
1755 * math/test-fenv.c: Likewise.
1756 * math/test-misc.c: Likewise.
1757 * stdlib/bug-getcontext.c: Likewise.
1758
e39745ff
AJ
17592012-05-17 Andreas Jaeger <aj@suse.de>
1760
1761 * manual/examples/search.c (critter_cmp): Change signature to
1762 avoid warnings.
1763 * manual/string.texi (Collation Functions): Likewise.
1764
48970aba
L
17652012-05-16 H.J. Lu <hongjiu.lu@intel.com>
1766
1767 * bits/types.h: Fold copyright years.
1768 * bits/typesizes.h: Likewise.
1769 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
1770 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
1771 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
1772 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
1773 * time/time.h: Likewise.
1774
bedee953
PP
17752012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
1776
1777 [BZ #208]
1778 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
1779 in instead of returning them. Return void.
1780 (__libc_mallinfo): Accumulate over all arenas.
1781 (__malloc_stats): Adjust for change in int_mallinfo interface.
1782
61653dfb
RM
17832012-05-16 Roland McGrath <roland@hack.frob.com>
1784
30b99d79
RM
1785 [BZ #10375]
1786 * configure.in (NM): Add AC_CHECK_TOOL for it.
1787 (libc_extra_cflags): New substituted variable.
1788 Check for -fstack-protector being used implicitly.
1789 * configure: Regenerated.
1790 * config.make.in (config-extra-cflags): New variable,
1791 gets @libc_extra_cflags@.
1792 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
1793
61653dfb
RM
1794 [BZ #10375]
1795 * configure.in: Check for _FORTIFY_SOURCE being predefined.
1796 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
1797 * configure: Regenerated.
1798 * config.make.in (CPPUNDEFS): New substituted variable.
1799 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
1800 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
1801 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
1802
661768bb
L
18032012-05-16 H.J. Lu <hongjiu.lu@intel.com>
1804
1805 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
1806 (mq_attr): Use __syscall_slong_t.
1807
d4261567
L
18082012-05-16 H.J. Lu <hongjiu.lu@intel.com>
1809
1810 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
1811 Check __x86_64__ instead of __WORDSIZE.
1812 (_STAT_VER_LINUX): Likewise.
1813 (stat): Check __x86_64__ instead of __WORDSIZE. Use
1814 __syscall_ulong_t and __syscall_slong_t.
1815 (stat64): Likewise.
1816
cf3ff365
L
18172012-05-16 H.J. Lu <hongjiu.lu@intel.com>
1818
1819 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
1820
76cf3e4d
L
18212012-05-16 H.J. Lu <hongjiu.lu@intel.com>
1822
1823 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
1824
a637753a
L
18252012-05-16 H.J. Lu <hongjiu.lu@intel.com>
1826
1827 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
1828 __syscall_ulong_t.
1829
d5e05119
L
1830 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
1831 include <bits/wordsize.h>. Check __x86_64__ instead of
1832 __WORDSIZE.
1833 (greg_t): Use "__extension__ long long int" if __x86_64__ is
1834 defined.
1835 (mcontext_t): Replace "unsigned long" with "unsigned long long".
1836
f62ee380
L
1837 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
1838 include <bits/wordsize.h>. Check __x86_64__ instead of
1839 __WORDSIZE.
1840 (user_regs_struct): Use "__extension__ unsigned long long"
1841 instead of "unsigned long" if __x86_64__ is defined.
1842 (user): Likewise. Pad after pointer field if __ILP32__ is
1843 defined.
1844
4e124ced
JM
18452012-05-16 Joseph Myers <joseph@codesourcery.com>
1846
6a3951a0
JM
1847 * configure.in (makeinfo): Require version 4.5 or later. Allow
1848 versions 5 to 9.
1849 * configure: Regenerated.
1850 * manual/install.texi (texinfo): Increase version requirement to
1851 4.5 or later.
1852 * INSTALL: Regenerated.
1853
4e124ced
JM
1854 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
1855
953ca31a
L
18562012-05-16 H.J. Lu <hongjiu.lu@intel.com>
1857
1858 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
1859
617aca05
L
1860 * sysdeps/x86_64/x32/ffs.c: New file.
1861
5762f7ae
L
1862 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
1863 __syscall_ulong_t.
1864 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
1865 defined. Use __syscall_ulong_t.
1866 (shminfo): Use __syscall_ulong_t.
1867 (shm_info): Likewise.
1868
a26b6856
L
1869 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
1870 __syscall_ulong_t.
1871
cb2b9ef7
L
1872 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
1873 <bits/wordsize.h>.
1874 (msgqnum_t): Use __syscall_ulong_t.
1875 (msglen_t): Likewise.
1876 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
1877 __syscall_ulong_t.
1878
34683bb0
L
1879 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
1880 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
1881
84a68786
L
1882 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
1883
48baa5f1
L
1884 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
1885 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
1886
180be88b
L
1887 * sysvipc/sys/msg.h (msgbuf): Replace long int with
1888 __syscall_slong_t.
1889
5e90c8ad
L
1890 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
1891 include <bits/wordsize.h>. Check __x86_64__ instead of
1892 __WORDSIZE.
1893
23dfb58b
L
1894 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
1895 "unsigned long long int" if __x86_64__ is defined.
1896 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
1897
ce5d54b0
L
1898 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
1899 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
1900 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
1901
13dc9eac
L
1902 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
1903 <stdint.h>.
1904 (GET_PC): Cast to uintptr_t first.
1905 (GET_FRAME): Likewise.
1906 (GET_STACK): Likewise.
1907
a7895d15
L
1908 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
1909 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
1910 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
1911 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
1912 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
1913 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
1914 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
1915 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
1916 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
1917 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
1918 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
1919 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
1920 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
1921 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
1922 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
1923 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
1924 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
1925 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
1926 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
1927 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
1928 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
1929 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
1930 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
1931 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
1932 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
1933 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
1934 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
1935 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
1936 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
1937
656416c9
AS
19382012-05-16 Andreas Schwab <schwab@linux-m68k.org>
1939
5bd66283
AS
1940 * Makerules (+depfiles): Also collect depfiles from .oS in
1941 $(extra-objs).
1942 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
1943 .oS, $(libnldbl-routines)).
1944
656416c9
AS
1945 * Makerules (native-compile-mkdep-flags): Define.
1946 * sunrpc/Makefile (extra-objs): Add $(addprefix
1947 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
1948 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
1949 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
1950 calling $(make-target-directory).
1951
a46f2169
L
19522012-05-15 H.J. Lu <hongjiu.lu@intel.com>
1953
1954 * bits/types.h (__snseconds_t): Removed.
1955 * time/time.h (struct timespec): Replace __snseconds_t with
1956 __syscall_slong_t.
1957 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
1958 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
1959 Likewise.
1960 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
1961 (__SNSECONDS_T_TYPE): Likewise.
1962 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
1963 (__SNSECONDS_T_TYPE): Likewise.
1964 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
1965 (__SNSECONDS_T_TYPE): Likewise.
1966
6af6528b
L
19672012-05-15 H.J. Lu <hongjiu.lu@intel.com>
1968
1969 * sysdeps/mach/hurd/bits/typesizes.h
1970 (__SYSCALL_SLONG_TYPE): New macro.
1971 (__SYSCALL_ULONG_TYPE): Likewise.
1972
de986b56
L
19732012-05-15 H.J. Lu <hongjiu.lu@intel.com>
1974
1975 * bits/types.h (__syscall_slong_t): New type.
1976 (__syscall_ulong_t): Likewise.
1977
1978 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
1979 (__SYSCALL_ULONG_TYPE): Likewise.
1980 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
1981 (__SYSCALL_SLONG_TYPE): Likewise.
1982 (__SYSCALL_ULONG_TYPE): Likewise.
1983 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
1984 (__SYSCALL_SLONG_TYPE): Likewise.
1985 (__SYSCALL_ULONG_TYPE): Likewise.
1986 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
1987 (__SYSCALL_SLONG_TYPE): Likewise.
1988 (__SYSCALL_ULONG_TYPE): Likewise.
1989
85736dc7
L
19902012-05-15 H.J. Lu <hongjiu.lu@intel.com>
1991
1992 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
1993 Add sigaltstack-offsets.sym.
1994 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
1995 <sigaltstack-offsets.h>.
1996 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
1997 longjmp_msg pointer.
1998 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
1999 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
2000 signal stack.
2001 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
2002
cc03b296
JM
20032012-05-15 Joseph Myers <joseph@codesourcery.com>
2004
a9538892
JM
2005 * elf/stackguard-macros.h: Remove file.
2006 * sysdeps/generic/stackguard-macros.h: New file.
2007 * sysdeps/i386/stackguard-macros.h: Likewise.
2008 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
2009 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
2010 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
2011 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
2012 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
2013 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
2014 * sysdeps/x86_64/stackguard-macros.h: Likewise.
2015 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
2016 <elf/stackguard-macros.h>.
2017
cc03b296
JM
2018 [BZ #14109]
2019 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
2020 __aligned__ in attribute.
2021 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
2022 (gregset_t): Likewise.
2023
93171016
L
20242012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2025
2026 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
2027 * sysdeps/x86_64/64/Implies-after: Here. New file.
2028 * sysdeps/x86_64/x32/Implies-after: New file.
2029
d86813a0
L
20302012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2031
2032 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
2033 and access return value for _dl_profile_fixup. Use R10_LP to
2034 load frame size.
2035
2953ec75
L
20362012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2037
2038 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
2039
3b550e9e
L
20402012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2041
2042 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
2043 * sysdeps/x86_64/x32/sysdep.h: New file.
2044
eda41706
L
20452012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2046
2047 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
2048 * sysdeps/x86_64/setjmp.S: Likewise.
2049
9ea01d93
AZ
20502012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2051
2052 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
2053 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
2054 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
2055 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
2056 remove unused global constant.
2057
02a91938
CM
20582012-05-15 Chris Metcalf <cmetcalf@tilera.com>
2059
2060 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
2061 include of <not-cancel.h>.
2062
6540185f
RM
20632012-05-15 Roland McGrath <roland@hack.frob.com>
2064
2065 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
2066
509072a0
AJ
20672012-05-15 Jeff Law <law@redhat.com>
2068 Andreas Jaeger <aj@suse.de>
2069
2070 [BZ #13594]
2071 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
2072 out from...
2073 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
2074 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
2075 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
2076 code changing __hst_map_handle.map.
2077
ba75122d
RM
20782012-05-15 Roland McGrath <roland@hack.frob.com>
2079
2080 * configure.in (sysnames): Look for Implies-before and Implies-after
2081 files.
2082 * configure: Regenerated.
2083
890d8bd8
L
20842012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2085
2086 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
2087 8-byte data alignment with LP_SIZE alignment.
2088
f6ee6623
L
20892012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2090
2091 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
2092 into R10_LP.
2093
ea2626f6
L
20942012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2095
2096 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
2097
085f715e
L
20982012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2099
2100 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
2101 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
2102 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
2103 Likewise.
2104 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
2105
be8498fc
L
21062012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2107
2108 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
2109 (stackinfo_sub_sp): Likewise.
2110
70bc83b9
L
21112012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2112
2113 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
2114 RAX_LP.
2115
9bc0b730
L
21162012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2117
2118 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
2119 into R*_LP.
2120
6d2850e7
L
21212012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2122
2123 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
2124 sizes into R*_LP.
2125
3cb84561
L
21262012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2127
2128 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
2129
54e2ed81
L
21302012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2131
2132 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
2133 into R11_LP and load __x86_64_shared_cache_size_half into
2134 R8_LP.
2135
8a17f349
L
21362012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2137
2138 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
2139 R8_LP.
2140
777b1eea
AZ
21412012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2142
2143 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
2144 logb for POWER7.
2145 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
2146 logbf for POWER7.
2147 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
2148 logbl for POWER7.
2149 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
2150 powerpc32/power7/fpu/s_logb.c via #include.
2151 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
2152 powerpc32/power7/fpu/s_logbf.c via #include.
2153 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
2154 powerpc32/power7/fpu/s_logbl.c via #include.
2155
d20d4ac2
JM
21562012-05-15 Joseph Myers <joseph@codesourcery.com>
2157
2158 * README.libm: Remove file.
2159
6cdef1ab
L
21602012-05-14 H.J. Lu <hongjiu.lu@intel.com>
2161
2162 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
2163 count for x32. Use R*_LP and omit operand-size suffix.
2164
0b254d8f
L
21652012-05-14 H.J. Lu <hongjiu.lu@intel.com>
2166
2167 * shlib-versions: Move x86_64-.*-linux.* entries to ...
2168 * sysdeps/x86_64/64/shlib-versions: Here. New file.
2169 * sysdeps/x86_64/x32/shlib-versions: New file.
2170
ceb809dc
RM
21712012-05-14 Roland McGrath <roland@hack.frob.com>
2172
2173 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
2174 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
2175 Use _dl_fatal_printf instead.
2176
37f1abd4
JM
21772012-05-14 Joseph Myers <joseph@codesourcery.com>
2178
2179 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
2180 set if not set by the user. Do not allow for being unset.
2181 * sysdeps/unix/sysv/linux/configure: Regenerated.
2182
11de3a33
L
21832012-05-14 H.J. Lu <hongjiu.lu@intel.com>
2184
2185 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
2186 the `q' suffix from lea and replace .quad with ASM_ADDR.
2187
e02f153a
L
21882012-05-14 H.J. Lu <hongjiu.lu@intel.com>
2189
2190 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
2191 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
2192 instead of $17.
2193 (PTR_DEMANGLE): Likewise.
2194
520ae0fd
L
21952012-05-14 H.J. Lu <hongjiu.lu@intel.com>
2196
2197 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
2198 (LP_OP): Likewise.
2199 (ASM_ADDR): Likewise.
2200 (RAX_LP): Likewise.
2201 (RBP_LP): Likewise.
2202 (RBX_LP): Likewise.
2203 (RCX_LP): Likewise.
2204 (RDI_LP): Likewise.
2205 (RSI_LP): Likewise.
2206 (RSP_LP): Likewise.
2207 (R8_LP): Likewise.
2208 (R9_LP): Likewise.
2209 (R10_LP): Likewise.
2210 (R10_LP): Likewise.
2211 (R11_LP): Likewise.
2212 (R12_LP): Likewise.
2213 (R13_LP): Likewise.
2214 (R14_LP): Likewise.
2215 (R15_LP): Likewise.
2216
b985be81
L
22172012-05-14 H.J. Lu <hongjiu.lu@intel.com>
2218
2219 * sysdeps/x86_64/x32/dl-machine.h: New file.
2220
6a4888ff
AJ
22212012-05-14 Andreas Jaeger <aj@suse.de>
2222
2223 * manual/Makefile (subdir): Remove export of subdir.
2224 (all): Remove target.
2225 (.PHONY): Remove all from list.
2226 (mkinstalldirs): Remove.
2227 (.PHONY): Remove installdirs from list.
2228 ($(inst_infodir)/libc.info): Use make-target-directory.
2229 (installdirs): Remove.
2230 (subdir_%): Remove.
2231 (glibc-targets): Remove.
2232 (lib): Remove.
2233 (stubs): Remove.
2234 ($(objpfx)stubs ../po/manual.pot): Remove.
2235 ($(objpfx)stamp%): Remove.
2236 (make-target-directory): Remove.
2237 (subdir_install): Remove.
2238 (routines): Remove.
2239 (aux): Remove.
2240 (sources): Remove.
2241 (objects): Remove.
2242 (headers): Remove.
2243
2244 [BZ #13750]
2245 * manual/.gitignore: Remove, it's not needed anymore.
2246 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
2247 all files in it.
2248 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
2249 directory.
2250 (texis): Renamed to $(objpfx)texis.
2251 (texis-path): New, contains path to generated files.
2252 (chapters.%): Use texis-path for complete path, add extra argument
2253 libc-texinfo.sh.
2254 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
2255 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
2256 (summary,texi, stamp-summary): Use complete path of
2257 files. Generate files in build dir.
2258 (dir-add.texi): Build in build dir.
2259 (libm-err.texi,stamp-libm-err): Likewise.
2260 (version.texi, stamp-version): Likewise.
2261 (.%c.texi): Likewise.
2262 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
2263 (mostlyclean): Remove target.
2264 (realclean): Remove target.
2265 (generated): Add new variable with contents from mostlyclean and
2266 realclean, remove entries duplicated in common-mostlyclean, add
2267 stamp-libm-err and stamp-version.
2268 (generated-dirs): Add libc directory.
2269 ($(inst_infodir)/libc.info): Install files from build dir.
2270
2271 * manual/install.texi (Configuring and compiling): Adjust since
2272 the info files are not part of the tar ball anymore.
2273
7ac77294
AJ
22742012-05-14 Andreas Jaeger <aj@suse.de>
2275
2276 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
2277 variable.
2278
ffb7875d
JM
22792012-05-14 Joseph Myers <joseph@codesourcery.com>
2280
2281 [BZ #13717]
2282 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
2283 to 2.2.0 where earlier.
2284 * sysdeps/unix/sysv/linux/configure: Regenerated.
2285 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
2286 Remove conditional code.
2287 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
2288 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
2289 Remove conditional code.
2290 [!__NR_lchown]: Likewise.
2291 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
2292 [__NR_lchown]: Likewise.
2293 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
2294 comment referencing __ASSUME_LCHOWN_SYSCALL.
2295 * sysdeps/unix/sysv/linux/i386/sigaction.c
2296 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
2297 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
2298 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
2299 Remove conditional code.
2300 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
2301 (__protocol_available): Remove #if 0 code.
2302 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
2303 conditional code.
2304 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
2305 * sysdeps/unix/sysv/linux/kernel-features.h
2306 (__ASSUME_GETCWD_SYSCALL): Don't define.
2307 (__ASSUME_REALTIME_SIGNALS): Likewise.
2308 (__ASSUME_PREAD_SYSCALL): Likewise.
2309 (__ASSUME_PWRITE_SYSCALL): Likewise.
2310 (__ASSUME_POLL_SYSCALL): Likewise.
2311 (__ASSUME_LCHOWN_SYSCALL): Likewise.
2312 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
2313 non-SPARC.
2314 (__ASSUME_SIOCGIFNAME): Don't define.
2315 (__ASSUME_MSG_NOSIGNAL): Likewise.
2316 (__ASSUME_SENDFILE): Define unconditionally.
2317 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
2318 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
2319 conditional code.
2320 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
2321 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
2322 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
2323 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
2324 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
2325 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
2326 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
2327 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
2328 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
2329 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
2330 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
2331 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
2332 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
2333 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
2334 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
2335 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
2336 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
2337 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
2338 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
2339 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
2340 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
2341 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
2342 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
2343 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
2344 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
2345 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
2346 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
2347 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
2348 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
2349 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
2350 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
2351 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
2352 Remove conditional code.
2353 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
2354 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
2355 Remove conditional code.
2356 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
2357 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
2358 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
2359 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
2360 Remove conditional code.
2361 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
2362 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
2363 Remove conditional code.
2364 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
2365 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
2366 Remove conditional code.
2367 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
2368 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
2369 Remove conditional code.
2370 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
2371 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
2372 Remove conditional code.
2373 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
2374 * sysdeps/unix/sysv/linux/sh/pwrite64.c
2375 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
2376 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
2377 * sysdeps/unix/sysv/linux/sigaction.c
2378 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
2379 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
2380 * sysdeps/unix/sysv/linux/sigpending.c
2381 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
2382 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
2383 * sysdeps/unix/sysv/linux/sigprocmask.c
2384 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
2385 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
2386 * sysdeps/unix/sysv/linux/sigsuspend.c
2387 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
2388 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
2389 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
2390 (__libc_missing_rt_sigs): Remove.
2391 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
2392 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
2393 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
2394 Remove conditional code.
2395 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
2396 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
2397 return 1.
2398 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
2399 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
2400 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
2401 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
2402
1bfb7291
AJ
24032012-05-14 Andreas Jaeger <aj@suse.de>
2404
caae5a81
AJ
2405 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
2406 it's not used in glibc.
2407 (__coshm1): Likewise.
2408 (__acosh1p): Likewise.
2409 (__sgn): Likewise.
2410
1bfb7291
AJ
2411 * manual/string.texi (Copying and Concatenation): Add missing
2412 variable in concat example.
2413 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
2414
c044d724
L
24152012-05-14 H.J. Lu <hongjiu.lu@intel.com>
2416
144c5467 2417 [BZ #14103]
c044d724
L
2418 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
2419 __builtin_clzl with __builtin_clzll.
2420
2523c62b
L
24212012-05-14 H.J. Lu <hongjiu.lu@intel.com>
2422
2423 [BZ #14104]
2424 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
2425 libc_freeres_ptr.
2426
d7bb4c42
LD
24272012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
2428
2429 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
2430 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
2431 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
2432 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
2433
9dc4e1fb
MF
24342012-05-14 Mike Frysinger <vapier@gentoo.org>
2435
2436 * NEWS: Update ia64 info.
2437
c7df0112
AS
24382012-05-12 Andreas Schwab <schwab@linux-m68k.org>
2439
2440 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
2441 used as bcopy.
2442
dc70356c
TS
24432012-05-12 Thomas Schwinge <thomas@codesourcery.com>
2444
2445 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
2446 * sysdeps/unix/syscalls.list (dup3): Likewise.
2447 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
2448 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
2449
9fb1a21f
L
24502012-05-11 H.J. Lu <hongjiu.lu@intel.com>
2451
2452 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
2453 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
2454
4822a2a5
L
24552012-05-11 H.J. Lu <hongjiu.lu@intel.com>
2456
2457 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
2458 thread pointer.
2459 (TLS_IE): Use mov/add instead of movq/addq to load thread
2460 pointer.
2461 (TLS_GD_PREFIX): New.
2462 (TLS_GD): Use it.
2463
842b81d6
DM
24642012-05-11 David S. Miller <davem@davemloft.net>
2465
2466 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
2467 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
2468 (_FPU_SETCW): Likewise.
2469
1cf463cd
L
24702012-05-10 H.J. Lu <hongjiu.lu@intel.com>
2471
2472 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
2473 is 32-byte aligned.
2474
60cc4a18
AS
24752012-05-11 Andreas Schwab <schwab@linux-m68k.org>
2476
2477 [BZ #11837]
2478 * iconvdata/gb18030.c: Update tables.
2479 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
2480 characters specially.
2481 (BODY for TO_LOOP): Add encoding of missing ranges.
2482
febb44a4
TS
24832012-05-11 Thomas Schwinge <thomas@codesourcery.com>
2484
2485 [BZ #13673]
2486 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
2487 * sysdeps/mach/hurd/dup3.c: Likewise.
2488 * sysdeps/mach/hurd/readlinkat.c: Likewise.
2489 * sysdeps/powerpc/memmove.c:: Likewise.
2490
0a10fb9e
L
24912012-05-10 H.J. Lu <hongjiu.lu@intel.com>
2492
2493 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
2494 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
2495
df8a552f
L
24962012-05-10 H.J. Lu <hongjiu.lu@intel.com>
2497
2498 * elf/elf.h (R_X86_64_RELATIVE64): New.
2499 (R_X86_64_NUM): Updated.
2500 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
2501 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
2502 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
2503 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
2504 tst-quad1pie tst-quad2pie
2505 (modules-names): Add tst-quadmod1 tst-quadmod2.
2506 ($(objpfx)tst-quad1): New dependency.
2507 ($(objpfx)tst-quad2): Likewise.
2508 ($(objpfx)tst-quad1pie): Likewise.
2509 ($(objpfx)tst-quad2pie): Likewise.
2510 * sysdeps/x86_64/tst-quad1.c: New file.
2511 * sysdeps/x86_64/tst-quad1pie.c: New file.
2512 * sysdeps/x86_64/tst-quad2.c: Likewise.
2513 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
2514 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
2515 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
2516 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
2517 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
2518
f34d6f84
ST
25192012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
2520
f42d41d1
ST
2521 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
2522 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
2523 * streams/stropts.h (t_scalar_t): Define type.
2524
3c3571fc
ST
2525 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
2526 (_PATH_PRESERVE): Set to "/var/lib".
2527 (_PATH_RWHODIR): Set to "/var/spool/rwho".
2528
61f06bd3
ST
2529 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
2530 instead of int.
2531
918d4d71
ST
2532 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
2533 if __dir_mkfile succeeded.
2534
f34d6f84
ST
2535 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
2536 checking for _hurd_dtablesize. Unlock it right after having
2537 finished _hurd_dtable allocation.
2538
10589b4a
TS
25392012-05-10 Thomas Schwinge <thomas@schwinge.name>
2540
674cdbc7
TS
2541 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
2542 * sysdeps/mach/hurd/configure: Regenerated.
2543 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
2544 special-casing to...
2545 * sysdeps/gnu/configure.in: ... this new file.
2546 * sysdeps/unix/sysv/linux/configure: Regenerated.
2547 * sysdeps/gnu/configure: New generated file.
2548
8e41b99f
TS
2549 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
2550 for Linux: use nsec instead of usec, as well as:
2551 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
2552 members of type struct timespec.
2553 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
2554 New macros.
2555 (struct stat64): Likewise.
2556 (_STATBUF_ST_NSEC): New macro.
2557 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
2558
10589b4a
TS
2559 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
2560 __strtoul_internal rather than strtoul.
2561
63643c85
PT
25622012-05-10 Pino Toscano <toscano.pino@tiscali.it>
2563
2564 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
2565 and reject them.
2566
3faebe6a
ST
25672012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
2568
2569 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
2570 which preserves existing values.
2571 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
2572
c6474b07
PT
25732012-05-10 Pino Toscano <toscano.pino@tiscali.it>
2574
2575 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
2576 TIMEOUT values. Return EINVAL for NFDS values either negative or
2577 greater than FD_SETSIZE.
2578
1043890b
ST
25792012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
2580
2581 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
2582 allocated, call __vm_protect to finish enabling the existing space, and
2583 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
2584 allocate the remainder.
2585
37ed8b9b
PT
25862012-05-10 Pino Toscano <toscano.pino@tiscali.it>
2587
2588 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
2589 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
2590
db653660
ST
25912012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
2592
37ed8b9b
PT
2593 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
2594 sysdeps/mach/hurd/readlink.c.
b29d4053 2595
db653660
ST
2596 * posix/tst-sysconf.c (posix_options): Only use
2597 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
2598 _POSIX_SYNCHRONIZED_IO when they are defined
2599 * sysdeps/mach/hurd/bits/posix_opt.h:
2600 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
2601 (_XOPEN_REALTIME): Undefine macro.
2602 (_XOPEN_REALTIME_THREADS): Undefine macro.
2603 (_XOPEN_SHM): Undefine macro.
2604 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
2605 macro to -1.
2606 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
2607 macro to -1.
2608 (_POSIX_ASYNC_IO): Undefine macro.
2609 (_POSIX_PRIORITIZED_IO): Undefine macro.
2610 (_POSIX_SPIN_LOCKS): Define macro to -1.
2611
ee16e894
ST
2612 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
2613 SA_NODEFER, SA_RESETHAND.
2614 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
2615 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
2616 F_DUPFD_CLOEXEC.
2617
6103ae3b
TS
26182012-05-10 Thomas Schwinge <thomas@schwinge.name>
2619
2620 * elf/Makefile (pldd-modules): Define unconditionally.
2621
80b4e5f3
TS
26222012-05-10 Thomas Schwinge <thomas@schwinge.name>
2623
2624 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
2625
edadcbd6
ST
26262012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
2627
2628 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
2629 Return ENOENT when name is empty.
2630 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
2631
80694780
TS
26322012-05-10 Thomas Schwinge <thomas@schwinge.name>
2633
1792c087
TS
2634 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
2635
80694780
TS
2636 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
2637
6b645f0d
ST
26382012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
2639
80694780
TS
2640 Fix mlock in all cases except non-readable pages.
2641 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
2642 instead of VM_PROT_ALL as parameter to __vm_wire function.
66cbbebc 2643
6b645f0d
ST
2644 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
2645 (__mkdir): When path is `/', just fail with EEXIST.
2646 * sysdeps/mach/hurd/mkdirat.c: Likewise.
2647
e468f8a3
TS
26482012-05-10 Thomas Schwinge <thomas@schwinge.name>
2649
2650 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
2651 <sys/uio.h> (for writev).
2652 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
2653 and <sys/param.h> (for MIN).
2654
a4186cff
PT
26552012-05-10 Pino Toscano <toscano.pino@tiscali.it>
2656
2657 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
2658 REQUESTED_TIME. Properly set the remaining time and return EINTR
2659 if interrupted.
2660
510bbf14
TS
26612012-05-10 Thomas Schwinge <thomas@schwinge.name>
2662
2663 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
2664 Depend on against $(link-rpcuserlibs).
2665
5d5722e8
ST
26662012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
2667
a4186cff
PT
2668 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
2669 (__libc_stack_end): Do not use attribute_relro.
2670 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
2671 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
5d5722e8 2672 to libthread-provided value.
a4186cff
PT
2673 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
2674 attribute_relro.
5d5722e8 2675
37233df9
TS
26762012-05-10 Thomas Schwinge <thomas@schwinge.name>
2677
be971a2b
TS
2678 [BZ #3748]
2679 * bits/libc-lock.h (__libc_once_get): New macro.
2680 * sysdeps/mach/bits/libc-lock.h: Likewise.
2681 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
2682 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
2683 instead of using implementation details.
2684
37233df9
TS
2685 * libio/fileops.c: Unconditionally include <kernel-features.h>.
2686 * libio/freopen.c: Likewise.
2687 * libio/freopen64.c: Likewise.
2688 * misc/syslog.c: Likewise.
2689 * nscd/connections.c: Likewise.
2690 * nscd/netgroupcache.c: Likewise.
2691 * sysdeps/posix/getcwd.c: Likewise.
2692
38de94a5
RM
26932012-05-10 Roland McGrath <roland@hack.frob.com>
2694
2695 * math/w_ilogbf.c: Add #include <limits.h>.
2696
67530489
ST
26972012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
2698
a4186cff 2699 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
bbc49098
ST
2700 path instead of returning without unlocking.
2701
67530489
ST
2702 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
2703 immediate-write ioctls.
2704 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
2705
5aa3a74a
TS
27062012-05-10 Thomas Schwinge <thomas@schwinge.name>
2707
18bad2ae
TS
2708 * sysdeps/mach/hurd/i386/init-first.c (init): Use
2709 __builtin_frame_address instead of making assumptions about the
2710 location of the return address relative to DATA. Force early load of
2711 the return address.
2712 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
2713 __builtin_frame_address.
2714
5aa3a74a
TS
2715 dup3 for GNU Hurd.
2716 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
2717 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
2718 implement dup3 and do some further code clean-ups.
2719 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
2720 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
2721
ecd0de9a
ST
27222012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
2723
cd9fa985
ST
2724 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
2725
a4186cff
PT
2726 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
2727 HURD_CRITICAL_END around holding _hurd_dtable_lock.
2728 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
2729 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
2730 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
2731 d->port.lock.
802ca5a5 2732
a4186cff
PT
2733 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
2734 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
2735 when handler == SIG_ERR, not when handler != SIG_ERR.
ecd0de9a 2736
bcf55240
TS
27372012-05-10 Thomas Schwinge <thomas@schwinge.name>
2738
6960eb42
TS
2739 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
2740 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
2741 definitions.
2742
eb43375f
TS
2743 accept4 for GNU Hurd.
2744 * include/sys/socket.h (__libc_accept4): New prototype.
2745 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
2746 to implement __libc_accept4.
2747 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
2748 __libc_accept4.
2749 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
2750
bcf55240
TS
2751 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
2752 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
2753 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
2754 signal-defines.sym.
2755
6178c55b
ST
27562012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
2757
a4186cff 2758 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
6178c55b 2759
6f080c2f
TS
27602012-05-10 Thomas Schwinge <thomas@schwinge.name>
2761
2762 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
2763 assertion on O_CLOEXEC flag.
2764 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
2765 * hurd/intern-fd.c: Likewise.
2766 * hurd/port2fd.c: Likewise.
2767
bcfe3a54
ST
27682012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
2769
2770 [BZ #3906]
2771 * bits/in.h (IPV6_PKTINFO): Define new macro.
2772 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
2773
89c9aa49
AZ
27742012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2775
2776 [BZ #13954]
2777 [BZ #13955]
2778 [BZ #13956]
2779 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
2780 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
2781 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
2782 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
2783 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
2784 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
2785 * math/libm-test.inc (logb_test) : Additional logb tests.
2786
021db4be
AJ
27872012-05-09 Andreas Schwab <schwab@linux-m68k.org>
2788 Andreas Jaeger <aj@suse.de>
2789
2790 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
2791 * configure: Regenerated.
2792 * config.h.in (LINK_OBSOLETE_RPC): New macro.
2793 * config.make.in (link-obsolete-rpc): New substituted variable.
2794 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
2795 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
2796 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
2797 (shared-only-routines): Don't set it under [link-obsolete-rpc],
2798 so that libc.a contains the symbols.
2799 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
2800 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
2801 * sunrpc/auth_none.c: Likewise.
2802 * sunrpc/auth_unix.c: Likewise.
2803 * sunrpc/authdes_prot.c: Likewise.
2804 * sunrpc/authuxprot.c: Likewise.
2805 * sunrpc/clnt_gen.c: Likewise.
2806 * sunrpc/clnt_perr.c: Likewise.
2807 * sunrpc/clnt_raw.c: Likewise.
2808 * sunrpc/clnt_simp.c: Likewise.
2809 * sunrpc/clnt_tcp.c: Likewise.
2810 * sunrpc/clnt_udp.c: Likewise.
2811 * sunrpc/clnt_unix.c: Likewise.
2812 * sunrpc/des_crypt.c: Likewise.
2813 * sunrpc/des_soft.c: Likewise.
2814 * sunrpc/get_myaddr.c: Likewise.
2815 * sunrpc/key_call.c: Likewise.
2816 * sunrpc/key_prot.c: Likewise.
2817 * sunrpc/netname.c: Likewise.
2818 * sunrpc/pm_getmaps.c: Likewise.
2819 * sunrpc/pm_getport.c: Likewise.
2820 * sunrpc/pmap_clnt.c: Likewise.
2821 * sunrpc/pmap_prot.c: Likewise.
2822 * sunrpc/pmap_prot2.c: Likewise.
2823 * sunrpc/pmap_rmt.c: Likewise.
2824 * sunrpc/publickey.c: Likewise.
2825 * sunrpc/rpc_cmsg.c: Likewise.
2826 * sunrpc/rpc_common.c: Likewise.
2827 * sunrpc/rpc_dtable.c: Likewise.
2828 * sunrpc/rpc_prot.c: Likewise.
2829 * sunrpc/rpc_thread.c: Likewise.
2830 * sunrpc/rtime.c: Likewise.
2831 * sunrpc/svc.c: Likewise.
2832 * sunrpc/svc_auth.c: Likewise.
2833 * sunrpc/svc_raw.c: Likewise.
2834 * sunrpc/svc_run.c: Likewise.
2835 * sunrpc/svc_tcp.c: Likewise.
2836 * sunrpc/svc_udp.c: Likewise.
2837 * sunrpc/svc_unix.c: Likewise.
2838 * sunrpc/svcauth_des.c: Likewise.
2839 * sunrpc/xcrypt.c: Likewise.
2840 * sunrpc/xdr.c: Likewise.
2841 * sunrpc/xdr_array.c: Likewise.
2842 * sunrpc/xdr_float.c: Likewise.
2843 * sunrpc/xdr_intXX_t.c: Likewise.
2844 * sunrpc/xdr_mem.c: Likewise.
2845 * sunrpc/xdr_rec.c: Likewise.
2846 * sunrpc/xdr_ref.c: Likewise.
2847 * sunrpc/xdr_sizeof.c: Likewise.
2848 * sunrpc/xdr_stdio.c: Likewise.
2849
b5c086a2
RM
28502012-05-10 Roland McGrath <roland@hack.frob.com>
2851
2852 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
2853 change. Update copyright years.
2854
6d74dd09
JM
28552012-05-10 Joseph Myers <joseph@codesourcery.com>
2856
2857 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
2858
28e72501
MK
28592012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
2860 Joseph Myers <joseph@codesourcery.com>
2861 Paul Pluzhnikov <ppluzhnikov@google.com>
2862
2863 [BZ #14012]
2864 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
2865 requiring rpcgen.
2866 [cross-compiling] (extra-libs): Likewise.
2867 [cross-compiling] (extra-libs-others): Likewise.
2868 [cross-compiling] (librpcsvc-routines): Likewise.
2869 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
2870 [cross-compiling] (omit-deps): Likewise.
2871 (sunrpc-CPPFLAGS): New variable.
2872 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
2873 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
2874 (cross-rpcgen-objs): New variable.
2875 (extra-objs): Append $(cross-rpcgen-objs).
2876 ($(cross-rpcgen-objs)): New rule.
2877 ($(objpfx)cross-rpcgen): Likewise.
2878 (rpcgen-cmd): Define to use $(built-program-file). Expand
2879 comment.
2880 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
2881 ($(objpfx)x%.stmp): Likewise.
2882 * sunrpc/proto.h [IS_IN_build] (_): Define.
2883 [IS_IN_build] (_libc_intl_domainname): Likewise.
2884
c8c59454
L
28852012-05-10 H.J. Lu <hongjiu.lu@intel.com>
2886
2887 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
2888 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
2889 and R_X86_64_TPOFF64.
2890
6f27cd16
JM
28912012-05-10 Joseph Myers <joseph@codesourcery.com>
2892
2893 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
2894 sysdeps/unix/sysv/syscalls.list.
2895 (stime): Likewise.
2896 (utime): Likewise.
2897 * sysdeps/unix/sysv/syscalls.list: Remove file.
2898
02467e1c
PE
28992012-05-10 Paul Eggert <eggert@cs.ucla.edu>
2900
2901 [BZ #3440]
2902 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
2903 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
2904 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
2905 (__LC_IDENTIFICATION): Make these macros useful in #if
2906 expressions, as required by C99.
2907
da392631
AS
29082012-05-10 Andreas Schwab <schwab@linux-m68k.org>
2909
2910 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
2911 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
2912 after this.
2913
8115f29b
L
29142012-05-09 H.J. Lu <hongjiu.lu@intel.com>
2915
2916 * stdlib/longlong.h: Updated from GCC.
2917
bdd74070
AJ
29182012-05-09 Andreas Jaeger <aj@suse.de>
2919
edfe0dbe
AJ
2920 * nscd/nscd.c (run_modes): Make named enum, reorder so that
2921 default is first entry.
2922 (run_mode): Set type.
2923 (main): Remove informal message about syslog.
2924 (options): Fix typo.
2925
bcfe3a54
ST
2926 [BZ #14053]
2927 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
bdd74070 2928 to asm.
bcfe3a54
ST
2929 (lrint): Likewise.
2930 (llrintf): Likewise.
2931 (llrint): Likewise.
2932 (rint): Likewise.
2933 (rintf): Likewise.
2934 (nearbyint): Likewise.
2935 (nearbyintf): Likewise.
bdd74070 2936
91d8d69e
AJ
29372012-05-09 Andreas Jaeger <aj@suse.de>
2938 Pedro Alves <palves@redhat.com>
2939
2940 * nscd/nscd.c (run_mode): Use enum.
2941 (main): Cleanup coding style issue.
2942
bb90b80b
AJ
29432012-05-09 Alexandre Oliva <aoliva@redhat.com>
2944 Andreas Jaeger <aj@suse.de>
2945
bcfe3a54
ST
2946 * nscd/nscd.c (go_background): Replaced with...
2947 (run_mode): ... this.
bb90b80b 2948 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
bcfe3a54
ST
2949 (options): Add -F --foreground.
2950 (main): Implement it.
2951 (parse_opt): Parse it.
bb90b80b 2952
1a4b75a1
AJ
29532012-05-09 Andreas Jaeger <aj@suse.de>
2954
2955 [BZ #14083]
2956 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
2957 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
2958 -Wconversion warning.
2959 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
2960 Likewise.
2961
b1cc2472
JM
29622012-05-09 Joseph Myers <joseph@codesourcery.com>
2963
2964 * conform/data/locale.h-data (NULL): Use macro-constant. Require
2965 == 0.
2966 (LC_ALL): Use macro-int-constant.
2967 (LC_COLLATE): Likewise.
2968 (LC_CTYPE): Likewise.
2969 (LC_MESSAGES): Likewise.
2970 (LC_MONETARY): Likewise.
2971 (LC_NUMERIC): Likewise.
2972 (LC_TIME): Likewise.
2973 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
2974 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
2975 [ISO || ISO99 || ISO11] (*_t): Do not allow.
2976 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
2977 Specify type.
2978 [C99-based standards] (float_t): Expect type.
2979 [C99-based standards] (double_t): Expect type.
2980 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
2981 type.
2982 [C99-based standards] (HUGE_VALL): Likewise.
2983 [C99-based standards] (INFINITY): Likewise.
2984 [C99-based standards] (NAN): Likewise.
2985 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
2986 [C99-based standards] (FP_NAN): Likewise.
2987 [C99-based standards] (FP_NORMAL): Likewise.
2988 [C99-based standards] (FP_SUBNORMAL): Likewise.
2989 [C99-based standards] (FP_ZERO): Likewise.
2990 [C99-based standards] (FP_FAST_FMA): Use
2991 optional-macro-int-constant. Specify type. Require == 1.
2992 [C99-based standards] (FP_FAST_FMAF): Likewise.
2993 [C99-based standards] (FP_FAST_FMAL): Likewise.
2994 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
2995 [C99-based standards] (FP_ILOGBNAN): Likewise.
2996 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
2997 Specify type.
2998 [C99-based standards] (MATH_ERREXCEPT): Likewise.
2999 [C99-based standards] (math_errhandling): Specify type.
3000 [ISO99 || ISO11] (signgam): Do not allow.
3001 [non-C99-based standards] (copysignf): Do not allow.
3002 [non-C99-based standards] (exp2f): Likewise.
3003 [non-C99-based standards] (log2f): Likewise.
3004 [non-C99-based standards] (modff): Allow.
3005 [non-C99-based standards] (erff): Do not allow.
3006 [non-C99-based standards] (erfcf): Likewise.
3007 [non-C99-based standards] (gammaf): Likewise.
3008 [non-C99-based standards] (hypotf): Likewise.
3009 [non-C99-based standards] (j0f): Likewise.
3010 [non-C99-based standards] (j1f): Likewise.
3011 [non-C99-based standards] (jnf): Likewise.
3012 [non-C99-based standards] (lgammaf): Likewise.
3013 [non-C99-based standards] (tgammaf): Likewise.
3014 [non-C99-based standards] (y0f): Likewise.
3015 [non-C99-based standards] (y1f): Likewise.
3016 [non-C99-based standards] (ynf): Likewise.
3017 [non-C99-based standards] (isnanf): Likewise.
3018 [non-C99-based standards] (acoshf): Likewise.
3019 [non-C99-based standards] (asinhf): Likewise.
3020 [non-C99-based standards] (atanhf): Likewise.
3021 [non-C99-based standards] (cbrtf): Likewise.
3022 [non-C99-based standards] (expm1f): Likewise.
3023 [non-C99-based standards] (ilogbf): Likewise.
3024 [non-C99-based standards] (log1pf): Likewise.
3025 [non-C99-based standards] (logbf): Likewise.
3026 [non-C99-based standards] (nextafterf): Likewise.
3027 [non-C99-based standards] (remainderf): Likewise.
3028 [non-C99-based standards] (rintf): Likewise.
3029 [non-C99-based standards] (scalbf): Likewise.
3030 [non-C99-based standards] (copysignl): Likewise.
3031 [non-C99-based standards] (exp2l): Likewise.
3032 [non-C99-based standards] (log2l): Likewise.
3033 [non-C99-based standards] (modfl): Allow.
3034 [non-C99-based standards] (erfl): Do not allow.
3035 [non-C99-based standards] (erfcl): Likewise.
3036 [non-C99-based standards] (gammal): Likewise.
3037 [non-C99-based standards] (hypotl): Likewise.
3038 [non-C99-based standards] (j0l): Likewise.
3039 [non-C99-based standards] (j1l): Likewise.
3040 [non-C99-based standards] (jnl): Likewise.
3041 [non-C99-based standards] (lgammal): Likewise.
3042 [non-C99-based standards] (tgammal): Likewise.
3043 [non-C99-based standards] (y0l): Likewise.
3044 [non-C99-based standards] (y1l): Likewise.
3045 [non-C99-based standards] (ynl): Likewise.
3046 [non-C99-based standards] (isnanl): Likewise.
3047 [non-C99-based standards] (acoshl): Likewise.
3048 [non-C99-based standards] (asinhl): Likewise.
3049 [non-C99-based standards] (atanhl): Likewise.
3050 [non-C99-based standards] (cbrtl): Likewise.
3051 [non-C99-based standards] (expm1l): Likewise.
3052 [non-C99-based standards] (ilogbl): Likewise.
3053 [non-C99-based standards] (log1pl): Likewise.
3054 [non-C99-based standards] (logbl): Likewise.
3055 [non-C99-based standards] (nextafterl): Likewise.
3056 [non-C99-based standards] (remainderl): Likewise.
3057 [non-C99-based standards] (rintl): Likewise.
3058 [non-C99-based standards] (scalbl): Likewise.
3059 [ISO || ISO99 || ISO11] (*_t): Do not allow.
3060 [non-C99-based standards] (FP_*): Do not allow.
3061 [C99-based standards] (FP_*): Change to
3062 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
3063 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
3064 allow.
3065 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
3066 (SIG_ERR): Likewise.
3067 [X/Open-based standards] (SIG_HOLD): Likewise.
3068 (SIG_IGN): Likewise.
3069 (SIGABRT): Use macro-int-constant. Specify type. Require
3070 positive value.
3071 (SIGFPE): Likewise.
3072 (SIGILL): Likewise.
3073 (SIGINT): Likewise.
3074 (SIGSEGV): Likewise.
3075 (SIGTER): Likewise.
3076 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
3077 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
3078 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
3079 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
3080 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
3081 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
3082 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
3083 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
3084 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
3085 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
3086 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
3087 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
3088 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
3089 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
3090 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
3091 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
3092 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
3093 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
3094 [X/Open-based standards] (SIGTRAP): Likewise.
3095 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
3096 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
3097 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
3098 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
3099 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
3100 allow.
3101
b9f1922d
IW
31022012-05-08 Ian Wienand <ianw@vmware.com>
3103
3104 [BZ #14080]
3105 * time/tzset.c (__tzset_parse_tz): Update default rules for
3106 daylight time changes in the Energy Policy Act of 2005.
3107
1db86e88
AJ
31082012-05-09 Andreas Jaeger <aj@suse.de>
3109
3110 [BZ #13983]
3111 * elf/ldconfig.c (parse_conf): Change string to make clear that
3112 ldconfig only issued a warning if ld.so.conf does not exist.
3113
dee4a4e3
DM
31142012-05-08 David S. Miller <davem@davemloft.net>
3115
ee0db190
DM
3116 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
3117 movxtod instead of popping the value on the stack.
3118
dee4a4e3
DM
3119 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3120
6a43ec98
CD
31212012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
3122
3123 * config.h.in: Add HAVE_ARM_PCS_VFP.
3124
05c2c961
RMG
31252012-05-08 Roland Mc Grath <roland@hack.frob.com>
3126
bcfe3a54
ST
3127 [BZ #13979]
3128 * include/features.h: Warn if user requests __FORTIFY_SOURCE
3129 checking but the checks are disabled for any reason.
05c2c961 3130
4b30f61a
L
31312012-05-08 H.J. Lu <hongjiu.lu@intel.com>
3132
3133 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
3134 and ELF64_R_TYPE with ELFW(R_TYPE).
3135
eee2bc67
JM
31362012-05-08 Joseph Myers <joseph@codesourcery.com>
3137
7ea5391a
JM
3138 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
3139 (ulimit): Likewise.
3140
eee2bc67
JM
3141 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
3142 (settimeofday): Likewise.
3143
abb66a67
MF
31442012-05-08 Mike Frysinger <vapier@gentoo.org>
3145
3146 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
3147 a struct th_u2 inside the union, and move tu_block/tu_code into
3148 a new th_u3 union of tu_block/tu_code inside of that. Move
3149 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
3150 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
3151 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
3152 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
3153 (th_stuff): Change to th_u1.tu_stuff.
3154 (th_data): Define.
3155 (th_msg): Change to th_u1.th_u2.tu_data.
3156
7f18b530
DM
31572012-05-07 David S. Miller <davem@davemloft.net>
3158
05760585
DM
3159 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3160
7f18b530
DM
3161 [BZ #14074]
3162 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
3163 (SETUP_PIC_REG): Use it.
3164 (SETUP_PIC_REG_LEAF): Use it.
3165
495fd99f
JM
31662012-05-07 Joseph Myers <joseph@codesourcery.com>
3167
3168 [BZ #13885]
3169 [BZ #13923]
3170 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
3171 USE_AS_EXPM1L.
3172 (EXPL_FINITE): Likewise.
3173 (FLDLOG): Likewise.
3174 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
3175 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
3176 e_expl.S.
3177 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
3178 USE_AS_EXPM1L.
3179 (EXPL_FINITE): Likewise.
3180 (FLDLOG): Likewise.
3181 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
3182 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
3183 e_expl.S.
3184 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
3185 test of -max_value argument for long double.
3186 * sysdeps/i386/fpu/libm-test-ulps: Update.
3187 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3188
6693d694
DM
31892012-05-06 David S. Miller <davem@davemloft.net>
3190
3191 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
3192 quad soft-float symbols whose references which are compiler
3193 generated.
3194 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
3195
6c23e11c
JM
31962012-05-06 Joseph Myers <joseph@codesourcery.com>
3197
d8b82cad
JM
3198 [BZ #13884]
3199 [BZ #13914]
3200 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
3201 USE_AS_EXP10L.
3202 (EXPL_FINITE): Likewise.
3203 (FLDLOG): Likewise.
3204 (c0): Likewise.
3205 (c1): Likewise.
3206 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
3207 Adjust comments for base varying.
3208 (__expl_finite): Change alias to EXPL_FINITE.
3209 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
3210 e_expl.S.
3211 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
3212 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
3213 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
3214 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
3215 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
3216 USE_AS_EXP10L.
3217 (EXPL_FINITE): Likewise.
3218 (FLDLOG): Likewise.
3219 (c0): Likewise.
3220 (c1): Likewise.
3221 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
3222 Adjust comments for base varying.
3223 (__expl_finite): Change alias to EXPL_FINITE.
3224 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
3225 tests for bugs.
3226 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3227
6c23e11c
JM
3228 [BZ #14064]
3229 * math/libm-test.inc (check_float_internal): Correct ulp
3230 calculation for subnormal expected results.
3231
29ba805c
AJ
32322012-05-06 Andreas Jaeger <aj@suse.de>
3233
3234 * Makeconfig (+math-flags): New, set to -frounding-math.
3235 (+cflags): Add +math-flags so that all of glibc gets compiled with
3236 it.
3237
3238 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
3239
7b17aeda
JM
32402012-05-05 Joseph Myers <joseph@codesourcery.com>
3241
5779f134
JM
3242 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
3243 Disable one test.
3244
41498f4d
JM
3245 [BZ #13787]
3246 [BZ #13922]
3247 [BZ #14036]
3248 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
3249 (__ieee754_expl): Allow for and saturate large arguments.
3250 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
3251 (u_threshold): Likewise.
3252 (__exp): Call __ieee754_exp before checking for overflow and
3253 underflow.
3254 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
3255 (u_threshold): Likewise.
3256 (__expf): Call __ieee754_expf before checking for overflow and
3257 underflow.
3258 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
3259 (u_threshold): Likewise.
3260 (__expl): Call __ieee754_expl before checking for overflow and
3261 underflow.
3262 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
3263 (__ieee754_expl): Allow for and saturate large arguments.
3264 * math/libm-test.inc (exp_test): Add another test. Do not allow
3265 missing overflow exception on overflow.
3266 (expm1_test): Do not allow missing overflow exception on overflow.
3267
6698b8bf
JM
3268 * sysdeps/i386/fpu/e_expl.c: Move to ...
3269 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
3270 rather than using inline asm.
3271 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
3272 * sysdeps/x86_64/fpu/e_expl.S: Copy from
3273 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
3274
7b17aeda
JM
3275 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
3276 (nice): Likewise.
3277 (poll): Likewise.
3278 (signal): Likewise.
3279 (time): Likewise.
3280 (times): Likewise.
3281
f7c85819
JM
32822012-05-04 Joseph Myers <joseph@codesourcery.com>
3283
3284 * sysdeps/unix/syscalls.list (adjtime): Add entry from
3285 sysdeps/unix/common/syscalls.list.
3286 (fchmod): Likewise.
3287 (fchown): Likewise.
3288 (ftruncate): Likewise.
3289 (getrusage): Likewise.
3290 (gettimeofday): Likewise.
3291 (setpgid): Likewise.
3292 (setregid): Likewise.
3293 (setreuid): Likewise.
3294 (sigaction): Likewise.
3295 (truncate): Likewise.
3296 (vhangup): Likewise.
3297 * sysdeps/unix/common/syscalls.list: Remove file.
3298 * sysdeps/unix/bsd/Implies: Don't include unix/common.
3299 * sysdeps/unix/sysv/linux/Implies: Likewise.
3300
336270d0
L
33012012-05-04 H.J. Lu <hongjiu.lu@intel.com>
3302
3303 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
3304 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
3305 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
3306 Moved to ...
3307 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
3308 Here.
3309 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
3310 to ...
3311 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
3312 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
3313 to ...
3314 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
3315 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
3316 to ...
3317 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
3318 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
3319 to ...
3320 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
3321 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
3322 to ...
3323 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
3324 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
3325 to ...
3326 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
3327 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
3328 to ...
3329 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
3330 Here.
3331 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
3332 to ...
3333 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
3334 Here.
3335 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
3336 to ...
3337 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
3338 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
3339 Moved to ...
3340 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
3341 Here.
3342 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
3343 to ...
3344 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
3345
d128e450
JM
33462012-05-04 Joseph Myers <joseph@codesourcery.com>
3347
fa8ee516
JM
3348 * sysdeps/unix/common/bits/dirent.h: Remove file.
3349 * sysdeps/unix/common/bits/fcntl.h: Likewise.
3350
d128e450
JM
3351 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
3352 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
3353 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
3354 * sysdeps/unix/bsd/isatty.c: Likewise.
3355 * sysdeps/unix/bsd/tcdrain.c: Likewise.
3356 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
3357 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
3358
ff8faaf0 33592012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31dc8730 3360
62881be4 3361 [BZ #13563]
31dc8730
AZ
3362 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
3363 long double comparison inaccuracies.
3364 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
3365 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3366
6fef930c
AS
33672012-05-04 Andreas Schwab <schwab@linux-m68k.org>
3368
3369 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
3370 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
3371
8f203e6c
JM
33722012-05-04 Joseph Myers <joseph@codesourcery.com>
3373
3374 [BZ #14049]
3375 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
3376 nonzero digits before rounding a hex value.
3377 * stdlib/tst-strtod.c (tests): Add another test.
3378
5197d9c2
AK
33792012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3380
3381 * sysdeps/s390/fpu/libm-test-ulps: Update.
3382
f0c1dedf
AJ
33832012-05-03 Andreas Jaeger <aj@suse.de>
3384
3385 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
3386 does not get optimized out.
3387 (malloc_opt_barrier): New.
3388
a65ef2ae 33892012-05-03 Andreas Jaeger <aj@suse.de>
461b8e5a 3390 Roland McGrath <roland@hack.frob.com>
a65ef2ae 3391
2b942cb7 3392 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
a65ef2ae 3393 intermediate file deletion.
2b942cb7 3394 (generated): Add .symlist files.
a65ef2ae 3395
54b71e02
JM
33962012-05-03 Joseph Myers <joseph@codesourcery.com>
3397
3398 [BZ #13775]
3399 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
3400 Redirect under this condition.
3401 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
3402 [__USE_GNU] (__dprintf_chk): Not under this condition.
3403 [__USE_GNU] (__vdprintf_chk): Likewise.
3404 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
3405 under this condition.
3406 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
3407 [__USE_XOPEN2K8] (dprintf): Define under this condition.
3408 [__USE_XOPEN2K8] (vdprintf): Likewise.
3409 [__USE_GNU] (__dprintf_chk): Not under this condition.
3410 [__USE_GNU] (__vdprintf_chk): Likewise.
3411 [__USE_GNU] (dprintf): Likewise.
3412 [__USE_GNU] (vdprintf): Likewise.
3413
d3dfcc41
RM
34142012-05-03 Roland McGrath <roland@hack.frob.com>
3415
3416 * elf/Makefile (common-generated): Set this instead of generated for
3417 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
3418 $(all-built-dso)-derived lists.
3419
7ac30cc5
AJ
34202012-05-03 Andreas Jaeger <aj@suse.de>
3421
0c51e550
AJ
3422 * sysdeps/i386/fpu/libm-test-ulps: Update.
3423
7ac30cc5
AJ
3424 * FAQ: Removed.
3425 * FAQ.in: Likewise.
3426 * scripts/gen-FAQ.pl: Likewise.
3427 * manual/install.texi (Installation): Point to online location of
3428 FAQ.
3429 * Makefile (files-for-dist): Remove FAQ.
3430 (FAQ): Remove.
3431
d4c2917f
AM
34322012-05-02 Allan McRae <allan@archlinux.org>
3433
3434 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
3435 (LDFLAGS-reldepmod5.so): Likewise.
3436 (LDFLAGS-reldep6mod1.so): Likewise.
3437 (LDFLAGS-reldep6mod4.so): Likewise.
3438 (LDFLAGS-reldep8mod3.so): Likewise.
3439 (LDFLAGS-unload4mod1.so): Likewise.
3440 (LDFLAGS-unload4mod2.so): Likewise.
3441 (LDFLAGS-tst-initorder): Likewise.
3442 (LDFLAGS-tst-initordera2.so): Likewise.
3443 (LDFLAGS-tst-initordera3.so): Likewise.
3444 (LDFLAGS-tst-initordera4.so): Likewise.
3445 (LDFLAGS-tst-initorderb2.so): Likewise.
3446 (LDFLAGS-noload): Likewise.
3447 (LDFLAGS-next): Likewise.
3448 (LDFLAGS-order2mod1.so): Likewise.
3449 (LDFLAGS-order2mod2.so): Likewise.
3450 (LDFLAGS-tst-initorder2): Likewise.
3451 (LDFLAGS-tst-initorder2a.so): Likewise.
3452 (LDFLAGS-tst-initorder2b.so): Likewise.
3453 (LDFLAGS-tst-initorder2c.so): Likewise.
3454 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
3455
d77f993f
DM
34562012-05-02 David S. Miller <davem@davemloft.net>
3457
3458 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3459
171a70b4
PP
34602012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
3461
3462 [BZ #14055]
3463 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
3464
0be196ad
AJ
34652012-05-02 Andreas Jaeger <aj@suse.de>
3466
3467 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
3468 since we manipulate rounding mode.
3469 (CPPFLAGS-test-idouble.c): Likewise.
3470 (CPPFLAGS-test-ifloat.c): Likewise.
3471 (CFLAGS-test-ldouble.c): Likewise.
3472 (CFLAGS-test-double.c): Likewise.
3473 (CFLAGS-test-float.c): Likewise.
3474 (CFLAGS-test-misc.c): Likewise.
3475 (CFLAGS-test-test-fenv.c): Likewise.
3476
4f9d04aa
AZ
34772012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3478
2b942cb7
RM
3479 [BZ #2550]
3480 [BZ #2570]
3481 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
3482 comparisons to determine direction to adjust input.
4f9d04aa 3483
82a79e7d
RM
34842012-05-01 Roland McGrath <roland@hack.frob.com>
3485
f5a01ca9
RM
3486 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
3487 output to the target.
3488
90fe4186
RM
3489 * scripts/localplt.awk: New file.
3490 * elf/Makefile ($(objpfx)check-localplt): Target removed.
3491 (check-localplt-CFLAGS): Variable removed.
3492 ($(all-built-dso:=.jmprel)): New static pattern rule.
3493 (generated): Add those targets.
3494 (localplt-built-dso): New variable.
3495 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
3496
3497 * elf/check-localplt.c: File removed.
3498
82397ed6
RM
3499 * scripts/check-execstack.awk: New file.
3500 * elf/Makefile ($(objpfx)check-execstack): Target removed.
3501 (check-execstack-CFLAGS): Variable removed.
3502 ($(objpfx)check-execstack.h): Target removed.
3503 ($(objpfx)execstack-default): New target.
3504 (generated): Add that instead of check-execstack.h.
3505 ($(all-built-dso:=.phdr)): New static pattern rule.
3506 (generated): Add those targets.
3507 * elf/check-execstack.c: File removed.
3508
82a79e7d
RM
3509 * scripts/check-textrel.awk: New file.
3510 * elf/Makefile ($(objpfx)check-textrel): Target removed.
3511 (check-textrel-CFLAGS): Variable removed.
3512 (all-built-dso): Use := to define.o
3513 ($(all-built-dso:=.dyn)): New static pattern rule.
3514 (generated): Add those targets.
3515 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
3516 * config.make.in (READELF): New substituted variable.
3517 * elf/check-textrel.c: File removed.
3518
62fde54f 35192012-05-01 Joseph Myers <joseph@codesourcery.com>
ee74b9cb 3520
615605c9
JM
3521 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
3522 allow.
3523 * conform/data/ctype.h-data [C99-based standards] (isblank):
3524 Expect function.
3525 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
3526 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
3527 [ISO || ISO99 || ISO11] (*_t): Do not allow.
3528 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
3529 Specify type. Require positive value.
3530 (EILSEQ): Likewise.
3531 (ERANGE): Likewise.
3532 [ISO || POSIX] (EILSEQ): Do not expect.
3533 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
3534 Specify type. Require positive value.
3535 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
3536 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
3537 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
3538 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
3539 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
3540 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
3541 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
3542 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
3543 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
3544 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
3545 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
3546 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
3547 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
3548 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
3549 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
3550 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
3551 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
3552 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
3553 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
3554 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
3555 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
3556 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
3557 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
3558 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
3559 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
3560 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
3561 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
3562 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
3563 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
3564 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
3565 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
3566 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
3567 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
3568 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
3569 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
3570 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
3571 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
3572 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
3573 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
3574 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
3575 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
3576 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
3577 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
3578 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
3579 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
3580 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
3581 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
3582 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
3583 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
3584 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
3585 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
3586 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
3587 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
3588 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
3589 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
3590 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
3591 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
3592 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
3593 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
3594 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
3595 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
3596 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
3597 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
3598 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
3599 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
3600 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
3601 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
3602 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
3603 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
3604 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
3605 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
3606 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
3607 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
3608 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
3609 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
3610 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
3611 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
3612 Require >= 2.
3613 (FLT_ROUNDS): Expect as macro, not constant.
3614 (FLT_MANT_DIG): Use macro-int-constant.
3615 (DBL_MANT_DIG): Likewise.
3616 (LDBL_MANT_DIG): Likewise.
3617 (FLT_DIG): Likewise.
3618 (DBL_DIG): Likewise.
3619 (LDBL_DIG): Likewise.
3620 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
3621 (DBL_MIN_EXP): Likewise.
3622 (LDBL_MIN_EXP): Likewise.
3623 (FLT_MAX_EXP): Use macro-int-constant.
3624 (DBL_MAX_EXP): Likewise.
3625 (LDBL_MAX_EXP): Likewise.
3626 (FLT_MAX_10_EXP): Likewise.
3627 (DBL_MAX_10_EXP): Likewise.
3628 (LDBL_MAX_10_EXP): Likewise.
3629 (FLT_MAX): Use macro-constant.
3630 (DBL_MAX): Likewise.
3631 (LDBL_MAX): Likewise.
3632 (FLT_EPSILON): Use macro-constant. Give upper bound.
3633 (DBL_EPSILON): Likewise.
3634 (LDBL_EPSILON): Likewise.
3635 (FLT_MIN): Likewise.
3636 (DBL_MIN): Likewise.
3637 (LDBL_MIN): Likewise.
3638 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
3639 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
3640 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
3641 [ISO11] (FLT_HAS_SUBNORM): Likewise.
3642 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
3643 [ISO11] (DBL_DECIMAL_DIG): Likewise.
3644 [ISO11] (FLT_DECIMAL_DIG): Likewise.
3645 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
3646 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
3647 [ISO11] (FLT_TRUE_MIN): Likewise.
3648 [ISO11] (LDBL_TRUE_MIN): Likewise.
3649 [ISO || ISO99 || ISO11] (*_t): Do not allow.
3650 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
3651 (SCHAR_MIN): Use macro-int-constant. Specify type.
3652 (SCHAR_MAX): Likewise.
3653 (UCHAR_MAX): Likewise.
3654 (CHAR_MIN): Likewise.
3655 (CHAR_MAX): Likewise.
3656 (MB_LEN_MAX): Use macro-int-constant.
3657 (SHRT_MIN): Use macro-int-constant. Specify type.
3658 (SHRT_MAX): Likewise.
3659 (USHRT_MAX): Likewise.
3660 (INT_MAX): Likewise.
3661 (INT_MIN): Use macro-int-constant. Specify type. Make upper
3662 bound negative.
3663 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
3664 bound with "U".
3665 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
3666 bound with "L".
3667 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
3668 bound negative. Suffix upper bound with "L".
3669 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
3670 bound with "UL".
3671 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
3672 Specify type.
3673 [C99-based standards] (LLONG_MAX): Likewise.
3674 [C99-based standards] (ULLONG_MAX): Likewise.
3675 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
3676 == 0.
3677 [ISO11] (max_align_t): Require type.
3678 [ISO || ISO99 || ISO11] (*_t): Do not allow.
3679
c9140a62
JM
3680 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
3681 from $CFLAGS, without defining away __attribute__ calls.
3682 (checknamespace): Use $CFLAGS_namespace.
3683
9af0bf29
JM
3684 * conform/conformtest.pl (@keywords): Only include C99 keywords
3685 for standards based on C99 or C11.
3686
343222a2
JM
3687 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
3688 Disable tests.
3689 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
3690 UNIX98]: Likewise.
3691
661f8cf0
JM
3692 * conform/conformtest.pl: Handle "macro-int-constant" and test for
3693 usability of symbols in #if.
3694
ee74b9cb
JM
3695 * conform/conformtest.pl: If macro or constant types start
3696 "promoted:", expect the symbol to be of the following type
3697 promoted by the integer promotions.
62fde54f 3698
aafc49b3
JM
3699 * conform/conformtest.pl: Parse all "constant" and "macro" lines
3700 in one place. Also handle "macro-constant".
3701
fefdf574
JM
3702 * conform/conformtest.pl: Only accept expected macro values with
3703 "==". Parse all "macro" lines in one place.
3704 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
3705
f2d922fe
JM
3706 * conform/conformtest.pl: Handle braced types on "constant" lines
3707 instead of handling "typed-constant".
3708 * conform/data/signal.h-data: Use "constant" instead of
3709 "typed-constant".
3710
d22956c9
JM
3711 * conform/conformtest.pl: Handle "optional-" at start of lines in
3712 one place rather than duplicating several cases. Handle each
3713 format of "macro" line with initial "optional-".
3714
028e2e38
JM
3715 * conform/conformtest.pl: Only accept expected constant or
3716 optional-constant values with "==". Parse all "constant" lines in
3717 one place. Parse all "optional-constant" lines in one place.
3718 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
3719 * conform/data/fmtmsg.h-data: Likewise.
3720 * conform/data/netinet/in.h-data: Likewise.
3721 * conform/data/tar.h-data: Likewise.
3722 * conform/data/limits.h-data: Use "==" form on "constant" and
3723 "optional-constant" lines.
3724
1b8f2850
JM
3725 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
3726 Use -std=c99 for XOPEN2K.
3727 (@knownproblems): Remove.
3728 (newtoken): Don't check %isknown.
3729
a05a144b
JM
3730 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
3731 Do not expect macro.
3732 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
3733 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
3734 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
3735 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
3736 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
3737 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
3738 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
3739 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
3740 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
3741 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
3742 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
3743 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
3744 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
3745 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
3746 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
3747 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
3748 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
3749 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
3750 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
3751 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
3752 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
3753 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
3754 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
3755 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
3756 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
3757 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
3758 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
3759 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
3760 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
3761 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
3762 [XPG3] (acosh): Likewise.
3763 [XPG3] (asinh): Likewise.
3764 [XPG3] (atanh): Likewise.
3765 [XPG3] (cbrt): Likewise.
3766 [XPG3] (expm1): Likewise.
3767 [XPG3] (ilogb): Likewise.
3768 [XPG3] (log1p): Likewise.
3769 [XPG3] (logb): Likewise.
3770 [XPG3] (nextafter): Likewise.
3771 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
3772 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
3773 [XPG3] (remainder): Likewise.
3774 [XPG3] (rint): Likewise.
3775 [XPG3 || XPG4 || UNIX98] (round): Likewise.
3776 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
3777 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
3778 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
3779 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
3780 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
3781 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
3782 [UNIX98 || XOPEN2K] (scalb): Expect.
3783 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
3784 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
3785 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
3786 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
3787 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
3788 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
3789 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
3790 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
3791 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
3792 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
3793 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
3794 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
3795 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
3796 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
3797 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
3798 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
3799 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
3800 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
3801 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
3802 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
3803 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
3804 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
3805 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
3806 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
3807 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
3808 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
3809 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
3810 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
3811 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
3812 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
3813 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
3814 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
3815 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
3816 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
3817 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
3818 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
3819 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
3820 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
3821 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
3822 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
3823 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
3824 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
3825 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
3826 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
3827 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
3828 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
3829 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
3830 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
3831 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
3832 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
3833 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
3834 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
3835 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
3836 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
3837 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
3838 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
3839 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
3840 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
3841 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
3842 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
3843 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
3844 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
3845 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
3846 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
3847 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
3848 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
3849 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
3850 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
3851 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
3852 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
3853 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
3854 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
3855 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
3856 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
3857 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
3858 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
3859 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
3860 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
3861 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
3862 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
3863 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
3864 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
3865 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
3866 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
3867 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
3868 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
3869 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
3870 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
3871 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
3872 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
3873 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
3874 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
3875 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
3876 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
3877 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
3878 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
3879 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
3880 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
3881 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
3882 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
3883 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
3884 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
3885 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
3886 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
3887 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
3888 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
3889 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
3890 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
3891 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
3892 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
3893 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
3894 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
3895 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
3896 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
3897 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
3898 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
3899 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
3900 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
3901 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
3902 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
3903 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
3904 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
3905 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
3906 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
3907 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
3908 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
3909 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
3910 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
3911 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
3912 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
3913 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
3914 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
3915 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
3916 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
3917 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
3918 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
3919 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
3920
73c5ebe3
JM
3921 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
3922 _XOPEN_SOURCE_EXTENDED for XPG4.
3923
39c33b6c
JM
3924 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
3925
62fde54f
JM
3926 * Makeconfig (localtime): Remove variable.
3927 (inst_localtime-file): Likewise.
3928
0741d64c
AS
39292012-05-01 Andreas Schwab <schwab@linux-m68k.org>
3930
3931 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
3932 Update.
3933 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
3934 Update.
3935 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
3936 Update.
3937 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
3938 Update.
3939 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
3940 Update.
3941 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
3942 Update.
3943 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
3944 Update.
3945 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
3946 Update.
3947 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
3948 Update.
3949
7cb029ee
JM
39502012-05-01 Joseph Myers <joseph@codesourcery.com>
3951
3952 [BZ #2550]
3953 [BZ #2570]
3954 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
3955 comparisons to determine direction to adjust input.
3956 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
3957 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
3958 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
3959 Likewise.
3960 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
3961 Likewise.
3962 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
3963 Likewise.
3964 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
3965 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
3966 Likewise.
3967 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
3968 Likewise.
3969 * math/libm-test.inc (nexttoward_test): Add more tests.
3970
412bd966
AS
39712012-05-01 Andreas Schwab <schwab@linux-m68k.org>
3972
3973 [BZ #14040]
3974 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
3975 in version GLIBC_2.1, not GLIBC_2.0.
3976 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
3977 Likewise.
3978
9568c0c2
JM
39792012-04-30 Joseph Myers <joseph@codesourcery.com>
3980
adfbc8ac
JM
3981 [BZ #13942]
3982 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
3983 (1 - x) * (1 + x).
3984 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
3985 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
3986 * math/libm-test.inc (acos_test): Add more tests.
3987 (asin_test): Likewise.
3988 * sysdeps/i386/fpu/libm-test-ulps: Update.
3989 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3990
5ba3cc69
JM
3991 [BZ #14034]
3992 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
3993 of square root.
3994 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
3995 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
3996 * math/libm-test.inc (acos_test_tonearest): New function.
3997 (acos_test_towardzero): Likewise.
3998 (acos_test_downward): Likewise.
3999 (acos_test_upward): Likewise.
4000 (asin_test_tonearest): Likewise.
4001 (asin_test_towardzero): Likewise.
4002 (asin_test_downward): Likewise.
4003 (asin_test_upward): Likewise.
4004 (main): Call the new functions.
4005 * sysdeps/i386/fpu/libm-test-ulps: Update.
4006 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4007
9568c0c2
JM
4008 [BZ #13884]
4009 [BZ #13924]
4010 * math/e_exp10.c: Include <float.h>.
4011 (__ieee754_exp10): Handle underflow here rather than multiplying
4012 large negative argument by M_LN10.
4013 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
4014 of __ieee754_expf.
4015 * math/e_exp10l.c: Include <float.h>.
4016 (__ieee754_exp10l): Handle underflow here rather than multiplying
4017 large negative argument by M_LN10l.
4018 * math/libm-test.inc (exp10_test): Add another test. Do not allow
4019 spurious overflow exception on underflow.
4020
5ac3ea17
MP
40212012-04-29 Marek Polacek <polacek@redhat.com>
4022
4023 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
4024 (__fortify_function): New macro.
4025 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
4026 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
4027 __extern_always_inline.
4028 * libio/bits/stdio2.h: Likewise.
4029 * libio/bits/stdio.h: Likewise.
4030 * string/string.h: Likewise.
4031 * string/bits/string3.h: Likewise.
4032 * include/stdio.h: Likewise.
4033 * stdlib/bits/stdlib.h: Likewise.
4034 * stdlib/stdlib.h: Likewise.
4035 * rt/bits/mqueue2.h: Likewise.
4036 * rt/mqueue.h: Likewise.
4037 * posix/bits/unistd.h: Likewise.
4038 * posix/unistd.h: Likewise.
4039 * io/bits/poll2.h: Likewise.
4040 * io/bits/fcntl2.h: Likewise.
4041 * io/fcntl.h: Likewise.
4042 * io/sys/poll.h: Likewise.
4043 * misc/bits/syslog.h: Likewise.
4044 * misc/bits/syslog-ldbl.h: Likewise.
4045 * misc/sys/syslog.h: Likewise.
4046 * socket/bits/socket2.h: Likewise.
4047 * socket/sys/socket.h: Likewise.
4048 * debug/tst-chk1.c: Likewise.
4049 * wcsmbs/bits/wchar2.h: Likewise.
4050 * wcsmbs/bits/wchar-ldbl.h: Likewise.
4051 * wcsmbs/wchar.h: Likewise.
4052
ecf0ebfb
AJ
40532012-04-29 Andreas Jaeger <aj@suse.de>
4054
4055 * Makerules (tests): Remove enable-check-abi protection.
4056 (check-abi-warn): Remove.
4057 (check-abi-%): Remove check-abi-warn usage.
4058
4059 * configure.in: Remove check-abi configure option.
4060 * configure: Regenerated.
4061 * config.make.in (enable-check-abi): Remove.
4062
6d5c57fa
AS
40632012-04-28 Andreas Schwab <schwab@linux-m68k.org>
4064
24c5d07e 4065 [BZ #14033]
ded5180a
AS
4066 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
4067 double functions to double *_finite functions.
4068
7e0d315d
AS
4069 [BZ #13941]
4070 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
4071 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
4072 LDBL_MIN_EXP.
4073 * stdio-common/Makefile (tests): Add tst-sprintf3.
4074 * stdio-common/tst-sprintf3.c: New file.
4075
6d5c57fa
AS
4076 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
4077 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
4078
0749ff8b
JM
40792012-04-28 Joseph Myers <joseph@codesourcery.com>
4080
4081 * conform/conformtest.pl: Remove duplicate typed-constant
4082 handling.
4083
8dbd5d7b
DM
40842012-04-28 David S. Miller <davem@davemloft.net>
4085
4086 * Makerules (%.abilist): Add vpath on sysdep_dirs.
4087 (check-abi-%): Remove AWK script prerequisite and explicit
4088 abilist directory.
4089 (check-abi): Rewrite to just diff the symlist with the abilist.
4090 (config-tls, config-abi-config): Delete, no longer used.
4091 (update-abi-%): Remove AWK script and explicit abilist directory.
4092 (update-abi): Rewrite to simply compare and conditionally copy the
4093 symlist and the sysdep abilist file. Remove update-abi-config
4094 checks.
4095 * abilist/ld.abilist: Remove.
4096 * abilist/libBrokenLocale.abilist: Remove.
4097 * abilist/libanl.abilist: Remove.
4098 * abilist/libcrypt.abilist: Remove.
4099 * abilist/libdl.abilist: Remove.
4100 * abilist/librt.abilist: Remove.
4101 * abilist/libthread_db.abilist: Remove.
4102 * abilist/libutil.abilist: Remove.
4103 * scripts/extract-abilist.awk: Remove.
4104 * scripts/merge-abilist.awk: Remove.
4105 * sysdeps/generic/libcidn.abilist: New file.
4106 * sysdeps/generic/libnss_compat.abilist: New file.
4107 * sysdeps/generic/libnss_db.abilist: New file.
4108 * sysdeps/generic/libnss_dns.abilist: New file.
4109 * sysdeps/generic/libnss_files.abilist: New file.
4110 * sysdeps/generic/libnss_hesiod.abilist: New file.
4111 * sysdeps/generic/libnss_nis.abilist: New file.
4112 * sysdeps/generic/libnss_nisplus.abilist: New file.
4113 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
4114 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
4115 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
4116 file.
4117 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
4118 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
4119 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
4120 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
4121 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
4122 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
4123 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
4124 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
4125 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
4126 file.
4127 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
4128 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
4129 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
4130 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
4131 file.
4132 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
4133 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
4134 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
4135 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
4136 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
4137 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
4138 file.
4139 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
4140 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
4141 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
4142 file.
4143 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
4144 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
4145 New file.
4146 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
4147 New file.
4148 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
4149 New file.
4150 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
4151 New file.
4152 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
4153 New file.
4154 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
4155 New file.
4156 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
4157 New file.
4158 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
4159 New file.
4160 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
4161 New file.
4162 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
4163 New file.
4164 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
4165 New file.
4166 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
4167 New file.
4168 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
4169 New file.
4170 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
4171 file.
4172 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
4173 New file.
4174 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
4175 New file.
4176 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
4177 file.
4178 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
4179 New file.
4180 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
4181 New file.
4182 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
4183 file.
4184 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
4185 New file.
4186 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
4187 New file.
4188 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
4189 New file.
4190 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
4191 New file.
4192 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
4193 New file.
4194 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
4195 New file.
4196 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
4197 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
4198 file.
4199 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
4200 New file.
4201 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
4202 file.
4203 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
4204 file.
4205 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
4206 file.
4207 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
4208 file.
4209 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
4210 file.
4211 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
4212 New file.
4213 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
4214 file.
4215 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
4216 file.
4217 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
4218 New file.
4219 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
4220 file.
4221 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
4222 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
4223 file.
4224 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
4225 New file.
4226 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
4227 file.
4228 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
4229 file.
4230 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
4231 file.
4232 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
4233 file.
4234 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
4235 file.
4236 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
4237 New file.
4238 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
4239 file.
4240 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
4241 file.
4242 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
4243 New file.
4244 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
4245 file.
4246 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
4247 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
4248 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
4249 file.
4250 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
4251 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
4252 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
4253 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
4254 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
4255 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
4256 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
4257 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
4258 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
4259 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
4260 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
4261 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
4262 file.
4263 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
4264 New file.
4265 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
4266 file.
4267 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
4268 file.
4269 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
4270 file.
4271 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
4272 file.
4273 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
4274 file.
4275 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
4276 New file.
4277 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
4278 New file.
4279 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
4280 file.
4281 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
4282 New file.
4283 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
4284 file.
4285 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
4286 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
4287 file.
4288 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
4289 New file.
4290 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
4291 file.
4292 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
4293 file.
4294 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
4295 file.
4296 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
4297 file.
4298 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
4299 file.
4300 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
4301 New file.
4302 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
4303 New file.
4304 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
4305 file.
4306 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
4307 New file.
4308 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
4309 file.
4310
41d73a1b
JM
43112012-04-28 Joseph Myers <joseph@codesourcery.com>
4312
4313 * conform/conformtest.pl: Fix typo in handling typed-constant from
4314 allow-header.
4315
28aeeda4
JM
43162012-04-27 Joseph Myers <joseph@codesourcery.com>
4317
adae8f5e
JM
4318 * README: Cut down references to pre-2.6 Linux kernels and
4319 Linuxthreads. Update lists of configurations in libc and ports
4320 and sort alphabetically. Say "or newer" with Linux kernel version
4321 requirements.
4322
28aeeda4
JM
4323 * config.h.in [IS_IN_build]: Allow compiling without optimization.
4324
a462cb63
RA
43252012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
4326
4327 [BZ #887]
4328 * math/libm-test.inc (logb_test_downward): New test to expose
4329 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
4330 rounding mode.
4331
6ad3493e
JM
43322012-04-27 Joseph Myers <joseph@codesourcery.com>
4333
4334 [BZ #14027]
4335 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
4336 to be done.
4337 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
4338 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
4339
2ce4f015
JM
43402012-04-26 Joseph Myers <joseph@codesourcery.com>
4341
5aeb141a
JM
4342 * sysdeps/unix/i386/brk.S: Remove file.
4343 * sysdeps/unix/i386/dl-brk.S: Likewise.
4344 * sysdeps/unix/i386/pipe.S: Likewise.
4345 * sysdeps/unix/i386/sigreturn.S: Likewise.
4346 * sysdeps/unix/i386/syscall.S: Likewise.
4347 * sysdeps/unix/i386/vfork.S: Likewise.
4348 * sysdeps/unix/i386/wait.S: Likewise.
4349
7143acae
JM
4350 * sysdeps/unix/common/tcsendbrk.c: Move to ...
4351 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
4352
2ce4f015
JM
4353 * configure.in (arm*-none*): Do not allow without
4354 --enable-hacker-mode.
4355 (netbsd*): Remove case setting base_os.
4356 (386bsd*): Likewise.
4357 (freebsd*): Likewise.
4358 (bsdi*): Likewise.
4359 (osf*): Likewise.
4360 (sunos*): Likewise.
4361 (ultrix*): Likewise.
4362 (newsos*): Likewise.
4363 (dynix*): Likewise.
4364 (*bsd*): Likewise.
4365 (sysv*): Likewise.
4366 (isc*): Likewise.
4367 (esix*): Likewise.
4368 (sco*): Likewise.
4369 (minix*): Likewise.
4370 (irix4*): Likewise.
4371 (irix6*): Likewise.
4372 (solaris[2-9]*): Likewise.
4373 (none): Likewise.
4374 * configure: Regenerated.
4375
0ac229c8
AZ
43762012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4377
4378 [BZ #11521]
4379 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
4380 overflow or cancellation in calculating denominator.
4381 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
4382 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
4383 down expression to avoid unexpected rounding in newer GCCs.
4384 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
4385
33f244f4
DM
43862012-04-26 David S. Miller <davem@davemloft.net>
4387
4388 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
4389 long-double compat symbols.
4390 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
4391 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
4392 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
4393 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
4394 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
4395 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
4396 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
4397 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
4398 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
4399 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
4400 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
4401 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
4402 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
4403
cfa1f3e8
DM
44042012-04-25 David S. Miller <davem@davemloft.net>
4405
4406 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
4407 HWCAP_* values only after the memory barriers have been defined.
4408 (atomic_full_barrier): Define.
4409 (atomic_read_barrier): Define.
4410 (atomic_write_barrier): Define.
4411
6e236b92
SP
44122012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
4413
4414 * shlib-versions: Add libgcc_s version information.
4415 * sysdeps/generic/libgcc_s.h: Remove.
4416 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
4417 libgcc_s.h.
4418 * sysdeps/gnu/unwind-resume.c: Likewise.
4419 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
4420
aab39a09
DM
44212012-04-25 David S. Miller <davem@davemloft.net>
4422
4423 * sysdeps/unix/sparc/brk.S: Delete.
4424 * sysdeps/unix/sparc/dl-brk.S: Delete.
4425 * sysdeps/unix/sparc/pipe.S: Delete.
4426 * sysdeps/unix/sparc/sysdep.S: Delete.
4427 * sysdeps/unix/sparc/sysdep.h: Delete.
4428 * sysdeps/unix/sparc/vfork.S: Delete.
4429 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
4430 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
4431 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
4432 ret_ERRVAL, r0, r1, MOVE): Define.
4433 (JUMPTARGET): Remove.
4434 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
4435 sysdeps/unix/sparc/sysdep.h
4436 (ENTRY, END): Remove.
4437 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
4438
a3cc4f48
JM
44392012-04-25 Joseph Myers <joseph@codesourcery.com>
4440
2ed8cda2
JM
4441 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
4442 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
4443 -DIS_IN_build.
4444
35d76d59
JM
4445 * timezone/README: Update upstream location and email address for
4446 tzcode and tzdata.
4447 * timezone/zdump.c: Update from tzcode 2012b.
4448 * timezone/zic.c: Likewise.
4449
a3cc4f48
JM
4450 * configure.in (libc_cv_as_needed): Remove test.
4451 * configure: Regenerated.
4452 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
4453 conditional definition.
4454 [$(have-as-needed) != yes] (no-as-needed): Likewise.
4455 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
4456 * config.make.in (have-as-needed): Remove variable.
4457
ceab42c3
SP
44582012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
4459 Paul Pluzhnikov <ppluzhnikov@google.com>
4460
4461 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
4462 strings correctly.
4463
3ce2865f
CLT
44642012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
4465
4466 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
4467 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
4468 * sysdeps/sh/strlen.S: Likewise.
4469
f37e0d68
JM
44702012-04-24 Joseph Myers <joseph@codesourcery.com>
4471
ae186e9a
JM
4472 * sysdeps/unix/fork.S: Remove file.
4473 * sysdeps/unix/i386/fork.S: Likewise.
4474 * sysdeps/unix/sparc/fork.S: Likewise.
4475
b96914af
JM
4476 * sysdeps/unix/system.c: Remove file.
4477 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
4478
f37e0d68
JM
4479 * sysdeps/unix/getegid.S: Remove file.
4480 * sysdeps/unix/geteuid.S: Likewise.
4481
87ef29ca
RM
44822012-04-24 Roland McGrath <roland@hack.frob.com>
4483
83bcd236
RM
4484 * scripts/check-localplt.awk: New file.
4485 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
4486 of diff.
4487 * scripts/data/localplt-generic.data: Add a comment.
4488
87ef29ca
RM
4489 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
4490 NODE when __dir_mkfile failed.
4491 * sysdeps/mach/hurd/symlinkat.c: Likewise.
4492 Reported by Ludovic Courtès <ludo@gnu.org>.
4493
e5a6e567
AJ
44942012-04-24 Andreas Jaeger <aj@suse.de>
4495
4496 * Makerules (common-clean): Also remove gen-as-const-headers
4497 files.
4498
c1820385
JM
44992012-04-24 Joseph Myers <joseph@codesourcery.com>
4500
4501 * Makerules (native-compile): Do not change working directory for
4502 build. Use $(OUTPUT_OPTION) in command.
4503 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
4504
94e02fc4
AZ
45052012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4506
4507 [BZ #13886]
4508 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
4509 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
4510 * math/libm-test.inc (floor_test): Add more tests.
4511 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
4512
3a533ca3
JM
45132012-04-24 Joseph Myers <joseph@codesourcery.com>
4514
940ab4b3
JM
4515 * sysdeps/unix/getdents.c: Remove file.
4516 * sysdeps/unix/sysv/getdents.c: Likewise.
4517 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
4518
90e037bd
JM
4519 * sysdeps/unix/syscalls.list (madvise): Add syscall from
4520 sysdeps/unix/mman/syscalls.list.
4521 (mmap): Likewise.
4522 (mprotect): Likewise.
4523 (msync): Likewise.
4524 (munmap): Likewise.
4525 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
4526 * sysdeps/unix/mman/syscalls.list: Remove.
4527 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
4528
3a533ca3
JM
4529 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
4530 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
4531 * configure: Regenerated.
4532 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
4533 $(libgcc_s_suffix).
4534 * config.make.in (libgcc_s_suffix): Remove variable.
4535
1ad743de
JM
45362012-04-23 Joseph Myers <joseph@codesourcery.com>
4537
4ad451e2
JM
4538 * sysdeps/unix/sysv/gethostname.c: Move to ...
4539 * sysdeps/posix/gethostname.c: ... here.
4540
5e37ce39
JM
4541 * sysdeps/unix/execve.S: Remove file.
4542
1ad743de
JM
4543 * sysdeps/unix/_exit.S: Remove file.
4544
4e681b5b
AJ
45452012-04-23 Andreas Jaeger <aj@suse.de>
4546
4547 [BZ #13739]
4548 * manual/Makefile: Remove make dist support, there's no
4549 need for a stand-alone documentation tar ball.
4550 (TEXI2DVI): Define always, it's not in Makeconfig.
4551 (dist): Removed.
4552 (tar-it): Removed.
4553 (edition): Removed.
4554 (glibc-doc-$(edition).tar): Removed
4555 (%.Z): Removed.
4556 (%.gz): Removed.
4557 (%.uu): Removed.
4558 (ETAGS): Remove, it's in Makeconfig.
4559 (move-if-change): Remove, it's in Makeconfig.
4560
c0baea34
PE
45612013-04-23 Paul Eggert <eggert@cs.ucla.edu>
4562
4563 [BZ #13970]
4564 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
4565 (strtod, strtof, strtold, strtol, strtoul, strtoq)
4566 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
4567 (strtod_l, strtof_l, strtold_l): Remove __wur.
4568 It is not necessarily an error to ignore strtol's return value.
4569 One can reliably look at the stored endptr to decide whether
4570 the number had valid syntax.
4571
7c0616fa
AJ
45722012-04-21 Andreas Jaeger <aj@suse.de>
4573
803cb6b7 4574 [BZ #13739]
7c0616fa
AJ
4575 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
4576
b0fe253f
JM
45772012-04-21 Joseph Myers <joseph@codesourcery.com>
4578
4579 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
4580 * sysdeps/unix/sysv/Versions: Remove file.
4581
8280f22d
MT
45822012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
4583
4584 [BZ #13927]
4585 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4586
75ce411f 45872012-04-21 Nick Alcock <nick.alcock@oracle.com>
b8e33728
N
4588
4589 [BZ #7064]
4590 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
4591 version from __vm86.
4592
097d59fa
JM
45932012-04-20 Joseph Myers <joseph@codesourcery.com>
4594
a90f3bcb
JM
4595 * sysdeps/unix/common/lxstat.c: Remove file.
4596 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
4597
edc7ea78
JM
4598 * sysdeps/unix/sysv/Makefile: Remove file.
4599
cb78c221
JM
4600 * sysdeps/unix/sysv/direct.h: Remove file.
4601
efa6a45f
JM
4602 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
4603 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
4604 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
4605 * sysdeps/unix/sysv/bits/signum.h: Likewise.
4606 * sysdeps/unix/sysv/bits/stat.h: Likewise.
4607 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
4608 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
4609
9c9f2d0c
JM
4610 * sysdeps/unix/sysv/setrlimit.c: Remove file.
4611
4541c83b
JM
4612 * sysdeps/unix/xmknod.c: Remove file.
4613 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
4614
f5d153a0
JM
4615 * sysdeps/unix/sysv/settimeofday.c: Remove file.
4616
aa746595
JM
4617 * sysdeps/unix/sysv/i386/time.S: Remove file.
4618
cce5905e
JM
4619 * sysdeps/unix/fxstat.c: Remove file.
4620 * sysdeps/unix/xstat.c: Likewise.
4621 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
4622
37fa3841
JM
4623 * sysdeps/unix/sysv/sigaction.c: Remove file.
4624
ff1962a3
JM
4625 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
4626 (sysdep_headers): Remove variable.
4627 [termio.h not in sysdep_headers] (generated): Likewise.
4628 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
4629 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
4630 * sysdeps/unix/sysv/tcdrain.c: Likewise.
4631 * sysdeps/unix/sysv/tcflow.c: Likewise.
4632 * sysdeps/unix/sysv/tcflush.c: Likewise.
4633 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
4634 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
4635 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
4636 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
4637 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
4638
e7740d31
JM
4639 * sysdeps/unix/siglist.c: Remove file.
4640
ee06f18b
JM
4641 * sysdeps/unix/getppid.S: Remove file.
4642
097d59fa
JM
4643 * sysdeps/unix/mkdir.c: Remove file.
4644 * sysdeps/unix/rmdir.c: Likewise.
4645
ff3d51ec
AS
46462012-04-19 Andreas Schwab <schwab@linux-m68k.org>
4647
4648 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
4649 ERR_MAX value.
4650 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
4651 errlist-compat value.
4652
50f81fd7
DM
46532012-04-18 David S. Miller <davem@davemloft.net>
4654
4655 * sysdeps/generic/memcopy.h (reg_char): Delete.
4656 * debug/strcat_chk.c: Use char, not reg_char.
4657 * debug/strcpy_chk.c: Likewise.
4658 * debug/strncat_chk.c: Likewise.
4659 * debug/strncpy_chk.c: Likewise.
4660 * string/memchr.c: Likewise.
4661 * string/memrchr.c: Likewise.
4662 * string/rawmemchr.c: Likewise.
4663 * string/strcat.c: Likewise.
4664 * string/strchr.c: Likewise.
4665 * string/strchrnul.c: Likewise.
4666 * string/strcmp.c: Likewise.
4667 * string/strcpy.c: Likewise.
4668 * string/strncat.c: Likewise.
4669 * string/strncmp.c: Likewise.
4670 * string/strncpy.c: Likewise.
4671
8ff41c46
WS
46722012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
4673
4674 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
4675 __builtin_memcopy is called when src and dest ranges are known to not
4676 overlap.
4677
6b652f46
WS
46782012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
4679
4680 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
4681 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
4682 fwd_align_merge macro call.
4683 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
4684 bwd_align_merge macro call.
4685 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
4686
b282631e
WS
46872012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
4688
4689 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
4690 bwd_align_merge macros.
4691 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
4692 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
4693 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
4694
95aa737c
DM
46952012-04-18 David S. Miller <davem@davemloft.net>
4696
4697 * sysdeps/sparc/sparc64/memcopy.h: Delete.
4698
7a99a614
AJ
46992012-04-18 Andreas Jaeger <aj@suse.de>
4700
4701 [BZ# 6794]
4702 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
4703 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
4704 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
4705
4706 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
4707 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
4708 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
4709
4710 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
4711 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
4712 Adjust for changed ldbl-128 files.
4713
4714 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
4715 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
4716 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
4717
e5270c23
DM
47182012-04-17 David S. Miller <davem@davemloft.net>
4719
4720 * sysdeps/sparc/sparc32/memcopy.h: Delete.
4721
fb5e92c9
AS
47222012-04-17 Andreas Schwab <schwab@linux-m68k.org>
4723
4724 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
4725 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
4726 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
4727 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
4728 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
4729 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
4730
76da7265
AZ
47312012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4732
4733 [BZ #6794]
4734 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
4735 * math/libm-test.inc: Add ilogb errno and exception tests.
4736 * math/w_ilogb.c: New file: ilogb wrapper.
4737 * math/w_ilogbf.c: New file: ilogbf wrapper.
4738 * math/w_ilogbl.c: New file: ilogbl wrapper.
4739 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
4740 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
4741 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
4742 exception being thrown with 0.0 as argument.
4743 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
4744 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
4745 exception being thrown with 0.0 as argument.
4746 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
4747 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
4748 exception being thrown with 0.0 as argument.
4749 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
4750 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
4751 exception being thrown with 0.0 as argument.
4752 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
4753 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
7a99a614 4754 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
76da7265
AZ
4755 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
4756 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
4757 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
4758 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
4759 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
4760 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
4761
0396e69d
PB
47622012-04-17 Petr Baudis <pasky@ucw.cz>
4763
4764 * include/sys/uio.h: Change __vector to __iovec to avoid clash
4765 with altivec.
4766
750b5926
MP
47672012-04-16 Marek Polacek <polacek@redhat.com>
4768
4769 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
4770
751728a1
MP
47712012-04-16 Marek Polacek <polacek@redhat.com>
4772
4773 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
4774 operands of fdivp instruction.
4775
34a27407
L
47762012-04-13 H.J. Lu <hongjiu.lu@intel.com>
4777
4778 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
4779 * elf/tst-auditmod3b.c: Likewise.
4780 * elf/tst-auditmod4b.c: Likewise.
4781 * elf/tst-auditmod5b.c: Likewise.
4782 * elf/tst-auditmod6b.c: Likewise.
4783 * elf/tst-auditmod6c.c: Likewise.
4784 * elf/tst-auditmod7b.c: Likewise.
4785 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
4786 * sysdeps/x86_64/preconfigure.in: Likewise.
4787 * sysdeps/x86_64/preconfigure: Regenerated.
4788
7e73e17d
L
47892012-04-13 H.J. Lu <hongjiu.lu@intel.com>
4790
4791 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
4792 __ILP32__.
4793
c7a6ab72
AB
47942012-04-13 Antoine Balestrat <merkil33@gmail.com>
4795
4796 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
4797 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
4798
a9e8e0e0
CL
47992012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
4800
4801 [BZ #13973]
4802 * locale/iso-639.def: Fix gl language name. Spotted by
4803 Yaron Shahrabani.
4804
ec98af7d
RM
48052012-04-12 Roland McGrath <roland@hack.frob.com>
4806
4807 [BZ #2074]
4808 * libio/libio.h (__io_write_fn): Update comment.
4809
247c3ede
PB
48102012-04-12 Petr Baudis <pasky@ucw.cz>
4811
4812 [BZ #2074]
4813 * stdio.texi (Hook Functions): The user provided writer function
4814 is not allowed to return -1.
4815
55939d6d
DM
48162012-04-11 David S. Miller <davem@davemloft.net>
4817
4818 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4819
90020f5a
MF
48202012-04-11 Mike Frysinger <vapier@gentoo.org>
4821
4822 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
4823 Add a leading slash to rtkaio.
4824
288f9098
JM
48252012-04-11 Jim Meyering <meyering@redhat.com>
4826
90020f5a
MF
4827 [BZ #11959]
4828 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
4829 It is not necessarily an error to ignore fwrite's return
4830 value. One can reliably use ferror to test for errors after
4831 the fact.
288f9098 4832
4be2b570
L
48332012-04-10 H.J. Lu <hongjiu.lu@intel.com>
4834
4835 * bits/types.h (__snseconds_t): New type.
4836 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
4837
4838 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
4839 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
4840 (__SNSECONDS_T_TYPE): Likewise.
4841 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
4842 (__SNSECONDS_T_TYPE): Likewise.
4843 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
4844 (__SNSECONDS_T_TYPE): Likewise.
4845
288f9098 48462012-04-10 Andreas Jaeger <aj@suse.de>
4cfd8026
AJ
4847
4848 [BZ #2636]
4849 * manual/time.texi (Processor Time): Return type of times is
4850 elapsed real time since an arbitrary point in the past.
4851 (CPU Time): Move CLK_TCK from here...
4852 (Processor Time): ...to here. Correct description.
4853 * manual/conf.texi (Constants for Sysconf): Correct description of
4854 _SC_CLK_TCK.
4855
d7dd4413
DM
48562012-04-10 David S. Miller <davem@davemloft.net>
4857
4858 [BZ #13967]
4859 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
4860 where the is a gap between DT_REL(A) and DT_JMPREL.
4861
b46068fc
L
48622012-04-10 H.J. Lu <hongjiu.lu@intel.com>
4863
4864 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
4865 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
4866 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
4867
73d65cc3
SP
48682012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
4869
4870 * elf/dl-support.c (_dl_inhibit_cache): New variable.
4871 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
4872 (dl_main): Handle --inhibit-cache.
4873 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
4874 _dl_inhibit_cache.
4875 * elf/dl-load.c (_dl_map_object): Use it.
4876 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
4877
bcc8d661
JM
48782012-04-09 Joseph Myers <joseph@codesourcery.com>
4879
8f9a2fae
JM
4880 [BZ #13872]
4881 * sysdeps/i386/fpu/e_powl.S (p78): New object.
4882 (__ieee754_powl): Saturate large exponents rather than testing for
4883 overflow of y*log2(x).
4884 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
4885 * math/libm-test.inc (pow_test): Do not permit spurious overflow
4886 exceptions.
4887
bcc8d661
JM
4888 [BZ #11521]
4889 * math/s_ctan.c: Include <float.h>.
4890 (__ctan): Avoid internal overflow or cancellation in calculating
4891 denominator.
4892 * math/s_ctanf.c: Likewise.
4893 * math/s_ctanl.c: Likewise.
4894 * math/s_ctanh.c: Likewise.
4895 * math/s_ctanhf.c: Likewise.
4896 * math/s_ctanhl.c: Likewise.
4897 * math/libm-test.inc (ctan_test): Add more tests.
4898 (ctanh_test): Likewise.
4899 * sysdeps/i386/fpu/libm-test-ulps: Update.
4900 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4901
823fbbb4
AJ
49022012-04-09 Andreas Jaeger <aj@suse.de>
4903
03879793
AJ
4904 [BZ #6894]
4905 * manual/filesys.texi (Directory Entries): Mention that d_namlen
4906 is an optional BSD extension.
4907
823fbbb4
AJ
4908 [BZ #10254]
4909 * manual/stdio.texi (Opening Streams): Document additional fopen
4910 parameters.
4911
8de131cb
RM
49122012-04-09 Roland McGrath <roland@hack.frob.com>
4913
4914 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
4915 %eax without telling the compiler.
4916
c0ed9d7d
CD
49172012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
4918
4919 [BZ # 13963]
4920 * manual/install.texi: Use sourceware.org.
4921
c483f6b4
JM
49222012-04-09 Joseph Myers <joseph@codesourcery.com>
4923
d7dd9453
JM
4924 [BZ #13873]
4925 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
4926 (__ieee754_pow): Generate overflow and underflow using huge*huge
4927 and tiny*tiny rather than just returning constant infinity or zero
4928 for large exponents.
4929 * math/libm-test.inc (pow_test): Require overflow exceptions for
4930 applicable cases of large exponents.
4931
c483f6b4
JM
4932 [BZ #706]
4933 * sysdeps/i386/fpu/e_pow.S (p10): New object.
4934 (__ieee754_pow): Use iterative multiplication algorithm only for
4935 integer exponents with absolute value below 1024. Check for odd
4936 integer exponents when using algorithm for real exponents.
4937 * math/libm-test.inc (pow_test): Add more tests.
4938 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4939
d2de7579
JM
49402012-04-08 Joseph Myers <joseph@codesourcery.com>
4941
4942 [BZ #13705]
4943 * math/libm-test.inc (exp_test): Do not allow overflow exception
4944 on underflow test.
4945
f77f1232
AJ
49462012-04-08 Aurelien Jarno <aurelien@aurel32.net>
4947
4948 [BZ #13705]
4949 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
4950 instead of __kernel_standard_f.
4951
3884932b
MF
49522012-04-08 Mike Frysinger <vapier@gentoo.org>
4953
4954 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
4955 * sysdeps/x86_64/memset_chk.S: Likewise.
4956
54472e9c
AJ
49572012-04-08 Andreas Jaeger <aj@suse.de>
4958
6ab0fbfc
AJ
4959 [BZ #10153]
4960 * manual/startup.texi (Environment Access): Describe return value
4961 for putenv and setenv.
4962
61efba8c
AJ
4963 [BZ #6895]
4964 * manual/filesys.texi (Directory Entries): Add description for
4965 DT_LNK.
4966
95c3f29a
AJ
4967 [BZ #6890]
4968 * manual/filesys.texi (Directory Entries): Clarify that it's file
4969 system not operating system in the description of DT_UNKNOWN.
4970
54472e9c
AJ
4971 [BZ #6578]
4972 * manual/syslog.texi (closelog): Fix reference, it's openlog.
4973
624254b1
SC
49742012-04-08 Stephen Compall <s11@member.fsf.org>
4975
4976 [BZ #6649]
4977 * manual/llio.texi (Opening and Closing Files): Add cross
4978 reference to explain mode argument.
4979
1e4920e0
MF
49802012-04-07 Mike Frysinger <vapier@gentoo.org>
4981
4982 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
4983 * sysdeps/x86_64/memset_chk.S: Likewise.
4984
5ed848f3
DM
49852012-04-07 David S. Miller <davem@davemloft.net>
4986
4987 * elf/elf.h (R_SPARC_WDISP10): Define.
4988 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
4989 R_SPARC_SIZE32.
4990 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
4991 R_SPARC_SIZE64 and R_SPARC_H34.
4992
96154cd8
CD
49932012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
4994
4995 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
4996 conditions and remove no longer applicable assertion.
4997
9904dc47
L
49982012-04-06 H.J. Lu <hongjiu.lu@intel.com>
4999
5000 * bits/byteswap.h: Include <features.h>.
5001 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
5002 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
5003
f8887d0a
L
50042012-04-06 H.J. Lu <hongjiu.lu@intel.com>
5005
5006 * bits/byteswap.h (__bswap_16): Removed.
5007 Include <bits/byteswap-16.h> to get __bswap_16.
5008 * sysdeps/i386/bits/byteswap.h: Likewise.
5009 * sysdeps/s390/bits/byteswap.h: Likewise.
5010 * sysdeps/x86_64/bits/byteswap.h: Likewise.
5011 * bits/byteswap-16.h: New file.
5012 * sysdeps/i386/bits/byteswap-16.h: Likewise.
5013 * sysdeps/s390/bits/byteswap-16.h: Likewise.
5014 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
5015 * string/Makefile (headers): Add bits/byteswap-16.h.
5016
62470f60
PP
50172012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
5018
5019 [BZ #13895]
5020 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
5021 extra indirection.
5022 * nss/Makefile (tests-static, tests): Add tst-nss-static.
5023 * nss/tst-nss-static.c: New.
5024
4dad7bab
RM
50252012-04-06 Robert Millan <rmh@gnu.org>
5026
5027 [BZ #6486]
5028 * manual/llio.texi (File Position Primitive): lseek
5029 refers to WHENCE when it really means OFFSET.
5030
e9142a17
AJ
50312012-04-06 Andreas Jaeger <aj@suse.de>
5032
2c040eff
AJ
5033 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
5034 strncmp declarations.
5035
e9142a17
AJ
5036 * abilist/libc.abilist: Add __poll and __ppoll.
5037
ff9f1c5f
DM
50382012-04-05 David S. Miller <davem@davemloft.net>
5039
dcd2ae90
DM
5040 * scripts/check-local-headers.sh: Accept a host triplet in the
5041 path matched by the exclude regexp.
5042
993eb054
DM
5043 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
5044 definition.
5045 * sysdeps/powerpc/powerpc32/dl-machine.h
5046 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
5047 * sysdeps/s390/s390-32/dl-machine.h
5048 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
5049 * sysdeps/sparc/sparc32/dl-machine.h
5050 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
5051 * sysdeps/sparc/sparc64/dl-machine.h
5052 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
5053
ff9f1c5f
DM
5054 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
5055 lazy binding.
48e2e132 5056 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
ff9f1c5f
DM
5057 undefined symbol errors.
5058
48e2e132 5059 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
ff9f1c5f
DM
5060 DT_NEEDED entries.
5061
e80d6f94
MM
50622012-04-05 Michael Matz <matz@suse.de>
5063
5064 [BZ #13592]
5065 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
5066
349fa79f
AJ
50672012-04-05 Andreas Jaeger <aj@suse.de>
5068
5069 [BZ #13908]
5070 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
5071 comment.
5072
f402708f
KK
50732012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
5074
5075 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
5076 which ROUND is no valid rounding mode.
5077
2ecccfc9
KK
50782012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
5079
5080 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
5081 read again.
5082 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
5083
8a53f50f
KK
50842012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
5085
5086 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
5087 an exception using FPU order intentionally.
5088
50892012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
5090
5091 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
5092 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
5093 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
5094 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
5095
d653abb7
SJ
50962012-04-05 Simon Josefsson <simon@josefsson.org>
5097
5098 [BZ #12340]
5099 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
5100 EINVAL when BUFLEN is too smal.
5101
c3b1bf7d
TS
51022012-04-05 Thomas Schwinge <thomas@codesourcery.com>
5103
5104 [BZ #13553]
5105 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
5106 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
5107
b1aa60f3
AJ
51082012-04-03 Andreas Jaeger <aj@suse.de>
5109
c3b1bf7d 5110 [BZ #13938]
67f60a26
AJ
5111 * manual/setjmp.texi (System V contexts): Fix sentence.
5112
b1aa60f3
AJ
5113 [BZ #13926]
5114 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
5115 New macro for this case.
5116 [!__GNUC__] (__bswap_64): New inline function for this case.
5117 * sysdeps/x86_64/bits/byteswap.h: Likewise.
5118 * bits/byteswap.h: Likewise.
5119 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
5120 ull, guard with __GLIBC_HAVE_LONG_LONG.
5121
5122 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
5123 __GLIBC_HAVE_LONG_LONG.
5124
5125 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
5126 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
5127
39c59c35
TMQMF
51282012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
5129
5130 [BZ #13691]
5131 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
5132 inptr and inend, rather than using last_ch.
5133
135ffda8
DM
51342012-04-02 David S. Miller <davem@davemloft.net>
5135
5136 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
5137 * stdio-common/printf-parse.h (read_int): Change return type to
5138 'int', return -1 on INT_MAX overflow.
5139 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
5140 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
5141 overflows INT_MAX. Check for overflow of in-format-string precision
5142 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
5143 SIZE_MAX not INT_MAX for integer overflow test.
5144 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
5145 skip the construct in the format string but do not record anything.
5146 * stdio-common/bug22.c: Adjust to test both width/prevision
5147 INT_MAX overflow as well as total length INT_MAX overflow. Check
5148 explicitly for proper errno values.
5149
228c019e
TS
51502012-04-02 Thomas Schwinge <thomas@codesourcery.com>
5151
302cadd3
TS
5152 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
5153 CHAR_MAX.
5154 * string/test-strcmp.c [! WIDE]: Likewise.
5155 * time/tst-mktime2.c: Likewise for INT_MAX.
5156 * string/test-string.h: #include <sys/param.h> for MIN.
5157
228c019e
TS
5158 * csu/init-first.c (__libc_init_first): Call __ctype_init.
5159 * sysdeps/i386/init-first.c (init): Likewise.
5160 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
5161 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
5162 * sysdeps/sh/init-first.c (init): Likewise.
5163
cfa633f5
UD
51642012-04-01 Ulrich Drepper <drepper@gmail.com>
5165
5166 * po/ru.po: Update from translation team.
d1635ef8 5167 * po/vi.po: Likewise.
cfa633f5 5168
6cd0a5ea
SP
51692012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
5170
5171 * resolv/nss_dns/dns-host.c: Merge copyright years.
5172
4b43400f
LD
51732012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
5174
5175 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
5176 Optimize memcpy with prefetch if
5177 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
5178 src, dst pointers have unequal 16 byte alignments.
5179
48c41d04
SP
51802012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
5181
5182 [BZ #13928]
5183 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
5184 from a CNAME entry and return the minimum ttl for the query.
5185 (gaih_getanswer_slice): Likewise.
5186
b8dc394d
JL
51872012-03-30 Jeff Law <law@redhat.com>
5188
5189 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
5190 due to long keys.
5191 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
5192 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
5193
2f5a5ed0
JL
5194 * resolv/nss_dns/dns-host.c: Update copyright year.
5195
1d39e359
UD
51962012-03-30 Ulrich Drepper <drepper@gmail.com>
5197
c030f70c 5198 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8e6d1083 5199 requests to save a system call. Fix check that all bytes are sent.
c030f70c 5200
1d39e359
UD
5201 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
5202 comments for sendmmsg.
5203
52042012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
e64d2de5
TMQMF
5205
5206 [BZ #13691]
5207 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
5208 with only 1 character between 0x0041 and 0x01b0.
5209 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
5210 * wcsmbs/tst-mbsnrtowcs.c: New file.
5211
20fde227
DM
52122012-03-29 David S. Miller <davem@davemloft.net>
5213
5214 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
5215 small copies by hand.
5216
984a4237
JL
52172012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
5218
5219 [BZ #13761]
5220 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
5221 _nss_compat_initgroups_dyn): Fall back to malloc/free
5222 for large group memberships.
5223
18c9d62b
DM
52242012-03-28 David S. Miller <davem@davemloft.net>
5225
88d85d4f
DM
5226 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
5227 that branches into memcpy.
5228 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
5229 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
5230 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
5231 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
5232 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
5233 bits.
5234 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
5235 implementation too.
5236 * sysdeps/sparc/mempcpy.S: New file.
5237
e5aa83e1
DM
5238 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
5239 the IFUNC routine in the libc case.
5240 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
5241
88570753
DM
5242 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
5243 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
5244 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
5245 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
5246 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
5247 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
5248 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
5249 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
5250
249d7567
DM
5251 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
5252 loop to 256 bytes instead of 64 bytes and fix test signedness.
5253
18c9d62b
DM
5254 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
5255 * sysdeps/sparc/sparc32/Makefile: rather than here...
5256 * sysdeps/sparc/sparc64/Makefile: and here.
5257
05f3d1f6
UD
52582012-03-28 Ulrich Drepper <drepper@gmail.com>
5259
5260 * malloc/mallocbug.c: Avoid warnings about unused variables.
5261
86ae07a8
JL
52622012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
5263
5264 [BZ #13760]
5265 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
5266 in the right place. Discard and retry query if response is
5267 larger than input buffer size.
5268
41bf21a1
JM
52692012-03-28 Joseph Myers <joseph@codesourcery.com>
5270
d6270972
JM
5271 [BZ #369]
5272 [BZ #2678]
5273 [BZ #3866]
5274 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
5275 x for large integer exponent.
5276 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
5277 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
5278 sign of result as needed afterwards.
5279 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
5280 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
5281 result for underflowing pow the same as for overflow.
5282 (__kernel_standard_l): Handle powl overflow and underflow here
5283 rather than calling __kernel_standard.
5284 * math/libm-test.inc (pow_test): Add more tests.
5285
414fca03 5286 [BZ #3868]
41bf21a1
JM
5287 [BZ #13879]
5288 [BZ #13910]
5289 [BZ #13911]
5290 [BZ #13912]
5291 [BZ #13913]
5292 [BZ #13915]
5293 [BZ #13916]
5294 [BZ #13917]
5295 [BZ #13918]
5296 [BZ #13919]
5297 [BZ #13920]
5298 [BZ #13921]
5299 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
5300 * sysdeps/ieee754/k_standard.c: Include <float.h>.
5301 (__kernel_standard_l): New function.
5302 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
5303 __kernel_standard.
5304 * math/w_acosl.c (__acosl): Likewise.
5305 * math/w_asinl.c (__asinl): Likewise.
5306 * math/w_atan2l.c (__atan2l): Likewise.
5307 * math/w_atanhl.c (__atanhl): Likewise.
5308 * math/w_coshl.c (__coshl): Likewise.
5309 * math/w_exp10l.c (__exp10l): Likewise.
5310 * math/w_exp2l.c (__exp2l): Likewise.
5311 * math/w_fmodl.c (__fmodl): Likewise.
5312 * math/w_hypotl.c (__hypotl): Likewise.
5313 * math/w_j0l.c (__j0l, __y0l): Likewise.
5314 * math/w_j1l.c (__j1l, __y1l): Likewise.
5315 * math/w_jnl.c (__jnl, __ynl): Likewise.
5316 * math/w_lgammal.c (__lgammal): Likewise.
5317 * math/w_log10l.c (__log10l): Likewise.
5318 * math/w_log2l.c (__log2l): Likewise.
5319 * math/w_logl.c (__logl): Likewise.
5320 * math/w_powl.c (__powl): Likewise.
5321 * math/w_remainderl.c (__remainderl): Likewise.
5322 * math/w_scalbl.c (sysv_scalbl): Likewise.
5323 * math/w_sinhl.c (__sinhl): Likewise.
5324 * math/w_sqrtl.c (__sqrtl): Likewise.
5325 * math/w_tgammal.c (__tgammal): Likewise.
5326 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
5327 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
5328 * math/libm-test.inc (acos_test): Add more tests.
5329 (acosh_test): Likewise.
5330 (asin_test): Likewise.
5331 (atanh_test): Likewise.
5332 (exp_test): Likewise.
5333 (exp10_test): Likewise.
5334 (exp2_test): Likewise.
5335 (expm1_test): Likewise.
5336 (lgamma_test): Likewise.
5337 (log_test): Likewise.
5338 (log10_test): Likewise.
5339 (log1p_test): Likewise.
5340 (log2_test): Likewise.
5341 (pow_test): Do not allow some spurious overflow exceptions.
5342 (sqrt_test): Add more tests.
5343 (tgamma_test): Likewise.
5344 (y0_test): Likewise.
5345 (y1_test): Likewise.
5346 (yn_test): Likewise.
5347
dd62fda6
AB
53482012-03-27 Anton Blanchard <anton@samba.org>
5349
5350 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
5351 MAP_HUGETLB.
5352 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
5353 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
5354 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
5355
1e3cdfda
AJ
53562012-03-27 David S. Miller <davem@davemloft.net>
5357
b855ab85
DM
5358 * conform/Makefile: Run run-conformtest.sh using $(BASH).
5359
1e3cdfda
AJ
5360 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
5361 have-as-vis3 check.
5362
53632012-03-27 Andreas Jaeger <aj@suse.de>
5364
5365 * sysdeps/x86_64/elf/configure.in: Moved to ...
5366 * sysdeps/x86_64/configure.in: ... here.
5367 * sysdeps/x86_64/elf/start.S: Moved to ...
5368 * sysdeps/x86_64/start.S: ... here.
5369 * sysdeps/x86_64/elf/configure: Delete.
5370
5371 * sysdeps/x86_64/configure.in: Merge contents from
5372 sysdeps/i386/configure.in (without i686 check).
5373
5374 * sysdeps/i386/elf/Versions: Merge into ...
5375 * sysdeps/i386/Versions: ... this.
5376 * sysdeps/i386/elf/Versions: Delete file.
5377 * sysdeps/i386/elf/start.S: Moved to ...
5378 * sysdeps/i386/start.S: ...here.
5379 * sysdeps/i386/elf/configure.in: Merge into...
5380 * sysdeps/i386/configure.in: ...here.
5381 * sysdeps/i386/elf/configure.in: Delete file.
5382 * sysdeps/i386/elf/configure: Delete file.
5383
5384 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
5385 * debug/backtracesyms.c: ... here.
5386 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
5387 * debug/backtracesymsfd.c: ... here.
5388 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
5389 * sysdeps/generic/ifunc-sel.h: ... here.
5390
5391 * sysdeps/unix/i386/start.c: Delete file.
5392 * sysdeps/unix/sparc/start.c: Delete file.
5393 * sysdeps/unix/start.c: Delete file.
5394
5395 * sysdeps/sh/elf/configure.in: Moved to ...
5396 * sysdeps/sh/configure.in: ... here.
5397 * sysdeps/sh/elf/start.S: Moved to ...
5398 * sysdeps/sh/start.S: ... here.
5399 * sysdeps/sh/elf/configure: Delete file.
5400
5401 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
5402 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
5403 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
5404 * sysdeps/powerpc/powerpc64/entry.h: ... here.
5405 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
5406 * sysdeps/powerpc/powerpc64/start.S: here.
5407 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
5408 * sysdeps/powerpc/powerpc64/Makefile: ... this.
5409 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
5410 * sysdeps/powerpc/powerpc64/configure.in: ... this.
5411 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
5412
5413 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
5414 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
5415 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
5416 * sysdeps/powerpc/powerpc32/start.S: ... here.
5417 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
5418 * sysdeps/powerpc/powerpc32/configure.in: ... this.
5419 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
5420
5421 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
5422 * sysdeps/powerpc/ifunc-sel.h: ... here.
5423 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
5424 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
5425
5426 * sysdeps/sparc/elf/configure.in: Moved to ...
5427 * sysdeps/sparc/configure.in: ... here.
5428 * sysdeps/sparc/elf/configure: Delete file.
5429 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
5430 * sysdeps/sparc/sparc32/start.S: ... here.
5431 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
5432 * sysdeps/sparc/sparc64/start.S: ... here.
5433 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
5434 * sysdeps/sparc/sparc32/Makefile: ... this.
5435 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
5436 * sysdeps/sparc/sparc64/Makefile: ... this.
5437
5438 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
5439 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
5440 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
5441 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
5442 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
5443 * sysdeps/s390/s390-32/setjmp.S: ... here.
5444 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
5445 * sysdeps/s390/s390-32/configure.in: ... here.
5446 * sysdeps/s390/s390-32/elf/configure: Delete file.
5447 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
5448 * sysdeps/s390/s390-32/start.S: ... here.
5449
5450 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
5451 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
5452 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
5453 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
5454 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
5455 * sysdeps/s390/s390-64/setjmp.S: ... here.
5456 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
5457 * sysdeps/s390/s390-64/configure.in: ... here
5458 * sysdeps/s390/s390-64/elf/configure: Delete file.
5459 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
5460 * sysdeps/s390/s390-64/start.S: ... here.
5461 * sysdeps/s390/s390-64/elf/configure: Delete.
5462
5463 * configure.in: Remove support for elf directories in sysdeps.
5464
5465 * configure: Regenerated.
5466 * sysdeps/i386/configure: Regenerated.
5467 * sysdeps/powerpc/powerpc32/configure: Regenerated.
5468 * sysdeps/powerpc/powerpc64/configure: Regenerated.
5469 * sysdeps/s390/s390-32/configure: Regenerated.
5470 * sysdeps/s390/s390-64/configure: Regenerated.
5471 * sysdeps/sh/configure: Regenerated.
5472 * sysdeps/sparc/configure: Regenerated.
5473 * sysdeps/x86_64/configure: Regenerated.
5474
a3f61311
AS
54752012-03-26 Andreas Schwab <schwab@linux-m68k.org>
5476
c876e002
AS
5477 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5478
a3f61311
AS
5479 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
5480 denormal result into account.
5481
ac4c54f0
RM
54822012-03-25 Roland McGrath <roland@hack.frob.com>
5483
5484 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
5485 Reported by Allan McRae <allan@archlinux.org>.
5486
6a9b9c02
JL
54872012-03-23 Jeff Law <law@redhat.com>
5488
5489 * nss/getnssent.c (__nss_getent): Fix typo.
5490
4c42a0c1
DM
54912012-03-23 David S. Miller <davem@davemloft.net>
5492
5493 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5494
1532c7ac
L
54952012-03-23 H.J. Lu <hongjiu.lu@intel.com>
5496
5497 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
5498 to pad to uint64_t for each field.
5499 (dl_tls_index): Replace unsigned long with uint64_t.
5500
3ff42526
PP
55012012-03-23 Daniel Jacobowitz <dmj@google.com>
5502 Paul Pluzhnikov <ppluzhnikov@google.com>
5503
5504 [BZ #6528]
5505 * grp/Makefile (otherlibs): Don't set it.
5506 * inet/Makefile (otherlibs): Likewise.
5507 * login/Makefile (otherlibs): Likewise.
5508 * nscd/Makefile (otherlibs): Likewise.
5509 * posix/Makefile (otherlibs): Likewise.
5510 * pwd/Makefile (otherlibs): Likewise.
5511 * rt/Makefile (otherlibs): Likewise.
5512 * sunrpc/Makefile (otherlibs): Likewise.
5513 * nss/Makefile (otherlibs): Likewise.
5514 Add libnss_files to routines and static-only-routines.
5515 ($(objpfx)getent): Remove rule.
5516 * resolv/Makefile: Add libnss_dns and libresolv to routines and
5517 static-only-routines.
5518
7c69cd14
JM
55192012-03-22 Joseph Myers <joseph@codesourcery.com>
5520
5521 [BZ #13892]
5522 * math/s_cexp.c: Include <float.h>.
5523 (__cexp): Handle exp result overflowing not necessarily
5524 overflowing both real and imaginary parts of result.
5525 * math/s_cexpf.c: Likewise.
5526 * math/s_cexpl.c: Likewise.
5527 * math/libm-test.inc (cexp_test): Add more tests.
5528 * sysdeps/i386/fpu/libm-test-ulps: Update.
5529 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5530
81b035fe
L
55312012-03-22 H.J. Lu <hongjiu.lu@intel.com>
5532
5533 * include/link.h (ELFW): New macro.
5534 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
5535 Replace ELF64_R_TYPE with ELFW(R_TYPE).
5536
1da7940c
L
55372012-03-22 H.J. Lu <hongjiu.lu@intel.com>
5538
5539 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
5540 with uint64_t.
5541
b749dbb9
L
55422012-03-22 H.J. Lu <hongjiu.lu@intel.com>
5543
5544 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
5545 declaration.
5546 (struct La_x32_retval): Likewise.
5547
2ff87f3f
L
55482012-03-22 H.J. Lu <hongjiu.lu@intel.com>
5549
5550 * sysdeps/x86_64/preconfigure.in: New file.
5551 * sysdeps/x86_64/preconfigure: New generated file.
5552
c0df8e69
JM
55532012-03-22 Joseph Myers <joseph@codesourcery.com>
5554
48e44791
JM
5555 [BZ #13824]
5556 * math/e_exp2l.c: Include <float.h>.
5557 (__ieee754_exp2l): Handle overflow and underflow cases
5558 separately. Only pass fractional part of argument to
5559 __ieee754_expl.
5560 * math/libm-test.inc (exp2_test): Add more tests.
5561
c0df8e69
JM
5562 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
5563 negating x to take absolute value.
5564 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
5565 Likewise.
5566 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
5567 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
5568 Likewise.
5569 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
5570 computing low part if x was negated.
5571 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
5572
c8e43ba7
L
55732012-03-21 H.J. Lu <hongjiu.lu@intel.com>
5574
5575 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
5576 la_x32_gnu_pltexit.
5577 (pltexit): Cast int_retval to ptrdiff_t.
5578 * elf/tst-auditmod3b.c: Likewise.
5579 * elf/tst-auditmod4b.c: Likewise.
5580 * elf/tst-auditmod5b.c: Likewise.
5581 * elf/tst-auditmod6b.c: Likewise.
5582 * elf/tst-auditmod6c.c: Likewise.
5583 * elf/tst-auditmod7b.c: Likewise.
5584
5585 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
5586 and x32_gnu_pltexit.
5587
5588 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
5589 __ELF_NATIVE_CLASS.
5590 (La_x32_regs): New macro.
5591 (La_x32_retval): Likewise.
5592 (la_x32_gnu_pltenter): New function prototype.
5593 (la_x32_gnu_pltexit): Likewise.
5594
7998fa78
AS
55952012-03-21 Andreas Schwab <schwab@linux-m68k.org>
5596
dcb33988
AS
5597 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
5598 exponent.
5599
233fc563
AS
5600 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5601
7998fa78
AS
5602 * configure.in (libc_cv_cc_nofma): Check for option to disable
5603 generation of FMA instructions.
5604 * configure: Regenerate.
5605 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
5606 * sysdeps/ieee754/dbl-64/Makefile: New file.
5607 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
5608 Remove brandred-fma4.
5609 (CFLAGS-brandred-fma4.c): Remove.
5610 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
5611 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
5612 define.
5613 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
5614 define.
5615
8e95c99a
L
56162012-03-21 H.J. Lu <hongjiu.lu@intel.com>
5617
5618 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
5619 LLONG_MAX != LONG_MAX.
5620 (_itoa_word): Use _ITOA_WORD_TYPE on value.
5621 (_fitoa_word): Likewise.
5622 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
5623 LLONG_MAX != LONG_MAX.
5624 * stdio-common/_itowa.h: Include <_itoa.h>.
5625 (_itowa_word): Use _ITOA_WORD_TYPE on value.
5626 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
5627 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
5628 only if not defined.
5629 (_ITOA_WORD_TYPE): Likewise.
5630 (_itoa_word): Use _ITOA_WORD_TYPE on value.
5631 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
5632
6f4db457
DM
56332012-03-21 David S. Miller <davem@davemloft.net>
5634
5635 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5636
7785fe5a
L
56372012-03-21 H.J. Lu <hongjiu.lu@intel.com>
5638
5639 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
5640 of x86_64 when setting libc_cv_slibdir, libdir and
5641 libc_cv_localedir.
5642 * sysdeps/unix/sysv/linux/configure: Regenerated.
5643
4535cd55
JM
56442012-03-21 Joseph Myers <joseph@codesourcery.com>
5645
5646 * manual/lang.texi (Old Varargs): Remove section.
5647 (How Variadic): Update menu.
5648 (va_start): Do not mention varargs.h.
5649
17228132
TS
56502012-03-21 Thomas Schwinge <thomas@codesourcery.com>
5651 Joseph Myers <joseph@codesourcery.com>
5652
5653 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
5654 link test.
5655 * configure: Regenerated.
5656
8149f976
TS
56572012-03-21 Thomas Schwinge <thomas@codesourcery.com>
5658
05f3d1f6
UD
5659 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
5660 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
5661 conformtest.pl
8149f976 5662
1a4ac776
JM
56632012-03-21 Joseph Myers <joseph@codesourcery.com>
5664
be22ce65
JM
5665 * NOTES: Remove.
5666 * Makefile (files-for-dist): Remove NOTES.
5667 (NOTES): Remove rule.
5668 * README: Don't refer to NOTES.
5669 * manual/creature.texi: Don't include macros.texi.
5670 * manual/intro.texi (creature.texi): Remove comment referring to
5671 NOTES.
5672
40b601fb
JM
5673 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
5674 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
5675 * configure: Regenerated.
5676 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
5677 LIBC_TRY_CC_OPTION.
5678 (libc_cv_as_i686): Likewise.
5679 (libc_cv_cc_avx): Likewise.
5680 (libc_cv_cc_sse2avx): Likewise.
5681 (libc_cv_cc_fma4): Likewise.
5682 (libc_cv_cc_novzeroupper): Likewise.
5683 * sysdeps/i386/configure: Regenerated.
5684
1a4ac776
JM
5685 [BZ #13883]
5686 * sysdeps/i386/fpu/s_cexp.S: Remove.
5687 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
5688 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
5689 * math/libm-test.inc (cexp_test): Add more tests.
5690 * sysdeps/i386/fpu/libm-test-ulps: Update.
5691 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5692
a458e7fe
AM
56932012-03-21 Allan McRae <allan@archlinux.org>
5694
5695 * timezone/Makefile: Do not install iso3166.tab and zone.tab
5696
0cb7efc5
JM
56972012-03-21 Joseph Myers <joseph@codesourcery.com>
5698
5699 [BZ #13871]
5700 * math/w_exp2.c: Do not include <float.h>.
5701 (o_threshold, u_threshold): Remove.
5702 (__exp2): Calculate result before checking finiteness and calling
5703 __kernel_standard.
5704 * math/w_exp2f.c: Likewise.
5705 * math/w_exp2l.c: Likewise.
5706 * math/libm-test.inc (exp2_test): Require overflow exception for
5707 1e6 input.
2460d3aa
JM
5708
5709 [BZ #3866]
5710 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
5711 range of signed 64-bit integers before using fistpll. Remove
5712 checks for whether integers fit in mantissa bits.
5713 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
5714 the range of signed 32-bit integers before using fistpl. Remove
5715 checks for whether integers fit in mantissa bits.
5716 * sysdeps/i386/fpu/e_powl.S (p64): New object.
5717 (__ieee754_powl): Test for y outside the range of signed 64-bit
5718 integers before using fistpll. Reduce 64-bit values to 63-bit
5719 ones as needed.
5720 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
5721 divide-by-zero is raised for zero to large negative powers.
5722 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
5723 (__ieee754_powl): Test for y outside the range of signed 64-bit
5724 integers before using fistpll. Reduce 64-bit values to 63-bit
5725 ones as needed.
5726 * math/libm-test.inc (pow_test): Add more tests.
5727
eb96ffb0
L
57282012-03-20 H.J. Lu <hongjiu.lu@intel.com>
5729
5730 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
5731 <stdio-common/_itoa.h>.
5732 * debug/segfault.c: Likewise.
5733 * elf/dl-cache.c: Likewise.
5734 * elf/dl-minimal.c: Likewise.
5735 * elf/dl-misc.c: Likewise.
5736 * elf/dl-sysdep.c: Likewise.
5737 * elf/dl-version.c: Likewise.
5738 * elf/rtld.c: Likewise.
5739 * hurd/hurdsock.c: Likewise.
5740 * hurd/lookup-retry.c: Likewise.
5741 * malloc/malloc.c: Likewise.
5742 * malloc/mtrace.c: Likewise.
5743 * nscd/nscd_getgr_r.c: Likewise.
5744 * nscd/nscd_getpw_r.c: Likewise.
5745 * nscd/nscd_getserv_r.c: Likewise.
5746 * posix/getopt_init.c: Likewise.
5747 * posix/wordexp.c: Likewise.
5748 * stdio-common/_itoa.c: Likewise.
5749 * stdio-common/printf_fphex.c: Likewise.
5750 * stdio-common/vfprintf.c: Likewise.
5751 * string/_strerror.c: Likewise.
5752 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
5753 * sysdeps/i386/i686/hp-timing.h: Likewise.
5754 * sysdeps/mach/_strerror.c: Likewise.
5755 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
5756 * sysdeps/mach/hurd/sethostid.c: Likewise.
5757 * sysdeps/mach/hurd/xmknodat.c: Likewise.
5758 * sysdeps/mach/xpg-strerror.c: Likewise.
5759 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
5760 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
5761 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
5762 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
5763 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
5764 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
5765 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
5766 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
5767 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
5768 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
5769 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
5770 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
5771 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
5772 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
5773 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
5774 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
5775 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
5776 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
5777 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
5778 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
5779 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
5780
5781 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
5782
5783 * stdio-common/_itoa.h: Moved to ...
5784 * sysdeps/generic/_itoa.h: Here.
5785
5786 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
5787
5788 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
5789 instead of "_itoa.h" and "_itowa.h".
5790 * stdio-common/vfprintf.: Likewise.
5791
d1af992d
L
57922012-03-20 H.J. Lu <hongjiu.lu@intel.com>
5793
5794 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
5795 <bits/wordsize.h>.
5796 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
5797 (__signbit): Likwise.
5798 (llrintf): Likwise.
5799 (llrint): Likwise.
5800
114883e0
L
58012012-03-20 H.J. Lu <hongjiu.lu@intel.com>
5802
5803 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
5804 __WORDSIZE != 64.
5805
c135cc1b
JM
58062012-03-20 Joseph Myers <joseph@codesourcery.com>
5807
5808 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
5809 OVERFLOW_EXCEPTION_OK.
5810 * math/libm-test.inc ("Philosophy"): Update comment about
5811 exception testing.
5812 (OVERFLOW_EXCEPTION): Define.
5813 (OVERFLOW_EXCEPTION_OK): Likewise.
5814 (INVALID_EXCEPTION_OK): Renumber.
5815 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
5816 (IGNORE_ZERO_INF_SIGN): Likewise.
5817 (test_exceptions): Handle FE_OVERFLOW.
5818 (exp10_test): Expect overflow exceptions.
5819 (exp2_test): Likewise.
5820 (expm1_test): Likewise.
5821 (nextafter_test): Likewise.
5822 (pow_test): Likewise.
5823 (scalbn_test): Likewise.
5824 (scalbln_test): Likewise.
5825
95443d88
L
58262012-03-19 H.J. Lu <hongjiu.lu@intel.com>
5827
5828 * sysdeps/x86_64/bits/atomic.h
5829 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
5830 64bit integer.
5831 (atomic_exchange_acq): Likewise.
5832 (__arch_exchange_and_add_body): Likewise.
5833 (__arch_add_body): Likewise.
5834 (atomic_add_negative): Likewise.
5835 (atomic_add_zero): Likewise.
5836
490df6c4
L
58372012-03-19 H.J. Lu <hongjiu.lu@intel.com>
5838
c2722551 5839 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
5840 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
5841
5e52b189
L
58422012-03-19 H.J. Lu <hongjiu.lu@intel.com>
5843
5844 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
5845 Check __x86_64__ instead of __WORDSIZE.
5846
a9879d4c
L
58472012-03-19 H.J. Lu <hongjiu.lu@intel.com>
5848
5849 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
5850
5df98260
DM
58512012-03-19 David S. Miller <davem@davemloft.net>
5852
e1497744
DM
5853 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5854
5df98260
DM
5855 * sysdeps/sparc/fpu/fenv_private.h: New file.
5856 * sysdeps/sparc/fpu/math_private.h: Use it.
5857 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
5858 Remove.
5859 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
5860 (libc_feholdexcept_setroundl): Remove.
5861 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
5862 Remove.
5863 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
5864 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
5865
b4c35121
L
58662012-03-19 H.J. Lu <hongjiu.lu@intel.com>
5867
5868 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
5869 int64_t instead of long int.
5870 (INSERT_WORDS64): Likwise.
5871
56965fd7
L
58722012-03-19 H.J. Lu <hongjiu.lu@intel.com>
5873
5874 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
5875 _Unwind_GetCFA return to _Unwind_Ptr first.
5876
83d1aec8
JM
58772012-03-19 Joseph Myers <joseph@codesourcery.com>
5878
1897ad44
JM
5879 [BZ #13629]
5880 * math/s_clog.c: Include <float.h>.
5881 (__clog): Scale large or subnormal inputs.
5882 * math/s_clogf.c: Likewise.
5883 * math/s_clogl.c: Likewise.
5884 * math/s_clog10.c: Include <float.h>.
5885 (M_LOG10_2): Define.
5886 (__clog10): Scale large or subnormal inputs.
5887 * math/s_clog10f.c: Likewise.
5888 * math/s_clog10l.c: Likewise.
5889 * math/libm-test.inc (clog_test): Add more tests.
5890 (clog10_test): Likewise.
5891 * sysdeps/i386/fpu/libm-test-ulps: Update.
5892 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5893
7726d6a9
JM
5894 [BZ #11451]
5895 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
5896 x and y.
5897 * math/libm-test.inc (atan2_test): Add another test.
5898
83d1aec8
JM
5899 * Makerules (common-objdir-compile): Remove.
5900 * sysdeps/unix/Makefile (config-generated): Do not add
5901 $(unix-generated) to variable.
5902 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
5903 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
5904 Remove rule.
5905 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
5906 Likewise.
5907 [generic bits/local_lim.h] (before-compile): Do not append to
5908 variable.
5909 [generic bits/local_lim.h] (common-generated): Likewise.
5910 [generic sys/param.h] (before-compile): Do not append to variable.
5911 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
5912 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
5913 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
5914 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
5915 include.
5916 [generic sys/param.h] (sys/param.h-includes): Remove variable.
5917 [generic sys/param.h] (sys/param.h-includes): Remove rule.
5918 [generic sys/param.h] ($(addprefix
5919 $(common-objpfx),$(sys/param.h-includes))): Likewise.
5920 [generic sys/param.h] (common-generated): Do not append to
5921 variable.
5922 [generic sys/param.h] (sysdep_headers): Likewise.
5923 [generic bits/errno.h] (before-compile): Do not append to
5924 variable.
5925 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
5926 rule.
5927 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
5928 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
5929 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
5930 [generic bits/errno.h] (common-generated): Do not append to
5931 variable.
5932 [generic bits/ioctls.h] (before-compile): Do not append to
5933 variable.
5934 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
5935 rule.
5936 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
5937 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
5938 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
5939 rule.
5940 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
5941 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
5942 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
5943 [generic bits/ioctls.h] (common-generated): Do not append to
5944 variable.
5945 [generic sys/syscall.h] (syscall.h): Remove variable.
5946 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
5947 rule.
5948 [generic sys/syscall.h] (before-compile): Do not append to
5949 variable.
5950 [generic sys/syscall.h] (common-generated): Likewise.
5951 * sysdeps/unix/errnos-tmpl.c: Remove file.
5952 * sysdeps/unix/errnos.awk: Likewise.
5953 * sysdeps/unix/ioctls-tmpl.c: Likewise.
5954 * sysdeps/unix/ioctls.awk: Likewise.
5955 * sysdeps/unix/mk-local_lim.c: Likewise.
5956 * sysdeps/unix/snarf-ioctls: Likewise.
5957
4851a949
RH
59582012-03-19 Richard Henderson <rth@twiddle.net>
5959
bd37f2ee
RH
5960 * sysdeps/i386/fpu/fenv_private.h: New file.
5961 * sysdeps/i386/fpu/math_private.h: Use it.
5962 (math_opt_barrier, math_force_eval): Remove.
5963 (libc_feholdexcept_setround_53bit): Remove.
5964 (libc_feupdateenv_53bit): Remove.
5965 * sysdeps/x86_64/fpu/math_private.h: Likewise.
5966 (math_opt_barrier, math_force_eval): Remove.
5967 (libc_feholdexcept): Remove.
5968 (libc_feholdexcept_setround): Remove.
5969 (libc_fetestexcept, libc_fesetenv): Remove.
5970 (libc_feupdateenv_test): Remove.
5971 (libc_feupdateenv, libc_feholdsetround): Remove.
5972 (libc_feresetround): Remove.
5973
d0adc922
RH
5974 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
5975 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
5976
0fe0f1f8
RH
5977 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
5978 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
5979 (libc_feupdateenv_testl): New.
5980 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
5981 (libc_feupdateenv_testf): New.
5982 (libc_feupdateenv): Use libc_feupdateenv_test.
5983 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
5984 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
5985
eb92c487
RH
5986 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
5987 (libc_feholdsetroundf, libc_feholdsetroundl): New.
5988 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
5989 (libc_feresetround_noex): New.
5990 (libc_feresetround_noexf): New.
5991 (libc_feresetround_noexl): New.
5992 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
5993 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
5994 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
5995 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
5996 SET_RESTORE_ROUND.
5997 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
5998 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
5999 (__cos): Likewise.
6000 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
6001 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
6002 SET_RESTORE_ROUND_NOEX.
6003 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
6004 SET_RESTORE_ROUND_NOEXF.
6005 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
6006 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
6007 (libc_feholdsetroundf): New.
6008 (libc_feresetround, libc_feresetroundf): New.
6009
7d2e8012
RH
6010 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
6011 (libc_feholdexcept_setround_53bit): Convert from macro to function.
6012 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
6013
b4dabbb4
RH
6014 * sysdeps/generic/math_private.h: Include <fenv.h>.
6015 (default_libc_feholdexcept): New.
6016 (default_libc_feholdexcept_setround): New.
6017 (default_libc_fesetenv, default_libc_feupdateenv): New.
6018 (libc_feholdexcept): Only define if undefined.
6019 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
6020 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
6021 (libc_feholdexcept_setroundl): Likewise.
6022 (libc_feholdexcept_setround_53bit): Likewise.
6023 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
6024 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
6025 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
6026 (libc_feupdateenv_53bit): Likewise.
6027 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
6028 (libc_feholdexcept): Convert from macro to inline function.
6029 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
6030 (libc_fesetenv, libc_feupdateenv): Likewise.
6031
4851a949
RH
6032 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
6033 not previously defined.
6034 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
6035 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
6036 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
6037 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
6038 * sysdeps/ieee754/flt-32/math_private.h: New file.
6039 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
6040 math_private.h below SET_FLOAT_WORD.
6041 (__isnan, __isinf_ns, __finite): Remove.
6042 (__isnanf, __isinf_nsf, __finitef): Remove.
6043
e79d442e
AS
60442012-03-18 Andreas Schwab <schwab@linux-m68k.org>
6045
6046 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6047
90b80344
DM
60482012-03-17 David S. Miller <davem@davemloft.net>
6049
6050 [BZ #6471]
6051 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
6052 for 2.16.
6053
edc21804
DM
60542012-03-16 David S. Miller <davem@davemloft.net>
6055
77e927af
DM
6056 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
6057 warnings.
6058
374976dd
DM
6059 [BZ #6471]
6060 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
6061 properly.
6062 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
6063 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
6064 sysdep_routines when subdir is sysvipc.
6065 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
6066 __getshmlba helper.
6067
edc21804
DM
6068 * sysdeps/sparc/fpu/libm-test/ulps: Update.
6069
473c3ef3
L
60702012-03-16 H.J. Lu <hongjiu.lu@intel.com>
6071
6072 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
6073 [__LP64__].
6074
eb0f39b6
L
60752012-03-16 H.J. Lu <hongjiu.lu@intel.com>
6076
6077 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
6078 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
6079 (__lround): Renamed to ...
6080 (__llround): This. Replace long int with long long int.
6081 Define lround functions as aliases of llround functions.
6082 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
6083
6b6cd74b
L
60842012-03-16 H.J. Lu <hongjiu.lu@intel.com>
6085
6086 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
6087 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
6088 adresses to uintptr_t. Replace "long int" and "unsigned long
6089 int" with "greg_t" on va_arg.
6090
f1a77b01
L
60912012-03-16 H.J. Lu <hongjiu.lu@intel.com>
6092
6093 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
6094 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
6095
6096 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
6097 Move e_machine check before EI_CLASS check. Handle x32
6098 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
6099 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
6100 SKIP_EM_IA_64 and include
6101 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
6102
6103 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
6104 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
6105 (add_system_dir): New macro.
6106
6107 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
6108 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
6109
11b90b9f
JM
61102012-03-16 Joseph Myers <joseph@codesourcery.com>
6111
c36e1d23
JM
6112 [BZ #2551]
6113 [BZ #2552]
6114 [BZ #2553]
6115 [BZ #2554]
6116 [BZ #2562]
6117 [BZ #2563]
6118 [BZ #2565]
6119 [BZ #2566]
6120 [BZ #2576]
6121 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
6122 (y0): Likewise.
6123 * math/w_j0f.c (j0f): Likewise.
6124 (y0f): Likewise.
6125 * math/w_j0l.c (__j0l): Likewise.
6126 (__y0l): Likewise.
6127 * math/w_j1.c (j1): Likewise.
6128 (y1): Likewise.
6129 * math/w_j1f.c (j1f): Likewise.
6130 (y1f): Likewise.
6131 * math/w_j1l.c (__j1l): Likewise.
6132 (__y1l): Likewise.
6133 * math/w_jn.c (jn): Likewise.
6134 (yn): Likewise.
6135 * math/w_jnf.c (jnf): Likewise.
6136 (ynf): Likewise.
6137 * math/w_jnl.c (__jnl): Likewise.
6138 (__ynl): Likewise.
6139 * math/libm-test.inc (j0_test): Add more tests.
6140 (j1_test): Likewise.
6141 (jn_test): Likewise. Add trailing semicolon to existing test.
6142 (y0_test): Likewise.
6143 (y1_test): Likewise.
6144 * sysdeps/i386/fpu/libm-test-ulps: Update.
6145 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6146
11b90b9f
JM
6147 [BZ #13851]
6148 [BZ #13854]
6149 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
6150 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
6151 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
6152 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
6153 (__tanl): Set errno for infinite argument.
6154 * sysdeps/i386/fpu/mptan.c: Remove.
6155 * sysdeps/i386/fpu/s_tan.S: Likewise.
6156 * sysdeps/i386/fpu/s_tanl.S: Likewise.
6157 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
6158 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
6159 * math/libm-test.inc (tan_test): Add more tests and enable more
6160 tests for double and long double.
6161 * sysdeps/i386/fpu/libm-test-ulps: Update.
6162 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6163
6a1bd2a1
JK
61642012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
6165
6166 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
6167 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
6168
10a803e0
RM
61692012-03-16 Roland McGrath <roland@hack.frob.com>
6170
6171 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
6172 * configure.in: Use it for both main tree and add-ons.
6173 * configure: Regenerated.
6174
f196c7f7
L
61752012-03-16 H.J. Lu <hongjiu.lu@intel.com>
6176
6177 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
6178
8848d99d
JM
61792012-03-16 Joseph Myers <joseph@codesourcery.com>
6180
96cbe7f4
JM
6181 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
6182 in comment.
6183
8848d99d
JM
6184 [BZ #13851]
6185 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
6186 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
6187 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
6188 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
6189 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
6190 infinite argument.
6191 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
6192 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
6193 != 0 for prec == 2.
6194 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
6195 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
6196 * sysdeps/i386/fpu/s_cosl.S: Likewise.
6197 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
6198 * sysdeps/i386/fpu/s_sinl.S: Likewise.
6199 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
6200 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
6201 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
6202 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
6203 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
6204 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
6205 * math/libm-test.inc (cos_test): Add more tests and enable more
6206 tests for long double.
6207 (sin_test): Likewise.
6208 (sincos_test): Likewise.
6209 * sysdeps/i386/fpu/libm-test-ulps: Update.
6210 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6211
dd7f4703
DM
62122012-03-16 David S. Miller <davem@davemloft.net>
6213
6214 * sysdeps/sparc/fpu/math_private.h: New file.
6215
006f1daa
DM
62162012-03-15 David S. Miller <davem@davemloft.net>
6217
c0c83bc8
DM
6218 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
6219 file.
e6a62e18 6220 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
6221 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
6222 file.
e6a62e18
DM
6223 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
6224 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
6225 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
6226 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
6227 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
6228 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
6229 sysdep routines.
6230 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
6231
88cb87d9
DM
6232 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
6233 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
6234
006f1daa 6235 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
6236 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
6237 sparc-ifunc.h
006f1daa 6238 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
6239 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
6240 Likewise.
6241 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
6242 Likewise.
006f1daa
DM
6243 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
6244 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
6245 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
6246 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
6247 Likewise.
006f1daa
DM
6248 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
6249 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
6250 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
6251 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
6252 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
6253 Likewise.
6254 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
6255 Likewise.
006f1daa
DM
6256 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
6257 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
6258 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
6259 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
6260 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
6261 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
6262 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
6263 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
6264 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
6265 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
6266 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
6267 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
6268 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
6269 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
6270 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
6271 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
6272 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
6273 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
6274 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
6275 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
6276 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
6277 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
6278 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
6279 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
6280
11e0098e
AS
62812012-03-15 Andreas Schwab <schwab@linux-m68k.org>
6282
6283 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
6284 scaling.
6285 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6286
e85b09d0
AJ
62872012-03-15 Andreas Jaeger <aj@suse.de>
6288
6289 [BZ #13852]
6290 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
6291 ieee754/flt-32 implementation for sin, cos and sincos.
6292 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
6293 * sysdeps/i386/fpu/s_cosf.S: Likewise.
6294 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
6295 * sysdeps/i386/fpu/s_sinf.S: Likewise.
6296 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
6297 ieee754/flt-32 implementation for tan.
6298
6299 * math/libm-test.inc (cos_test): Enable some large input tests for
6300 float as well
6301 (sin_test): Likewise.
6302 (sincos_test): Likewise.
6303 (tan_test): Add tests for large input.
6304
6305 * sysdeps/i386/fpu/libm-test-ulps: Update.
6306
81c64153
AJ
63072012-03-15 Andreas Jaeger <aj@suse.de>
6308
6309 [BZ #13658]
6310 * math/libm-test.inc (cos_test): Add more test cases.
6311 (sin_test): Likewise.
6312 (sincos_test): Likewise.
6313
7bbfa5c6
AJ
63142012-03-15 Andreas Jaeger <aj@suse.de>
6315
6316 [BZ #13837]
6317 * math/libm-test.inc (cos_test): Add a test case for large input
6318 value.
6319 (sin_test): Likewise.
6320 (sincos_test): Likewise.
6321
63222012-03-15 Andreas Jaeger <aj@suse.de>,
6323 Joseph Myers <joseph@codesourcery.com>
6324
6325 [BZ #13658]
0671f479 6326 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
6327 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
6328 * sysdeps/i386/fpu/branred.c: Likewise.
6329 * sysdeps/i386/fpu/dosincos.c: Likewise.
6330 * sysdeps/i386/fpu/mpa.c: Likewise.
6331 * sysdeps/i386/fpu/s_cos.S: Likewise.
6332 * sysdeps/i386/fpu/s_sin.S: Likewise.
6333 * sysdeps/i386/fpu/s_sincos.S: Likewise.
6334 * sysdeps/i386/fpu/sincos32.c: Likewise.
6335
6336 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
6337 Define.
6338 (libc_feupdateenv_53bit): Define.
6339 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
6340 Define.
6341 (libc_feupdateenv_53bit): Define.
6342
6343 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
6344 53 bit (without extend i386 double precision).
6345
6346 * math/libm-test.inc (sincos_test): Add tests for large input.
6347 (sin): Likewise.
6348 (cos): Likewise.
6349
6350 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
6351
9cad04ea
AS
63522012-03-15 Andreas Schwab <schwab@linux-m68k.org>
6353
6354 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6355
f7062b9a
DM
63562012-03-15 David S. Miller <davem@davemloft.net>
6357
6358 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
6359 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
6360 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
6361 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
6362 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
6363 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
6364 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
6365 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
6366 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
6367 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
6368 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
6369 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
6370 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
6371 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
6372 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
6373 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
6374 file.
f7062b9a 6375 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
6376 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
6377 file.
f7062b9a 6378 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
6379 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
6380 file.
f7062b9a 6381 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
6382 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
6383 file.
f7062b9a
DM
6384 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
6385 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
6386 fmin/fmax sysdep routines.
6387 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
6388
7bd951ff
DM
63892012-03-14 David S. Miller <davem@davemloft.net>
6390
559398ab
DM
6391 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
6392 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
6393 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
6394 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
6395 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
6396 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
6397 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
6398 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
6399 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
6400 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
6401 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
6402 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
6403 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
6404 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
6405 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
6406 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
6407 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
6408 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
6409 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
6410 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
6411 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
6412 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
6413 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
6414 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
6415 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
6416 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
6417 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
6418 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
6419 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
6420 routines.
6421 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
6422 file.
559398ab 6423 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
6424 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
6425 file.
559398ab 6426 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
6427 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
6428 file.
559398ab 6429 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
6430 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
6431 file.
559398ab 6432 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
6433 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
6434 file.
559398ab 6435 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
6436 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
6437 file.
6438 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
6439 file.
6440 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
6441 file.
6442 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
6443 file.
6444 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
6445 New file.
6446 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
6447 file.
6448 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
6449 file.
559398ab 6450 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
6451 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
6452 file.
559398ab 6453 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
6454 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
6455 file.
559398ab 6456 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
6457 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
6458 file.
559398ab 6459 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
6460 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
6461 VIS3 routines.
559398ab
DM
6462
6463 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
6464 New file.
6465
5a1c1e32
DM
6466 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6467
eae47a36
DM
6468 * sysdeps/sparc/configure.in: New file.
6469 * sysdeps/sparc/configure: Generate.
6470 * configure.in (libc_cv_sparc_as_vis3): Substitute.
6471 * configure: Regenerate.
6472 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
6473 * config.make.in (have-as-vis3): New.
6474 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
6475 available use -Av9d instead of -Av9a.
6476 * sysdeps/sparc/sparc64/Makefile: Likewise.
6477 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
6478 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
6479 New file.
6480 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
6481 file.
6482 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
6483 New file.
6484 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
6485 file.
eae47a36
DM
6486 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
6487 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
6488 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
6489 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
6490 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
6491
c0c83bc8
DM
6492 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
6493 fzeros/fnegs to load 0x80000000 into a float register instead of
6494 using the stack.
7bd951ff
DM
6495 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
6496
bd951ccb
JM
64972012-03-14 Joseph Myers <joseph@codesourcery.com>
6498
6499 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
6500 bits/syscall.h.
6501 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
6502 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
6503 ($(inst_includedir)/bits/syscall.h): Remove rule.
6504 ($(objpfx)bits/syscall.d): Include instead of
6505 $(objpfx)syscall-list.d.
6506 (generated): Change syscall-list.h and syscall-list.d to
6507 bits/syscall.h and bits/syscall.d.
6508
bb4e6db2
RM
65092012-03-14 Roland McGrath <roland@hack.frob.com>
6510
6511 [BZ #13846]
6512 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
6513
aa4a2ae1
JM
65142012-03-14 Joseph Myers <joseph@codesourcery.com>
6515
e456826d
JM
6516 [BZ #13841]
6517 * math/s_csqrt.c: Include <float.h>.
6518 (__csqrt): Scale large or subnormal inputs.
6519 * math/s_csqrtf.c: Likewise.
6520 * math/s_csqrtl.c: Likewise.
6521 * math/libm-test.inc (csqrt_test): Add more tests.
6522 * sysdeps/i386/fpu/libm-test-ulps: Update.
6523 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6524
aa4a2ae1
JM
6525 [BZ #13840]
6526 * math/libm-test.inc (hypot_test): Add more tests.
6527
7c10fd35
DM
65282012-03-13 David S. Miller <davem@davemloft.net>
6529
6530 [BZ #13840]
6531 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
6532 double-precision for the calculation instead of scaling.
6533
f453b98b
JM
65342012-03-13 Joseph Myers <joseph@codesourcery.com>
6535
6536 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
6537 manipulate bits before adding and subtracting TWO52[sx].
6538 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
6539 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
6540 Likewise.
6541 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
6542
09a3453f
DM
65432012-03-13 David S. Miller <davem@davemloft.net>
6544
8e59da90
DM
6545 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
6546 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
6547 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
6548 rtld-global-offsets.h
6549 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
6550
2a8ab7f2
DM
6551 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
6552 large parameters.
6553
10f62770
DM
6554 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
6555
5f0bdb18
DM
6556 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
6557 'err' in the ifdef scope in which it is actually used.
6558
09a3453f
DM
6559 * nss/nss_db/db-init.c: Include string.h
6560
b4b2eb5e
DM
65612012-03-12 David S. Miller <davem@davemloft.net>
6562
98bb2f1c
DM
6563 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
6564 masking out of the most significant byte of random value used.
6565 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
6566 Fix coding style in previous change.
6567
b4b2eb5e
DM
6568 * sysdeps/unix/sysv/linux/kernel-features.h
6569 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
6570 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
6571 expression.
6572 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
6573 later.
6574
6e226b09
DM
65752012-03-11 David S. Miller <davem@davemloft.net>
6576
a1bcbd40
DM
6577 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
6578 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
6579 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
6580 for 'resultvar' otherwise things get truncated on 64-bit.
6581
cb9d6174
DM
6582 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
6583 Fix masking out of the most significant byte of random value used.
6584
6e226b09
DM
6585 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6586
058c132d
AS
65872012-03-10 Andreas Schwab <schwab@linux-m68k.org>
6588
6589 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6590
2d2cd515
DM
65912012-03-09 David S. Miller <davem@davemloft.net>
6592
6593 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
6594 variables with appropriate CPP guards.
6595 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
6596 frame pointer, not the stack pointer. Correct layout comments. Fix test
6597 on resulting framesize and the management of the outregs buffer for pltexit.
6598 Preserve floating point return values across _dl_call_pltexit call.
6599 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
6600 framesize and the management of the outregs buffer for pltexit.
6601 Preserve floating point return values across _dl_call_pltexit
6602 call.
6603 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
6604 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
6605 (print_exit): Fix format string for return register value.
6606
9a07f9d0
JM
66072012-03-10 Joseph Myers <joseph@codesourcery.com>
6608
6609 * sunrpc/Makefile (others): Add rpcgen.
6610 ($(objpfx)rpcgen): Remove special build rule and dependency on
6611 libc.
6612 * sunrpc/rpcgen.c: New file.
6613
547b5e30
PE
66142012-03-09 Paul Eggert <eggert@cs.ucla.edu>
6615
c524201a
PE
6616 [BZ #13673]
6617 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
6618 * stdio-common/bug-vfprintf-nargs.c: Likewise.
6619 * sysdeps/i386/crti.S: Likewise.
6620 * sysdeps/i386/crtn.S: Likewise.
6621 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
6622 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
6623 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
6624 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
6625 * sysdeps/sh/crti.S: Likewise.
6626 * sysdeps/sh/crtn.S: Likewise.
6627 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
6628
7b6235f2
PE
6629 [BZ #13673]
6630 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
6631 with URL.
6632 * locale/programs/locfile-kw.gperf: Likewise.
6633 * locale/programs/charmap-kw.h: Regenerated.
6634 * locale/programs/locfile-kw.h: Likewise.
6635
547b5e30
PE
6636 [BZ #13673]
6637 * intl/plural.y: Replace FSF snail mail address with URL.
6638 * intl/plural.c: Regenerated.
6639
5f0a5dae
RH
66402012-03-09 Richard Henderson <rth@twiddle.net>
6641
6642 * include/math_private.h: Remove file.
6643 * math/math_private.h: Move file ...
6644 * sysdeps/generic/math_private.h: ... here.
6645
b8c03620
RH
6646 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
6647 * sysdeps/powerpc/fpu/math_private.h: Likewise.
6648 * sysdeps/x86_64/fpu/math_private.h: Likewise.
6649
4e234f5d 6650 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
6651 and <math_private.h>.
6652 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
6653 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
6654 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
6655 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
6656 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
6657 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
6658 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
6659 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
6660 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
6661 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
6662 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
6663 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
6664 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
6665 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
6666 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
6667 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
6668 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
6669 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
6670 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
6671 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
6672 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
6673 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
6674 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
6675 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
6676 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
6677 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
6678 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
6679 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
6680 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
6681 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
6682 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
6683 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
6684 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
6685 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
6686 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
6687 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
6688 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
6689 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
6690 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
6691 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
6692 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
6693 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
6694 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
6695 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
6696 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
6697 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
6698 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
6699 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
6700 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
6701 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
6702 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
6703 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
6704 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
6705 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
6706 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
6707 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
6708 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
6709 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
6710 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
6711 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
6712 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
6713 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
6714 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
6715 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
6716 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
6717 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
6718 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
6719 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
6720 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
6721 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
6722 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
6723 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
6724 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
6725 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
6726 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
6727 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
6728 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
6729 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
6730 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
6731 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
6732 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
6733 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
6734 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
6735 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
6736 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
6737 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
6738 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
6739 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
6740 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
6741 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
6742 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
6743 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
6744 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
6745 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
6746 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
6747 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
6748 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
6749 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
6750 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
6751 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
6752 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
6753 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
6754 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
6755 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
6756 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
6757 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
6758 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
6759 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
6760 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
6761 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
6762 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
6763 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
6764 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
6765 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
6766 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
6767 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
6768 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
6769 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
6770 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
6771 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
6772 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
6773 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
6774 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
6775 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
6776 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
6777 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
6778 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
6779 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
6780 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
6781 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
6782 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
6783 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
6784 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
6785 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
6786 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
6787 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
6788 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
6789 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
6790 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
6791 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
6792 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
6793 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
6794 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
6795 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
6796 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
6797 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
6798 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
6799 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
6800 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
6801 * sysdeps/ieee754/k_standard.c: Likewise.
6802 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
6803 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
6804 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
6805 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
6806 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
6807 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
6808 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
6809 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
6810 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
6811 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
6812 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
6813 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
6814 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
6815 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
6816 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
6817 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
6818 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
6819 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
6820 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
6821 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
6822 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
6823 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
6824 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
6825 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
6826 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
6827 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
6828 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
6829 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
6830 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
6831 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
6832 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
6833 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
6834 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
6835 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
6836 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
6837 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
6838 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
6839 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
6840 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
6841 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
6842 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
6843 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
6844 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
6845 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
6846 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
6847 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
6848 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
6849 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
6850 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
6851 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
6852 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
6853 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
6854 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
6855 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
6856 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
6857 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
6858 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
6859 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
6860 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
6861 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
6862 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
6863 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
6864 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
6865 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
6866 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
6867 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
6868 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
6869 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
6870 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
6871 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
6872 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
6873 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
6874 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
6875 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
6876 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
6877 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
6878 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
6879 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
6880 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
6881 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
6882 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
6883 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
6884 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
6885 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
6886 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
6887 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
6888 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
6889 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
6890 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
6891 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
6892 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
6893 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
6894 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
6895 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
6896 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
6897 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
6898 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
6899 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
6900 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
6901 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
6902 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
6903 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
6904 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
6905 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
6906 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
6907 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
6908 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
6909 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
6910 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
6911 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
6912 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
6913 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
6914 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
6915 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
6916 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
6917 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
6918 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
6919 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
6920 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
6921 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
6922 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
6923 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
6924 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
6925 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
6926 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
6927 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
6928 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
6929 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
6930 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
6931 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
6932 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
6933 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
6934 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
6935 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
6936 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
6937 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
6938 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
6939 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
6940 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
6941 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
6942 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
6943 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
6944 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
6945 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
6946 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
6947 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
6948 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
6949 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
6950 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
6951 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
6952 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
6953 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
6954 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
6955 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
6956 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
6957 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
6958 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
6959 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
6960 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
6961 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
6962 * sysdeps/ieee754/s_lib_version.c: Likewise.
6963 * sysdeps/ieee754/s_matherr.c: Likewise.
6964 * sysdeps/ieee754/s_signgam.c: Likewise.
6965 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
6966 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
6967 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
6968 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
6969 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
6970 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
6971 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
6972 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
6973 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
6974 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
6975 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
6976 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
6977 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
6978 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
6979 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
6980 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
6981 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
6982 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
6983 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
6984 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
6985 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 6986
1991fa03
JM
69872012-03-09 Joseph Myers <joseph@codesourcery.com>
6988
6989 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
6990 * sunrpc/rpc_main.c: Likewise.
6991 * sunrpc/rpc_svcout.c: Likewise.
6992
60d6f5a6
DM
69932012-03-09 David S. Miller <davem@davemloft.net>
6994
6995 * include/math_private.h: New file.
6996
4962050e
JM
69972012-03-09 Joseph Myers <joseph@codesourcery.com>
6998
02a6f887
JM
6999 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
7000 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
7001 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
7002 from <bits/socket_type.h>.
7003 (enum __socket_type): Don't define here.
7004 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
7005 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
7006 bits/socket_type.h.
7007
c6e013c1
JM
7008 [BZ #13566]
7009 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
7010 checking __USE_GNU.
7011
4962050e
JM
7012 * Makerules ($(inst_includedir)/%.h): New rule.
7013 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
7014 (install-others): Remove variable setting.
7015 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
7016
38842f45
RH
70172012-03-08 Richard Henderson <rth@twiddle.net>
7018
67bb6da6
RH
7019 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
7020 from macro to inline function; merge with the
7021 !__LIBC_INTERNAL_MATH_INLINES version.
7022 (__ieee754_sqrtf): Likewise.
7023
15194b4b
RH
7024 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
7025 to inline function.
7026 (__rintf, __floor, __floorf): Likewise.
7027
64e21ede
RH
7028 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
7029 macro to inline function.
7030 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
7031
38842f45
RH
7032 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
7033 not <math/math_private.h>.
7034
c64bf5fe
DM
70352012-03-08 David S. Miller <davem@davemloft.net>
7036
7037 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
7038 copyright year.
7039 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
7040
82d86f28
TS
70412012-03-08 Thomas Schwinge <thomas@codesourcery.com>
7042
7043 * resolv/gai_misc.c (handle_requests): Fix struct timespec
7044 normalization.
7045 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
7046 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
7047
aea5d727
UD
70482012-03-08 Ulrich Drepper <drepper@gmail.com>
7049
7050 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
7051 be defined individually, they must be defined as a block. Define
7052 S for printing a string instead of hidint the different by using a
7053 macro for adding the 'l'.
7054 * stdio-common/tst-fphex-wide.c: Adjust.
7055
70bca0a3
MP
70562012-03-07 Marek Polacek <polacek@redhat.com>
7057
7058 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
7059
65b81130
MP
70602012-03-08 Marek Polacek <polacek@redhat.com>
7061
7062 [BZ #13806]
7063 * stdio-common/Makefile (tests): Add tst-fphex-wide.
7064 * stdio-common/tst-fphex.c: Define a few macros to make the
7065 test reusable. Use them.
7066 * stdio-common/tst-fphex-wide.c: New file.
7067
07037eeb
JM
70682012-03-08 Joseph Myers <joseph@codesourcery.com>
7069
a7a93d50
JM
7070 [BZ #6911]
7071 * manual/macros.texi (gnusystems): New macro.
7072 (nongnusystems): Likewise.
7073 (gnulinuxhurdsystems): Likewise.
7074 (gnuhurdsystems): Likewise..
7075 (gnulinuxsystems): Likewise.
7076 * manual/charset.texi: Use new macros or @theglibc{} to refer to
7077 variants of the GNU system, not "GNU system".
7078 * manual/conf.texi: Likewise.
7079 * manual/errno.texi: Likewise. Update example of errno macro
7080 expansion.
7081 * manual/filesys.texi: Likewise.
7082 (getumask): Document as specific to GNU/Hurd.
7083 * manual/install.texi: Likewise. Reword some references to
7084 GNU/Linux.
7085 * manual/intro.texi: Likewise.
7086 * manual/io.texi: Likewise.
7087 (File Name Portability): Detail which constraints are inapplicable
7088 to all GNU systems and which are only inapplicable to GNU/Hurd.
7089 * manual/job.texi: Likewise.
7090 * manual/llio.texi: Likewise.
7091 (O_NOCTTY): Document as present on GNU/Linux.
7092 * manual/maint.texi: Likewise.
7093 * manual/memory.texi: Likewise.
7094 * manual/pattern.texi: Likewise.
7095 * manual/pipe.texi: Likewise.
7096 * manual/process.texi: Likewise.
7097 * manual/resource.texi: Likewise.
7098 (RUSAGE_CHILDREN): Remove statement about specifying a particular
7099 child on GNU/Hurd.
7100 * manual/setjmp.texi: Likewise.
7101 * manual/signal.texi: Likewise.
7102 * manual/startup.texi: Likewise.
7103 * manual/stdio.texi: Likewise.
7104 * manual/terminal.texi: Likewise.
7105 (ONLCR): Document as POSIX.
7106 (OXTABS): Document availability on GNU/Linux as XTABS.
7107 (ONOEOT): Document availability separately from other bits.
7108 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
7109 * manual/time.texi: Likewise.
7110 * manual/users.texi: Likewise.
7111 * INSTALL: Regenerated.
7112 * sysdeps/gnu/errlist.c: Regenerated.
7113
07037eeb
JM
7114 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
7115 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
7116 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
7117 puts.
7118 * configure: Regenerated.
7119
d1d3431a
JM
71202012-03-07 Joseph Myers <joseph@codesourcery.com>
7121
af6a1e37
JM
7122 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
7123 default includes instead of AC_HEADER_CHECK.
7124 * sysdeps/i386/configure: Regenerated.
7125
d1d3431a
JM
7126 [BZ #10716]
7127 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
7128 * math/s_cacoshf.c (__cacoshf): Likewise.
7129 * math/s_cacoshl.c (__cacoshl): Likewise.
7130 * math/s_casinh.c (__casinh): Set signs of result from argument.
7131 * math/s_casinhf.c (__casinhf): Likewise.
7132 * math/s_casinhl.c (__casinhl): Likewise.
7133 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
7134 (casinh_test): Add more tests.
7135 * sysdeps/i386/fpu/libm-test-ulps: Update.
7136 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7137
482ff4da
UD
71382012-03-07 Ulrich Drepper <drepper@gmail.com>
7139
872fda05
UD
7140 * po/zh_TW.po: Update from translation team.
7141
a4300c7a
UD
7142 * login/Makefile (distribute): Remove variable.
7143 * catgets/Makefile: Likewise.
7144 * mach/Makefile: Likewise.
7145 * malloc/Makefile: Likewise.
7146 * misc/Makefile: Likewise.
7147 * iconv/Makefile: Likewise.
7148 * nscd/Makefile: Likewise.
7149 * hurd/Makefile: Likewise.
7150 * manual/Makefile: Likewise.
7151 * locale/Makefile: Likewise.
7152 * intl/Makefile: Likewise.
7153 * conform/Makefile: Likewise.
7154 * nss/Makefile: Likewise.
7155 * time/Makefile: Likewise.
7156 * soft-fp/Makefile: Likewise.
7157 * dirent/Makefile: Likewise.
7158 * gmon/Makefile: Likewise.
7159 * po/Makefile: Likewise.
7160 * rt/Makefile: Likewise.
7161 * socket/Makefile: Likewise.
7162 * math/Makefile: Likewise.
7163 * signal/Makefile: Likewise.
7164 * debug/Makefile: Likewise.
7165 * elf/Makefile: Likewise.
7166 * timezone/Makefile: Likewise.
7167 * stdlib/Makefile: Likewise.
7168 * iconvdata/Makefile: Likewise.
7169 * sunrpc/Makefile: Likewise.
7170 * io/Makefile: Likewise.
7171 * argp/Makefile: Likewise.
7172 * inet/Makefile: Likewise.
7173 * hesiod/Makefile: Likewise.
7174 * grp/Makefile: Likewise.
7175 * csu/Makefile: Likewise.
7176 * wctype/Makefile: Likewise.
7177 * crypt/Makefile: Likewise.
7178 * libio/Makefile: Likewise.
7179 * string/Makefile: Likewise.
7180 * nis/Makefile: Likewise.
7181 * resolv/Makefile: Likewise.
7182 * stdio-common/Makefile: Likewise.
7183 * wcsmbs/Makefile: Likewise.
7184 * dlfcn/Makefile: Likewise.
7185 * posix/Makefile: Likewise.
7186
3b7c4e74 7187 [BZ #6959]
482ff4da
UD
7188 * timezone/Makefile: Don't install timezone files, just the programs
7189 and scripts.
7190
f72ed77d
UD
71912012-03-06 Ulrich Drepper <drepper@gmail.com>
7192
a000466f
UD
7193 * nss/databases.def: Add missing gshadow entry.
7194
f72ed77d
UD
7195 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
7196
a53b7a4e
MP
71972012-03-06 Marek Polacek <polacek@redhat.com>
7198
7199 [BZ #13726]
7200 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
7201 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
7202 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
7203 * stdio-common/tst-long-dbl-fphex.c: New file.
7204
e9258400
DM
72052012-03-06 David S. Miller <davem@davemloft.net>
7206
7207 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
7208 (set_obp_int): New function.
7209 (get_obp_int): New function.
7210 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
7211 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
7212 Avoid unused variable warnings on 'val' and use builtin_expect.
7213 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
7214 __builtin_expect.
e9258400
DM
7215 (INLINE_CLONE_SYSCALL): Likewise.
7216
3bd2c723
DM
72172012-03-05 David S. Miller <davem@davemloft.net>
7218
7219 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7220
bbb78d03
AS
72212012-03-05 Andreas Schwab <schwab@linux-m68k.org>
7222
884c5db4
AS
7223 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7224
bbb78d03
AS
7225 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
7226 only for |x| >= 40.
7227 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
7228
1c9f702a 72292012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
7230
7231 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
7232 Replace gettimeofday with __vdso_gettimeofday.
7233
7be16f82
RM
7234 * sysdeps/unix/sysv/linux/x86_64/init-first.c
7235 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
7236 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
7237
7238 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
7239 time with __vdso_time.
7240
ed58a00f
JM
72412012-03-05 Joseph Myers <joseph@codesourcery.com>
7242
7243 * manual/lang.texi (size_t): Note types to which size_t may be
7244 equivalent with the GNU C Library, but do not describe when
7245 differences between them are significant.
7246
30ee4ced
AJ
72472012-03-05 Andreas Jaeger <aj@suse.de>
7248
7249 * sysdeps/i386/fpu/libm-test-ulps: Update.
7250
b7cd39e8
JM
72512012-03-05 Joseph Myers <joseph@codesourcery.com>
7252
7253 [BZ #3976]
7254 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
7255 (__ieee754_pow): Save and restore rounding mode and use
7256 round-to-nearest for main computations.
7257 * math/libm-test.inc (pow_test_tonearest): New function.
7258 (pow_test_towardzero): Likewise.
7259 (pow_test_downward): Likewise.
7260 (pow_test_upward): Likewise.
7261 (main): Call the new functions.
7262 * sysdeps/i386/fpu/libm-test-ulps: Update.
7263 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
7264
7265 [BZ #3976]
7266 * math/libm-test.inc (cosh_test_tonearest): New function.
7267 (cosh_test_towardzero): Likewise.
7268 (cosh_test_downward): Likewise.
7269 (cosh_test_upward): Likewise.
7270 (sinh_test_tonearest): Likewise.
7271 (sinh_test_towardzero): Likewise.
7272 (sinh_test_downward): Likewise.
7273 (sinh_test_upward): Likewise.
7274 (main): Call the new functions.
7275 * sysdeps/i386/fpu/libm-test-ulps: Update.
7276 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7277
6c6a98c9
TV
72782012-03-05 Tom de Vries <tom@codesourcery.com>
7279
7280 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
7281 default stack guard is set in last bytes.
7282 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
7283
21bb2d2e 72842012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 7285
21bb2d2e 7286 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 7287
21bb2d2e
AJ
7288 [BZ #13656]
7289 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
7290 possibly allocate from heap instead of stack.
7291 * stdio-common/bug-vfprintf-nargs.c: New file.
7292 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 7293
c6922934
AS
72942012-03-03 Andreas Schwab <schwab@linux-m68k.org>
7295
7296 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7297
bc957d53
MP
72982012-03-03 Marek Polacek <polacek@redhat.com>
7299
7300 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
7301 * math/math_private.h: Likewise.
7302 * stdlib/tst-strtod.c: Likewise.
7303 * sysdeps/i386/i486/bits/atomic.h: Likewise.
7304 * sysdeps/x86_64/bits/atomic.h: Likewise.
7305
6358490d
DM
73062012-03-02 David S. Miller <davem@davemloft.net>
7307
7308 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
7309 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
7310 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
7311 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
7312 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
7313 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
7314 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
7315 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
7316
01ae168d
RM
73172012-03-02 Roland McGrath <roland@hack.frob.com>
7318
d9a17c07
RM
7319 [BZ #13792]
7320 * manual/examples/README: New file, says the example source files
7321 can be used under GPL>=2.
7322 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
7323 line containing just "*/".
7324 * manual/examples/add.c: Add copyright header (GPL>=2).
7325 * manual/examples/argp-ex1.c: Likewise.
7326 * manual/examples/argp-ex2.c: Likewise.
7327 * manual/examples/argp-ex3.c: Likewise.
7328 * manual/examples/argp-ex4.c: Likewise.
7329 * manual/examples/atexit.c: Likewise.
7330 * manual/examples/db.c: Likewise.
7331 * manual/examples/dir.c: Likewise.
7332 * manual/examples/dir2.c: Likewise.
7333 * manual/examples/execinfo.c: Likewise.
7334 * manual/examples/filecli.c: Likewise.
7335 * manual/examples/filesrv.c: Likewise.
7336 * manual/examples/fmtmsgexpl.c: Likewise.
7337 * manual/examples/genpass.c: Likewise.
7338 * manual/examples/inetcli.c: Likewise.
7339 * manual/examples/inetsrv.c: Likewise.
7340 * manual/examples/isockad.c: Likewise.
7341 * manual/examples/longopt.c: Likewise.
7342 * manual/examples/memopen.c: Likewise.
7343 * manual/examples/memstrm.c: Likewise.
7344 * manual/examples/mkfsock.c: Likewise.
7345 * manual/examples/mkisock.c: Likewise.
7346 * manual/examples/mygetpass.c: Likewise.
7347 * manual/examples/pipe.c: Likewise.
7348 * manual/examples/popen.c: Likewise.
7349 * manual/examples/rprintf.c: Likewise.
7350 * manual/examples/search.c: Likewise.
7351 * manual/examples/select.c: Likewise.
7352 * manual/examples/setjmp.c: Likewise.
7353 * manual/examples/sigh1.c: Likewise.
7354 * manual/examples/sigusr.c: Likewise.
7355 * manual/examples/stpcpy.c: Likewise.
7356 * manual/examples/strdupa.c: Likewise.
7357 * manual/examples/strftim.c: Likewise.
7358 * manual/examples/strncat.c: Likewise.
7359 * manual/examples/subopt.c: Likewise.
7360 * manual/examples/swapcontext.c: Likewise.
7361 * manual/examples/termios.c: Likewise.
7362 * manual/examples/testopt.c: Likewise.
7363 * manual/examples/testpass.c: Likewise.
7364 * manual/examples/timeval_subtract.c: Likewise.
7365
01ae168d
RM
7366 [BZ #13792]
7367 * manual/time.texi (Elapsed Time): Move timeval_subtract example
7368 function to ...
7369 * manual/timeval_subtract.c.texi: ... here, new file.
7370
49efa33d
DM
73712012-03-02 David S. Miller <davem@davemloft.net>
7372
7373 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
7374
28afd92d
JM
73752012-03-02 Joseph Myers <joseph@codesourcery.com>
7376
804360ed
JM
7377 [BZ #3976]
7378 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
7379 (__sin): Save and restore rounding mode and use round-to-nearest
7380 for all computations.
7381 (__cos): Save and restore rounding mode and use round-to-nearest
7382 for all computations.
7383 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
7384 <fenv.h>.
7385 (tan): Save and restore rounding mode and use round-to-nearest for
7386 all computations.
7387 * math/libm-test.inc (cos_test_tonearest): New function.
7388 (cos_test_towardzero): Likewise.
7389 (cos_test_downward): Likewise.
7390 (cos_test_upward): Likewise.
7391 (sin_test_tonearest): Likewise.
7392 (sin_test_towardzero): Likewise.
7393 (sin_test_downward): Likewise.
7394 (sin_test_upward): Likewise.
7395 (tan_test_tonearest): Likewise.
7396 (tan_test_towardzero): Likewise.
7397 (tan_test_downward): Likewise.
7398 (tan_test_upward): Likewise.
7399 (main): Call the new functions.
7400 * sysdeps/i386/fpu/libm-test-ulps: Update.
7401 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7402
a6d06d7b
JM
7403 [BZ #10135]
7404 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
7405 small n, then large n, before computing and testing k+n.
7406 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
7407 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
7408 Likewise.
7409 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
7410 Likewise.
7411 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
7412 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
7413 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
7414 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
7415 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
7416 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
7417 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
7418 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
7419 * math/libm-test.inc (scalbn_test): Add more tests.
7420 (scalbln_test): Likewise.
7421
07e12bb3
JM
7422 * manual/filesys.texi (mode_t): Describe constraints on size and
7423 signedness, not exact equivalence to a particular type.
7424 (ino_t): Likewise.
7425 (ino64_t): Likewise.
7426 (dev_t): Likewise.
7427 (nlink_t): Likewise.
7428 (blkcnt_t): Likewise.
7429 (blkcnt64_t): Likewise.
7430 * manual/llio.texi (off_t): Likewise.
7431
28afd92d
JM
7432 [BZ #3976]
7433 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
7434 (__ieee754_exp): Save and restore rounding mode and use
7435 round-to-nearest for all computations.
7436 * math/libm-test.inc (exp_test_tonearest): New function.
7437 (exp_test_towardzero): Likewise.
7438 (exp_test_downward): Likewise.
7439 (exp_test_upward): Likewise.
7440 (main): Call the new functions.
7441 * sysdeps/i386/fpu/libm-test-ulps: Update.
7442 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7443
b1eeb65d
CD
74442012-03-01 Chris Demetriou <cgd@google.com>
7445
7446 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
7447 have predictable order.
7448
53362a4b
DM
74492012-03-01 David S. Miller <davem@davemloft.net>
7450
3c969083
DM
7451 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
7452
759707de
DM
7453 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
7454 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
7455 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
7456 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
7457
dfdb8ff2
DM
7458 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
7459 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
7460 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
7461 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
7462 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
7463 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
7464 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
7465 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
7466 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
7467
ead89f96
DM
7468 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7469
7f66bd07
DM
7470 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
7471 * sysdeps/sparc/fpu/libm-test-ulps: to here.
7472 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
7473
53362a4b
DM
7474 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
7475 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
7476 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
7477 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
7478 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
7479 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
7480 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
7481 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
7482 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
7483 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
7484 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
7485 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
7486 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
7487 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
7488 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
7489 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
7490 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
7491 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
7492 * sysdeps/sparc/elf/configure: Regenerated.
7493
7b1902cb
JM
74942012-03-01 Joseph Myers <joseph@codesourcery.com>
7495
bec039bc
JM
7496 * configure.in (AS, LD): Require binutils 2.20 or later.
7497 * configure: Regenerated.
7498 * manual/install.texi (Tools for Compilation): Give binutils 2.20
7499 as required minimum version.
7500 * INSTALL: Regenerated.
7501
7b1902cb
JM
7502 [BZ #2541]
7503 [BZ #4108]
7504 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
7505 before squaring exponent.
7506 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
7507 bottom long double and 27 bits of top long double before squaring
7508 exponent.
7509 * math/libm-test.inc (erfc_test): Add more tests.
7510 * sysdeps/i386/fpu/libm-test-ulps: Update.
7511 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
7512 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7513
f775c276
KT
75142012-03-01 Kai Tietz <ktietz@redhat.com>
7515
7516 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
7517 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
7518 containing bit-fields.
7519 * soft-fp/extended.h (_FP_UNION_E): Likewise.
7520 * soft-fp/single.h (_FP_UNION_S): Likewise.
7521 * soft-fp/double.h (_FP_UNION_D): Likewise.
7522
5b8a4d4a
JM
75232012-02-29 Joseph Myers <joseph@codesourcery.com>
7524
0bab47b6
JM
7525 [BZ #13786]
7526 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
7527 not include ../strcmp.S.
7528 [USE_AS_STRNCASECMP_L]: Likewise.
7529 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
7530 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
7531 * sysdeps/i386/i686/multiarch/strncase_l-c.c
7532 (__strncasecmp_l_ia32): Define as alias to
7533 __strncasecmp_l_nonascii.
7534
0fcad3e2
JM
7535 [BZ #5794]
7536 * math/libm-test.inc (expm1_test): Add test for bug 5794.
7537 * sysdeps/i386/fpu/libm-test-ulps: Update.
7538 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7539
5b8a4d4a
JM
7540 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
7541 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7542
8fdceb2e
JL
75432012-02-29 Jeff Law <law@redhat.com>
7544
7545 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
7546 out of bounds read.
7547
1f393a11
MP
75482012-02-29 Marek Polacek <polacek@redhat.com>
7549
7550 [BZ #13706]
7551 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
7552 * elf/Makefile: Add rules to run tst-unused-dep.out.
7553
8847f037
DM
75542012-02-28 David S. Miller <davem@davemloft.net>
7555
7556 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
7557 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
7558 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
7559 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
7560 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
7561 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
7562
169d7f11
JM
75632012-02-29 Joseph Myers <joseph@codesourcery.com>
7564
7565 * math/libm-test.inc (llround_test): Move one test from
7566 lround_test. Use TEST_f_L in moved test.
7567 (lround_test): Move misplaced test to llround_test. Add testcase
7568 from bug 2561.
7569
39adf059
UD
75702012-02-28 Ulrich Drepper <drepper@gmail.com>
7571
7572 * sysdeps/x86_64/fpu/e_expf.S: New file.
7573 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
7574
71b5d1c5
SB
75752012-02-28 Stanislav Brabec <sbrabec@suse.cz>
7576
7577 [BZ #13637]
7578 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
7579 of remain_len that may cause incomplete multi-byte character and
7580 false match.
7581 * posix/bug-regex33.c: New file.
7582 * posix/Makefile (tests): Add bug-regex33.
7583
1f77f049
JM
75842012-02-28 Joseph Myers <joseph@codesourcery.com>
7585
7586 * manual/macros.texi: New file.
7587 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
7588 * manual/libc.texinfo: Include macros.texi.
7589 * manual/creatute.texi: Likewise.
7590 * manual/install.texi: Likewise.
7591 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
7592 @glibcadj{} in references to the GNU C Library.
7593 * manual/charset.texi: Likewise.
7594 * manual/conf.texi: Likewise.
7595 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
7596 when not using those macros.
7597 * manual/creature.texi: Likewise.
7598 * manual/crypt.texi: Likewise.
7599 * manual/errno.texi: Likewise.
7600 * manual/filesys.texi: Likewise.
7601 * manual/header.texi: Likewise.
7602 * manual/install.texi: Likewise.
7603 * manual/intro.texi: Likewise.
7604 * manual/io.texi: Likewise.
7605 * manual/job.texi: Likewise.
7606 * manual/lang.texi: Likewise.
7607 * manual/libc.texiinfo: Likewise.
7608 * manual/llio.texi: Likewise.
7609 * manual/locale.texi: Likewise.
7610 * manual/maint.texi: Likewise.
7611 * manual/math.texi: Likewise.
7612 * manual/memory.texi: Likewise.
7613 * manual/message.texi: Likewise.
7614 * manual/nss.texi: Likewise.
7615 * manual/pattern.texi: Likewise.
7616 * manual/process.texi: Likewise.
7617 * manual/resource.texi: Likewise.
7618 * manual/search.texi: Likewise.
7619 * manual/setjmp.texi: Likewise.
7620 * manual/signal.texi: Likewise.
7621 * manual/socket.texi: Likewise.
7622 * manual/startup.texi: Likewise.
7623 * manual/stdio.texi: Likewise.
7624 * manual/string.texi: Likewise.
7625 * manual/sysinfo.texi: Likewise.
7626 * manual/syslog.texi: Likewise.
7627 * manual/terminal.texi: Likewise.
7628 * manual/time.texi: Likewise.
7629 * manual/users.texi: Likewise.
7630 * INSTALL: Regenerated.
7631 * NOTES: Regenerated.
d40c5d54 7632 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 7633
450bf206
AS
76342012-02-28 Andreas Schwab <schwab@linux-m68k.org>
7635
7636 * include/dirent.h: Include <dirstream.h> before
7637 <dirent/dirent.h>.
7638
741a235b
DM
76392012-02-28 David S. Miller <davem@davemloft.net>
7640
7641 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
7642 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
7643 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
7644 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
7645
d6b5aa58
DM
76462012-02-27 David S. Miller <davem@davemloft.net>
7647
1aff59a3
DM
7648 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
7649 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
7650 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
7651 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
7652
d6b5aa58
DM
7653 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
7654 frame pointer instead of stack pointer relative arg slot.
7655 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
7656 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
7657 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
7658
433f48bf
CD
76592012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
7660
7661 [BZ #3992]
7662 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
7663
d674b76d
DM
76642012-02-27 David S. Miller <davem@davemloft.net>
7665
7666 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
7667 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
7668 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
7669 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
7670 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
7671 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
7672 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
7673 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
7674
0e7727f7
JM
76752012-02-27 Joseph Myers <joseph@codesourcery.com>
7676
7677 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
7678 later. Allow versions 5-9.
43be4ca2 7679 * configure: Regenerated.
0e7727f7
JM
7680 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
7681 required minimum version and 4.6 as recommended version. Do not
7682 mention bugs in GCC 2.7 and 2.8.
43be4ca2 7683 * INSTALL: Regenerated.
0e7727f7 7684
a78bc654
DM
76852012-02-27 David S. Miller <davem@davemloft.net>
7686
428d5830
DM
7687 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
7688 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
7689 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
7690 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
7691 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
7692 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
7693 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
7694 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
7695
a78bc654
DM
7696 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
7697 manipulate bits before adding and subtracting TWO112[sx].
7698 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
7699
4579f81c
RM
77002012-02-27 Roland McGrath <roland@hack.frob.com>
7701
36c8acb4
RM
7702 [BZ #13775]
7703 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
7704 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
7705 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
7706 being in POSIX, because they are in 1003.1-2008.
7707
84ad622b
RM
7708 * rt/tst-aio.c: Include <fcntl.h>.
7709 * rt/tst-aio7.c: Likewise.
7710 * rt/tst-aio64.c: Likewise.
7711
4579f81c
RM
7712 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
7713
abd923db
JM
77142012-02-27 Joseph Myers <joseph@codesourcery.com>
7715
7716 * manual/install.texi (--with-headers): Describe headers as
7717 interface headers, not private headers.
7718 (Specific advice for GNU/Linux systems): Describe use of headers
7719 from "make headers_install", not private headers from older
7720 kernels.
43be4ca2 7721 * INSTALL: Regenerated.
abd923db
JM
7722 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
7723 Change to 2.6.19.
7724 * sysdeps/unix/sysv/linux/configure: Regenerated.
7725
6664049b
JM
7726 * manual/llio.texi (fclean): Remove documentation.
7727
bb8b6697
JM
7728 * manual/Makefile (libc-texi-generated): New variable. Include
7729 version.texi.
7730 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
7731 $(libc-texi-generated), not duplicated list of files.
7732 (version.texi, stamp-version): New rules.
7733 (realclean): Remove $(libc-texi-generated), not individual files
7734 from that list. Do not remove dir-add.texinfo.
7735 * manual/libc.texinfo: Comment out uses of edition numbers and
7736 references to printed manual. Remove last-updated dates.
7737 (EDITION): Comment out.
7738 (ISBN): Likewise.
7739 (VERSION, UPDATED): Remove.
7740 (version.texi): Include.
7741
12e5c3b9
AS
77422012-02-27 Andreas Schwab <schwab@linux-m68k.org>
7743
7744 * sysdeps/posix/spawni.c: Include <signal.h>.
7745 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
7746 * sysdeps/pthread/aio_fsync.c: Likewise.
7747
4efeffc1 77482012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 7749
ba63ba08
UD
7750 * conform/Makefile (tests): Run only when not cross-compiling and
7751 when fast-check is not defined.
7752
d94a4670
UD
7753 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
7754 * conform/data/limits.h-data: Fixes for POSIX2008.
7755 * conform/run-conformtest.sh: Run all tests.
7756 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
7757 headers.
7758 * include/bits/dlfcn.h: Likewise.
7759 * include/langinfo.h: Likewise.
7760 * include/monetary.h: Likewise.
7761 * include/sys/poll.h: Likewise.
7762
7763 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
7764 for __USE_GNU.
7765 * posix/spawn.h: Define __need_sigset_t.
7766 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
7767 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
7768 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
7769 to get sigevent_t only.
7770 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
7771 only for __USE_GNU.
7772 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
7773 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
7774 process_vm_writev only for __USE_GNU.
7775 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
7776
7777 * conform/Makefile: For now ignore errors from run-conformtest.
7778 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
7779 POSIX to avoid namespace pollution. Don't prepend headers.
7780 * conform/data/aio.h-data: Fixes for POSIX testing.
7781 * conform/data/fcntl.h-data: Likewise.
7782 * conform/data/glob.h-data: Likewise.
7783 * conform/data/grp.h-data: Likewise.
7784 * conform/data/pthread.h-data: Likewise.
7785 * conform/data/pwd.h-data: Likewise.
7786 * conform/data/signal.h-data: Likewise.
7787 * conform/data/spawn.h-data: Likewise.
7788 * conform/data/stdio.h-data: Likewise.
7789 * conform/data/stdlib.h-data: Likewise.
7790 * conform/data/stropts.h-data: Likewise.
7791 * conform/data/sys/mman.h-data: Likewise.
7792 * conform/data/sys/stat.h-data: Likewise.
7793 * conform/data/sys/types.h-data: Likewise.
7794 * conform/data/sys/wait.h-data: Likewise.
7795 * conform/data/time.h-data: Likewise.
7796 * conform/data/unistd.h-data: Likewise.
7797 * conform/data/utime.h-data: Likewise.
7798
7799 * io/sys/stat.h: fchmod was always in POSIX.
7800 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
7801 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
7802 * rt/aio.h: Define __need_timespec before including <time.h>.
7803 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
7804 struct. Add forward declaration of pthread_attr_t and use it in
7805 sigevent.
7806 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
7807 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
7808 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
7809 always remove CLK_TCK definition.
7810
c20105c3
AS
78112012-02-26 Andreas Schwab <schwab@linux-m68k.org>
7812
7813 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
7814
7a270350
UD
78152012-02-25 Ulrich Drepper <drepper@gmail.com>
7816
31341567
UD
7817 * conform/run-conformtest.sh: New file.
7818 * conform/Makefile: Run run-conformtest for tests.
7819 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
7820 support.
7821
7822 * conform/data/uchar.h-data: New file.
7823 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
7824 * conform/data/arpa/inet.h-data: Likewise.
7825 * conform/data/assert.h-data: Likewise.
7826 * conform/data/complex.h-data: Likewise.
7827 * conform/data/cpio.h-data: Likewise.
7828 * conform/data/ctype.h-data: Likewise.
7829 * conform/data/dirent.h-data: Likewise.
7830 * conform/data/dlfcn.h-data: Likewise.
7831 * conform/data/errno.h-data: Likewise.
7832 * conform/data/fcntl.h-data: Likewise.
7833 * conform/data/float.h-data: Likewise.
7834 * conform/data/fmtmsg.h-data: Likewise.
7835 * conform/data/fnmatch.h-data: Likewise.
7836 * conform/data/ftw.h-data: Likewise.
7837 * conform/data/glob.h-data: Likewise.
7838 * conform/data/grp.h-data: Likewise.
7839 * conform/data/iconv.h-data: Likewise.
7840 * conform/data/inttypes.h-data: Likewise.
7841 * conform/data/langinfo.h-data: Likewise.
7842 * conform/data/libgen.h-data: Likewise.
7843 * conform/data/limits.h-data: Likewise.
7844 * conform/data/locale.h-data: Likewise.
7845 * conform/data/math.h-data: Likewise.
7846 * conform/data/monetary.h-data: Likewise.
7847 * conform/data/mqueue.h-data: Likewise.
7848 * conform/data/ndbm.h-data: Likewise.
7849 * conform/data/net/if.h-data: Likewise.
7850 * conform/data/netdb.h-data: Likewise.
7851 * conform/data/netinet/in.h-data: Likewise.
7852 * conform/data/nl_types.h-data: Likewise.
7853 * conform/data/poll.h-data: Likewise.
7854 * conform/data/pthread.h-data: Likewise.
7855 * conform/data/pwd.h-data: Likewise.
7856 * conform/data/regex.h-data: Likewise.
7857 * conform/data/sched.h-data: Likewise.
7858 * conform/data/search.h-data: Likewise.
7859 * conform/data/semaphore.h-data: Likewise.
7860 * conform/data/setjmp.h-data: Likewise.
7861 * conform/data/signal.h-data: Likewise.
7862 * conform/data/spawn.h-data: Likewise.
7863 * conform/data/stdarg.h-data: Likewise.
7864 * conform/data/stdio.h-data: Likewise.
7865 * conform/data/stdlib.h-data: Likewise.
7866 * conform/data/string.h-data: Likewise.
7867 * conform/data/strings.h-data: Likewise.
7868 * conform/data/stropts.h-data: Likewise.
7869 * conform/data/sys/ipc.h-data: Likewise.
7870 * conform/data/sys/mman.h-data: Likewise.
7871 * conform/data/sys/msg.h-data: Likewise.
7872 * conform/data/sys/resource.h-data: Likewise.
7873 * conform/data/sys/select.h-data: Likewise.
7874 * conform/data/sys/sem.h-data: Likewise.
7875 * conform/data/sys/shm.h-data: Likewise.
7876 * conform/data/sys/socket.h-data: Likewise.
7877 * conform/data/sys/stat.h-data: Likewise.
7878 * conform/data/sys/statvfs.h-data: Likewise.
7879 * conform/data/sys/time.h-data: Likewise.
7880 * conform/data/sys/timeb.h-data: Likewise.
7881 * conform/data/sys/times.h-data: Likewise.
7882 * conform/data/sys/types.h-data: Likewise.
7883 * conform/data/sys/uio.h-data: Likewise.
7884 * conform/data/sys/un.h-data: Likewise.
7885 * conform/data/sys/utsname.h-data: Likewise.
7886 * conform/data/sys/wait.h-data: Likewise.
7887 * conform/data/syslog.h-data: Likewise.
7888 * conform/data/tar.h-data: Likewise.
7889 * conform/data/termios.h-data: Likewise.
7890 * conform/data/utime.h-data: Likewise.
7891 * conform/data/utmpx.h-data: Likewise.
7892 * conform/data/varargs.h-data: Likewise.
7893 * conform/data/wchar.h-data: Likewise.
7894 * conform/data/wctype.h-data: Likewise.
7895 * conform/data/wordexp.h-data: Likewise.
7896
7897 * include/stropts.h: New file.
7898 * include/uchar.h: New file.
7899 * include/aio.h: Changes to allow conformtest.pl to use the headers.
7900 * include/assert.h: Likewise.
7901 * include/ctype.h: Likewise.
7902 * include/dirent.h: Likewise.
7903 * include/dlfcn.h: Likewise.
7904 * include/fcntl.h: Likewise.
7905 * include/fnmatch.h: Likewise.
7906 * include/glob.h: Likewise.
7907 * include/grp.h: Likewise.
7908 * include/libio.h: Likewise.
7909 * include/locale.h: Likewise.
7910 * include/math.h: Likewise.
7911 * include/net/if.h: Likewise.
7912 * include/netdb.h: Likewise.
7913 * include/netinet/in.h: Likewise.
7914 * include/pthread.h: Likewise.
7915 * include/pwd.h: Likewise.
7916 * include/regex.h: Likewise.
7917 * include/sched.h: Likewise.
7918 * include/search.h: Likewise.
7919 * include/setjmp.h: Likewise.
7920 * include/signal.h: Likewise.
7921 * include/stdio.h: Likewise.
7922 * include/stdlib.h: Likewise.
7923 * include/string.h: Likewise.
7924 * include/sys/cdefs.h: Likewise.
7925 * include/sys/mman.h: Likewise.
7926 * include/sys/msg.h: Likewise.
7927 * include/sys/resource.h: Likewise.
7928 * include/sys/select.h: Likewise.
7929 * include/sys/socket.h: Likewise.
7930 * include/sys/stat.h: Likewise.
7931 * include/sys/statvfs.h: Likewise.
7932 * include/sys/time.h: Likewise.
7933 * include/sys/times.h: Likewise.
7934 * include/sys/uio.h: Likewise.
7935 * include/sys/utsname.h: Likewise.
7936 * include/sys/wait.h: Likewise.
7937 * include/termios.h: Likewise.
7938 * include/time.h: Likewise.
7939 * include/ulimit.h: Likewise.
7940 * include/unistd.h: Likewise.
7941 * include/utime.h: Likewise.
7942 * include/wchar.h: Likewise.
7943 * include/wctype.h: Likewise.
7944 * include/wordexp.h: Likewise.
7945
7946 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
7947
7a270350
UD
7948 * time/time.h: TIME_UTC must be a macro.
7949 Make timespec_get available for ISO C11 only as well.
7950
7724defc
UD
79512012-02-24 Ulrich Drepper <drepper@gmail.com>
7952
7953 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
7954 Reported by Peng Haitao <penght@cn.fujitsu.com>.
7955
6b1d1d46
JM
79562012-02-24 Joseph Myers <joseph@codesourcery.com>
7957
7958 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 7959
0f8bbd69
JM
79602012-02-24 Joseph Myers <joseph@codesourcery.com>
7961
7962 * manual/texinfo.tex: Update to version 2012-01-19.16.
7963
66ab80bc
JM
79642012-02-24 Joseph Myers <joseph@codesourcery.com>
7965
7966 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
7967
74981cc5
RM
79682012-02-24 Roland McGrath <roland@hack.frob.com>
7969
ee968201
RM
7970 [BZ #13738]
7971 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
7972 * manual/fdl-1.3.texi: New file.
7973 * manual/fdl-1.1.texi: File removed.
7974
74981cc5
RM
7975 [BZ #13738]
7976 * manual/libc.texinfo (FDL_VERSION): New @set.
7977 Use it for mention of FDL in cover text.
7978 (Documentation License): Use it in @include file name.
7979
7bb764bc
JM
79802012-02-22 Joseph Myers <joseph@codesourcery.com>
7981 Roland McGrath <roland@hack.frob.com>
7982
7983 [BZ #5461]
7984 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
7985 not LONG_LONG_MAX and LONG_LONG_MIN.
7986 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
7987 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
7988 name.
7989 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
7990
6cbeae47
JM
79912012-02-22 Joseph Myers <joseph@codesourcery.com>
7992
7993 [BZ #2547]
7994 [BZ #11365]
7995 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
7996 manipulate bits before adding and subtracting TWO23[sx].
7997 * math/libm-test.inc (nearbyint_test): Add more tests.
7998
fe45ce09
JM
79992012-02-22 Joseph Myers <joseph@codesourcery.com>
8000
8001 [BZ #2548]
8002 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
8003 bits before adding and subtracting TWO23[sx].
8004 * math/libm-test.inc (rint_test): Add more tests.
8005 (rint_test_tonearest): Likewise.
8006 (rint_test_towardzero): Likewise.
8007 (rint_test_downward): Likewise.
8008 (rint_test_upward: Likewise.
8009
ff3b3d82
JM
80102012-02-22 Joseph Myers <joseph@codesourcery.com>
8011
8012 [BZ #10110]
8013 * include/stdc-predef.h: New file. Extracted from features.h.
8014 * include/features.h: Include stdc-predef.h.
8015 * Makefile (headers): Add stdc-predef.h.
8016 * CONFORMANCE (Compiler limitations): Update.
8017
ef0aab35
JM
80182012-02-22 Joseph Myers <joseph@codesourcery.com>
8019
8020 * manual/libc.texinfo (VERSION, UPDATED): Revert.
8021
58639409
DM
80222012-02-21 David S. Miller <davem@davemloft.net>
8023
8024 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
8025 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
8026
c0e70b25
DM
80272012-02-20 David S. Miller <davem@davemloft.net>
8028
8029 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
8030 using a normal save/restore sequence, rather than allocating a
8031 dummy stack frame just to store a frame pointer and restore.
8032 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
8033
fb06851d
JM
80342012-02-21 Joseph Myers <joseph@codesourcery.com>
8035
8036 * manual/install.texi: Fix stray word in line-wrapped comment.
8037
7a8b71c3
DM
80382012-02-20 David S. Miller <davem@davemloft.net>
8039
d510c123
DM
8040 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
8041 both binutils and gcc support GOTDATA.
8042
0722d7c2
DM
8043 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
8044 "rd %pc" in the PIC register setup sequences.
8045
3d2b3019
DM
8046 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
8047 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
8048 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
8049 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
8050 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
8051 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
8052 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
8053 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
8054 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
8055 (SYSCALL_ERROR_HANDLER): Likewise.
8056 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
8057 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
8058 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
8059 (SYSCALL_ERROR_HANDLER): Likewise.
8060
c80098a9
DM
8061 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
8062 (HAVE_GCC_GOTDATA): New.
8063 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
8064 relocation support in both binutils and gcc.
8065 * sysdeps/sparc/elf/configure: Regenerate.
8066
3a2545a0
DM
8067 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
8068 * sysdeps/sparc/sparc32/elf/configure: Delete.
8069 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
8070 * sysdeps/sparc/sparc64/elf/configure: Delete.
8071 * sysdeps/sparc/elf/configure.in: New file.
8072 * sysdeps/sparc/elf/configure: Generate.
8073
7a8b71c3
DM
8074 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
8075 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
8076 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
8077 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
8078 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
8079
f1e86fca
JM
80802012-02-21 Joseph Myers <joseph@codesourcery.com>
8081
8082 * manual/install.texi: Do not mention specific glibc version
8083 numbers.
8084 * manual/libc.texinfo (VERSION, UPDATED): Update.
8085 (@copying): Use @copyright{} and range of years.
8086
0e7dfaef
JM
80872012-02-21 Joseph Myers <joseph@codesourcery.com>
8088
8089 [BZ #13695]
8090 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
8091 [crti.S not in sysdirs] (generated): Do not append.
8092 [crti.S not in sysdirs] (omit-deps): Likewise.
8093 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
8094 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
8095 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
8096 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
8097 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
8098 Likewise.
8099 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
8100 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
8101 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
8102 * csu/defs.awk: Remove file.
8103 * sysdeps/generic/initfini.c: Likewise.
8104 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
8105 variable.
8106 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
8107 Likewise.
8108
599af3ca
JM
81092012-02-20 Joseph Myers <joseph@codesourcery.com>
8110
8111 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
8112 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
8113 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
8114 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
8115 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
8116 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
8117 <bits/epoll.h>.
8118 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
8119 (__EPOLL_PACKED): Define to empty if not defined by
8120 <bits/epoll.h>.
8121 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
8122 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
8123 bits/epoll.h.
8124
0e499750
JM
81252012-02-20 Joseph Myers <joseph@codesourcery.com>
8126
8127 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
8128 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
8129 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
8130 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
8131 <bits/timerfd.h>.
8132 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
8133 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
8134 bits/timerfd.h.
8135
5ad91f6e
JM
81362012-02-20 Joseph Myers <joseph@codesourcery.com>
8137
8138 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
8139 in C locale.
8140 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
8141 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
8142 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
8143 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8144
06b99b02
AJ
81452012-02-20 Aurelien Jarno <aurelien@aurel32.net>
8146
8147 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
8148 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
8149
7638c0fd
AS
81502012-02-19 Andreas Schwab <schwab@linux-m68k.org>
8151
8152 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
8153 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
8154 defined.
8155 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
8156 Likewise.
8157 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
8158 entry for 2.16.
8159
92221550
AJ
81602012-02-19 Aurelien Jarno <aurelien@aurel32.net>
8161
8162 * math/w_acos.c: Use non-signaling floating-point comparisons.
8163 * math/w_acosf.c: Likewise.
8164 * math/w_acosh.c: Likewise.
8165 * math/w_acoshf.c: Likewise.
8166 * math/w_acoshl.c: Likewise.
8167 * math/w_acosl.c: Likewise.
8168 * math/w_asin.c: Likewise.
8169 * math/w_asinf.c: Likewise.
8170 * math/w_asinl.c: Likewise.
8171 * math/w_atanh.c: Likewise.
8172 * math/w_atanhf.c: Likewise.
8173 * math/w_atanhl.c: Likewise.
8174 * math/w_exp2.c: Likewise.
8175 * math/w_exp2f.c: Likewise.
8176 * math/w_exp2l.c: Likewise.
8177 * math/w_j0.c: Likewise.
8178 * math/w_j0f.c: Likewise.
8179 * math/w_j0l.c: Likewise.
8180 * math/w_j1.c: Likewise.
8181 * math/w_j1f.c: Likewise.
8182 * math/w_j1l.c: Likewise.
8183 * math/w_jn.c: Likewise.
8184 * math/w_jnf.c: Likewise.
8185 * math/w_log.c: Likewise.
8186 * math/w_log10.c: Likewise.
8187 * math/w_log10f.c: Likewise.
8188 * math/w_log10l.c: Likewise.
8189 * math/w_log2.c: Likewise.
8190 * math/w_log2f.c: Likewise.
8191 * math/w_log2l.c: Likewise.
8192 * math/w_logf.c: Likewise.
8193 * math/w_logl.c: Likewise.
8194 * math/w_sqrt.c: Likewise.
8195 * math/w_sqrtf.c: Likewise.
8196 * math/w_sqrtl.c: Likewise.
8197 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
8198 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
8199 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
8200 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
8201 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
8202
ebaf36eb
JM
82032012-02-19 Joseph Myers <joseph@codesourcery.com>
8204
8205 [BZ #9739]
8206 * manual/string.texi (strnlen): Use correct parameter name in
8207 equivalent expression.
8208
71c254a6
JM
82092012-02-19 Joseph Myers <joseph@codesourcery.com>
8210
8211 [BZ #11174]
8212 * manual/users.texi (seteuid): Consistently use neweuid for
8213 argument name.
8214
16d2c631
JM
82152012-02-19 Joseph Myers <joseph@codesourcery.com>
8216
8217 [BZ #13704]
8218 * manual/nss.texi (Services in the NSS configuration): Correct
8219 list of services in example configuration file.
8220
cd837b09
NB
82212012-02-19 Nick Bowler <nbowler@draconx.ca>
8222
8223 [BZ #11322]
8224 * manual/arith.texi: Remove statements about negative zero
8225 behaving identically to zero.
8226
02c4bbad
JM
82272012-02-18 Joseph Myers <joseph@codesourcery.com>
8228
8229 [BZ #5993]
8230 * manual/install.texi: Do not document upgrading from libc5.
8231
366842e7
JM
82322012-02-18 Joseph Myers <joseph@codesourcery.com>
8233
8234 [BZ #4596]
8235 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
8236
dd54084d
DM
82372012-02-18 David S. Miller <davem@davemloft.net>
8238
8239 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
8240 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
8241 %o7 across the call.
8242 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
8243 instead.
8244 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
8245 SETUP_PIC_REG_LEAF.
8246 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
8247 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
8248 * sysdeps/sparc/crtn.S: Likewise.
8249
2bcc53a3
UD
82502012-02-17 Ulrich Drepper <drepper@gmail.com>
8251
8252 * aout/Makefile: Remove.
8253
09c093b5
RK
82542012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
8255
8256 [BZ #13058]
8257 * manual/examples/argp-ex1.c (main): Format definition in GNU
8258 style.
8259 * manual/examples/argp-ex2.c (main): Likewise.
8260 * manual/examples/argp-ex3.c (main): Likewise.
8261 * manual/examples/argp-ex4.c (main): Likewise.
8262 * manual/examples/longopt.c (main): Use new-style prototype
8263 definition.
8264 * manual/examples/strncat.c (main): Specify return type and use
8265 (void) for arguments.
8266 * manual/examples/subopt.c (main): Use char **argv argument.
8267
2ee633a2
JM
82682012-02-17 Joseph Myers <joseph@codesourcery.com>
8269
8270 [BZ #5077]
8271 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
8272 rounding modes.
8273
0520adde
FB
82742012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
8275
8276 [BZ #6907]
8277 * manual/string.texi (strchr): Change when strchrnul is
8278 recommended.
8279
3f4081cd
DGM
82802012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
8281
8282 [BZ #174]
8283 * manual/locale.texi (setlocale): Document LOCPATH.
8284
d1b10e78
JM
82852012-02-17 Joseph Myers <joseph@codesourcery.com>
8286
8287 [BZ #10210]
8288 * manual/process.texi (execle): Move @dots{} before last argument.
8289
79c6869c
PB
82902012-02-17 Paul Bolle <pebolle@tiscali.nl>
8291
8292 [BZ #12047]
8293 * manual/charset.texi (Generic Charset Conversion): Fix typo
8294 (LC_TYPE -> LC_CTYPE).
8295
cc6e48bc
NB
82962012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
8297
8298 [BZ #5805]
8299 * manual/arith.texi (scalbn): Use @var{} on parameter names.
8300 (scalbnf): Likewise.
8301 (scalbnl): Likewise.
8302 (scalbln): Likewise.
8303 (scalblnf): Likewise.
8304 (scalblnl): Likewise.
8305 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
8306 (vwarnx): Likewise.
8307 (verr): Likewise.
8308 (verrx): Likewise.
8309 * manual/filesys.texi (telldir): Use braces around return type.
8310 * manual/llio.texi (mmap): Add space after comma.
8311 (mmap64): Likewise.
8312 * manual/math.texi (jn): Use @var{} on parameter names.
8313 (jnf): Likewise.
8314 (jnl): Likewise.
8315 (yn): Likewise.
8316 (ynf): Likewise.
8317 (ynl): Likewise.
8318 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
8319 line.
8320 * manual/resource.texi (ulimit): Use @dots{} instead of literal
8321 "...".
8322 (sched_get_priority_min): Remove semicolon on @deftypefun line.
8323 (sched_get_priority_max): Likewise.
8324 * manual/signal.texi (sigvec): Add space after comma.
8325 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
8326 names.
8327 (if_indextoname): Likewise.
8328 (if_freenameindex): Likewise.
8329 (sendto): Use ',' instead of '.' in prototype.
8330 * manual/startup.texi (syscall): Use @dots{} instead of literal
8331 "...".
8332 * manual/stdio.texi (__fpending): Separate initial words of
8333 paragraph from @deftypefun line.
8334 * manual/syslog.texi (syslog): Use @dots{} instead of literal
8335 "...".
8336 (vsyslog): Use @var{} on parameter names.
8337 * manual/terminal.texi (stty): Use @var{} on parameter names.
8338 * manual/users.texi (getutmp): Use @var{} on parameter names.
8339 (getutmpx): Likewise.
8340
5b23062f
JM
83412012-02-17 Joseph Myers <joseph@codesourcery.com>
8342
8343 [BZ #6884]
8344 * manual/stdio.texi (fopen): Fix typos in description of
8345 ",ccs=STRING".
8346
8dee4833
AJ
83472012-02-17 Aurelien Jarno <aurelien@aurel32.net>
8348
8349 [BZ #4026]
8350 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
8351 get clock_id definition.
8352
9078ce93
TS
83532012-02-17 Thomas Schwinge <thomas@schwinge.name>
8354
8355 [BZ #4822]
8356 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
8357 (madvise): Cast every argument to void on its own.
8358
3835c55f
JM
83592012-02-17 Joseph Myers <joseph@codesourcery.com>
8360
8361 [BZ #9902]
8362 * manual/startup.texi (Exit Status): Fix typo.
8363
35c47e37
JM
83642012-02-17 Joseph Myers <joseph@codesourcery.com>
8365
8366 [BZ #10140]
8367 * manual/examples/argp-ex1.c: Include <stdlib.h>.
8368 * manual/examples/argp-ex2.c: Likewise.
8369 * manual/examples/argp-ex3.c: Likewise.
8370
e3b69ca7
RH
83712012-02-16 Richard Henderson <rth@redhat.com>
8372
8373 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
8374 * sysdeps/s390/s390-32/initfini.c: Remove.
8375 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
8376 * sysdeps/s390/s390-64/initfini.c: Remove.
8377
df83af67
KK
83782012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
8379
8380 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
8381 compiler output for sysdeps/generic/initfini.c.
8382 * sysdeps/sh/elf/initfini.c: Remove file.
8383
f63f3380
DM
83842012-02-16 David S. Miller <davem@davemloft.net>
8385
fb59b3a4
DM
8386 [BZ #11494]
8387 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
8388
f63f3380
DM
8389 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
8390 * sysdeps/sparc/crti.S: New file.
8391 * sysdeps/sparc/crtn.S: New file.
8392 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
8393 * sysdeps/sparc/sparc64/Makefile: Likewise.
8394
df6a4a4a
MF
83952012-02-15 Mike Frysinger <vapier@gentoo.org>
8396
6dd8f3dc 8397 [BZ #3335]
df6a4a4a
MF
8398 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
8399
1cac7236
RM
84002012-02-15 Roland McGrath <roland@hack.frob.com>
8401
d2c736f8
RM
8402 [BZ #4822]
8403 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
8404
1cac7236
RM
8405 * mach/devstream.c (cookie_io_functions_t): Macro removed.
8406 (write, read, close): Likewise.
8407 Patch by Aurelien Jarno <aurelien@aurel32.net>.
8408
8e475601
JM
84092012-02-15 Joseph Myers <joseph@codesourcery.com>
8410
8411 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
8412 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
8413 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
8414 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
8415 <bits/signalfd.h>.
8416 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
8417 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
8418 bits/signalfd.h.
8419
ed656b40
MP
84202012-02-14 Marek Polacek <polacek@redhat.com>
8421
8422 * sysdeps/x86_64/crti.S: New file.
8423 * sysdeps/x86_64/crtn.S: New file.
8424 * sysdeps/x86_64/elf/initfini.c: Remove file.
8425
2a979d3a
JM
84262012-02-13 Joseph Myers <joseph@codesourcery.com>
8427
8428 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
8429 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
8430 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
8431 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
8432 <bits/inotify.h>.
8433 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
8434 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
8435 bits/inotify.h.
8436
2a418ac3
JM
84372012-02-13 Joseph Myers <joseph@codesourcery.com>
8438
8439 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
8440 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
8441 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
8442 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
8443 <bits/eventfd.h>.
8444 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
8445 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
8446 bits/eventfd.h.
8447
fb779be7
TS
84482012-02-10 Thomas Schwinge <thomas@codesourcery.com>
8449
e19e83c5
RM
8450 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
8451 __feraiseexcept instead of feraiseexcept.
7c35ffed 8452
fb779be7
TS
8453 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
8454 nanosleep invocations.
8455 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
8456 strings, and add error checking for a nanosleep invocations.
8457
59ba27a6
PE
84582012-02-09 Paul Eggert <eggert@cs.ucla.edu>
8459
8460 Replace FSF snail mail address with URLs, as per GNU coding standards.
8461 Most of the snail mail addresses were wrong anyway, and omitting
8462 them makes the source code easier to maintain. Almost all of the
8463 changes are to license notices and to locale LC_IDENTIFICATION
8464 addresses, except for this one:
8465 * manual/libc.texinfo: In "Published by", give the FSF's URL,
8466 not its snail mail address.
8467
57b957eb
RH
84682012-02-09 Richard Henderson <rth@twiddle.net>
8469
af850b1c
RH
8470 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
8471 of kernel-features.h.
8472
57b957eb
RH
8473 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
8474
6b73181a
MP
84752012-02-08 Marek Polacek <polacek@redhat.com>
8476
8477 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
8478 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
8479 * sysdeps/gnu/_G_config.h: Likewise.
8480 * sysdeps/generic/_G_config.h: Likewise.
8481
26ecc33a
AS
84822012-02-08 Andreas Schwab <schwab@linux-m68k.org>
8483
6c6dbc63
AS
8484 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
8485 tests.
8486 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8487
e216c012
AS
8488 * sysdeps/powerpc/powerpc32/crti.S: New file.
8489 * sysdeps/powerpc/powerpc32/crtn.S: New file.
8490 * sysdeps/powerpc/powerpc64/crti.S: New file.
8491 * sysdeps/powerpc/powerpc64/crtn.S: New file.
8492
26ecc33a
AS
8493 * Makeconfig (have-initfini): Don't set.
8494 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
8495 * configure.in (nopic_initfini): Don't substitute.
8496 * config.h.in (HAVE_INITFINI): Don't #undef.
8497 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
8498 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
8499
3add8e13
JM
85002012-02-08 Joseph Myers <joseph@codesourcery.com>
8501
8502 Support crti.S and crtn.S provided directly by architectures.
8503 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
8504 [crti.S in sysdirs] (omit-deps): Likewise.
8505 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
8506 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
8507 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
8508 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
8509 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
8510 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
8511 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
8512 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
8513 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
8514 compiler output for sysdeps/generic/initfini.c.
8515 * sysdeps/i386/elf/Makefile: Remove file.
8516 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
8517
a22f12b4
MP
85182012-02-07 Marek Polacek <polacek@redhat.com>
8519
8520 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
8521 * sysdeps/gnu/_G_config.h: Likewise.
8522 * sysdeps/mach/hurd/_G_config.h: Likewise.
8523
148cf100
MP
85242012-02-07 Marek Polacek <polacek@redhat.com>
8525
8526 * math/Makefile (tests): Add tst-CMPLX2.
8527 * math/tst-CMPLX2.c: New file.
8528
cfdc0dd7
AS
85292012-02-07 Andreas Schwab <schwab@linux-m68k.org>
8530
84ba42c4
AS
8531 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
8532
cfdc0dd7
AS
8533 * math/libm-test.inc (jn_test): Add missing L suffix.
8534
622c86f4
MP
85352012-02-06 Marek Polacek <polacek@redhat.com>
8536
8537 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
8538 * sysdeps/i386/fpu/e_powf.S: Likewise.
8539 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
8540 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
8541 * sysdeps/i386/fpu/e_acosh.S: Likewise.
8542 * sysdeps/i386/fpu/e_pow.S: Likewise.
8543 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
8544 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
8545 * sysdeps/i386/fpu/s_expm1.S: Likewise.
8546 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
8547 * sysdeps/i386/fpu/e_log2.S: Likewise.
8548 * sysdeps/i386/fpu/e_log2l.S: Likewise.
8549 * sysdeps/i386/fpu/e_scalb.S: Likewise.
8550 * sysdeps/i386/fpu/e_powl.S: Likewise.
8551 * sysdeps/i386/fpu/s_log1p.S: Likewise.
8552 * sysdeps/i386/fpu/e_log10f.S: Likewise.
8553 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
8554 * sysdeps/i386/fpu/e_logl.S: Likewise.
8555 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
8556 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
8557 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
8558 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
8559 * sysdeps/i386/fpu/e_log2f.S: Likewise.
8560 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
8561 * sysdeps/i386/fpu/e_log.S: Likewise.
8562 * sysdeps/i386/fpu/s_cexp.S: Likewise.
8563 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
8564 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
8565 * sysdeps/i386/fpu/e_logf.S: Likewise.
8566 * sysdeps/i386/fpu/e_log10l.S: Likewise.
8567 * sysdeps/i386/fpu/e_atanh.S: Likewise.
8568 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
8569 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
8570 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
8571 * sysdeps/i386/fpu/e_log10.S: Likewise.
8572 * sysdeps/i386/fpu/s_frexp.S: Likewise.
8573 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
8574 * sysdeps/i386/fpu/s_asinh.S: Likewise.
8575 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
8576 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
8577 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
8578 * sysdeps/i386/asm-syntax.h: Likewise.
8579 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
8580 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
8581 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
8582 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
8583 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
8584 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
8585 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
8586 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
8587 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
8588 * sysdeps/powerpc/sysdep.h: Likewise.
8589 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
8590 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
8591
d4a54ac6
JM
85922012-02-06 Joseph Myers <joseph@codesourcery.com>
8593
8594 [BZ #411]
8595 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
8596
314054ea
JM
85972012-02-06 Joseph Myers <joseph@codesourcery.com>
8598
8599 * sysdeps/i386/sysdep.h: Include <features.h>.
8600 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
8601 version.
8602
d8e0ca50
JM
86032012-02-05 Joseph Myers <joseph@codesourcery.com>
8604
8605 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
8606 Define.
8607 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
8608 LOAD_PIC_REG_STR.
8609
b1da7dd9
JM
86102012-02-03 Joseph Myers <joseph@codesourcery.com>
8611
8612 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
8613 (SETUP_PIC_REG): Use GET_PC_THUNK.
8614 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
8615 macro.
8616
9a1d9254
JM
86172012-02-03 Joseph Myers <joseph@codesourcery.com>
8618
8619 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
8620 for non-PIC compilation.
8621 (SETUP_PIC_REG): Add .p2align directive.
8622 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
8623 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
8624 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
8625 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
8626 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
8627 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
8628 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
8629 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
8630 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
8631 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
8632 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
8633 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
8634 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
8635 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
8636 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
8637 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
8638 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
8639 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
8640 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
8641 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
8642 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
8643 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
8644 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
8645 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
8646 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
8647 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
8648 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
8649 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
8650 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
8651 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
8652 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
8653 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
8654 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
8655 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
8656 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
8657 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
8658 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
8659 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
8660 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
8661 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
8662 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
8663
65dc3b75
JM
86642012-02-03 Joseph Myers <joseph@codesourcery.com>
8665
8666 * math/tst-CMPLX.c: Include <stdio.h>.
8667
d55bf177
JM
86682012-01-31 Joseph Myers <joseph@codesourcery.com>
8669
8670 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
8671 float.
8672 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
8673 * sysdeps/sparc/bits/mathdef.h: Likewise.
8674
69db4f8f
MP
86752012-01-31 Marek Polacek <polacek@redhat.com>
8676
8677 * libio/libio.h: Don't define _PARAMS.
8678 * locale/programs/config.h: Don't define PARAMS.
8679 * stdlib/strtol_l.c: Likewise.
8680 (__strtol_l): Remove PARAMS from the prototype.
8681
41b81892
UD
86822012-01-31 Ulrich Drepper <drepper@gmail.com>
8683
3b49edc0
UD
8684 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
8685 names. Just use the correct names. Remove unnecessary wrapper
8686 functions.
8687 * malloc/arena.c: Likewise.
8688 * malloc/hooks.c: Likewise.
8689
41b81892
UD
8690 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
8691 ARENA_TEST says not to. Simplify test for creation of a new arena.
8692 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
8693
27a25b6e
UD
86942012-01-30 Ulrich Drepper <drepper@gmail.com>
8695
8696 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
8697 into tail calls.
8698 (update_get_addr): New function.
8699 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
8700 GET_ADDR_MODULE parameter.
8701
c8a89e7d
JM
87022012-01-30 Joseph Myers <joseph@codesourcery.com>
8703
8704 * crypt/cert.c: Remove __STDC__ conditionals.
8705 * crypt/crypt-entry.c: Likewise.
8706 * crypt/crypt_util.c: Likewise.
8707 * libio/filedoalloc.c: Likewise.
8708 * libio/fileops.c: Likewise.
8709 * libio/genops.c: Likewise.
8710 * libio/iofclose.c: Likewise.
8711 * libio/iofdopen.c: Likewise.
8712 * libio/iofopen.c: Likewise.
8713 * libio/iofopen64.c: Likewise.
8714 * libio/iogetdelim.c: Likewise.
8715 * libio/iopopen.c: Likewise.
8716 * libio/obprintf.c: Likewise.
8717 * libio/oldfileops.c: Likewise.
8718 * libio/oldiofclose.c: Likewise.
8719 * libio/oldiofdopen.c: Likewise.
8720 * libio/oldiofopen.c: Likewise.
8721 * libio/oldiopopen.c: Likewise.
8722 * libio/wfiledoalloc.c: Likewise.
8723 * libio/wgenops.c: Likewise.
8724 * locale/programs/xmalloc.c: Likewise.
8725 * misc/syslog.c: Likewise.
8726 * stdio-common/xbug.c: Likewise.
8727 * string/memchr.c: Likewise.
8728 * string/memcmp.c: Likewise.
8729 * string/memrchr.c: Likewise.
8730 * string/rawmemchr.c: Likewise.
8731 * sysdeps/posix/getcwd.c: Likewise.
8732 * time/strftime_l.c: Likewise.
8733
3b100462
JM
87342012-01-30 Joseph Myers <joseph@codesourcery.com>
8735
8736 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
8737 * config.make.in (config-cflags-sse2avx): Define.
8738 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
8739 Fix typo.
8740
607998af
CM
87412012-01-29 Chris Metcalf <cmetcalf@tilera.com>
8742
8743 * scripts/config.guess: Update from upstream config git repository.
8744 * scripts/config.sub: Likewise.
8745
3601428f
CM
87462012-01-28 Chris Metcalf <cmetcalf@tilera.com>
8747
3ac8b282
CM
8748 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
8749 (EM_NUM): Update.
8750 (R_TILEPRO_*, R_TILEGX_*): New macros.
8751
e034841e
CM
8752 * scripts/firstversions.awk: Fix bug in version range handling.
8753
540d7568
CM
8754 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
8755
3601428f
CM
8756 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
8757
463de862
CM
8758 * include/sys/epoll.h: New file.
8759 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
8760 libc_hidden_def.
8761
73139a76
UD
87622012-01-28 Ulrich Drepper <drepper@gmail.com>
8763
96bc5b45
UD
8764 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
8765 Avoid unnecessary __WORDSIZE == 64 test.
8766 (fmaxf): Use VEX format if possible.
8767 (fmax): Likewise.
8768 (fminf): Likewise.
8769 (fmin): Likewise.
8770
56f6f6a2
UD
8771 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
8772 * math/math_private.h: Remove libc_fegetround* and
8773 libc_fesetround*.
8774 * sysdeps/i386/configure.in: Check for -msse2avx.
8775 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
8776 also if SSE2AVX is defined.
8777 Remove libc_fegetround* and libc_fesetround*.
8778 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
8779 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
8780 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
8781 of HAS_YMM_USABLE.
8782 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
8783 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
8784 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
8785 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
8786 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
8787
73139a76
UD
8788 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
8789
d73f93a4
AZ
87902012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8791
8792 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
8793 size is not set.
8794 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
8795
6ee65ed6
UD
87962012-01-27 Ulrich Drepper <drepper@gmail.com>
8797
8798 [BZ #13618]
8799 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
8800 relocation.
8801 * Makeconfig (libm): Define.
8802 * elf/Makefile: Add rules to build and run tst-relsort1.
8803 * elf/tst-relsort1.c: New file.
8804 * elf/tst-relsort1mod1.c: New file.
8805 * elf/tst-relsort1mod2.c: New file.
8806
8db21882
JM
88072012-01-27 Joseph Myers <joseph@codesourcery.com>
8808
8809 * math/s_ldexp.c: Remove __STDC__ conditionals.
8810 * math/s_ldexpf.c: Likewise.
8811 * math/s_ldexpl.c: Likewise.
8812 * math/s_nextafter.c: Likewise.
8813 * math/s_nexttowardf.c: Likewise.
8814 * math/s_significand.c: Likewise.
8815 * math/s_significandf.c: Likewise.
8816 * math/s_significandl.c: Likewise.
8817 * math/w_jnl.c: Likewise.
8818 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
8819 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
8820 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
8821 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
8822 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
8823 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
8824 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
8825 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
8826 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
8827 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
8828 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
8829 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
8830 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
8831 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
8832 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
8833 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
8834 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
8835 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
8836 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
8837 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
8838 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
8839 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
8840 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
8841 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
8842 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
8843 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
8844 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
8845 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
8846 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
8847 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
8848 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
8849 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
8850 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
8851 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
8852 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
8853 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
8854 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
8855 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
8856 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
8857 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
8858 * sysdeps/ieee754/k_standard.c: Likewise.
8859 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
8860 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
8861 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
8862 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
8863 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
8864 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
8865 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
8866 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
8867 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
8868 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
8869 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
8870 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
8871 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
8872 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
8873 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
8874 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
8875 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
8876 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
8877 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
8878 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
8879 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
8880 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
8881 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
8882 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
8883 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
8884 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
8885 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
8886 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
8887 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
8888 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
8889 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
8890 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
8891 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
8892 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
8893 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
8894 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
8895 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
8896 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
8897 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
8898 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
8899 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
8900 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
8901 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
8902 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
8903 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
8904 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
8905 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
8906 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
8907 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
8908 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
8909 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
8910 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
8911 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
8912 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
8913 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
8914 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
8915 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
8916 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
8917 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
8918 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
8919 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
8920 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
8921 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
8922 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
8923 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
8924 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
8925 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
8926 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
8927 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
8928 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
8929 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
8930 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
8931 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
8932 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
8933 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
8934 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
8935 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
8936 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
8937 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
8938 * sysdeps/ieee754/s_matherr.c: Likewise.
8939 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
8940 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
8941 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
8942 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
8943
965a54a4
JM
89442012-01-26 Joseph Myers <joseph@codesourcery.com>
8945
8946 * crypt/md5.h: Remove __STDC__ conditionals.
8947 * libio/libioP.h: Likewise.
8948 * locale/programs/config.h: Likewise.
8949 * sysdeps/generic/sysdep.h: Likewise.
8950 * sysdeps/i386/asm-syntax.h: Likewise.
8951 * sysdeps/s390/asm-syntax.h: Likewise.
8952 * sysdeps/unix/sysdep.h: Likewise.
8953 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
8954 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
8955
7071ad79
JM
89562012-01-26 Joseph Myers <joseph@codesourcery.com>
8957
8958 * libio/libio.h: Remove __STDC__ conditionals.
8959 * malloc/obstack.h: Likewise.
8960 * math/complex.h: Likewise.
8961 * math/math.h: Likewise.
8962 * sysdeps/generic/_G_config.h: Likewise.
8963 * sysdeps/gnu/_G_config.h: Likewise.
8964 * sysdeps/mach/hurd/_G_config.h: Likewise.
8965 * sysdeps/powerpc/bits/mathdef.h: Likewise.
8966 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
8967 * sysdeps/sparc/bits/mathdef.h: Likewise.
8968
afc5ed09
UD
89692012-01-26 Ulrich Drepper <drepper@gmail.com>
8970
8971 [BZ #13583]
8972 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 8973 Clean up HAS_* macros.
afc5ed09 8974 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
8975 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
8976 possible.
8977 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
8978 HAS_AVX.
8979 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
8980 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
8981 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
8982 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
8983 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 8984
bdb6de1d
JM
89852012-01-25 Joseph Myers <joseph@codesourcery.com>
8986
8987 * elf/tst-unique3.cc (gets): Remove declaration.
8988 * elf/tst-unique3lib.cc (gets): Likewise.
8989 * elf/tst-unique3lib2.cc (gets): Likewise.
8990 * elf/tst-unique4.cc (gets): Likewise.
8991
b15549e6
UD
89922012-01-24 Ulrich Drepper <drepper@gmail.com>
8993
8994 * include/stdio.h: Add C++ protection. Add gets declarations and
8995 definitions.
8996 * debug/tst-chk1.c: Don't declare gets here.
8997 * stdio-common/tst-gets.c: Likewise.
8998
a037381f
JM
89992012-01-24 Joseph Myers <joseph@codesourcery.com>
9000
9001 * posix/glob: Remove directory.
9002
f1d4aa75
JM
90032012-01-24 Joseph Myers <joseph@codesourcery.com>
9004
9005 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
9006
81c0c964
PT
90072012-01-22 Pino Toscano <toscano.pino@tiscali.it>
9008
9009 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
9010 of the non-standard EPFNOSUPPORT.
9011
0ea698ae
ST
90122011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
9013
9014 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
9015 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
9016 ANYWHERE set to 1 only on KERN_NO_SPACE error.
9017
d220b117
UD
90182012-01-21 Ulrich Drepper <drepper@gmail.com>
9019
9020 * wcsmbs/uchar.h: Test __STDC_VERSION__.
9021
3e1aa84e
UD
90222012-01-20 Ulrich Drepper <drepper@gmail.com>
9023
9024 * nscd/aicache.c (addhstaiX): Do not cache negative results of
9025 transient errors.
9026 * nscd/grpcache.c (cache_addgr): Likewise.
9027 * nscd/hstcache.c (cache_addhst): Likewise.
9028 * nscd/initgrcache.c (addinitgroupsX): Likewise.
9029 * nscd/pwdcache.c (cache_addpw): Likewise.
9030 * nscd/servicescache.c (cache_addserv): Likewise.
9031
400aa020
UD
90322012-01-16 Ulrich Drepper <drepper@gmail.com>
9033
d77e7869
UD
9034 * malloc/malloc.c: Various cleanups.
9035 * malloc/hooks.c: Likewise.
9036
400aa020
UD
9037 * stdlib/Makefile (tests): Add bug-fmtmsg1.
9038 * stdlib/bug-fmtmsg1.c: New file.
9039
9040 * stdlib/fmtmsg.c (init): Add missing unlock.
9041 Patch by Peng Haitao <penght@cn.fujitsu.com>.
9042
e0a309cf
MP
90432012-01-12 Marek Polacek <polacek@redhat.com>
9044
9045 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
9046 and _GNU_SOURCE.
9047
929d11c7
WS
90482012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
9049
9050 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
9051 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
9052 macro to ensure uniqueness of label name.
9053 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
9054 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
9055
41d0e869
UD
90562012-01-11 Ulrich Drepper <drepper@gmail.com>
9057
0cc5ed3b
UD
9058 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
9059
41d0e869
UD
9060 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
9061 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
9062 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
9063 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
9064
a47a831a
UD
90652012-01-10 Ulrich Drepper <drepper@gmail.com>
9066
daa891c0
UD
9067 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
9068
9069 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
9070 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
9071 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
9072
e58ef0f2
UD
9073 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
9074
a47a831a 9075 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
9076 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
9077 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 9078 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
9079
9080 * math/bits/math-finite.h: Add ldexp support.
9081
a0bfc9c7
MP
90822012-01-10 Marek Polacek <polacek@redhat.com>
9083
9084 * locale/programs/localedef.h (show_archive_content): Add noreturn
9085 attribute.
9086
d6e97a1d
UD
90872012-01-09 Ulrich Drepper <drepper@gmail.com>
9088
9089 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
9090
d5835c26
UD
90912012-01-08 Ulrich Drepper <drepper@gmail.com>
9092
e5f484c6
UD
9093 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
9094
d5835c26
UD
9095 * io/Makefile (headers): Add bits/poll2.h.
9096
d1f741e9
WS
90972011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
9098
9099 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
9100 typo #include statement.
9101
ec09c1c4
UD
91022012-01-08 Ulrich Drepper <drepper@gmail.com>
9103
9104 * include/sys/cdefs.h: Define __attribute_alloc_size.
9105 * catgets/gencat.c: Add alloc_size attribute and apply consistently
9106 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
9107 * elf/pldd.c: Likewise.
9108 * iconv/iconv_charmap.c: Likewise.
9109 * iconv/iconvconfig.c: Likewise.
9110 * iconv/strtab.c: Likewise.
9111 * locale/programs/locale.c: Likewise.
9112 * locale/programs/localedef.h: Likewise.
9113 * locale/programs/simple-hash.c: Likewise.
9114 * nscd/nscd.h: Likewise.
9115 * nss/makedb.c: Likewise.
9116 * sysdeps/generic/ldconfig.h: Likewise.
9117 * locale/programs/localedef.c: Remove xmalloc prototype.
9118 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
9119
20b38e03
PP
91202012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
9121
9122 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
9123 appropriate.
9124
a0da5fe1
UD
91252012-01-08 Ulrich Drepper <drepper@gmail.com>
9126
1d5a644a 9127 * math/Makefile (tests): Add tst-CMPLX.
669704fd 9128 * math/tst-CMPLX.c: New file.
1d5a644a 9129
8784a6db
UD
9130 * math/complex.h (CMPLXL): Fix typo.
9131
d9a216c0
UD
9132 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
9133 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
9134 GLIBC_2.16.
9135 * debug/tst-chk1.c: Add poll and ppoll tests.
9136 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
9137 * include/sys/poll.h: Add hidden proto for ppoll.
9138 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
9139 * sysdeps/mach/hurd/ppoll.c: Likewise.
9140 * io/ppoll.c: Likewise.
9141 * debug/poll_chk.c: New file.
9142 * debug/ppoll_chk.c: New file.
9143 * include/bits/poll2.h: New file.
9144 * io/bits/poll2.h: New file.
9145
ac097f5c
UD
9146 [BZ #1350]
9147 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
9148
2119dcfa
UD
9149 * configure.in: static is always set to yes. Remove.
9150 * config.make.in: Don't set build-static.
9151 * Makeconfig: Remove use of build-static.
9152 * dlfcn/Makefile: Likewise.
9153 * elf/Makefile: Likewise.
9154 * math/Makefile: Likewise.
9155 * misc/Makefile: Likewise.
9156 * nptl/Makefile: Likewise.
9157 * sysdeps/mach/hurd/Makefile: Likewise.
9158
121766a9
UD
9159 * configure.in: PWD_P is not used anymore.
9160 * config.make.in: Remove PWD_P entry.
9161
51a1d39c 9162 * configure.in: Remove last remnants of RANLIB.
8720d066 9163 No need to check for signed size_t anymore.
215f4bdc
UD
9164 Don't set libc_commonpagesize and libc_relro_required here for Alpha
9165 and IA-64.
3857022a 9166 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
9167 * aclocal.m4: Likewise.
9168
d3ed7225
UD
9169 * wcsmbs/mbrtoc16.c: Implement using towc function.
9170 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
9171 * wcsmbs/wcsmbsload.c: Likewise.
9172 * iconv/gconv_simple.c: Likewise.
9173 * iconv/gconv_int.h: Likewise.
9174 * iconv/gconv_builtin.h: Likewise.
9175 * iconv/iconv_prog.c: Remove CHAR16 handling.
9176
9177 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
9178
9179 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
9180
a0da5fe1
UD
9181 * configure.in: Remove --with-elf and --enable-bounded options.
9182 Dont set base_machine for ia64. More non-ELF conditions removed.
9183 Remove testing and setting of leading underscore information.
9184 * config.make.in (build-bounded): Set to no.
9185 * config.h.in: Remove NO_UNDERSCORES entry.
9186 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
9187 them.
9188 * csu/start.c: Remove !NO_UNDERSCORE code.
9189 * locale/localeinfo.h: Likewise.
9190 * sysdeps/generic/machine-gmon.h: Likewise.
9191 * sysdeps/generic/sysdep.h: Likewise.
9192 * sysdeps/i386/sysdep.h: Likewise.
9193 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
9194 * sysdeps/mach/sysdep.h: Likewise.
9195 * sysdeps/s390/s390-32/sysdep.h: Likewise.
9196 * sysdeps/s390/s390-64/sysdep.h: Likewise.
9197 * sysdeps/sh/sysdep.h: Likewise.
9198 * sysdeps/sparc/sparc32/alloca.S: Likewise.
9199 * sysdeps/unix/i386/sysdep.S: Likewise.
9200 * sysdeps/unix/sparc/start.c: Likewise.
9201 * sysdeps/unix/sparc/sysdep.S: Likewise.
9202 * sysdeps/unix/sparc/sysdep.h: Likewise.
9203 * sysdeps/unix/start.c: Likewise.
9204 * sysdeps/unix/x86_64/sysdep.S: Likewise.
9205 * sysdeps/x86_64/sysdep.h: Likewise.
9206
df78418a
UD
92072012-01-07 Ulrich Drepper <drepper@gmail.com>
9208
a784e502
UD
9209 [BZ #13553]
9210 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
9211 for non-gcc.
9212 * argp/argp-fmtstream.h: Use const instead __const.
9213 * argp/argp.h: Likewise.
9214 * assert/assert.h: Likewise.
9215 * bits/fenv.h: Likewise.
9216 * bits/sched.h: Likewise.
9217 * bits/sigset.h: Likewise.
9218 * bits/sigthread.h: Likewise.
9219 * catgets/nl_types.h: Likewise.
9220 * conform/data/pthread.h-data: Likewise.
9221 * crypt/crypt-private.h: Likewise.
9222 * crypt/crypt.h: Likewise.
9223 * crypt/crypt_util.c: Likewise.
9224 * ctype/ctype.h: Likewise.
9225 * debug/execinfo.h: Likewise.
9226 * debug/mbsnrtowcs_chk.c: Likewise.
9227 * debug/mbsrtowcs_chk.c: Likewise.
9228 * debug/wcsnrtombs_chk.c: Likewise.
9229 * debug/wcsrtombs_chk.c: Likewise.
9230 * debug/wcstombs_chk.c: Likewise.
9231 * dirent/dirent.h: Likewise.
9232 * dlfcn/dlfcn.h: Likewise.
9233 * elf/neededtest4.c: Likewise.
9234 * grp/grp.h: Likewise.
9235 * gshadow/gshadow.h: Likewise.
9236 * iconv/gconv.h: Likewise.
9237 * iconv/gconv_int.h: Likewise.
9238 * iconv/gconv_simple.c: Likewise.
9239 * iconv/iconv.h: Likewise.
9240 * iconv/loop.c: Likewise.
9241 * iconv/skeleton.c: Likewise.
9242 * include/aio.h: Likewise.
9243 * include/aliases.h: Likewise.
9244 * include/argz.h: Likewise.
9245 * include/arpa/inet.h: Likewise.
9246 * include/assert.h: Likewise.
9247 * include/dirent.h: Likewise.
9248 * include/dlfcn.h: Likewise.
9249 * include/execinfo.h: Likewise.
9250 * include/fcntl.h: Likewise.
9251 * include/fenv.h: Likewise.
9252 * include/glob.h: Likewise.
9253 * include/grp.h: Likewise.
9254 * include/libintl.h: Likewise.
9255 * include/mntent.h: Likewise.
9256 * include/netdb.h: Likewise.
9257 * include/pwd.h: Likewise.
9258 * include/rpc/netdb.h: Likewise.
9259 * include/sched.h: Likewise.
9260 * include/search.h: Likewise.
9261 * include/shadow.h: Likewise.
9262 * include/signal.h: Likewise.
9263 * include/stdio.h: Likewise.
9264 * include/stdlib.h: Likewise.
9265 * include/string.h: Likewise.
9266 * include/sys/socket.h: Likewise.
9267 * include/sys/stat.h: Likewise.
9268 * include/sys/statfs.h: Likewise.
9269 * include/sys/statvfs.h: Likewise.
9270 * include/sys/syslog.h: Likewise.
9271 * include/sys/time.h: Likewise.
9272 * include/sys/uio.h: Likewise.
9273 * include/time.h: Likewise.
9274 * include/unistd.h: Likewise.
9275 * include/utmp.h: Likewise.
9276 * include/wchar.h: Likewise.
9277 * include/wctype.h: Likewise.
9278 * inet/aliases.h: Likewise.
9279 * inet/arpa/inet.h: Likewise.
9280 * inet/netinet/ether.h: Likewise.
9281 * inet/netinet/in.h: Likewise.
9282 * intl/libintl.h: Likewise.
9283 * io/bits/fcntl2.h: Likewise.
9284 * io/fcntl.h: Likewise.
9285 * io/ftw.h: Likewise.
9286 * io/sys/poll.h: Likewise.
9287 * io/sys/stat.h: Likewise.
9288 * io/sys/statfs.h: Likewise.
9289 * io/sys/statvfs.h: Likewise.
9290 * io/utime.h: Likewise.
9291 * libio/bits/stdio.h: Likewise.
9292 * libio/bits/stdio2.h: Likewise.
9293 * libio/libio.h: Likewise.
9294 * libio/libioP.h: Likewise.
9295 * libio/stdio.h: Likewise.
9296 * locale/lc-ctype.c: Likewise.
9297 * locale/locale.h: Likewise.
9298 * login/utmp.h: Likewise.
9299 * malloc/arena.c: Likewise.
9300 * malloc/malloc.c: Likewise.
9301 * malloc/malloc.h: Likewise.
9302 * malloc/mcheck.c: Likewise.
9303 * malloc/mtrace.c: Likewise.
9304 * math/bits/mathcalls.h: Likewise.
9305 * math/fenv.h: Likewise.
9306 * math/math_private.h: Likewise.
9307 * misc/bits/error.h: Likewise.
9308 * misc/bits/syslog.h: Likewise.
9309 * misc/err.h: Likewise.
9310 * misc/error.h: Likewise.
9311 * misc/fstab.h: Likewise.
9312 * misc/mntent.h: Likewise.
9313 * misc/regexp.h: Likewise.
9314 * misc/search.h: Likewise.
9315 * misc/sgtty.h: Likewise.
9316 * misc/sys/mman.h: Likewise.
9317 * misc/sys/syslog.h: Likewise.
9318 * misc/sys/uio.h: Likewise.
9319 * misc/sys/xattr.h: Likewise.
9320 * misc/ttyent.h: Likewise.
9321 * nis/rpcsvc/ypclnt.h: Likewise.
9322 * nss/nss.h: Likewise.
9323 * posix/bits/unistd.h: Likewise.
9324 * posix/fnmatch.h: Likewise.
9325 * posix/glob.h: Likewise.
9326 * posix/sched.h: Likewise.
9327 * posix/spawn.h: Likewise.
9328 * posix/sys/wait.h: Likewise.
9329 * posix/unistd.h: Likewise.
9330 * posix/wordexp.h: Likewise.
9331 * pwd/pwd.h: Likewise.
9332 * resolv/netdb.h: Likewise.
9333 * resource/sys/resource.h: Likewise.
9334 * rt/aio.h: Likewise.
9335 * rt/bits/mqueue2.h: Likewise.
9336 * rt/mqueue.h: Likewise.
9337 * shadow/shadow.h: Likewise.
9338 * signal/signal.h: Likewise.
9339 * socket/send.c: Likewise.
9340 * socket/sendto.c: Likewise.
9341 * socket/sys/socket.h: Likewise.
9342 * stdio-common/printf.h: Likewise.
9343 * stdlib/bits/stdlib.h: Likewise.
9344 * stdlib/fmtmsg.h: Likewise.
9345 * stdlib/monetary.h: Likewise.
9346 * stdlib/stdlib.h: Likewise.
9347 * stdlib/ucontext.h: Likewise.
9348 * streams/stropts.h: Likewise.
9349 * string/argz.h: Likewise.
9350 * string/bits/string2.h: Likewise.
9351 * string/string.h: Likewise.
9352 * string/strings.h: Likewise.
9353 * sunrpc/rpc/auth.h: Likewise.
9354 * sunrpc/rpc/auth_des.h: Likewise.
9355 * sunrpc/rpc/clnt.h: Likewise.
9356 * sunrpc/rpc/netdb.h: Likewise.
9357 * sunrpc/rpc/pmap_clnt.h: Likewise.
9358 * sunrpc/rpc/xdr.h: Likewise.
9359 * sysdeps/generic/inttypes.h: Likewise.
9360 * sysdeps/generic/net/if.h: Likewise.
9361 * sysdeps/generic/sys/swap.h: Likewise.
9362 * sysdeps/gnu/net/if.h: Likewise.
9363 * sysdeps/gnu/utmpx.h: Likewise.
9364 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
9365 * sysdeps/i386/i486/bits/string.h: Likewise.
9366 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
9367 * sysdeps/s390/bits/string.h: Likewise.
9368 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
9369 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
9370 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
9371 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
9372 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
9373 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
9374 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
9375 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
9376 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
9377 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
9378 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
9379 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
9380 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
9381 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
9382 * sysdeps/unix/sysv/linux/readv.c: Likewise.
9383 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
9384 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
9385 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
9386 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
9387 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
9388 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
9389 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
9390 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
9391 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
9392 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
9393 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
9394 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
9395 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
9396 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
9397 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
9398 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
9399 * sysvipc/sys/ipc.h: Likewise.
9400 * sysvipc/sys/msg.h: Likewise.
9401 * sysvipc/sys/sem.h: Likewise.
9402 * sysvipc/sys/shm.h: Likewise.
9403 * termios/termios.h: Likewise.
9404 * time/sys/time.h: Likewise.
9405 * time/time.h: Likewise.
9406 * wcsmbs/bits/wchar2.h: Likewise.
9407 * wcsmbs/uchar.h: Likewise.
9408 * wcsmbs/wchar.h: Likewise.
9409 * wctype/wctype.h: Likewise.
9410
0269750c
UD
9411 [BZ #13551]
9412 * Makeconfig: Remove all but ELF support including AIX support.
9413 * Makerules: Likewise.
9414 * config.h.in: Likewise.
9415 * config.make.in: Likewise.
9416 * configure: Likewise.
9417 * configure.in: Likewise.
9418 * csu/Makefile: Likewise.
9419 * csu/version.c: Likewise.
9420 * debug/Makefile: Likewise.
9421 * dlfcn/Makefile: Likewise.
9422 * elf/Makefile: Likewise.
9423 * extra-lib.mk: Likewise.
9424 * iconv/Makefile: Likewise.
9425 * include/libc-symbols.h: Likewise.
9426 * include/shlib-compat.h: Likewise.
9427 * resolv/Makefile: Likewise.
9428 * resolv/res_libc.c: Likewise.
9429 * rt/Makefile: Likewise.
9430 * sysdeps/i386/asm-syntax.h: Likewise.
9431 * sysdeps/i386/sysdep.h: Likewise.
9432 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
9433 * sysdeps/mach/sysdep.h: Likewise.
9434 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
9435 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
9436 * sysdeps/s390/asm-syntax.h: Likewise.
9437 * sysdeps/s390/s390-32/sysdep.h: Likewise.
9438 * sysdeps/s390/s390-64/sysdep.h: Likewise.
9439 * sysdeps/sh/sysdep.h: Likewise.
9440 * sysdeps/unix/sparc/sysdep.h: Likewise.
9441 * sysdeps/wordsize-32/divdi3.c: Likewise.
9442 * sysdeps/x86_64/sysdep.h: Likewise.
9443
00bbd29b
UD
9444 * argp/Versions: Remove _argp_unlock_xxx.
9445
9446 [BZ #13559]
9447 * abilist/ld.abilist: Update. Adjust for removal of tls option.
9448 * abilist/libBrokenLocale.abilist: Likewise.
9449 * abilist/libanl.abilist: Likewise.
9450 * abilist/libc.abilist: Likewise.
9451 * abilist/libcrypt.abilist: Likewise.
9452 * abilist/libdl.abilist: Likewise.
9453 * abilist/libm.abilist: Likewise.
9454 * abilist/libnsl.abilist: Likewise.
9455 * abilist/libpthread.abilist: Likewise.
9456 * abilist/libresolv.abilist: Likewise.
9457 * abilist/librt.abilist: Likewise.
9458 * abilist/libthread_db.abilist: Likewise.
9459 * abilist/libutil.abilist: Likewise.
9460 * abilist/libnss_db.abilist: New file.
9461
9462 * scripts/abilist.awk: Add support for indirect functions.
9463
a2693a0e
UD
9464 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
9465
3f05895f
UD
9466 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
9467
ecb6fb48
UD
9468 * shlib-versions: Remove entries for ports architectures.
9469
664f8cb9
UD
9470 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
9471 files in ports.
9472 * elf/stackguard-macros.h: Remove support for IA-64.
9473 * elf/tst-auditmod1.c: Likewise.
9474 * sysdeps/generic/ldsodefs.h: Likewise.
9475
7ae81d88
UD
9476 * sysdeps/unix/sysv/linux/configure.in: Ports should define
9477 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
9478 configure files.
9479
bdeba135
UD
9480 [BZ #13552]
9481 * configure.in: Remove --enable-omitfp support.
9482 * FAQ.in: Adjust.
9483 * config.make.in: Likewise.
9484 * Makeconfig: Likewise.
9485 * manual/install.texi: Likewise.
9486
d75a0a62
UD
9487 In case anyone cares, the IA-64 architecture could move to ports.
9488 * sysdeps/ia64/*: Removed.
9489 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 9490 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 9491
dcc9756b
UD
9492 [BZ #13555]
9493 * configure.in: Remove entries for unsupported architectures.
9494
d3761ebc 9495 [BZ #13533]
9954432e
UD
9496 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
9497 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
9498 routines.
9499 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
9500 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
9501 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
9502 fall back to using wcrtomb.
9503 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
9504 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
9505 renaming.
9506 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
9507 * wcsmbs/tst-c16c32-1.c: New file.
9508
9509 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
9510 local variable.
9511
c3a87236
UD
9512 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
9513
28926a1b
UD
9514 * elf/tst-unique3.cc: Add explicit declaration of gets.
9515 * elf/tst-unique3lib.cc: Likewise.
9516 * elf/tst-unique3lib2.cc: Likewise.
9517 * elf/tst-unique4.cc: Likewise.
9518
df78418a
UD
9519 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
9520
8ecd6b2a
JM
95212012-01-06 Joseph Myers <joseph@codesourcery.com>
9522
9523 [BZ #13566]
9524 * assert/assert.h (static_assert): Don't define for C++.
9525 * libio/stdio.h (gets): Do declare for C++ <= C++11.
9526 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
9527
9f115170
UD
95282012-01-03 Ulrich Drepper <drepper@gmail.com>
9529
5e0d0300
UD
9530 * iconv/loop.c (single loop): Fix assertion in storing of
9531 remaining bytes.
9532
9f115170
UD
9533 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
9534
81fb02b0
UD
95352012-01-01 Ulrich Drepper <drepper@gmail.com>
9536
9537 * posix/getconf.c: Update copyright year.
9538 * nss/getent.c: Likewise.
a316c1f6 9539 * nss/makedb.c: Likewise.
81fb02b0
UD
9540 * iconv/iconvconfig.c: Likewise.
9541 * iconv/iconv_prog.c: Likewise.
9542 * elf/ldconfig.c: Likewise.
a316c1f6
UD
9543 * elf/pldd.c: Likewise.
9544 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
9545 * catgets/gencat.c: Likewise.
9546 * csu/version.c: Likewise.
9547 * elf/ldd.bash.in: Likewise.
9548 * elf/sprof.c (print_version): Likewise.
9549 * locale/programs/locale.c: Likewise.
9550 * locale/programs/localedef.c: Likewise.
a316c1f6 9551 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
9552 * nscd/nscd.c (print_version): Likewise.
9553 * debug/xtrace.sh: Likewise.
9554 * malloc/memusage.sh: Likewise.
9555 * malloc/mtrace.pl: Likewise.
9556 * debug/catchsegv.sh: Likewise.
9557
2ba92745
JJ
95582011-12-30 Jakub Jelinek <jakub@redhat.com>
9559
9560 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
9561 pure attribute.
9562
dadebdae
UD
95632011-12-24 Ulrich Drepper <drepper@gmail.com>
9564
d3761ebc 9565 [BZ #13533]
db6af3eb
UD
9566 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
9567 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
9568 transformations.
9569 * iconv/gconv_int.h: Likewise.
9570 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
9571 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
9572 from libc for GLIBC_2.16.
9573 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
9574 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
9575 * wcsmbs/uchar.h: Really define mbstate_t.
9576 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
9577 * wcsmbs/c16rtomb.c: New file.
9578 * wcsmbs/mbrtoc16.c: New file.
9579 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
9580 for C/POSIX locale.
9581 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
9582 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
9583
dadebdae
UD
9584 * wcsmbs/wchar.h: Add missing __restrict.
9585
67371b56
UD
95862011-12-23 Ulrich Drepper <drepper@gmail.com>
9587
74033a25
UD
9588 [BZ #13532]
9589 * time/Makefile (routines): Add timespec_get.
9590 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
9591 * time/time.h: Define TIME_UTC and declare timespec_get. Define
9592 timespec for ISO C11.
9593 * time/timespec_get.c: New file.
9594 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
9595 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
9596
380d7e87
UD
9597 [BZ #13531]
9598 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
9599 * stdlib/stdlib.h: Declare aligned_alloc.
9600 * Versions.def: Add GLIBC_2.16 for libc.
9601 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
9602
4e9e7a35
UD
9603 [BZ 13527]
9604 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
9605 ISO C11.
9606
380d7e87 9607 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
9608 code.
9609
03a71829
UD
9610 [BZ #13528]
9611 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
9612
839e283e
UD
9613 [BZ #13529]
9614 * assert/assert.h (static_assert): Define.
9615
ce5294e2 9616 * version.h: Update for 2.16 development version.
90fa7312 9617
8d44e150 9618 [BZ #13526]
d7809905
UD
9619 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
9620 _ISOC11_SOURCE.
9621
c0da14cd
UD
9622 * version.h (RELEASE): Bump for 2.15 release.
9623 * include/features.h (__GLIBC_MINOR__): Bump to 15.
9624
530a3249
MP
9625 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
9626 Patch by Marek Polacek <mpolacek@redhat.com>.
9627
67371b56
UD
9628 * bits/byteswap.h: Protect long long constants with __extension__.
9629 * sysdeps/i386/bits/byteswap.h: Likewise.
9630 * sysdeps/ia64/bits/byteswap.h: Likewise.
9631 * sysdeps/s390/bits/byteswap.h: Likewise.
9632 * sysdeps/x86_64/bits/byteswap.h: Likewise.
9633
15db4de1
LD
96342011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9635
9636 [BZ #13540]
bbe315ea
LD
9637 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
9638 destination buffer.
15db4de1
LD
9639 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
9640
2b2596b1
MP
96412011-12-23 Marek Polacek <polacek@redhat.com>
9642
9643 * elf/dl-addr.c (determine_info): Add inline keyword.
9644 * elf/tst-auditmod4b.c (check_avx): Likewise.
9645 * elf/tst-auditmod6b.c (check_avx): Likewise.
9646 * elf/tst-auditmod6c.c (check_avx): Likewise.
9647 * elf/tst-auditmod7b.c (check_avx): Likewise.
9648
70c6c246
UD
96492011-12-23 Ulrich Drepper <drepper@gmail.com>
9650
9651 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
9652 !__SSE_MATH__.
9653
c044cf14
LD
96542011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9655
15db4de1 9656 [BZ #13540]
c044cf14
LD
9657 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
9658 processing for last bytes.
9659
6b13d9d9
BH
96602011-08-06 Bruno Haible <bruno@clisp.org>
9661
d455f537
BH
9662 [BZ #13061]
9663 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
9664 U+0385, not to U+1FEE.
9665
6b13d9d9
BH
9666 [BZ #13062]
9667 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
9668 entry for U+00A5 U+0301.
9669
db910efd
UD
96702011-12-22 Ulrich Drepper <drepper@gmail.com>
9671
27deeafc
UD
9672 [BZ #13166]
9673 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
9674 buffer for the output is too small.
9675
aed9d171
UD
9676 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
9677 optimization.
9678
db910efd
UD
9679 [BZ #13185]
9680 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
9681 SSE flags if possible.
9682
2bd779ae
LD
96832011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9684
e7f9dac3 9685 [BZ #13540]
2bd779ae
LD
9686 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
9687 processing for last bytes.
9688
154bfc16
JM
96892011-12-22 Joseph Myers <joseph@codesourcery.com>
9690
9691 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
9692 (syscall-list-default-options, syscall-list-default-condition)
9693 (syscall-list-includes): Define.
9694 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
9695 list of ABIs and options and #if conditions for each ABI. Do not
9696 handle common syscalls between ABIs specially.
9697 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
9698 Remove.
9699 (syscall-list-variants, syscall-list-32bit-options)
9700 (syscall-list-32bit-condition, syscall-list-64bit-options)
9701 (syscall-list-64bit-condition): Define.
9702 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
9703 (syscall-list-variants, syscall-list-32bit-options)
9704 (syscall-list-32bit-condition, syscall-list-64bit-options)
9705 (syscall-list-64bit-condition): Define.
9706 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
9707 Remove.
9708 (syscall-list-variants, syscall-list-32bit-options)
9709 (syscall-list-32bit-condition, syscall-list-64bit-options)
9710 (syscall-list-64bit-condition): Define.
9711 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
9712 Remove.
9713 (syscall-list-variants, syscall-list-32bit-options)
9714 (syscall-list-32bit-condition, syscall-list-64bit-options)
9715 (syscall-list-64bit-condition): Define.
9716
21eaf3a5
UD
97172011-12-22 Ulrich Drepper <drepper@gmail.com>
9718
16c6f992
UD
9719 * locale/iso-639.def: Add brx entry.
9720
41043168
UD
9721 [BZ #13328]
9722 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
9723 Proposed by Mariusz_Cukr <marcukr@op.pl>.
9724
21eaf3a5
UD
9725 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
9726 __feraiseexcept_renamed.
9727
e3a851a2
UD
97282011-12-21 Ulrich Drepper <drepper@gmail.com>
9729
4920765e
UD
9730 [BZ #13538]
9731 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
9732 EPOLLET with unsigned values.
9733 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
9734 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
9735
e3a851a2
UD
9736 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
9737 to large cancellation.
9738 * math/s_cacoshf.c: Likewise.
9739 * math/s_cacoshl.c: Likewise.
9740
b27e24b8
RK
97412011-11-18 Richard B. Kreckel <kreckel@ginac.de>
9742
9743 [BZ #13305]
aebefeee 9744 [BZ #12786]
b27e24b8
RK
9745 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
9746 * math/s_cacoshf.c: Likewise.
9747 * math/s_cacoshl.c: Likewise.
9748
ee190f67
UD
97492011-12-21 Ulrich Drepper <drepper@gmail.com>
9750
9751 [BZ #13439]
9752 * iconv/gconv.h: Define __GCONV_SWAP.
9753 * iconvdata/unicode.c: The swap bit must be stored in __flags.
9754 * iconvdata/utf-16.c: Likewise.
9755 * iconvdata/utf-32.c: Likewise.
9756
707f25df
AS
97572011-12-21 Andreas Schwab <schwab@linux-m68k.org>
9758
9759 [BZ #13524]
9760 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
9761 numerator after shifting it by one limb.
9762
d2daaa1e
RÁE
97632011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
9764
9765 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
9766 under [__USE_EXTERN_INLINES].
9767
a4647e72
UD
97682011-12-17 Ulrich Drepper <drepper@gmail.com>
9769
9770 [BZ #13446]
9771 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
9772
f0b264f1
AZ
97732011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9774
9775 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
9776 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
9777 optimized code.
9778 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
9779 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
9780 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
9781 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
9782 for strncasecmp/strncasecmp_l compilation.
9783 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
9784 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
9785
8ef4f244
MP
97862011-12-08 Marek Polacek <mpolacek@redhat.com>
9787
9788 [BZ #13484]
9789 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
9790 of __asm__.
9791
97ac2654
UD
97922011-12-17 Ulrich Drepper <drepper@gmail.com>
9793
9794 [BZ #13506]
9795 * time/tzfile.c (__tzfile_read): Check values from file header.
9796
91d2a845
WS
97972011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
9798
9799 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
9800 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
9801 * powerpc/powerpc32/dl-start.S: Likewise.
9802 * powerpc/powerpc32/elf/start.S: Likewise.
9803 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
9804 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
9805 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
9806 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
9807 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
9808 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
9809 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
9810 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
9811 * powerpc/powerpc32/fpu/s_round.S: Likewise.
9812 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
9813 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
9814 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
9815 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
9816 * powerpc/powerpc32/memset.S: Likewise.
9817 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
9818 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
9819 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
9820 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
9821 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
9822 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
9823 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
9824 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
9825 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
9826 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
9827 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
9828 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
9829 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
9830
a1267ba1
AZ
98312011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9832
9833 * math/libm-test.inc: Added more nearbyint tests.
9834 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
9835 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
9836 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
9837 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
9838
ad8ac1bd
RL
98392011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
9840
9841 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
9842 FD_CLOEXEC.
9843
1d3e4b61
UD
98442011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9845
9846 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
9847 Add wcscpy-ssse3 wcscpy-c.
9848 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
9849 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
9850 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
9851 * sysdeps/x86_64/wcschr.S: New file.
9852 * sysdeps/x86_64/wcsrchr.S: New file.
9853 * string/test-strcmp.c: Remove checking of wcscmp function for
9854 wrong alignments.
9855 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
9856 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
9857 wcsrchr-sse2 wcsrchr-c.
9858 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
9859 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
9860 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
9861 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
9862 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
9863 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
9864 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
9865 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
9866 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
9867 * wcsmbc/wcschr.c (WCSCHR): New macro.
9868
5b330a2d
UD
98692011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9870
9871 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
9872 * wcsmbs/test-wcsrchr.c: New file.
9873 * string/test-strrchr.c: Add wcsrchr support.
9874 (WIDE): New macro.
9875 * wcsmbs/test-wcscpy.c: New file.
9876 * string/test-strcpy.c: Add wcscpy support.
9877 (WIDE): New macro.
26428b7c 9878
f039c043
UD
98792011-12-10 Ulrich Drepper <drepper@gmail.com>
9880
9881 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
9882 the inner loop.
9883
850fb039
AS
98842011-12-06 Andreas Schwab <schwab@linux-m68k.org>
9885
9886 [BZ #13472]
9887 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
9888
4efbd5cb
UD
98892011-12-04 Ulrich Drepper <drepper@gmail.com>
9890
52ff5dd0 9891 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 9892 Minor optimizations.
52ff5dd0 9893
4efbd5cb
UD
9894 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
9895 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
9896 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
9897
8a426e12
UD
98982011-12-03 Ulrich Drepper <drepper@gmail.com>
9899
aff2453d
UD
9900 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
9901 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
9902 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
9903 for gcc to avoid warnings.
9904 * inet/Makefile (tests): Add tst-checks.
9905 * inet/tst-checks.c: New file.
9906
9907 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
9908 warning.
9909
9910 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
9911 __wmemcmp_sse2.
9912
9913 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
9914 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
9915
8a426e12
UD
9916 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
9917
9bea3473
UD
99182011-12-02 Ulrich Drepper <drepper@gmail.com>
9919
3a965496
UD
9920 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
9921 problem.
9922
9bea3473
UD
9923 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
9924
f101631b
UD
99252011-11-29 Joseph Myers <joseph@codesourcery.com>
9926
9927 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
9928 conditional on GCC version.
9929 (__arch_compare_and_exchange_val_8_acq)
9930 (__arch_compare_and_exchange_val_16_acq)
9931 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
9932 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
9933 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
9934
a98275aa
UD
99352011-12-02 Joseph Myers <joseph@codesourcery.com>
9936
9937 * sysdeps/sh/backtrace.c: New file.
9938
d4cc29a2
AS
99392011-12-02 Andreas Schwab <schwab@redhat.com>
9940
9941 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
9942 parenthesis.
9943
6257af2d
AS
99442011-12-01 Andreas Schwab <schwab@redhat.com>
9945
9946 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
9947 falling back to utime.
9948
b5f44c1a
AS
99492011-11-30 Andreas Schwab <schwab@redhat.com>
9950
9951 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
9952 expectations for float.
9953
f3a6cc0a
AS
99542011-11-29 Andreas Schwab <schwab@redhat.com>
9955
9956 * locale/weight.h (findidx): Add parameter len.
9957 * locale/weightwc.h (findidx): Likewise.
9958 * posix/fnmatch_loop.c (FCT): Adjust caller.
9959 * posix/regcomp.c (build_equiv_class): Likewise.
9960 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
9961 * posix/regexec.c (check_node_accept_bytes): Likewise.
9962 * string/strcoll_l.c (STRCOLL): Likewise.
9963 * string/strxfrm_l.c (STRXFRM): Likewise.
9964
9d65ea3a
UD
99652011-11-17 Ulrich Drepper <drepper@gmail.com>
9966
9967 * Makefile.in: Remove CVSOPT handling.
9968 * configure.in: Remove use of AC_REVISION.
9969 * iconvdata/Makefile (distribute): No need to filter out CVS.
9970 * scripts/list-sources.sh: Remove CVS, subversion and monotone
9971 handling.
9972
5583a086
AS
99732011-11-16 Andreas Schwab <schwab@redhat.com>
9974
9975 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
9976 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
9977 [USE_AS_STRNCASECMP_L]: Likewise.
9978 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
9979 NO_TLS_DIRECT_SEG_REFS.
9980 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
9981 Fix argument offsets for non-PIC.
9982 [USE_AS_STRNCASECMP_L]: Likewise.
9983 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
9984 NO_TLS_DIRECT_SEG_REFS.
9985
d62a8200
UD
99862011-11-15 Ulrich Drepper <drepper@gmail.com>
9987
9d65ea3a 9988 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
9989 O_CLOEXEC.
9990 * locale/loadlocale.c (_nl_load_locale): Likewise.
9991
09f93bd3
AS
99922011-11-15 Andreas Schwab <schwab@redhat.com>
9993
446514f9
AS
9994 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
9995 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
9996 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
9997 (SYSCALL_GETTIME): Set errno on error.
9998
09f93bd3
AS
9999 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
10000 count references to noai6ai_cached.
10001
312be3f9
UD
100022011-11-15 Ulrich Drepper <drepper@gmail.com>
10003
10004 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
10005
10006 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
10007 FD_CLOEXEC for /proc/self/maps.
10008
10009 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
10010 FD_CLOEXEC for /proc/meminfo.
10011
10012 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
10013 gai.conf.
10014
10015 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
10016 FD_CLOEXEC for given file.
10017
10018 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
10019
10020 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
10021 FD_CLOEXEC for /etc/hosts.
10022 (_gethtent): Likewise.
10023
10024 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
10025
10026 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
10027 cancellation and set FD_CLOEXEC for /etc/netgroup.
10028
10029 * nss/nss_files/files-key.c (search): Don't allow cancellation when
10030 reading /etc/publickey.
10031
10032 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
10033 allow cancellation when reading /etc/group.
10034
10035 * nss/nss_files/files-alias.c (internal_setent): Don't allow
10036 cancellation.
10037 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
10038
10039 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
10040 when using data file.
10041
10042 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
10043
10044 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
10045 (write_nis_obj): Use "c" and "e" in fopen.
10046
10047 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
10048
10049 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
10050
10051 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
10052
10053 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
10054
10055 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
10056 locale.alias.
10057
10058 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
10059
10060 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
10061
10062 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
10063
10064 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
10065 file parsing and set FD_CLOEXEC.
10066
82af0fa8
UD
100672011-11-14 Ulrich Drepper <drepper@gmail.com>
10068
10069 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
10070
a5fb313c
AS
100712011-11-14 Andreas Schwab <schwab@redhat.com>
10072
10073 * malloc/arena.c (arena_get2): Don't call reused_arena when
10074 _int_new_arena failed.
10075
6abf3465
UD
100762011-11-14 Ulrich Drepper <drepper@gmail.com>
10077
10078 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
10079 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
10080 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
10081 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
10082 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
10083 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
10084 to compile strcasecmp and strncasecmp.
10085 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
10086 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
10087
10088 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
10089
76e3966e
UD
100902011-11-13 Ulrich Drepper <drepper@gmail.com>
10091
10092 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
10093 locale-defines.sym to gen-as-const-headers.
10094 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
10095 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
10096 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
10097 to compile strcasecmp and strncasecmp.
10098 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
10099 strcasecmp_l and strncasecmp_l.
10100 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
10101 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
10102 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
10103 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
10104 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
10105 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
10106 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
10107 * sysdeps/i386/i686/multiarch/strncase.S: New file.
10108 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
10109 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
10110 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
10111
ab26144e
UD
101122011-11-12 Ulrich Drepper <drepper@gmail.com>
10113
7edb22ef
UD
10114 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
10115 result of SYSDEP_GETTIME_CPU to retval.
10116 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
10117 parameter list to macro. Remove trailing semicolon. Adjust users.
10118
9694fc44
UD
10119 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
10120 variable.
10121
8ad89ef8
UD
10122 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
10123 mantissa words.
10124 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
10125
0c822ef9
UD
10126 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
10127 from unused variable.
10128
874e0564
UD
10129 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
10130 DWARF definitions.
10131 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
10132 for assembling.
10133
3a2edc79
UD
10134 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
10135 over namespaces.
10136
f3c2577f
UD
10137 * sunrpc/rpc_prot.c (rejected): Fix case value.
10138
294ce126
UD
10139 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
10140 unsigned long long int to avoid warnings in shift.
10141
5e2b63c6
UD
10142 * posix/regex_internal.c (re_string_reconstruct): Actually use result
10143 of use of trans.
10144 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
10145 variable tmp.
10146
e7f4b08e
UD
10147 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
10148 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
10149 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
10150
ab26144e
UD
10151 * nis/nis_table.c (nis_list): Use variable of correct type for
10152 result of __follow_path call.
10153
8a6d5255
AZ
101542011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10155
10156 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
10157 of math functions ceil, trunc, floor, round, and sqrt, when
10158 avaliable on the platform.
10159 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
10160 name clash.
10161 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
10162 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
10163 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
10164
aaddc98c
MP
101652011-10-30 Marek Polacek <mpolacek@redhat.com>
10166
10167 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
10168 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
10169
95b7042b
RM
101702011-11-11 Roland McGrath <roland@hack.frob.com>
10171
10172 * include/unistd.h: Fix __readlink return type.
10173 Reported by Chris Metcalf <cmetcalf@tilera.com>.
10174
57769839
UD
101752011-11-11 Ulrich Drepper <drepper@gmail.com>
10176
10177 * stdlib/ucontext.h: Undo last change for makecontext.
10178
edc5984d
AS
101792011-11-11 Andreas Schwab <schwab@redhat.com>
10180
98591e58
AS
10181 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
10182
edc5984d
AS
10183 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
10184 * setjmp/setjmp.h: Mark functions as non-leaf.
10185 * setjmp/bits/setjmp2.h: Likewise.
10186 * stdlib/ucontext.h: Likewise.
10187
77cdc054
AS
101882011-11-10 Andreas Schwab <schwab@redhat.com>
10189
10190 * malloc/arena.c (_int_new_arena): Don't increment narenas.
10191 (reused_arena): Don't check arena limit.
10192 (arena_get2): Atomically check arena limit.
10193
fe72eebd
UD
101942011-11-08 Ulrich Drepper <drepper@gmail.com>
10195
5f078c32
UD
10196 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
10197 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
10198
fe72eebd
UD
10199 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
10200 instructions.
10201
ae1bc2fa
AS
102022011-11-07 Andreas Schwab <schwab@redhat.com>
10203
7583a88d
AS
10204 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
10205 handler when locking.
10206
ae1bc2fa
AS
10207 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
10208 Fix size of allocated buffer.
10209
10fb0bfa
AS
102102011-11-04 Andreas Schwab <schwab@redhat.com>
10211
998832a4
AS
10212 [BZ #10103]
10213 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
10214 declarations for long double functions.
10215 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
10216
10fb0bfa
AS
10217 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
10218
3d7ba52b
AS
102192011-11-03 Andreas Schwab <schwab@redhat.com>
10220
a9ae54a1
AS
10221 * nscd/nscd.c (main): Don't start AVC thread until credentials are
10222 installed.
10223
3d7ba52b
AS
10224 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
10225 is disabled.
10226
bc8db248
ST
102272011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
10228
10229 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
10230
45b96dd6
AS
102312011-11-01 Andreas Schwab <schwab@linux-m68k.org>
10232
647776f6
AS
10233 * include/alloca.h (stackinfo_alloca_round): Define.
10234 (extend_alloca): Use it.
10235 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
10236 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
10237 here.
10238
d91a8b93
AS
10239 * scripts/check-local-headers.sh: Ignore libaudit.h.
10240
45b96dd6
AS
10241 * nscd/Makefile (extra-objs): Make recursively expanded.
10242
432d41ce
UD
102432011-11-01 Ulrich Drepper <drepper@gmail.com>
10244
34372fc6
UD
10245 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
10246 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
10247
fadb59f8
UD
10248 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
10249 * posix/tst-rfc3484-2.c: Likewise.
10250 * posix/tst-rfc3484-3.c: Likewise.
10251
78239589
UD
10252 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
10253 process_vm_writev.
10254 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
10255 process_vm_writev.
10256 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
10257 process_vm_writev from libc using GLIBC_2.15 version.
10258
432d41ce
UD
10259 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
10260
02f9c6cf
PP
102612011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
10262
10263 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
10264 stack usage.
10265
3a2c0242
UD
102662011-10-31 Ulrich Drepper <drepper@gmail.com>
10267
f4ec4833
UD
10268 [BZ #13367]
10269 * nss/getent.c (initgroups_keys): Show error message in case no group
10270 names are given.
10271
3a2c0242
UD
10272 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
10273 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
10274 __bump_nl_timestamp.
10275 * nscd/connections (nscd_init): When host database is served open
10276 netlink socket and request notification about configuration changes.
10277 (main_loop_poll): Track netlink file descriptor and bump timestamp
10278 in case data becomes available.
10279 (main_loop_epoll): Likewise.
10280 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
10281 (database_pers_head): Add extra_data fileds.
10282 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
10283 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
10284 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
10285 Adjust caller.
10286 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
10287 in6ai data, call __free_in6ai.
10288 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
10289 Add -DHAVE_NETLINK.
10290 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
10291 interface information. Reuse previous data if netlink timestamp
10292 is not changed.
10293 (__bump_nl_timestamp): New function.
10294 (__free_in6ai): New function.
10295
636064eb
UD
102962011-10-30 Ulrich Drepper <drepper@gmail.com>
10297
10298 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
10299 close_not_cancel_no_status here.
10300 (__check_pf): Reorganize code a bit to not call close twice if OOM.
10301
9beb2334
UD
103022011-10-29 Ulrich Drepper <drepper@gmail.com>
10303
6ef76f3b
UD
10304 [BZ #13276]
10305 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
10306 return value.
10307
0ffc4f3e 10308 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
10309 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
10310 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
10311
cb95113e
UD
103122011-07-03 Andreas Jaeger <aj@suse.de>
10313
10314 [BZ #10709]
10315 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
10316 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
10317 * math/libm-test.inc (sin_test): Add test case.
10318
a1b560ff
UD
103192011-10-29 Ulrich Drepper <drepper@gmail.com>
10320
c9aaface
UD
10321 [BZ #13337]
10322 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
10323 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
10324
d272e7f1
UD
10325 * elf/chroot_canon.c (chroot_canon): Cleanups.
10326
1bc33071
UD
10327 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
10328
1760874d
TJ
10329 [BZ #13335]
10330 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
10331 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
10332
51d91b18
UD
10333 * string/test-strchr.c: Make usable for strchrnul testing.
10334 * string/test-strchrnul.c: New file.
10335 * string/Makefile (strop-tests): Add strchrnul.
10336
a1b560ff 10337 * po/it.po: Update from translation team.
b611fb81 10338 * po/es.po: Likewise.
a1b560ff 10339
a5b81e1f
UD
103402011-10-28 Ulrich Drepper <drepper@gmail.com>
10341
fd52bc6d
UD
10342 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
10343 the three constants needed as parameters. Drop the others.
10344 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
10345 __m128i_strloadu_tolower.
52e4b9eb
UD
10346 Create and initialize variable zero and use it in all the places
10347 where _mm_setzero_si128 was used.
fd52bc6d 10348
a5b81e1f
UD
10349 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
10350 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
10351 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
10352 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
10353 anymore.
10354 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
10355 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
10356 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
10357 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
10358 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
10359 __mpranred, __mptan.
10360 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
10361 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
10362 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
10363 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
10364 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
10365 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
10366 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
10367 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
10368 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
10369
b4343346
AS
103702011-10-28 Andreas Schwab <schwab@redhat.com>
10371
0c92d8a8
AS
10372 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
10373 redefine if SHARED.
10374 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
10375
b4343346
AS
10376 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
10377 wide char related routines to wcsmbs subdir.
10378
3871f58f
AS
103792011-10-27 Andreas Schwab <schwab@redhat.com>
10380
10381 [BZ #13344]
10382 * misc/sys/cdefs.h (__THROWNL): Define.
10383 * posix/unistd.h: Use __THREADNL instead of __THREAD
10384 for memory synchronization functions.
10385
94d44d9f
RM
103862011-10-26 Roland McGrath <roland@hack.frob.com>
10387
21b64b15 10388 [BZ #13349]
94d44d9f
RM
10389 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
10390 doesn't exist.
10391 * manual/stdio.texi (Obstack Streams): Node removed.
10392
f6ce9294
AS
103932011-10-26 Andreas Schwab <schwab@redhat.com>
10394
80479147
AS
10395 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
10396 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
10397 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
10398
f6ce9294
AS
10399 * math/math_private.h (math_force_eval): Allow non-addressable
10400 arguments.
10401 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
10402
618280a1
UD
104032011-10-25 Ulrich Drepper <drepper@gmail.com>
10404
e0016b11
UD
10405 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
10406 file is not needed.
10407
10408 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
10409 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
10410 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
10411 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
10412 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
10413 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
10414 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
10415 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
10416 Add AVX variants.
10417 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
10418 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
10419 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
10420 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
10421 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
10422 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
10423 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
10424 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
10425 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
10426 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
10427 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
10428 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
10429 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
10430 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
10431 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
10432 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
10433 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
10434 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
10435 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
10436
10437 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
10438 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
10439
618280a1
UD
10440 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
10441 place. Use VEX encoding when compiling for AVX.
10442
37822576
AS
104432011-10-25 Andreas Schwab <schwab@redhat.com>
10444
1f1e1947
AS
10445 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
10446 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
10447
37822576
AS
10448 * string/test-strchr.c (do_test): Don't generate NUL bytes.
10449
31ea014d
UD
104502011-10-25 Ulrich Drepper <drepper@gmail.com>
10451
d7826aa1 10452 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 10453 useless if() expression.
d7826aa1
UD
10454 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
10455 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
10456 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
10457 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
10458 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
10459 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
10460 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
10461 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
10462 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
10463 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
10464 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
10465 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
10466 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
10467 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
10468 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
10469 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
10470 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
10471 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
10472 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
10473
31ea014d
UD
10474 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
10475
16437fec
AS
104762011-10-25 Andreas Schwab <schwab@redhat.com>
10477
10478 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
10479 condition.
10480 * elf/dl-fini.c (_dl_sort_fini): Likewise.
10481
31d3cc00
UD
104822011-10-25 Ulrich Drepper <drepper@gmail.com>
10483
10484 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
10485 .text section. Avoid duplicate constants.
10486 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
10487 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
10488 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
10489 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
10490 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
10491 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
10492 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
10493 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
10494 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
10495 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
10496 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
10497 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
10498 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
10499 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
10500 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
10501 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
10502 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
10503 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
10504 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
10505 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
10506 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
10507 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
10508 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
10509 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
10510 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
10511 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
10512 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
10513 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
10514 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
10515 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
10516 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
10517 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
10518 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
10519 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
10520 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
10521 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
10522 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
10523 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
10524 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
10525 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
10526 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
10527 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
10528 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
10529 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
10530 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
10531
58985aa9
UD
105322011-10-24 Ulrich Drepper <drepper@gmail.com>
10533
202c9deb
UD
10534 * sysdeps/x86_64/dla.h: Move to ...
10535 * sysdeps/x86_64/fpu/dla.h: ...here.
10536 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
10537 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 10538
af968f62
UD
10539 * config.make.in: Add have-mfma4 entry.
10540 * configure.in: Substitute libc_cv_cc_fma4.
10541 * math/Makefile (dbl-only-routines): Add sincostab.
10542 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
10543 Use __sincostab not sincos.
10544 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
10545 name is a macro.
10546 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
10547 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
10548 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
10549 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
10550 using __copysign.
10551 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
10552 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
10553 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
10554 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
10555 and __inv.
10556 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
10557 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
10558 __copysign.
10559 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
10560 define aliases when function name is a macro.
10561 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
10562 sysdeps/ieee754/dbl-64/sincos.tbl.
10563 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
10564 fma4-enabled routines.
10565 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
10566 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
10567 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
10568 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
10569 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
10570 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
10571 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
10572 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
10573 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
10574 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
10575 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
10576 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
10577 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
10578 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
10579 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
10580 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
10581 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
10582 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
10583 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
10584 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
10585 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
10586 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
10587 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
10588 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
10589 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
10590 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
10591 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
10592 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
10593 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
10594 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
10595
58985aa9
UD
10596 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
10597 rename.
10598 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
10599 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
10600 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
10601 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
10602 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
10603 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
10604 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
10605 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
10606
a201fbcf
AS
106072011-10-24 Andreas Schwab <schwab@redhat.com>
10608
10609 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
10610
fc2ee42a
LD
106112011-10-23 Ulrich Drepper <drepper@gmail.com>
10612
bb3129bd
UD
10613 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
10614
0275fff8
UD
10615 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
10616 prediction.
10617 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
10618
2fa2ae85
UD
10619 * string/strnlen.c: Don't define STRNLEN, reverse logic.
10620 Remove unused variable magic_bits.
10621 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
10622
fc2ee42a
LD
10623 * string/strnlen.c: Define and use STRNLEN macro.
10624 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
10625 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
10626 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
10627 * wcsmbs/wcslen.c: Define and use WCSLEN.
10628 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
10629 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
10630 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
10631 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
10632 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
10633 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
10634 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
10635
ce7dd29f
LD
106362011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10637
10638 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
10639 strnlen-sse2-no-bsf.
10640 Rename strlen-no-bsf to strlen-sse2-no-bsf.
10641 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
10642 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
10643 Add strnlen support.
10644 (USE_AS_STRNLEN): New macro.
10645 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
10646 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
10647 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
10648 * sysdeps/x86_64/wcslen.S: New file.
10649
979c70a3
MZ
106502011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
10651
10652 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
10653 XMM-moves are used for copying on small sizes.
10654
2d09f82f
LD
106552011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10656
10657 * wcsmbs/Makefile (strop-tests): Add wcschr.
10658 * wcsmbs/test-wcschr.c: New file.
10659 * string/test-strchr.c: Update.
10660 Add wcschr support.
10661 (WIDE): New macro.
10662
619fccca
LD
106632011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10664
2d09f82f 10665 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
10666 * wcsmbs/test-wcslen.c: New file.
10667 * string/test-strlen.c: Update.
10668 Add wcslen support.
10669 (WIDE): New macro.
10670
09f699ea
UD
106712011-10-23 Ulrich Drepper <drepper@gmail.com>
10672
10673 * po/it.po: Update from translation team.
10674
95584d3b
LD
106752011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10676
10677 * sysdeps/x86_64/wcscmp.S: Update.
10678 Fix wrong comparison semantics.
10679 wcscmp shall use signed comparison not unsigned.
10680 Don't use substraction to avoid overflow bug.
10681 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
10682 * wcsmbc/wcscmp.c: Likewise.
10683 * string/test-strcmp.c: Likewise.
10684 Add new tests to check cases with negative values.
10685
c8b3296b
UD
106862011-10-23 Ulrich Drepper <drepper@gmail.com>
10687
10688 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
10689 * sysdeps/x86_64/dla.h: ...here. New file.
10690 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
10691 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
10692 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
10693 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
10694 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
10695 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
10696 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
10697 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
10698 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
10699
246ad57a
AS
107002011-10-23 Andreas Schwab <schwab@linux-m68k.org>
10701
10702 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
10703 __ynl_finite aliases.
10704
a1a87169
UD
107052011-10-22 Ulrich Drepper <drepper@gmail.com>
10706
0d355eb7
UD
10707 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10708
a1a87169
UD
10709 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
10710 define DLA_FMA.
10711 [DLA_FMA] (EMULV): Use DLA_FMA.
10712 [DLA_FMA] (MUL12): Use EMULV.
10713 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
10714 that are not needed.
10715 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
10716 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
10717 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
10718 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
10719 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
10720 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
10721 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
10722
ee2aafe0
AS
107232011-10-22 Andreas Schwab <schwab@linux-m68k.org>
10724
10725 * math/s_nan.c: Undef __nan.
10726 * math/s_nanf.c: Undef __nanf.
10727 * math/s_nanl.c: Undef __nanl.
10728 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
10729 "math_private.h".
10730
bc62c2fb
UD
107312011-10-22 Ulrich Drepper <drepper@gmail.com>
10732
77425c63
UD
10733 * math/s_catan.c: Add branch predictions.
10734 * math/s_catanf.c: Likewise.
10735 * math/s_catanh.c: Likewise.
10736 * math/s_catanhf.c: Likewise.
10737 * math/s_catanhl.c: Likewise.
10738 * math/s_catanl.c: Likewise.
10739 * math/s_cexp.c: Likewise.
10740 * math/s_cexpf.c: Likewise.
10741 * math/s_cexpl.c: Likewise.
10742 * math/s_clog.c: Likewise.
10743 * math/s_clog10.c: Likewise.
10744 * math/s_clog10f.c: Likewise.
10745 * math/s_clog10l.c: Likewise.
10746 * math/s_clogf.c: Likewise.
10747 * math/s_clogl.c: Likewise.
10748 * math/s_csqrt.c: Likewise.
10749 * math/s_csqrtf.c: Likewise.
10750 * math/s_csqrtl.c: Likewise.
10751 * math/s_ctanf.c: Likewise.
10752 * math/s_ctanh.c: Likewise.
10753 * math/s_ctanhf.c: Likewise.
10754 * math/s_ctanhl.c: Likewise.
10755 * math/s_ctanl.c: Likewise.
10756
bc62c2fb
UD
10757 * math/math_private.h: Define __nan, __nanf, __nanl.
10758 * math/s_cacosh.c: Include <math_private.h>.
10759 * math/s_cacoshl.c: Likewise.
10760 * math/s_casinh.c: Likewise.
10761 * math/s_casinhf.c: Likewise.
10762 * math/s_casinhl.c: Likewise.
10763 * math/s_ccos.c: Rely entire on ccosh.
10764 * math/s_ccosf.c: Rely entire on ccoshf.
10765 * math/s_ccosl.c: Rely entirely on ccoshl.
10766 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
10767 Remove tests for FE_INVALID.
10768 * math/s_ccoshf.c: Likewise.
10769 * math/s_ccoshl.c: Likewise.
10770 * math/s_csin.c: Likewise.
10771 * math/s_csinf.c: Likewise.
10772 * math/s_csinh.c Likewise.
10773 * math/s_csinhf.c: Likewise.
10774 * math/s_csinhl.c: Likewise.
10775 * math/s_csinl.c: Likewise.
10776 * math/s_ctan.c: Likewise.
10777 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
10778 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
10779 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
10780
8ec250a4
UD
107812011-10-21 Ulrich Drepper <drepper@gmail.com>
10782
c196fed8
UD
10783 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
10784 compilation problems.
10785
8ec250a4
UD
10786 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
10787 __builtin_expect.
10788
8d4f46c6
UD
107892011-10-20 Ulrich Drepper <drepper@gmail.com>
10790
ed72b654
UD
10791 * sysdeps/i386/configure.in: Test for -mfma4 option.
10792 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
10793 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
10794 COMMON_CPUID_INDEX_80000001.
10795 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
10796 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
10797 use it if FMA3 is not supported.
10798 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
10799
8d4f46c6
UD
10800 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
10801 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
10802
d45c60c2
AS
108032011-10-20 Andreas Schwab <schwab@redhat.com>
10804
10805 [BZ #12892]
10806 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
10807 it would create a cycle with a link time dependency.
10808
d9a4d2ab
UD
108092011-10-19 Ulrich Drepper <drepper@gmail.com>
10810
855d1560
UD
10811 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
10812 instruction.
10813 * string/Makefile (strop-tests): Add rawmemchr.
10814 * string/test-rawmemchr.c: New file.
10815
d9a4d2ab
UD
10816 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
10817 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
10818 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
10819 when compiling str{,n}casecmp and when AVX is available. Hook up
10820 new optimized code in initializers.
10821
8f3b1ffe
AS
108222011-10-19 Andreas Schwab <schwab@redhat.com>
10823
10824 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
10825 __feraiseexcept instead of feraiseexcept.
10826
d38f1dba
UD
108272011-10-18 Ulrich Drepper <drepper@gmail.com>
10828
d9a8d0ab
UD
10829 * math/math_private.h: Define defaults for libc_fetestexcept and
10830 libc_feupdateenv.
10831 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
10832 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
10833 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
10834 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
10835 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
10836 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
10837 libc_fetestexcept and libc_feupdateenv.
10838
4855e3dd
UD
10839 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
10840 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
10841 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
10842 * sysdeps/x86_64/fpu/math_private.h: Define special version of
10843 libc_feholdexcept_setround.
10844
581d30e3
UD
10845 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
10846 Add s_nearbyint-c and s_nearbyintf-c.
10847 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
10848 nearbyintf inlines.
10849 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
10850 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
10851 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
10852 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
10853
d38f1dba
UD
10854 * math/math_private.h: Define defaults for libc_fegetround,
10855 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
10856 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
10857 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
10858 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
10859 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
10860 standard functions.
10861 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
10862 Remove comments and hacks for old compiler versions.
10863 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
10864 libc_fegetround, libc_fesetround, libc_feholdexcept, and
10865 libc_feholdexceptl.
10866
caa6c9d8
AS
108672011-10-18 Andreas Schwab <schwab@redhat.com>
10868
10869 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
10870 (__feraiseexcept_renamed): Add __NTH.
10871 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
10872 namespace violations.
10873
97c066e6
UD
108742011-10-17 Ulrich Drepper <drepper@gmail.com>
10875
99ce7b04
UD
10876 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
10877
1004d182
UD
10878 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
10879
228a984d
UD
10880 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
10881 recently added interfaces.
10882 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
10883
c8553a6a
UD
10884 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
10885 about macro parameter expansion.
10886
ed22dcf6
UD
10887 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
10888 __NO_MATH_INLINES is defined. Cleanups.
10889
10890 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
10891 and __floorf is target has SSE4.1.
10892 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
10893 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
10894 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
10895 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
10896
b171c137
UD
10897 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
10898 name.
10899 (floorf): Likewise.
10900
97c066e6
UD
10901 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
10902
629f62ef
AS
109032011-10-17 Andreas Schwab <schwab@redhat.com>
10904
49a43d80
AS
10905 * misc/sys/cdefs.h: Fix last change.
10906
629f62ef
AS
10907 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
10908 database lookup.
10909
e453f6cd
UD
109102011-10-16 Ulrich Drepper <drepper@gmail.com>
10911
aa78043a
UD
10912 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
10913
ad0f5cad
UD
10914 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
10915 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
10916 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
10917 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
10918 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
10919 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
10920 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
10921 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
10922 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
10923 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
10924 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
10925 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
10926 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
10927 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
10928 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
10929 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
10930 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
10931 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
10932 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
10933 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
10934 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
10935 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
10936
10937 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
10938 ceil, ceilf, floor, floorf.
10939
10940 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
10941 Perform IRELATIVE relocations last.
10942
e453f6cd
UD
10943 * elf/do-rel.h: Add another parameter nrelative, replacing the
10944 local variable with the same name. Change name of the function
10945 to end in Rel or Rela (uppercase).
10946 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
10947 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
10948 elf_dynamic_do_##reloc function.
10949
fd5bdc09
UD
109502011-10-15 Ulrich Drepper <drepper@gmail.com>
10951
79b195b5
UD
10952 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
10953 is sufficient, at least on modern CPUs.
10954
d4a28569
UD
10955 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
10956
b61099b5
UD
10957 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
10958 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
10959
bcf01e6d
UD
10960 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
10961 __expl_finite.
10962 * math/bits/math-finite.h: Add entries for exp.
10963 * math/e_expl.c: Add __*_finite alias.
10964 * sysdeps/i386/fpu/e_exp.S: Likewise.
10965 * sysdeps/i386/fpu/e_expf.S: Likewise.
10966 * sysdeps/i386/fpu/e_expl.c: Likewise.
10967 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
10968 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
10969 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
10970 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
10971 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
10972 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
10973 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
10974
ba1a0d59
UD
10975 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
10976 is sufficient, at least on modern CPUs.
10977
fd5bdc09
UD
10978 * ctype/ctype-info.c (__ctype_init): Define.
10979 * include/ctype.h (__ctype_init): Declare.
10980 (__ctype_b_loc): The variable is always initialized.
10981 (__ctype_toupper_loc): Likewise.
10982 (__ctype_tolower_loc): Likewise.
10983 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
10984 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
10985
7872cfb0
AS
109862011-10-15 Andreas Schwab <schwab@linux-m68k.org>
10987
b468825a
AS
10988 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
10989
7872cfb0
AS
10990 * configure.in: Also look in $cxxmachine/include for C++ system
10991 headers.
10992
be13f7bf
LD
109932011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10994
10995 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
10996 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
10997 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
10998 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
10999 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
11000 (USE_AS_WMEMCMP): New macro.
11001 Fixing indents.
11002 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
11003 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
11004 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
11005 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
11006 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
11007 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
11008 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
11009 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
11010 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
11011 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
11012 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
11013 (USE_AS_WMEMCMP): New macro.
11014 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
11015 * sysdeps/string/test-memcmp.c: Update.
11016 Fix simple_wmemcmp.
11017 Add new tests.
11018 * wcsmbs/wmemcmp.c: Update.
11019 (WMEMCMP): New macro.
11020 Fix overflow bug.
11021
556a2007
AJ
110222011-10-12 Andreas Jaeger <aj@suse.de>
11023
11024 [BZ #13268]
11025 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
11026
538faaa7
UD
110272011-10-15 Ulrich Drepper <drepper@gmail.com>
11028
ab6737ff
UD
11029 * libio/iofwide.c (do_length): Avoid warning.
11030
538faaa7
UD
11031 * ctype/ctype.h (__isctype_f): Add missing __THROW.
11032
396a21b1
UD
110332011-10-14 Ulrich Drepper <drepper@gmail.com>
11034
cdf2901f
UD
11035 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
11036
38ad40ce
UD
11037 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
11038 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
11039 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
11040 * sysdeps/i386/i686/fpu/e_log.S: New file.
11041 * sysdeps/i386/i686/fpu/e_logf.S: New file.
11042 * sysdeps/i386/i686/fpu/e_logl.S: New file.
11043
396a21b1
UD
11044 * ctype/ctype.h: Add support for inlined isXXX functions when
11045 compiling C++ code.
11046
6b1f68c9
AS
110472011-10-14 Andreas Schwab <schwab@redhat.com>
11048
349290c0
AS
11049 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
11050
6b1f68c9
AS
11051 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
11052
f2282d42
RM
110532011-10-13 Roland McGrath <roland@hack.frob.com>
11054
11055 [BZ #13291]
11056 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
11057
5298ffa8
AS
110582011-10-13 Andreas Schwab <schwab@redhat.com>
11059
714fad23
AS
11060 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
11061 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
11062 feraiseexcept.
11063
81dcc7fb
AS
11064 * sysdeps/x86_64/memrchr.S: Check for zero size.
11065
5298ffa8
AS
11066 * string/stratcliff.c: Add memrchr tests.
11067
951fbcec
LD
110682011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
11069
11070 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
11071 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
11072 rawmemchr-sse2 rawmemchr-sse2-bsf.
11073 * sysdeps/i386/i686/multiarch/memchr.S: New file.
11074 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
11075 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
11076 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
11077 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
11078 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
11079 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
11080 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
11081 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
11082 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
11083 * string/memrchr.c (MEMRCHR): New macro.
11084
0ac5ae23
UD
110852011-10-12 Ulrich Drepper <drepper@gmail.com>
11086
11087 Add integration with gcc's -ffinite-math-only and optimize wrapper
11088 functions in libm.
11089 * Versions.def: Define GLIBC_2.15 version for libm.
11090 * math/Makefile (headers): Add bits/math-finite.h.
11091 * math/bits/math-finite.h: New file.
11092 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
11093 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
11094 * math/e_acoshl.c: Add __*_finite alias.
11095 * math/e_acosl.c: Likewise.
11096 * math/e_asinl.c: Likewise.
11097 * math/e_atan2l.c: Likewise.
11098 * math/e_atanhl.c: Likewise.
11099 * math/e_coshl.c: Likewise.
11100 * math/e_exp10.c: Likewise.
11101 * math/e_exp10f.c: Likewise.
11102 * math/e_exp10l.c: Likewise.
11103 * math/e_exp2l.c: Likewise.
11104 * math/e_fmodl.c: Likewise.
11105 * math/e_gammal_r.c: Likewise.
11106 * math/e_hypotl.c: Likewise.
11107 * math/e_j0l.c: Likewise.
11108 * math/e_j1l.c: Likewise.
11109 * math/e_jnl.c: Likewise.
11110 * math/e_lgammal_r.c: Likewise.
11111 * math/e_log10l.c: Likewise.
11112 * math/e_log2l.c: Likewise.
11113 * math/e_logl.c: Likewise.
11114 * math/e_powl.c: Likewise.
11115 * math/e_sinhl.c: Likewise.
11116 * math/e_sqrtl.c: Likewise.
11117 * math/e_scalb.c: Completely rewritten and optimized.
11118 * math/e_scalbf.c: Likewise.
11119 * math/e_scalbl.c: Likewise.
11120 * math/w_acos.c: Likewise.
11121 * math/w_acosf.c: Likewise.
11122 * math/w_acosl.c: Likewise.
11123 * math/w_acosh.c: Likewise.
11124 * math/w_acoshf.c: Likewise.
11125 * math/w_acoshl.c: Likewise.
11126 * math/w_asin.c: Likewise.
11127 * math/w_asinf.c: Likewise.
11128 * math/w_asinl.c: Likewise.
11129 * math/w_atan2.c: Likewise.
11130 * math/w_atan2f.c: Likewise.
11131 * math/w_atan2l.c: Likewise.
11132 * math/w_atanh.c: Likewise.
11133 * math/w_atanhf.c: Likewise.
11134 * math/w_atanhl.c: Likewise.
11135 * math/w_exp10.c: Likewise.
11136 * math/w_exp10f.c: Likewise.
11137 * math/w_exp10l.c: Likewise.
11138 * math/w_fmod.c: Likewise.
11139 * math/w_fmodf.c: Likewise.
11140 * math/w_fmodl.c: Likewise.
11141 * math/w_j0.c: Likewise.
11142 * math/w_j0f.c: Likewise.
11143 * math/w_j0l.c: Likewise.
11144 * math/w_j1.c: Likewise.
11145 * math/w_j1f.c: Likewise.
11146 * math/w_j1l.c: Likewise.
11147 * math/w_jn.c: Likewise.
11148 * math/w_jnf.c: Likewise.
11149 * math/w_log.c: Likewise.
11150 * math/w_logf.c: Likewise.
11151 * math/w_logl.c: Likewise.
11152 * math/w_log10.c: Likewise.
11153 * math/w_log10f.c: Likewise.
11154 * math/w_log10l.c: Likewise.
11155 * math/w_log2.c: Likewise.
11156 * math/w_log2f.c: Likewise.
11157 * math/w_log2l.c: Likewise.
11158 * math/w_pow.c: Likewise.
11159 * math/w_powf.c: Likewise.
11160 * math/w_powl.c: Likewise.
11161 * math/w_remainder.c: Likewise.
11162 * math/w_remainderf.c: Likewise.
11163 * math/w_remainderl.c: Likewise.
11164 * math/w_scalb.c: Likewise.
11165 * math/w_scalbf.c: Likewise.
11166 * math/w_scalbl.c: Likewise.
11167 * math/w_sqrt.c: Likewise.
11168 * math/w_sqrtf.c: Likewise.
11169 * math/w_sqrtl.c: Likewise.
11170 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
11171 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
11172 used.
11173 * math/math_private.h: Declare __kernel_standard_f.
11174 * math/w_cosh.c: Remove cruft and optimize a bit.
11175 * math/w_coshf.c: Likewise.
11176 * math/w_coshl.c: Likewise.
11177 * math/w_exp2.c: Likewise.
11178 * math/w_exp2f.c: Likewise.
11179 * math/w_exp2l.c: Likewise.
11180 * math/w_hypot.c: Likewise.
11181 * math/w_hypotf.c: Likewise.
11182 * math/w_hypotl.c: Likewise.
11183 * math/w_lgamma.c: Likewise.
11184 * math/w_lgamma_r.c: Likewise.
11185 * math/w_lgammaf.c: Likewise.
11186 * math/w_lgammaf_r.c: Likewise.
11187 * math/w_lgammal.c: Likewise.
11188 * math/w_lgammal_r.c: Likewise.
11189 * math/w_sinh.c: Likewise.
11190 * math/w_sinhf.c: Likewise.
11191 * math/w_sinhl.c: Likewise.
11192 * math/w_tgamma.c: Likewise.
11193 * math/w_tgammaf.c: Likewise.
11194 * math/w_tgammal.c: Likewise.
11195 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
11196 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
11197 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
11198 Minor optimizations. Pretty printing. Remove cruft.
11199 * sysdeps/i386/fpu/e_acosf.S: Likewise.
11200 * sysdeps/i386/fpu/e_acosh.S: Likewise.
11201 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
11202 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
11203 * sysdeps/i386/fpu/e_acosl.c: Likewise.
11204 * sysdeps/i386/fpu/e_asin.S: Likewise.
11205 * sysdeps/i386/fpu/e_asinf.S: Likewise.
11206 * sysdeps/i386/fpu/e_atan2.S: Likewise.
11207 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
11208 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
11209 * sysdeps/i386/fpu/e_atanh.S: Likewise.
11210 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
11211 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
11212 * sysdeps/i386/fpu/e_exp10.S: Likewise.
11213 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
11214 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
11215 * sysdeps/i386/fpu/e_exp2.S: Likewise.
11216 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
11217 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
11218 * sysdeps/i386/fpu/e_fmod.S: Likewise.
11219 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
11220 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
11221 * sysdeps/i386/fpu/e_hypot.S: Likewise.
11222 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
11223 * sysdeps/i386/fpu/e_log.S: Likewise.
11224 * sysdeps/i386/fpu/e_log10.S: Likewise.
11225 * sysdeps/i386/fpu/e_log10f.S: Likewise.
11226 * sysdeps/i386/fpu/e_log10l.S: Likewise.
11227 * sysdeps/i386/fpu/e_log2.S: Likewise.
11228 * sysdeps/i386/fpu/e_log2f.S: Likewise.
11229 * sysdeps/i386/fpu/e_log2l.S: Likewise.
11230 * sysdeps/i386/fpu/e_logf.S: Likewise.
11231 * sysdeps/i386/fpu/e_logl.S: Likewise.
11232 * sysdeps/i386/fpu/e_pow.S: Likewise.
11233 * sysdeps/i386/fpu/e_powf.S: Likewise.
11234 * sysdeps/i386/fpu/e_powl.S: Likewise.
11235 * sysdeps/i386/fpu/e_remainder.S: Likewise.
11236 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
11237 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
11238 * sysdeps/i386/fpu/e_scalb.S: Likewise.
11239 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
11240 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
11241 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
11242 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
11243 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
11244 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
11245 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
11246 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
11247 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
11248 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
11249 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
11250 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
11251 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
11252 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
11253 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
11254 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
11255 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
11256 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
11257 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
11258 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
11259 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
11260 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
11261 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
11262 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
11263 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
11264 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
11265 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
11266 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
11267 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
11268 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
11269 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
11270 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
11271 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
11272 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
11273 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
11274 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
11275 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
11276 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
11277 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
11278 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
11279 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
11280 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
11281 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
11282 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
11283 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
11284 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
11285 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
11286 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
11287 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
11288 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
11289 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
11290 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
11291 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
11292 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
11293 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
11294 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
11295 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
11296 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
11297 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
11298 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
11299 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
11300 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
11301 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
11302 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
11303 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
11304 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
11305 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
11306 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
11307 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
11308 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
11309 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
11310 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
11311 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
11312 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
11313 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
11314 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
11315 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
11316 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
11317 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
11318 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
11319 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
11320 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
11321 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
11322 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
11323 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
11324 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
11325 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
11326 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
11327 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
11328 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
11329 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
11330 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
11331 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
11332 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
11333 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
11334 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
11335 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
11336 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
11337 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
11338 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
11339 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
11340 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
11341 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
11342 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
11343 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
11344 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
11345 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
11346 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
11347 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
11348 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
11349 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
11350 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
11351 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
11352 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
11353 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
11354 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
11355 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
11356 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
11357 (__isnanf): Likewise.
11358 (__isinf_ns): Likewise.
11359 (__isinf_nsf): Likewise.
11360 (__finite): Likewise.
11361 (__finitef): Likewise.
11362 (__ieee754_sqrt): Define as macro.
11363 (__ieee754_sqrtf): Define as macro.
11364 (__ieee754_sqrtl): Define as macro.
11365 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
11366 inlined copy.
11367 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
11368 __FINITE_MATH_ONLY__ consistent.
11369 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
11370
12cc2fcd
AS
113712011-10-10 Andreas Schwab <schwab@linux-m68k.org>
11372
a843a204
AS
11373 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
11374 of rawmemchr.
11375
12cc2fcd
AS
11376 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
11377
c853acd5
UD
113782011-10-09 Ulrich Drepper <drepper@gmail.com>
11379
11380 * po/ja.po: Update from translation team.
11381
c658d255
RM
113822011-10-08 Roland McGrath <roland@hack.frob.com>
11383
110946e4
RM
11384 * locale/programs/locarchive.c (prepare_address_space): New function.
11385 (create_archive, enlarge_archive, open_archive): Use it.
11386
50604220
RM
11387 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
11388 inside [SHARED], where it is used.
11389
c658d255
RM
11390 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
11391
11392 * nss/getent.c (netgroup_keys): Remove unused variable.
11393 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
11394
6a621eb7
UD
113952011-10-08 Ulrich Drepper <drepper@gmail.com>
11396
7edb55ce
UD
11397 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
11398 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
11399 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
11400 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
11401 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
11402 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
11403 * math/Makefile (libm-calls): Add s_isinf_ns.
11404 * math/divtc3.c: Use __isinf_nsl instead of isinf.
11405 * math/multc3.c: Likewise.
11406 * math/s_casin.c: Likewise.
11407 * math/s_casinf.c: Likewise.
11408 * math/s_casinl.c: Likewise.
11409 * math/s_ccos.c: Likewise.
11410 * math/s_ccosf.c: Likewise.
11411 * math/s_ccosl.c: Likewise.
11412 * math/s_ctan.c: Likewise.
11413 * math/s_ctanf.c: Likewise.
11414 * math/s_ctanh.c: Likewise.
11415 * math/s_ctanhf.c: Likewise.
11416 * math/s_ctanhl.c: Likewise.
11417 * math/s_ctanl.c: Likewise.
11418 * math/w_fmod.c: Likewise.
11419 * math/w_fmodf.c: Likewise.
11420 * math/w_fmodl.c: Likewise.
11421 * math/w_remainder.c: Likewise.
11422 * math/w_remainderf.c: Likewise.
11423 * math/w_remainderl.c: Likewise.
11424 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
11425 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
11426 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
11427 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
11428 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
11429 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
11430 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
11431 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
11432
187da0ae
UD
11433 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
11434 of the number.
11435 * stdio-common/printf_fphex.c: Likewise.
11436 * stdio-common/printf_size.c: Likewise.
11437
9277c064
UD
11438 * math/e_exp10.c: Include math_private.h using <...> not "...".
11439 * math/e_exp10f.c: Likewise.
11440 * math/e_exp10l.c: Likewise.
11441 * math/e_exp2l.c: Likewise.
11442 * math/e_j0l.c: Likewise.
11443 * math/e_j1l.c: Likewise.
11444 * math/e_jnl.c: Likewise.
11445 * math/e_lgammal_r.c: Likewise.
11446 * math/e_rem_pio2l.c: Likewise.
11447 * math/e_scalb.c: Likewise.
11448 * math/e_scalbf.c: Likewise.
11449 * math/e_scalbl.c: Likewise.
11450 * math/k_cosl.c: Likewise.
11451 * math/k_sinl.c: Likewise.
11452 * math/k_tanl.c: Likewise.
11453 * math/s_cacoshf.c: Likewise.
11454 * math/s_catan.c: Likewise.
11455 * math/s_catanf.c: Likewise.
11456 * math/s_catanh.c: Likewise.
11457 * math/s_catanhf.c: Likewise.
11458 * math/s_catanhl.c: Likewise.
11459 * math/s_catanl.c: Likewise.
11460 * math/s_ccosh.c: Likewise.
11461 * math/s_ccoshf.c: Likewise.
11462 * math/s_ccoshl.c: Likewise.
11463 * math/s_cexp.c: Likewise.
11464 * math/s_cexpf.c: Likewise.
11465 * math/s_cexpl.c: Likewise.
11466 * math/s_clog.c: Likewise.
11467 * math/s_clog10.c: Likewise.
11468 * math/s_clog10f.c: Likewise.
11469 * math/s_clog10l.c: Likewise.
11470 * math/s_clogf.c: Likewise.
11471 * math/s_clogl.c: Likewise.
11472 * math/s_csin.c: Likewise.
11473 * math/s_csinf.c: Likewise.
11474 * math/s_csinh.c: Likewise.
11475 * math/s_csinhf.c: Likewise.
11476 * math/s_csinhl.c: Likewise.
11477 * math/s_csinl.c: Likewise.
11478 * math/s_csqrt.c: Likewise.
11479 * math/s_csqrtf.c: Likewise.
11480 * math/s_csqrtl.c: Likewise.
11481 * math/s_ctan.c: Likewise.
11482 * math/s_ctanf.c: Likewise.
11483 * math/s_ctanh.c: Likewise.
11484 * math/s_ctanhf.c: Likewise.
11485 * math/s_ctanhl.c: Likewise.
11486 * math/s_ctanl.c: Likewise.
11487 * math/s_ldexp.c: Likewise.
11488 * math/s_ldexpf.c: Likewise.
11489 * math/s_ldexpl.c: Likewise.
11490 * math/s_significand.c: Likewise.
11491 * math/s_significandf.c: Likewise.
11492 * math/s_significandl.c: Likewise.
11493 * math/w_acos.c: Likewise.
11494 * math/w_acosf.c: Likewise.
11495 * math/w_acosh.c: Likewise.
11496 * math/w_acoshf.c: Likewise.
11497 * math/w_acoshl.c: Likewise.
11498 * math/w_acosl.c: Likewise.
11499 * math/w_asin.c: Likewise.
11500 * math/w_asinf.c: Likewise.
11501 * math/w_asinl.c: Likewise.
11502 * math/w_atan2.c: Likewise.
11503 * math/w_atan2f.c: Likewise.
11504 * math/w_atan2l.c: Likewise.
11505 * math/w_atanh.c: Likewise.
11506 * math/w_atanhf.c: Likewise.
11507 * math/w_atanhl.c: Likewise.
11508 * math/w_cosh.c: Likewise.
11509 * math/w_coshf.c: Likewise.
11510 * math/w_coshl.c: Likewise.
11511 * math/w_dremf.c: Likewise.
11512 * math/w_exp10.c: Likewise.
11513 * math/w_exp10f.c: Likewise.
11514 * math/w_exp10l.c: Likewise.
11515 * math/w_exp2.c: Likewise.
11516 * math/w_exp2f.c: Likewise.
11517 * math/w_fmod.c: Likewise.
11518 * math/w_fmodf.c: Likewise.
11519 * math/w_fmodl.c: Likewise.
11520 * math/w_hypot.c: Likewise.
11521 * math/w_hypotf.c: Likewise.
11522 * math/w_hypotl.c: Likewise.
11523 * math/w_j0.c: Likewise.
11524 * math/w_j0f.c: Likewise.
11525 * math/w_j0l.c: Likewise.
11526 * math/w_j1.c: Likewise.
11527 * math/w_j1f.c: Likewise.
11528 * math/w_j1l.c: Likewise.
11529 * math/w_jn.c: Likewise.
11530 * math/w_jnf.c: Likewise.
11531 * math/w_jnl.c: Likewise.
11532 * math/w_lgamma.c: Likewise.
11533 * math/w_lgamma_r.c: Likewise.
11534 * math/w_lgammaf.c: Likewise.
11535 * math/w_lgammaf_r.c: Likewise.
11536 * math/w_lgammal.c: Likewise.
11537 * math/w_lgammal_r.c: Likewise.
11538 * math/w_log.c: Likewise.
11539 * math/w_log10.c: Likewise.
11540 * math/w_log10f.c: Likewise.
11541 * math/w_log10l.c: Likewise.
11542 * math/w_log2.c: Likewise.
11543 * math/w_log2f.c: Likewise.
11544 * math/w_log2l.c: Likewise.
11545 * math/w_logf.c: Likewise.
11546 * math/w_logl.c: Likewise.
11547 * math/w_pow.c: Likewise.
11548 * math/w_powf.c: Likewise.
11549 * math/w_powl.c: Likewise.
11550 * math/w_remainder.c: Likewise.
11551 * math/w_remainderf.c: Likewise.
11552 * math/w_remainderl.c: Likewise.
11553 * math/w_scalb.c: Likewise.
11554 * math/w_scalbf.c: Likewise.
11555 * math/w_scalbl.c: Likewise.
11556 * math/w_sinh.c: Likewise.
11557 * math/w_sinhf.c: Likewise.
11558 * math/w_sinhl.c: Likewise.
11559 * math/w_sqrt.c: Likewise.
11560 * math/w_sqrtf.c: Likewise.
11561 * math/w_sqrtl.c: Likewise.
11562 * math/w_tgamma.c: Likewise.
11563 * math/w_tgammaf.c: Likewise.
11564 * math/w_tgammal.c: Likewise.
11565
6a621eb7
UD
11566 * po/ja.po: Update from translation team.
11567
bf582445
AJ
115682011-09-29 Andreas Jaeger <aj@suse.de>
11569
f9efbf3a
AJ
11570 [BZ #13179]
11571 * sunrpc/netname.c (netname2host): Fix logic.
11572
bf582445
AJ
11573 [BZ #6779]
11574 [BZ #6783]
11575 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
11576 correctly.
11577 * math/w_remainder.c (__remainder): Likewise.
11578 * math/w_remainderf.c (__remainderf): Likewise.
11579 * math/libm-test.inc (remainder_test): Add test cases.
11580
48693bea
AK
115812011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11582
11583 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
11584 sdiv_qrnnd.
11585
42622229
LD
115862011-10-07 Ulrich Drepper <drepper@gmail.com>
11587
11588 * string/test-memcmp.c: Avoid unncessary #defines.
11589 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
11590
093ecf92
LD
115912011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
11592
11593 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
11594 Use new sse2 version for core i3 - i7 as it's faster
11595 than sse42 version.
11596 (bit_Prefer_PMINUB_for_stringop): New.
11597 * sysdeps/x86_64/rawmemchr.S: Update.
11598 Replace with faster SSE2 version.
11599 * sysdeps/x86_64/memrchr.S: New file.
11600 * sysdeps/x86_64/memchr.S: Update.
11601 Replace with faster SSE2 version.
11602
fde56e5c
MP
116032011-09-12 Marek Polacek <mpolacek@redhat.com>
11604
11605 * elf/dl-load.c (lose): Add cast to avoid warning.
11606
21fd49a9
UD
116072011-10-07 Ulrich Drepper <drepper@gmail.com>
11608
5a06e643
UD
11609 * po/ca.po: Update from translation team.
11610
684ae515
UD
11611 * inet/getnetgrent_r.c: Hook up nscd.
11612 * nscd/Makefile (routines): Add nscd_netgroup.
11613 (nscd-modules): Add netgroupcache.
11614 (CFLAGS-netgroupcache.c): Define.
11615 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
11616 (cache_search): Add const to second parameter.
11617 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
11618 INNETGR.
11619 (dbs): Add netgrdb entry.
11620 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
11621 (verify_persistent_db): Handle netgrdb.
11622 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
11623 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
11624 GETFDNETGR.
11625 (netgroup_response_header): Define.
11626 (innetgroup_response_header): Define.
11627 (datahead): Add netgroup_response_header and innetgroup_response_header
11628 elements.
11629 * nscd/nscd.conf: Add entries for netgroup cache.
11630 * nscd/nscd.h (dbtype): Add netgrdb.
11631 (_PATH_NSCD_NETGROUP_DB): Define.
11632 (netgroup_iov_disabled): Declare.
11633 (xmalloc, xcalloc, xrealloc): Move declarations here.
11634 (cache_search): Adjust prototype.
11635 Add netgroup-related prototypes.
11636 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
11637 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
11638 (__nscd_innetgr): Declare.
11639 * nscd/selinux.c (perms): Use access_vector_t as element type and
11640 add netgroup-related initializers.
11641 * nscd/netgroupcache.c: New file.
11642 * nscd/nscd_netgroup.c: New file.
11643 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
11644 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
11645 For four parameters use innetgr.
11646 * nss/nss_files/files-init.c: Add definition and callback for netgr.
11647 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
11648 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
11649 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
11650
21fd49a9
UD
11651 * nscd/connections.c (register_traced_file): Don't register file
11652 for disabled databases.
11653
054c0457
UD
116542011-10-06 Ulrich Drepper <drepper@gmail.com>
11655
32b63198
UD
11656 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
11657
054c0457
UD
11658 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
11659 from tree and freeing node.
11660
64031225
JO
116612011-09-25 Jiri Olsa <jolsa@redhat.com>
11662
11663 * nss/nsswitch.c (__nss_database_lookup): Handle
11664 nss_parse_service_list out of memory case.
11665
0490345c
JO
116662011-09-15 Jiri Olsa <jolsa@redhat.com>
11667
11668 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
11669 out of memory case.
11670
3a62d00d
AS
116712011-10-04 Andreas Schwab <schwab@redhat.com>
11672
11673 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
11674 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
11675 pass it down.
11676 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
11677 elf_machine_rela, elf_machine_lazy_rel.
11678 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
11679 (ELF_DYNAMIC_DO_REL): Likewise.
11680 (ELF_DYNAMIC_DO_RELA): Likewise.
11681 (ELF_DYNAMIC_RELOCATE): Likewise.
11682 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
11683 to ELF_DYNAMIC_DO_REL.
11684 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
11685 (dl_main): In trace mode always set __RTLD_NOIFUNC.
11686 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
11687 elf_machine_rela.
11688 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
11689 skip_ifunc, don't call ifunc function if non-zero.
11690 (elf_machine_rela): Likewise.
11691 (elf_machine_lazy_rel): Likewise.
11692 (elf_machine_lazy_rela): Likewise.
11693 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
11694 (elf_machine_lazy_rel): Likewise.
11695 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
11696 Likewise.
11697 (elf_machine_lazy_rel): Likewise.
11698 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
11699 Likewise.
11700 (elf_machine_lazy_rel): Likewise.
11701 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
11702 (elf_machine_lazy_rel): Likewise.
11703 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
11704 (elf_machine_lazy_rel): Likewise.
11705 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
11706 (elf_machine_lazy_rel): Likewise.
11707 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
11708 (elf_machine_lazy_rel): Likewise.
11709 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
11710 (elf_machine_lazy_rel): Likewise.
11711 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
11712 (elf_machine_lazy_rel): Likewise.
11713
68577918
UD
117142011-09-28 Ulrich Drepper <drepper@gmail.com>
11715
11716 * nss/nss_files/files-init.c (_nss_files_init): Use static
11717 initialization for all the *_traced_file variables.
11718
68822d74
AS
117192011-09-28 Andreas Schwab <schwab@redhat.com>
11720
11721 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
11722
2056100b
RM
117232011-09-27 Roland McGrath <roland@hack.frob.com>
11724
11725 [BZ #13226]
11726 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
11727
32c76b63
AS
117282011-09-27 Andreas Schwab <schwab@redhat.com>
11729
11730 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
11731 Reread the line before reparsing it.
11732
bf972c9d
AS
117332011-09-26 Andreas Schwab <schwab@redhat.com>
11734
11735 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
11736
e057a1b5
JM
117372011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
11738 Maxim Kuvyrkov <maxim@codesourcery.com>
11739 Joseph Myers <joseph@codesourcery.com>
11740
11741 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
11742 if needed for __stack_chk_guard.
11743
bc7e1c36
RM
117442011-09-19 Roland McGrath <roland@hack.frob.com>
11745
ecb1482f
RM
11746 * sysdeps/posix/spawni.c (script_execute): Always define it.
11747 It will be optimized away if unused.
11748 (maybe_script_execute): New function.
11749 (__spawni): Call it.
11750
bc7e1c36
RM
11751 * Makerules: Don't include tls.make.
11752 (config-tls): Always set to thread.
11753 * tls.make.c: File removed.
11754
1c3b002b
MF
117552011-09-19 Mike Frysinger <vapier@gentoo.org>
11756
11757 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
11758 * config.make.in (CPPFLAGS-config): New substituted variable.
11759
2840865d
UD
117602011-09-15 Ulrich Drepper <drepper@gmail.com>
11761
88738eb6
UD
11762 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
11763
cbf645a6 11764 [BZ #13192]
2840865d
UD
11765 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
11766 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
11767
b402e91a
RM
117682011-09-15 Roland McGrath <roland@hack.frob.com>
11769
11770 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
11771 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
11772 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
11773 (CALL_FAIL): Likewise.
11774 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
11775 (CALL_FAIL): Macro removed.
11776 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
11777
4c1a1f71
UD
117782011-09-15 Ulrich Drepper <drepper@gmail.com>
11779
11780 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
11781 for __FINITE_MATH_ONLY__ == 1.
11782
edc121be
AS
117832011-09-15 Andreas Schwab <schwab@redhat.com>
11784
11785 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
11786 __ieee754_sqrt instead of sqrt.
11787 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
11788 __ieee754_sqrtf instead of sqrtf.
11789 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
11790 __floorf instead of floorf.
11791 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
11792 __floorf, __truncf instead of floorf, truncf.
11793
cd205654
UD
117942011-09-14 Ulrich Drepper <drepper@gmail.com>
11795
ee4d0315
UD
11796 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
11797
cd205654
UD
11798 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
11799 __extern_always_inline.
11800 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
11801 32-bit.
11802
48b67d71
AS
118032011-09-14 Andreas Schwab <schwab@redhat.com>
11804
11805 * elf/rtld.c (dl_main): Also relocate in dependency order when
11806 doing symbol dependency testing.
11807
1ae12c75
AS
118082011-09-13 Andreas Schwab <schwab@linux-m68k.org>
11809
11810 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
11811 Always define `refsym'.
11812
995a80df
AS
118132011-09-13 Andreas Schwab <schwab@redhat.com>
11814
e529793b
AS
11815 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
11816 (__FD_ELT): Renamed from __FDELT.
11817 * misc/bits/select2.h (__FD_ELT): Likewise.
11818 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
11819 __FD_MASK instead of __FDELT, __FDMASK.
11820 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
11821 Likewise.
11822 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
11823 Likewise.
11824
52d4fef8
AS
11825 * elf/Makefile (gen-ldd): Fix pattern.
11826
995a80df
AS
11827 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
11828 (init_tls): Likewise.
11829
8682f8b0
UD
118302011-09-12 Ulrich Drepper <drepper@gmail.com>
11831
11832 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
11833
de82006d
AS
118342011-09-12 Andreas Schwab <schwab@redhat.com>
11835
a7c8e6a1
AS
11836 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
11837 `struct cmsghdr *' instead of `void *'.
11838 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
11839 Likewise.
11840
0f31fe77
AS
118412011-09-11 Andreas Schwab <schwab@linux-m68k.org>
11842
11843 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
11844 if non-absolute.
11845 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
11846 ldd_rewrite_script.
0f31fe77 11847
32b4c839
UD
118482011-09-11 Ulrich Drepper <drepper@gmail.com>
11849
83cd1420
UD
11850 * configure.in: Remove --with-tls option.
11851 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
11852 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
11853 out in case it is missing.
11854 * sysdeps/ia64/elf/configure.in: Likewise.
11855 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
11856 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
11857 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
11858 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
11859 * sysdeps/sh/elf/configure.in: Likewise.
11860 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
11861 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
11862 * sysdeps/x86_64/elf/configure.in: Likewise.
11863 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
11864 * sysdeps/mach/hurd/tls.h: Likewise.
11865
633f745d
UD
11866 [BZ #13067]
11867 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
11868
f318beb8
UD
11869 [BZ #13090]
11870 * configure.in: Fix use of AC_INIT.
11871
32b4c839
UD
11872 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
11873
3ce1f295
UD
118742011-09-10 Ulrich Drepper <drepper@gmail.com>
11875
bb016596
UD
11876 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
11877 __set_errno.
8e58439c
UD
11878 * malloc/hooks.c: Likewise.
11879
aebae053 11880 [BZ #11929]
02d46fc4
UD
11881 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
11882 variables statically.
11883 (narenas): Initialize.
11884 (list_lock): Initialize.
bb016596
UD
11885 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
11886 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
11887 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
11888 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
11889 Add initializers to main_arena and mp_.
11890 (malloc_state): Remove pagesize member. Change all users to use
11891 GLRO(dl_pagesize).
11892
11893 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
11894 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
11895 is always initialized.
11896
22a89187
UD
11897 * malloc/malloc.c: Removed unused configurations and dead code.
11898 * malloc/arena.c: Likewise.
11899 * malloc/hooks.c: Likewise.
02d46fc4 11900 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 11901
d063d164
UD
11902 * include/tls.h: Removed. USE___THREAD must always be defined.
11903 * bits/libc-tsd.h: Don't handle !USE___THREAD.
11904 * elf/dl-libc.c: Likewise.
11905 * elf/dl-tsd.c: Likewise.
11906 * include/errno.h: Likewise.
11907 * include/netdb.h: Likewise.
11908 * include/resolv.h: Likewise.
11909 * inet/herrno-loc.c: Likewise.
11910 * inet/herrno.c: Likewise.
11911 * malloc/arena.c: Likewise.
11912 * malloc/hooks.c: Likewise.
11913 * malloc/malloc.c: Likewise.
11914 * resolv/res-state.c: Likewise.
11915 * resolv/res_libc.c: Likewise.
11916 * sysdeps/i386/dl-machine.h: Likewise.
11917 * sysdeps/ia64/dl-machine.h: Likewise.
11918 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
11919 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
11920 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
11921 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
11922 * sysdeps/sh/dl-machine.h: Likewise.
11923 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
11924 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
11925 * sysdeps/unix/i386/sysdep.S: Likewise.
11926 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
11927 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
11928 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
11929 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
11930 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
11931 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
11932 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
11933 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
11934 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
11935 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
11936 * sysdeps/unix/x86_64/sysdep.S: Likewise.
11937 * sysdeps/x86_64/dl-machine.h: Likewise.
11938 * tls.make.c: Likewise.
11939
3ce1f295
UD
11940 * configure.in: Remove --with-__thread option. Make tests for
11941 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
11942 tls_model attribute fail if no support is available. Remove
11943 USE_IN_LIBIO.
11944 * Makeconfig: Adjust for dropped configure option. All features are
11945 now mandatory.
11946 * Makerules: Likewise.
11947 * Versions.def: Likewise.
11948 * argp/argp-fmtstream.c: Likewise.
11949 * argp/argp-fmtstream.h: Likewise.
11950 * argp/argp-help.c: Likewise.
11951 * assert/assert.c: Likewise.
11952 * config.h.in: Likewise.
11953 * config.make.in: Likewise.
11954 * configure: Likewise.
11955 * configure.in: Likewise.
11956 * csu/Versions: Likewise.
11957 * csu/init.c: Likewise.
11958 * elf/tst-audit2.c: Likewise.
11959 * elf/tst-tls10.c: Likewise.
11960 * elf/tst-tls10.h: Likewise.
11961 * elf/tst-tls11.c: Likewise.
11962 * elf/tst-tls12.c: Likewise.
11963 * elf/tst-tls14.c: Likewise.
11964 * elf/tst-tlsmod11.c: Likewise.
11965 * elf/tst-tlsmod12.c: Likewise.
11966 * elf/tst-tlsmod13.c: Likewise.
11967 * elf/tst-tlsmod13a.c: Likewise.
11968 * elf/tst-tlsmod14a.c: Likewise.
11969 * elf/tst-tlsmod15b.c: Likewise.
11970 * elf/tst-tlsmod16a.c: Likewise.
11971 * elf/tst-tlsmod16b.c: Likewise.
11972 * elf/tst-tlsmod7.c: Likewise.
11973 * elf/tst-tlsmod8.c: Likewise.
11974 * elf/tst-tlsmod9.c: Likewise.
11975 * gmon/gmon.c: Likewise.
11976 * grp/fgetgrent_r.c: Likewise.
11977 * grp/putgrent.c: Likewise.
11978 * hurd/fopenport.c: Likewise.
11979 * include/libc-symbols.h: Likewise.
11980 * include/tls.h: Likewise.
11981 * intl/gettextP.h: Likewise.
11982 * intl/loadinfo.h: Likewise.
11983 * locale/global-locale.c: Likewise.
11984 * locale/localeinfo.h: Likewise.
11985 * mach/devstream.c: Likewise.
11986 * malloc/arena.c: Likewise.
11987 * malloc/set-freeres.c: Likewise.
11988 * misc/err.c: Likewise.
11989 * misc/getttyent.c: Likewise.
11990 * misc/mntent_r.c: Likewise.
11991 * posix/getopt.c: Likewise.
11992 * posix/wordexp.c: Likewise.
11993 * pwd/fgetpwent_r.c: Likewise.
11994 * resolv/Versions: Likewise.
11995 * resolv/res_hconf.c: Likewise.
11996 * shadow/fgetspent_r.c: Likewise.
11997 * shadow/putspent.c: Likewise.
11998 * stdio-common/printf_fphex.c: Likewise.
11999 * stdio-common/tmpfile.c: Likewise.
12000 * stdlib/abort.c: Likewise.
12001 * stdlib/fmtmsg.c: Likewise.
12002 * sunrpc/auth_unix.c: Likewise.
12003 * sunrpc/clnt_perr.c: Likewise.
12004 * sunrpc/clnt_tcp.c: Likewise.
12005 * sunrpc/clnt_udp.c: Likewise.
12006 * sunrpc/clnt_unix.c: Likewise.
12007 * sunrpc/openchild.c: Likewise.
12008 * sunrpc/svc_simple.c: Likewise.
12009 * sunrpc/svc_tcp.c: Likewise.
12010 * sunrpc/svc_udp.c: Likewise.
12011 * sunrpc/svc_unix.c: Likewise.
12012 * sunrpc/xdr.c: Likewise.
12013 * sunrpc/xdr_array.c: Likewise.
12014 * sunrpc/xdr_rec.c: Likewise.
12015 * sunrpc/xdr_ref.c: Likewise.
12016 * sunrpc/xdr_stdio.c: Likewise.
12017
1248c1c4
PB
120182011-09-09 Ulrich Drepper <drepper@gmail.com>
12019
12020 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
12021
120222011-07-03 Andreas Jaeger <aj@suse.de>
12023
12024 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
12025 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
12026 regenerate with gen-libm-tests.pl.
12027
120282010-05-12 Petr Baudis <pasky@suse.cz>
12029
12030 [BZ #11589]
12031 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
12032 around j0() zero points by switching to j1().
12033 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
12034 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
12035 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
12036 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
12037
f22e1074
UD
120382011-09-09 Ulrich Drepper <drepper@gmail.com>
12039
f19009c1
UD
12040 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
12041 instead of 0.
12042 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
12043 instead of 0. .
12044 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
12045 Patch in part by Pavel Roskin <proski@gnu.org>.
12046
3f8cc204
UD
12047 [BZ #13138]
12048 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
12049 realloc.
12050 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
12051 Free memory block if necessary.
12052
f22e1074
UD
12053 [BZ #12847]
12054 * libio/genops.c (INTDEF): For string streams the _lock pointer can
12055 be NULL. Don't lock in this case.
12056
0a2349f9
RM
120572011-09-09 Roland McGrath <roland@hack.frob.com>
12058
12059 * elf/elf.h (ELFOSABI_GNU): New macro.
12060 (ELFOSABI_LINUX): Define to that.
12061
f3cdd467
DZ
120622011-07-29 Denis Zaitceff <zaitceff@gmail.com>
12063
12064 * string/strncat.c (strncat): Undef the symbol in case it has been
12065 defined in bits/string.h.
12066
74718d13
UD
120672011-09-09 Ulrich Drepper <drepper@gmail.com>
12068
633e9e0f
UD
12069 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
12070
0a2349f9 12071 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
12072 link map.
12073
f9924780
AJ
120742011-08-17 Andreas Jaeger <aj@suse.de>
12075
12076 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
12077
7f5517aa
PP
120782011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
12079 Ian Lance Taylor <iant@google.com>
12080
12081 * math/libm-test.inc (lround_test): New testcase.
12082 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
12083
762011fe
UD
120842011-09-08 Ulrich Drepper <drepper@gmail.com>
12085
92963737
UD
12086 * Makefile: Remove support for automatic cvs check-ins.
12087 * Makerules: Likewise.
12088 * config.make.in: Likewise.
12089 * configure.in: Likewise.
12090 * intl/Makefile: Likewise.
12091 * locale/Makefile: Likewise.
12092 * po/Makefile: Likewise.
12093 * posix/Makefile: Likewise.
12094 * sysdeps/gnu/Makefile: Likewise.
12095 * sysdeps/mach/hurd/Makefile: Likewise.
12096 * sysdeps/sparc/sparc32/Makefile: Likewise.
12097
b0727fd8
JS
12098 [BZ #13118]
12099 * posix/Makefile (bug-regex32-ENV): Define.
12100 Patch by John Stanley <jpsinthemix@verizon.net>.
12101
a0f33f99
UD
12102 * misc/Makefile (headers): Add bits/select2.h.
12103 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
12104 * misc/bits/select2.h: New file.
12105 * include/bits/select2.h: New file.
12106 * debug/Makefile (routines): Add fdelt_chk.
12107 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
12108 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
12109 FD_ISSET.
12110 * debug/fdelt_chk.c: New file.
12111
762011fe
UD
12112 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
12113 * wcsmbs/test-wmemcmp.c: Likewise.
12114 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 12115 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
12116
121172011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12118
12119 * string/Makefile (strop-tests): Add memcmp.
12120 * string/test-wmemcmp.c: New file.
12121 * string/test-memcmp.c: Add wmemcmp support.
12122
7f513ec8
RM
121232011-09-08 Roland McGrath <roland@hack.frob.com>
12124
0442afb4
RM
12125 [BZ #13153]
12126 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
12127 2011-07-19 change.
12128
7f513ec8
RM
12129 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
12130 garbage value in a __mach_port_mod_refs call in the cases of the
12131 task-self and thread-self ports.
12132
a12b2239
ST
121332011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
12134
12135 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
12136
610f9ab4
AS
121372011-09-08 Andreas Schwab <schwab@redhat.com>
12138
7f513ec8 12139 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 12140
48882a1a
LD
121412011-09-07 Ulrich Drepper <drepper@gmail.com>
12142
b49865be
UD
12143 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
12144
fdc86bc9
UD
12145 * elf/dl-libc.c (dlerror_run): Pass back error code from
12146 dl_catch_error.
12147
c966526a
UD
12148 [BZ #13123]
12149 * elf/dl-load.c (lose): Free l_origin if it is valid.
12150
48882a1a
LD
12151 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
12152 names.
12153 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
12154 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
12155 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
12156 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
12157 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
12158 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
12159
77a2a8b4
AZ
121602011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12161
12162 * sysdeps/powerpc/fpu/e_hypot.c: New file.
12163 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
12164 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
12165 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
12166 * sysdeps/powerpc/fpu/k_cosf.c: New file.
12167 * sysdeps/powerpc/fpu/k_sinf.c: New file.
12168 * sysdeps/powerpc/fpu/s_cosf.c: New file.
12169 * sysdeps/powerpc/fpu/s_sinf.c: New file.
12170 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
12171 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
12172
24f579d8
AM
121732011-08-15 Alan Modra <amodra@gmail.com>
12174
12175 [BZ #13092]
12176 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
12177 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
12178 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
12179 ppc_mcount to static-only-routines.
12180 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
12181 __mcount_internal.
12182 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
12183 __mcount_internal with usual JUMPTARGET. Remove useless nop.
12184
3d4837df
UD
121852011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
12186
12187 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
12188 for finite and infinity parameters.
12189
22700377
WS
121902011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
12191
12192 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
12193 and add nop instructions for throughput optimization.
12194 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
12195
5025581e
WS
121962011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
12197
12198 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
12199 aligned copy for power7 with vector-scalar instructions.
12200 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
12201
08a300c9
L
122022011-07-24 H.J. Lu <hongjiu.lu@intel.com>
12203
12204 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
12205 AVX check.
12206
59178ef9
AS
122072011-09-07 Andreas Schwab <schwab@redhat.com>
12208
12209 [BZ #13144]
12210 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
12211 last change.
12212
e38ba7ab
UD
122132011-09-07 Ulrich Drepper <drepper@gmail.com>
12214
12215 * sysdeps/unix/sysv/linux/x86_64/init-first.c
12216 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
12217 syscall wrapper around clock_gettime in __vdso_clock_gettime.
12218 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
12219 clock_gettime.
12220
d53a73ac
UD
122212011-09-06 Ulrich Drepper <drepper@gmail.com>
12222
fc8bffcc
UD
12223 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
12224 Forgot to demangle the pointer.
12225
ceaa0c5d
UD
12226 * sysdeps/i386/sysdep.h: Define atom_text_section.
12227 * sysdeps/x86_64/sysdep.h: Likewise.
12228 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
12229 section with atom_text_section.
12230 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
12231 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
12232 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
12233 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
12234 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
12235
a77d3c17
UD
12236 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
12237 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
12238 already be defined. Change to take two parameters and don't assign
12239 result to variable. Adjust all users.
12240 Define INTERNAL_GETTIME if not already defined.
12241 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
12242 call.
12243 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
12244 HAVE_CLOCK_GETTIME_VSYSCALL.
12245 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
12246
d53a73ac
UD
12247 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
12248 gettimeofday vsyscall, just use time.
12249
a8f84144
AS
122502011-09-06 Andreas Schwab <schwab@redhat.com>
12251
12252 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
12253 <errno.h>.
12254
ef606249
UD
122552011-09-06 Ulrich Drepper <drepper@gmail.com>
12256
12257 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
12258 syscall on x86-64.
12259 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
12260 syscall.
12261 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
12262 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
12263 syscall if possible.
12264
6585cb60
UD
122652011-09-05 Ulrich Drepper <drepper@gmail.com>
12266
12267 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
12268 e_ident. Don't pass to find_mapsXX.
12269 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
12270
a5f524e4
LD
122712011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
12272
12273 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
12274 strchr-sse2-no-bsf strrchr-sse2-no-bsf
12275 * sysdeps/x86_64/multiarch/strchr.S: Update.
12276 Check bit_slow_BSF bit.
12277 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
12278 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
12279 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
12280
554881ef
UD
122812011-09-05 Ulrich Drepper <drepper@gmail.com>
12282
d96de963
UD
12283 [BZ #13134]
12284 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
12285 before glibc 2.15.
12286 (tryshell): Define.
12287 (__spawni): Change last parameter to be flag. Test
12288 SPAWN_XFLAGS_USE_PATH flag to use path or not.
12289 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
12290 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
12291 * posix/spawni.c: Likewise.
12292 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
12293 * posix/spawnp.c: Likewise. Change normal version to use
12294 SPAWN_XFLAGS_USE_PATH.
12295 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
12296 SPAWN_XFLAGS_TRY_SHELL.
12297
d48e5868
UD
12298 [BZ #13150]
12299 * posix/glob.h: Remove gcc 1.x support.
12300
554881ef
UD
12301 [BZ #13068]
12302 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
12303
693fb948
LD
123042011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
12305
12306 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
12307 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
12308 strrchr-sse2-bsf
12309 * sysdeps/i386/i686/multiarch/strchr.S: New file.
12310 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
12311 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
12312 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
12313 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
12314 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
12315
1b48c537
UD
123162011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12317
49d42c37
UD
12318 * sysdeps/x86_64/wcscmp.S: New file.
12319
1b48c537
UD
12320 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
12321 wcscmp-c wcscmp-sse2
12322 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
12323 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
12324 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
12325 * wcsmbs/wcscmp.c: Allow renaming.
12326
15c95c5d
DM
123272011-09-05 David S. Miller <davem@davemloft.net>
12328
12329 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
12330 stack slot, rather than the struct return pointer slot.
12331 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
12332 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
12333 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
12334 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
12335
2f0ad8f3
UD
123362011-09-05 Ulrich Drepper <drepper@gmail.com>
12337
d88ae418
UD
12338 * po/ja.po: Update from translation team.
12339
2f0ad8f3
UD
12340 [BZ #13144]
12341 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
12342 kernel in 64-bit binaries.
12343
5f4318d1
DM
123442011-09-01 David S. Miller <davem@davemloft.net>
12345
12346 * elf/elf.h (HWCAP_SPARC_*): Move to..
12347 * sysdeps/sparc/sysdep.h: this new file and add new values.
12348 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
12349 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
12350 _DL_HWCAP_COUNT to 24.
12351 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
12352 entries.
12353 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
12354 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
12355 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
12356 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
12357 instead of magic constants.
12358 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
12359
3ba57516
DM
123602011-08-31 David S. Miller <davem@davemloft.net>
12361
12362 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
12363 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
12364 Reimplement to do errno handling inline.
12365 (SYSCALL_ERROR_HANDLER): New macro.
12366 (__SYSCALL_STRING): Do not do errno handling in asm.
12367 (__CLONE_SYSCALL_STRING): Delete.
12368 (__INTERNAL_SYSCALL_STRING): Delete.
12369 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
12370 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
12371 (PSEUDO): Reimplement to do errno handling inline.
12372 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
12373 (SYSCALL_ERROR_HANDLER): New macro.
12374 (__SYSCALL_STRING): Do not do errno handling in asm.
12375 (__CLONE_SYSCALL_STRING): Delete.
12376 (__INTERNAL_SYSCALL_STRING): Delete.
12377 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
12378 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
12379 i386.
12380 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
12381 (inline_syscall*): Add 'err' argument.
12382 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
12383 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
12384 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
12385 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
12386
12387 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
12388 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
12389
2bc17433
AS
123902011-08-30 Andreas Schwab <schwab@redhat.com>
12391
12392 * elf/rtld.c (dl_main): Relocate objects in dependency order.
12393
fbeb5f4d
JO
123942011-08-29 Jiri Olsa <jolsa@redhat.com>
12395
12396 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
12397 directive.
12398
ad69cc26
DM
123992011-08-24 David S. Miller <davem@davemloft.net>
12400
12401 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
12402
39dd69df
AS
124032011-08-24 Andreas Schwab <schwab@redhat.com>
12404
12405 * elf/Makefile: Add rules to build and run unload8 test.
12406 * elf/unload8.c: New file.
12407 * elf/unload8mod1.c: New file.
12408 * elf/unload8mod1x.c: New file.
12409 * elf/unload8mod2.c: New file.
12410 * elf/unload8mod3.c: New file.
12411
12412 * elf/dl-close.c (_dl_close_worker): Reset private search list if
12413 it wasn't used.
12414
2c0b250a
DM
124152011-08-23 David S. Miller <davem@davemloft.net>
12416
12417 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
12418 subtract stack bias.
12419 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
12420 %sp not %fp in calculations.
12421 (_JMPBUF_UNWINDS_ADJ): Likewise.
12422
22044b48
DM
12423 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
12424 (aio_suspend): Call it to force an exception region around the
12425 AIO_MISC_WAIT() invocation.
12426
2cae4995
AS
124272011-08-23 Andreas Schwab <schwab@redhat.com>
12428
12429 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
12430 backslash.
12431
873a772e
AJ
124322011-07-04 Aurelien Jarno <aurelien@aurel32.net>
12433
12434 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
12435 protection macro.
12436 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
12437 and <dl-machine.h>.
12438 (Elf64_FuncDesc): Remove.
12439
25ad0df1
DM
124402011-08-22 David S. Miller <davem@davemloft.net>
12441
12442 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
12443 sigaltstack check, add missing cfi directives.
12444 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
12445 missing cfi directives, and sigaltstack handling.
12446
e888bcbe
AS
124472011-08-16 Andreas Schwab <schwab@redhat.com>
12448
12449 [BZ #11724]
12450 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
12451 object is seen twice.
12452 * elf/dl-fini.c (_dl_sort_fini): Likewise.
12453
12454 * elf/Makefile (distribute): Add tst-initorder2.c.
12455 (tests): Add tst-initorder2.
12456 (modules-names): Add tst-initorder2a tst-initorder2b
12457 tst-initorder2c tst-initorder2d. Add rules to build them.
12458 ($(objpfx)tst-initorder2.out): New rule.
12459 * elf/tst-initorder2.c: New file.
12460 * elf/tst-initorder2.exp: New file.
12461
87162f46
AS
124622011-08-22 Andreas Schwab <schwab@redhat.com>
12463
70538b7f
AS
12464 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
12465
f55ffe58
AS
12466 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
12467 dependencies back to end of function.
12468
87162f46
AS
12469 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
12470 $(elfobjdir)/ld.so.
12471
91b392a4
UD
124722011-08-21 Ulrich Drepper <drepper@gmail.com>
12473
12474 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
12475 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
12476 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
12477 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
12478 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
12479 of __vdso_gettimeofday.
12480 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
12481 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
12482 attribute_hidden.
12483 (_libc_vdso_platform_setup): Remove initialization of
12484 __vdso_gettimeofday and __vdso_time.
12485
5c43483f
UD
124862011-08-20 Ulrich Drepper <drepper@gmail.com>
12487
775a77e7
UD
12488 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
12489 and fgetc_unlocked.
12490 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
12491 getc_unlocked.
89f447ed 12492
49c74ba9
UD
12493 * elf/dl-open.c (add_to_global): Report additions to the global scope
12494 for LD_DEBUG=scopes.
12495 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 12496 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 12497
5c43483f
UD
12498 [BZ #13114]
12499 * stdio-common/Makefile (tests): Add bug24.
12500 * stdio-common/bug24.c: New file.
12501
a101b025
AJ
125022011-08-19 Andreas Jaeger <aj@suse.de>
12503
12504 [BZ #13114]
12505 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
12506 non-existant file when using close-on-exec mode.
12507
c88f1766
UD
125082011-08-20 Ulrich Drepper <drepper@gmail.com>
12509
0276a718
UD
12510 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
12511 the very first instruction.
12512
c88f1766
UD
12513 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
12514 the CFI state in the end.
12515 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
12516 inclusion of dl-trampoline.h.
12517 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
12518
51ccffa0
AS
125192011-08-19 Andreas Schwab <schwab@redhat.com>
12520
94d7165f
AS
12521 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
12522 expectations for long double.
12523
51ccffa0
AS
12524 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
12525 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
12526
fd708658 125272011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
12528
12529 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
12530 artificual limit depends upon the system page size.
12531
44f0a71e
UD
125322011-08-17 Ulrich Drepper <drepper@gmail.com>
12533
12534 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
12535 * resolv/Makefile: Define CFLAGS-libresolv.
12536
8de79a24
AS
125372011-08-17 Andreas Schwab <schwab@redhat.com>
12538
12539 * nss/makedb.c (compute_tables): Make variables used in nested
12540 function static.
12541
27724598
UD
125422011-08-17 Ulrich Drepper <drepper@gmail.com>
12543
c5305d88
UD
12544 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
12545 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
12546 if buffer was too small.
12547
27724598
UD
12548 * elf/pldd.c (main): Attach to all threads in the process.
12549 Rewrite /proc handling to use *at functions.
12550
076fe015
UD
125512011-08-16 Ulrich Drepper <drepper@gmail.com>
12552
174baab3
UD
12553 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
12554 specifies first scope to show.
12555 (dl_open_worker): Update callers. Move printing scope of new
12556 object to before the relocation.
44f0a71e 12557 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
12558 * sysdeps/generic/ldsodefs.h: Update declaration.
12559
076fe015
UD
12560 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
12561 string for the scope number.
12562
a60df2c3
UD
125632011-08-14 Ulrich Drepper <drepper@gmail.com>
12564
12565 * nscd/servicescache.c (cache_addserv): Make sure written is always
12566 initialized.
12567
5e4287d1
RM
125682011-08-14 Roland McGrath <roland@hack.frob.com>
12569
85ae0589
RM
12570 * sysdeps/i386/i486/bits/atomic.h
12571 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
12572 statement expression, so as to suppress "set but not used" warning.
12573 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
12574
69f63097
RM
12575 * string/strncat.c (STRNCAT): Use prototype definition.
12576
675456ef
RM
12577 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
12578 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
12579 -Iprograms here.
12580 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
12581 (localedef-modules): Add localedef.
12582 (locale-modules): Add locale.
12583
5e4287d1
RM
12584 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
12585 * elf/rtld.c (dl_main): Invert order of assignment in last change,
12586 to avoid a warning.
12587
9c96ff23
DM
125882011-08-14 David S. Miller <davem@davemloft.net>
12589
12590 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
12591 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
12592
f9ddf089
UD
125932011-08-13 Ulrich Drepper <drepper@gmail.com>
12594
44f0a71e 12595 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
12596 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
12597 * elf/rtld.c (dl_main): Set l_name of vDSO.
12598 Call _dl_show_scope when DL_DEBUG_SCOPES.
12599 (process_dl_debug): Recognize scopes flag and also set it for all.
12600 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
12601 Declare _dl_show_scope.
12602
1dc27704
UD
12603 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
12604 (do_dlopen): Pass caller_dlopen to dl_open.
12605 (__libc_dlopen_mode): Initialize caller_dlopen.
12606
f9ddf089
UD
12607 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
12608 of libc. Make tolower call locale-independent. Optimize a bit by
12609 using isdigit instead of isalnum.
12610 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
12611
9ac533d3
UD
126122011-08-12 Ulrich Drepper <drepper@gmail.com>
12613
12614 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
12615 was a dependency or dynamically loaded.
12616
89edf2e9
UD
126172011-08-11 Ulrich Drepper <drepper@gmail.com>
12618
8e999d29
UD
12619 * intl/l10nflist.c: Allow architecture-specific pop function.
12620 * sysdeps/x86_64/l10nflist.c: New file.
12621
89edf2e9
UD
12622 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
12623 classification.
12624
14d96785
AS
126252011-08-10 Andreas Schwab <schwab@redhat.com>
12626
12627 * include/dirent.h: Add libc_hidden_proto for scandirat and
12628 scandirat64. Don't declare __scandirat64.
12629 * dirent/scandirat.c: Add libc_hidden_def.
12630 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
12631 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
12632
6761ac04
DM
126332011-08-10 David S. Miller <davem@davemloft.net>
12634
12635 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
12636 enum.
12637 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
12638 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
12639 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
12640
c55fbd1e
UD
126412011-08-09 Ulrich Drepper <drepper@gmail.com>
12642
12643 * Versions.def [libc]: Add GLIBC_2.15.
12644 * dirent/Makefile (routines): Add scandirat and scandirat64.
12645 * dirent/Versions [libc]: Export scandirat and scandirat64 for
12646 GLIBC_2.15.
12647 * dirent/dirent.h: Declare scandirat and scandirat64.
12648 * dirent/scandirat.c: New file.
12649 * dirent/scandirat64.c: New file.
12650 * sysdeps/wordsize-64/scandirat.c: New file.
12651 * sysdeps/wordsize-64/scandirat64.c: New file.
12652 * dirent/opendir.c: Define opendirat.
12653 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
12654 using scandirat.
12655 * dirent/scandir64.c: Adjust for scandir.c change.
12656 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
12657 __scandirat64, and __scandir_cancel_handler.
12658 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
12659 additional parameter and use openat instead of open (outside of ld.so).
12660 Add new __opendir as wrapper around __opendirat.
12661 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
12662 here without requiring old scandirat implementation.
12663
879165f2
UD
126642011-08-08 Ulrich Drepper <drepper@gmail.com>
12665
12666 * dirent/scandir.c (cancel_handler): Renamed to
12667 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
12668 defined. Adjust users.
12669 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
12670 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
12671
cb7e923b
UD
126722011-08-04 Ulrich Drepper <drepper@gmail.com>
12673
16292edd
UD
12674 * string/test-string.h (IMPL): Use __STRING to expand name and then
12675 stringify it.
12676
cb7e923b
UD
12677 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
12678 of cleanups.
12679
cff82933
LD
126802011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12681
12682 * string/Makefile: Update.
12683 (strop-tests): Append strncat.
12684 * string/test-wcscmp.c: New file.
12685 New comprehensive test for wcscmp.
12686 * string/test-strcmp.c: Update.
12687 (WIDE): New define.
12688
9be9bfcc
AS
126892011-07-22 Andreas Schwab <schwab@redhat.com>
12690
12691 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
12692 line.
12693
2e96f1c7
AS
126942011-07-26 Andreas Schwab <schwab@redhat.com>
12695
12696 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
12697 encoding to ACE if AI_IDN.
12698
85188888
JJ
126992011-08-01 Jakub Jelinek <jakub@redhat.com>
12700
12701 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
12702 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
12703
5fa16e9b
LD
127042011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
12705
12706 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
12707 Fix overflow bug in strncat.
12708 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
12709
12710 * string/test-strncat.c: Update.
12711 Add new tests for checking overflow bugs.
12712
127132011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
12714
12715 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
12716 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
12717 * sysdeps/i386/i686/multiarch/strcat.S: New file.
12718 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
12719 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
12720 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
12721 * sysdeps/i386/i686/multiarch/strncat.S: New file.
12722 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
12723 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
12724
12725 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
12726 (USE_AS_STRCAT): Define.
12727 Add strcat and strncat support.
12728 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
12729
8c1a459f
AS
127302011-07-25 Andreas Schwab <schwab@redhat.com>
12731
12732 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
12733 __n bigger than INT_MAX+1.
12734 (__strncmp_g): Likewise.
12735
bba33c28
UD
127362011-07-23 Ulrich Drepper <drepper@gmail.com>
12737
798be72d
UD
12738 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
12739 * libio/stido.h: Likewise.
12740
8accd4dc
UD
12741 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
12742 (AF_NFC): Define.
12743 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
12744 (AF_NFC): Define.
12745
cbff0d96
UD
12746 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
12747 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
12748 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
12749 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
12750 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
12751
9191c04a
UD
12752 [BZ #13021]
12753 * scripts/test-installation.pl: Don't expect libnss_test1 to be
12754 installed.
12755
bba33c28
UD
12756 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
12757 typo.
12758 (_dl_x86_64_save_sse): Likewise.
12759
90f139dd
UD
127602011-07-22 Ulrich Drepper <drepper@gmail.com>
12761
1aae088a
UD
12762 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
12763 OSXSAVE.
12764 (_dl_x86_64_save_sse): Likewise.
12765
8e2045f5
UD
12766 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
12767
90f139dd
UD
12768 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
12769
1d002f25
AS
127702011-07-21 Andreas Schwab <schwab@redhat.com>
12771
12772 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
12773 change.
12774 (_dl_x86_64_save_sse): Use correct AVX check.
12775
21137f89
UD
127762011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12777
12778 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
12779 bug in strncpy/strncat.
12780 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
12781
a65c0b7a
UD
127822011-07-21 Ulrich Drepper <drepper@gmail.com>
12783
12784 * string/tester.c (test_strcat): Add tests for different alignments
12785 of source and destination.
12786 (test_strncat): Likewise.
12787
6986b98a
UD
127882011-07-20 Ulrich Drepper <drepper@gmail.com>
12789
90bb2039
UD
12790 [BZ #12852]
12791 * posix/glob.c (glob): Check passed in values before using them in
12792 expressions to avoid some overflows.
12793 (glob_in_dir): Likewise.
12794
5644ef54
UD
12795 [BZ #13007]
12796 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
12797 check for AVX enablement so that we don't crash with old kernels and
12798 new hardware.
12799 * elf/tst-audit4.c: Add same checks here.
12800 * elf/tst-audit6.c: Likewise.
12801
12802 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 12803
bfc9dc9b
AS
128042011-07-09 Andreas Schwab <schwab@linux-m68k.org>
12805
12806 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
12807
702e64bb
UD
128082011-07-20 Ulrich Drepper <drepper@gmail.com>
12809
12810 * po/cs.po: Update from translation team.
12811 * po/bg.po: Likewise.
12812
295e904f
MP
128132011-07-12 Marek Polacek <mpolacek@redhat.com>
12814
12815 * misc/sys/cdefs.h: Add support for const attribute.
12816 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
12817 to gnu_dev_{major,minor,makedev} functions.
12818
3ff94596
MP
128192011-07-20 Marek Polacek <mpolacek@redhat.com>
12820
12821 * intl/dcigettext.c (get_output_charset): Add missing bracket.
12822
28b59fca
AS
128232011-07-20 Andreas Schwab <schwab@redhat.com>
12824
12825 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
12826 strlen results.
12827
19df733e
AK
128282011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12829
12830 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
12831 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
12832 register in order to avoid conflicts with the soft frame pointer
12833 being held in r11 when necessary.
12834 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
12835 (INTERNAL_VSYSCALL_NCS): Likewise.
12836
c8835729
MP
128372011-07-14 Marek Polacek <mpolacek@redhat.com>
12838
12839 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
12840 * elf/dl-fini.c (_dl_fini): Adjust caller.
12841 * elf/dl-close.c (_dl_close_worker): Likewise.
12842 * sysdeps/generic/ldsodefs.h: Adjust declaration.
12843
b902330c
MP
128442011-07-15 Marek Polacek <mpolacek@redhat.com>
12845
8991e135
MP
12846 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
12847 "aux_cache->nlibs < 0".
12848
b902330c
MP
12849 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
12850 in the reload-count case.
12851
99710781
LD
128522011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
12853
12854 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
12855 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
12856 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
12857 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
12858 * sysdeps/x86_64/multiarch/strcat.S: New file.
12859 * sysdeps/x86_64/multiarch/strncat.S: New file.
12860 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
12861 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
12862 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
12863 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
12864 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
12865 (USE_AS_STRCAT): Define.
12866 Add strcat and strncat support.
12867 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
12868 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
12869 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
12870 * string/strncat.c: Update.
12871 (USE_AS_STRNCAT): Define.
12872 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
12873 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
12874 and i7.
12875 * sysdeps/x86_64/multiarch/init-arch.h
12876 (bit_Prefer_PMINUB_for_stringop): New.
12877 (index_Prefer_PMINUB_for_stringop): Likewise.
12878 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
12879 bit_Prefer_PMINUB_for_stringop.
12880
7dc6bd90
UD
128812011-07-19 Ulrich Drepper <drepper@gmail.com>
12882
12883 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
12884 buffer64.
12885 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
12886 of casting of buffer.
12887 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
12888 buffer32 and buffer64.
12889 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
12890 writes instead of casting of buffer.
12891 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
12892 buffer32.
12893 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
12894 casting of buffer.
12895
e0e72284
AS
128962011-07-19 Andreas Schwab <schwab@redhat.com>
12897
12898 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
12899
feb1eb0b
UD
129002011-07-19 Ulrich Drepper <drepper@gmail.com>
12901
12902 * nscd/nscd.c (termination_handler): Don't do anything for a database
12903 if it has not yet been initialized.
12904
298711ff
UD
129052011-07-18 Ulrich Drepper <drepper@gmail.com>
12906
12907 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
12908
129092011-07-15 Marek Polacek <mpolacek@redhat.com>
12910
12911 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
12912
f9d68389
UD
129132011-07-18 Ulrich Drepper <drepper@gmail.com>
12914
12915 * po/nl.po: Update from translation team.
12916 * po/sv.po: Likewise.
12917
db290cf5
RM
129182011-07-16 Roland McGrath <roland@hack.frob.com>
12919
12920 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
12921 now disallowed by GCC.
5c550700 12922
fd5e21c7
RM
12923 * configure.in (use-default-link): Default to yes if a test -shared
12924 link meets our qualifications.
12925 * configure: Regenerated.
12926
5c550700
RM
12927 * config.make.in (output-format): New variable.
12928 * configure.in: Check for ld --print-output-format support.
12929 * configure: Regenerated.
12930 * Makerules ($(common-objpfx)format.lds)
12931 [$(output-format) != unknown]: Just use $(output-format),
12932 instead of the linker-script munging.
12933
9fa2c032
RM
129342011-07-14 Roland McGrath <roland@hack.frob.com>
12935
a6928d51
RM
12936 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
12937 of $(common-objpfx)shlib.lds.
12938 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
12939
661607b3
RM
12940 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
12941 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
12942
9fa2c032
RM
12943 * configure.in (-z relro check): Adjust test code to add a large
12944 writable data section after it.
12945 * configure: Regenerated.
12946
defe9061
RM
129472011-07-11 Roland McGrath <roland@hack.frob.com>
12948
12949 * configure.in (-z relro check): Fix test code to make the variable
12950 truly const.
12951 * configure: Regenerated.
12952
319b9ad4
UD
129532011-07-11 Ulrich Drepper <drepper@gmail.com>
12954
12955 * nscd/nscd.h (struct traced_file): Define.
12956 (struct database_dyn): Remove inotify_descr, reset_res, and filename
12957 elements. Add traced_files.
12958 (inotify_fd): Declare.
12959 (register_traced_file): Declare.
12960 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
12961 (inotify_fd): Export.
12962 (resolv_conf_descr): Remove.
12963 (nscd_init): Move inotify descriptor creation to main.
12964 Don't register files for notification here.
12965 (register_traced_file): New function.
12966 (invalidate_cache): Don't use reset_res to determine whether to call
12967 res_init, go through the list of registered files.
12968 (main_loop_poll): The inotify descriptors are now stored in the
12969 structures for the traced files.
12970 (main_loop_epoll): Likewise
12971 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
12972 to __nss_disable_nscd.
12973 * nscd/cache.c (prune_cache): There is no single inotify descriptor
12974 for a database anymore. Check the records for all the registered
12975 files instead.
12976 * nss/Makefile (libnss_files-routines): Add files-init.
12977 (libnss_db-routines): Add db-init.
12978 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
12979 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
12980 * nss/nss_db/db-init.c: New file.
12981 * nss/nss_files/files-init.c: New file.
12982 * nss/nsswitch.c (nss_load_library): New function. Broken out of
12983 __nss_lookup_function.
12984 (__nss_lookup_function): Call nss_load_library.
12985 (nss_load_all_libraries): New function.
12986 (__nss_disable_nscd): Take parameter with callback function for files
12987 to register. Set is_nscd. Load all the DSOs for the NSS modules
12988 used for the cached services.
12989 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
12990 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
12991 options for features to all the files in nscd.
12992
12993 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
12994
23bee3e8
RM
129952011-07-10 Roland McGrath <roland@hack.frob.com>
12996
12997 * csu/elf-init.c (__libc_csu_init): Comment typo.
12998
46a5b7f0
UD
129992011-07-09 Ulrich Drepper <drepper@gmail.com>
13000
13001 * po/pl.po: Update from translation team.
13002 * po/ja.po: Likewise.
13003 * po/ru.po: Likewise.
13004 * po/ko.po: Likewise.
13005 * po/fr.po: Likewise.
13006
d30cf5bb
RM
130072011-07-09 Roland McGrath <roland@hack.frob.com>
13008
113ddea4
RM
13009 * configure.in (.ctors/.dtors header and trailer check):
13010 Use an empirical test on a built program.
13011 * configure: Regenerated.
13012
574920b4
RM
13013 * configure.in (-z relro check): Use an empirical test on a built DSO.
13014 Detect, but do not require, on ia64.
13015 * configure: Regenerated.
13016
d30cf5bb
RM
13017 * configure.in (READELF): Find it with AC_CHECK_TOOL.
13018 Update tests that use readelf to use $READELF instead.
13019 * configure: Regenerated.
13020
8538fdb3
UD
130212011-07-08 Ulrich Drepper <drepper@gmail.com>
13022
13023 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
13024 if the result is not used.
13025
04d08991
AJ
130262011-07-05 Andreas Jaeger <aj@suse.de>
13027
13028 [BZ#9696]
13029 * stdlib/tst-strtod.c: Add testcase.
13030
de283087
AD
130312011-07-07 Ulrich Drepper <drepper@gmail.com>
13032
4e5f31c8 13033 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 13034 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
13035 The latter has a higher limit. Take additional parameter to pass to
13036 the new function.
13037 (__pathconf): Pass file to __statfs_link_max.
13038 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
13039 __statfs_link_max.
13040 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
13041 __statfs_link_max.
13042
de283087
AD
13043 [BZ #12868]
13044 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
13045 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
13046 Handle Lustre.
13047 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
13048 (__statfs_filesize_max): Likewise.
13049 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
13050
c75fa153
AJ
130512011-07-05 Andreas Jaeger <aj@suse.de>
13052
13053 * resolv/res_comp.c (dn_skipname): Remove unused variable.
13054
1a544854
UD
130552011-07-06 Marek Polacek <mpolacek@redhat.com>
13056
13057 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
13058 `status' variable.
13059 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
13060 Likewise.
13061
6f0eec67
UD
130622011-07-04 H.J. Lu <hongjiu.lu@intel.com>
13063
13064 * Makefile (strop-tests): Add strncat.
13065 * string/test-strncat.c: New file.
13066
aae30307
UD
130672011-06-30 Marek Polacek <mpolacek@redhat.com>
13068
13069 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
13070
c0cfb5eb
UD
130712011-06-21 Andreas Jaeger <aj@suse.de>
13072
13073 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
13074 Copy rule from iconvdata/Makefile.
13075
01636b21
UD
130762011-07-06 Ulrich Drepper <drepper@gmail.com>
13077
13078 [BZ #12922]
13079 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
13080 but no long options are defined, just return 'W'.
13081
9895c8bc
UD
130822011-06-22 Marek Polacek <mpolacek@redhat.com>
13083
13084 [BZ #9696]
13085 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
13086
5d4cf042
UD
130872011-07-06 Ulrich Drepper <drepper@gmail.com>
13088
13089 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
13090 netgroups to read.
960e5535 13091 (innetgr): Likewise.
5d4cf042 13092
751eb97e
RM
130932011-07-05 Roland McGrath <roland@hack.frob.com>
13094
13095 * config.make.in (install_root): Default to $(DESTDIR).
13096
f15f1e45
UD
130972011-07-05 Ulrich Drepper <drepper@gmail.com>
13098
13099 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
13100
4e34ac6a
RM
131012011-07-02 Roland McGrath <roland@hack.frob.com>
13102
5e9b6af4
RM
13103 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
13104
84f9ea0f
RM
13105 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
13106 containing directory rather than embedding absolute directory names.
13107
ea5ee9f7
RM
13108 * scripts/check-local-headers.sh: Rewritten using awk.
13109 Match by word, not by line. Print error messages for matches.
13110 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
13111
1b74661a
RM
13112 * Makerules [shlib-lds-flags empty]:
13113 ($(common-objpfx)libc_pic.opts): New target.
13114 ($(common-objpfx)libc_pic.os.clean): New target.
13115 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
13116
13117 * config.make.in (OBJCOPY): New variable.
13118 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
13119 * configure: Regenerated.
13120
f781ef40
RM
13121 * config.make.in (use-default-link): New variable.
13122 * configure.in (use_default_link): Grok --with-default-link to set it.
13123 * configure: Regenerated.
13124 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
13125 (shlib-lds, shlib-lds-flags): Define to empty.
13126
2d4fa81e
RM
13127 * Makerules (shlib-lds): New variable.
13128 (shlib-lds-flags): New variable.
13129 (build-shlib, build-moduile, build-module-asneeded): Use it.
13130 ($(common-objpfx)libc.so): Use $(shlib-lds).
13131 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
13132 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
13133
31fffa6b
RM
13134 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
13135 DT_FLAGS/DT_FLAGS_1 with zero flags.
13136
4e34ac6a
RM
13137 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
13138 linker script munging.
13139
fcfc776b
UD
131402011-07-02 Ulrich Drepper <drepper@gmail.com>
13141
13142 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
13143 as 128-bit value.
13144 * crypt/sha512.c (sha512_process_block): Perform total addition using
13145 128-bit if possible.
13146 (__sha512_finish_ctx): Likewise.
13147 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
13148 as 64-bit value.
13149 * crypt/sha256.c (SWAP64): Define.
13150 (sha256_process_block): Perform total addition using 64-bit if
13151 possible.
13152 (__sha256_finish_ctx): Likewise.
13153
99231d9a
UD
131542011-07-01 Ulrich Drepper <drepper@gmail.com>
13155
13156 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
13157 * nscd/initgrcache.c (addinitgroupsX): Likewise.
13158 * nscd/hstcache.c (cache_addhst): Likewise.
13159 * nscd/grpcache.c (cache_addgr): Likewise.
13160 * nscd/aicache.c (addhstaiX): Likewise
13161 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
13162
445b4a53
TK
131632011-07-01 Thorsten Kukuk <kukuk@suse.de>
13164
13165 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
13166 * nscd/initgrcache.c (addinitgroupsX): Likewise.
13167 * nscd/hstcache.c (cache_addhst): Likewise.
13168 * nscd/grpcache.c (cache_addgr): Likewise.
13169 * nscd/aicache.c (addhstaiX): Likewise
13170
6d4d8e8e
AS
131712011-07-01 Andreas Schwab <schwab@redhat.com>
13172
13173 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
13174 domain only when needed.
13175
89f654c5
AS
131762011-06-30 Andreas Schwab <schwab@redhat.com>
13177
13178 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
13179 is always restored.
13180
cf3b23ff
UD
131812011-06-29 Ulrich Drepper <drepper@gmail.com>
13182
13183 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
13184 are re-adding the entry.
13185 * nscd/servicescache.c (cache_addserv): Likewise.
13186
751626f9
AJ
131872011-06-30 Aurelien Jarno <aurelien@aurel32.net>
13188
13189 * sysdeps/generic/dl-irel.h: fix protection against multiple
13190 inclusions.
13191 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
13192
9113ea1f
UD
131932011-06-28 Ulrich Drepper <drepper@gmail.com>
13194
5c0b8d90
UD
13195 [BZ #12935]
13196 * malloc/memusage.sh: Fix quoting in message.
13197 * debug/xtrace.sh: Likewise.
13198
9113ea1f
UD
13199 * configure.in: Remove support for --experimental-malloc option, make
13200 it the default.
13201 * config.make.in: Likewise.
13202 * malloc/Makefile: Likewise.
13203
a4172181
AS
132042011-06-27 Andreas Schwab <schwab@redhat.com>
13205
13206 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
13207 two-byte characters.
13208
78a7eee7
RM
132092011-06-27 Roland McGrath <roland@hack.frob.com>
13210
62bede13
RM
13211 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
13212 AC_CACHE_CHECK invocation.
13213 * configure: Regenerated.
13214
78a7eee7
RM
13215 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
13216
5ce33a62
UD
132172011-06-27 Ulrich Drepper <drepper@gmail.com>
13218
034807a9
UD
13219 [BZ #12350]
13220 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
13221 bit from old_res_options.
13222
4902da17
UD
13223 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
13224
5ce33a62
UD
13225 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
13226 value type for setfct.
13227
c2344f56
L
132282011-06-23 H.J. Lu <hongjiu.lu@intel.com>
13229
13230 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
13231 __gettimeofday instead of gettimeofday.
13232
68468076
UD
132332011-06-26 Ulrich Drepper <drepper@gmail.com>
13234
13235 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
13236
acb0d739
L
132372011-06-24 H.J. Lu <hongjiu.lu@intel.com>
13238
13239 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
13240
13241 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
13242 info.
13243
8912479f
L
132442011-06-22 H.J. Lu <hongjiu.lu@intel.com>
13245
13246 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
13247 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
13248 strcpy-sse2-unaligned strncpy-sse2-unaligned
13249 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
13250 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
13251 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
13252 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
13253 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
13254 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
13255 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
13256 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
13257 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
13258 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
13259 (STRCPY): Support SSE2 and SSSE3 versions.
13260
d5495a11
UD
132612011-06-24 Ulrich Drepper <drepper@gmail.com>
13262
13263 [BZ #12874]
13264 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
13265 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
13266 kernels which artificially limit size of requests.
13267
0b1cbaae
L
132682011-06-22 H.J. Lu <hongjiu.lu@intel.com>
13269
13270 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
13271 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
13272 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
13273 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
13274 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
13275 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
13276 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
13277 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
13278 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
13279 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
13280 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
13281 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
13282 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
13283 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
13284 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
13285 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
13286 Enable unaligned load optimization for Intel Core i3, i5 and i7
13287 processors.
13288 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
13289 Define.
13290 (index_Fast_Unaligned_Load): Define.
13291 (HAS_FAST_UNALIGNED_LOAD): Define.
13292
07f494a0
MP
132932011-06-23 Marek Polacek <mpolacek@redhat.com>
13294
13295 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
13296
fa3fc0fe
UD
132972011-06-22 Ulrich Drepper <drepper@gmail.com>
13298
13299 [BZ #12907]
13300 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
13301 until it is clear that the information is realy needed.
13302 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
13303
e12df166
AS
133042011-06-22 Andreas Schwab <schwab@redhat.com>
13305
13306 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
13307
852eb34d
UD
133082011-06-22 Ulrich Drepper <drepper@gmail.com>
13309
84e2a551
UD
13310 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
13311 /sys/devices/system/cpu/online if it is usable.
13312
852eb34d
UD
13313 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
13314 reading the information from the /proc filesystem to once a second.
13315
6e502e19
UD
133162011-06-21 Andreas Jaeger <aj@suse.de>
13317
13318 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
13319 NULL after inclusion of kernel headers.
13320
75d39ff2
UD
133212011-06-21 Ulrich Drepper <drepper@gmail.com>
13322
51f9aa6a
UD
13323 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
13324 calls to internal_setent.
13325
c0244a9d
UD
13326 [BZ #12885]
13327 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
13328 addresses using gethostbyname4_r ignore IPv4 addresses.
13329
c5e3c2ae
UD
13330 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
13331 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
13332
75d39ff2
UD
13333 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
13334
42675c6f
DM
133352011-06-20 David S. Miller <davem@davemloft.net>
13336
13337 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
13338 inclusions.
13339 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
13340
13341 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
13342 (elf_irel): Use it.
13343 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
13344 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
13345 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
13346 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
13347 * sysdeps/x86_64/dl-irel.h: Likewise.
13348
13349 * elf/dl-runtime.c: Use elf_ifunc_invoke.
13350 * elf/dl-sym.c: Likewise.
13351
57912a71
UD
133522011-06-15 Ulrich Drepper <drepper@gmail.com>
13353
13354 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
13355 need to dereference resplen2.
13356
ee22793d
AS
133572011-06-14 Andreas Schwab <schwab@redhat.com>
13358
13359 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
13360
a9e836b0
UD
133612011-06-15 Ulrich Drepper <drepper@gmail.com>
13362
77fb9117
UD
13363 * Makeconfig: Define vardbdir and inst_vardbdir.
13364 * nss/Makefile: Add rules to install db-Makefile.
13365
40c1b22c
UD
13366 * nss/nss_db/db-XXX.c: Cleanup.
13367
9f2da732
UD
13368 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
13369 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
13370 GLIBC_PRIVATE.
13371 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
13372 * nss/makedb.c: Implement -g option to specify that value strings
13373 are generated and should not be added to table iterated over for
13374 get*ent calls.
13375 * nss/nss_db/db-initgroups.c: New file.
13376
82e9a1f7
UD
13377 * nss/getent.c: Add support for initgroups lookups through getgrouplist
13378 interface.
13379
c41af17e
UD
13380 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
13381 (internal_getgrouplist): Adjust to name change.
13382 Update use_initgroups_entry if this is not the first call.
13383 * nss/databases.def: Add initgroups entry.
13384
a9e836b0
UD
13385 * nss/makedb.c (compute_tables): Check result of multiple hash table
13386 sizes to minimize maximum chain length.
13387
2666d441
UD
133882011-06-14 Ulrich Drepper <drepper@gmail.com>
13389
13390 * Versions.def: Add entry for libnss_db.
13391 * shlib-versions: Likewise.
13392 * nss/Makefile: Add rules to build libnss_db.
13393 * nss/Versions: Add libnss_db information. Organize libnss_files
13394 entries better.
13395 * nss/db-Makefile: Add gshadow support. Change rules for the new
13396 makedb progra. Some minor improvements to generate smaller files.
13397 * nss/nss_db/nss_db.h: Move NSS database header data structures to
13398 here from...
13399 * nss/makedb.c: ...here.
13400 Improve database format to be smaller and require less memory at
13401 runtime.
13402 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
13403 db anymore.
13404 * nss/nss_db/db-netgrp.c: Likewise.
13405 * nss/nss_db/db-open.c: Likewise.
13406 * nss/nss_files/flies-XXX.x: Adjust comments.
13407 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
13408 * nss/nss_files/files-grp.c: Likewise.
13409 * nss/nss_files/files-hosts.c: Likewise.
13410 * nss/nss_files/files-network.c: Likewise.
13411 * nss/nss_files/files-proto.c: Likewise.
13412 * nss/nss_files/files-pwd.c: Likewise.
13413 * nss/nss_files/files-rpc.c: Likewise.
13414 * nss/nss_files/files-service.c: Likewise.
13415 * nss/nss_files/files-sgrp.c: Likewise.
13416 * nss/nss_files/files-spwd.c: Likewise.
13417 * nss/nss_db/db-alias.c: Removed.
13418 * nss/nss_db/dummy-db.h: Removed.
13419
9ee76b5a
UD
134202011-06-02 Ulrich Drepper <drepper@gmail.com>
13421
13422 * nss/makedb.c: Rewritten to not use database library.
13423 * nss/Makefile: Update to build new makedb program.
13424
c71ca1f8
AJ
134252011-06-14 Andreas Jaeger <aj@suse.de>
13426
13427 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
13428 memset declaration.
13429
3154bfb8
UD
134302011-06-10 Andreas Schwab <schwab@redhat.com>
13431
13432 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
13433 tmpbuf.
13434
b350afab
RM
134352011-06-10 Roland McGrath <roland@hack.frob.com>
13436
decd4e50
RM
13437 * Makerules (shlib.lds): Fail if the linker script comes out empty.
13438 * elf/Makefile ($(objpfx)ld.so): Likewise.
13439
5615eaf2
RM
13440 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
13441 Don't list ld.so twice in dependencies.
13442
13443 * posix/bug-regex31.c: Include <stdlib.h>.
13444
13445 * nscd/hstcache.c (cache_addhst): Remove unused variable.
13446
13447 * nis/nss_compat/compat-spwd.c
13448 (getspent_next_nss_netgr): Remove unused variable.
13449 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
13450
13451 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
13452 nonmembers" output to use the right array.
13453
13454 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
13455
13456 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
13457
13458 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
13459 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
13460 * catgets/gencat.c (read_input_file): Likewise.
13461 * locale/programs/locarchive.c (enlarge_archive): Likewise.
13462
13463 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
13464 variable definition inside #if's controlling its use.
13465
13466 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
13467
13468 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
13469
13470 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
13471
13472 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
13473 unreachable code.
13474
13475 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
13476
b68e08db
RM
13477 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
13478 * configure: Regenerated.
13479
b350afab
RM
13480 * Makerules: Revert last change.
13481 * elf/Makefile: Likewise.
13482
28368601
RM
134832011-06-09 Roland McGrath <roland@hack.frob.com>
13484
13485 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
13486 * elf/Makefile ($(objpfx)librtld.os): Likewise.
13487 (reloc-link): Likewise.
13488
11988f8f
UD
134892011-06-09 Ulrich Drepper <drepper@gmail.com>
13490
13491 * elf/Makefile: Add rules to build pldd.
13492 * elf/pldd.c: New file.
13493 * elf/pldd-xx.c: New file.
13494
e80fab37
UD
134952011-06-07 Ulrich Drepper <drepper@gmail.com>
13496
13497 * version.h: Update for 2.15 development version.
13498
9b849836
DM
134992011-06-07 David S. Miller <davem@davemloft.net>
13500
13501 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
13502 ifuncs.
13503 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
13504 elf_machine_lazy_rel): Likewise.
13505 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
13506 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
13507 elf_machine_lazy_rel): Likewise.
13508 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
13509 dl_hwcap via passed in argument.
13510 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
13511 Likewise.
13512
5a31b283
AK
135132011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13514
13515 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
13516
069e52f8
RM
135172011-06-06 Roland McGrath <roland@hack.frob.com>
13518
13519 [BZ #12849]
13520 * manual/fdl-1.1.texi: New file, verbatim from:
13521 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
13522 * manual/lgpl-2.1.texi: New file, verbatim from:
13523 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
13524 * manual/Makefile (licenses): New variable, list those new file names.
13525 (texis): Use it.
13526 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
13527
13528 * manual/fdl.texi: File removed.
13529 * manual/lesser.texi: File removed.
13530 * manual/libc.texinfo (Copying, Documentation License):
13531 Use new @include file names, put @appendix directive before @include.
13532
f16846a5
JJ
135332011-06-04 Jakub Jelinek <jakub@redhat.com>
13534
13535 [BZ #12841]
13536 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
13537 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
13538 (mq_open): Add __NTH.
13539
3d29045b
L
135402011-06-02 H.J. Lu <hongjiu.lu@intel.com>
13541
13542 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
13543 Assume Intel Core i3/i5/i7 processor if AVX is available.
13544
8c297311
UD
135452011-05-31 Ulrich Drepper <drepper@gmail.com>
13546
13547 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
13548 typo.
13549
c8fc0c91
UD
135502011-05-31 Andreas Schwab <schwab@redhat.com>
13551
13552 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
13553 memory. Use alloca_account. Fix memory leak when retrying.
13554
5b27a807
UD
135552011-05-31 Ulrich Drepper <drepper@gmail.com>
13556
356f8bc6
UD
13557 * version.h (RELEASE): Bump for 2.14 release.
13558 * include/features.h (__GLIBC_MINOR__): Bump to 14.
13559
5b27a807
UD
13560 * config.make.in (RANLIB): Remove entry.
13561
01f16ab0
UD
135622011-05-30 Ulrich Drepper <drepper@gmail.com>
13563
41fce8bd
UD
13564 * po/Makefile (po-sed-cmd): Add ksh to extensions.
13565 (libc.pot): Work around missing support for .ksh extension in xgettext.
13566
4769ae77
UD
13567 [BZ #12684]
13568 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
13569 if both request failed.
13570 (send_dg): In case of server errors clear resplen or *resplen2.
13571
6b1e7d19
UD
13572 [BZ #12454]
13573 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
13574 when there are multiple maps.
13575 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
13576 (_dl_fini): Remove test here.
13577
01f16ab0
UD
13578 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
13579
b1ebd700
UD
135802011-05-29 Ulrich Drepper <drepper@gmail.com>
13581
7ae22829
UD
13582 [BZ #12350]
13583 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
13584 bit from old_res_options.
13585 (gaih_inet): Likewise.
13586
553149f6 13587 [BZ #11099]
18a84741 13588 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
13589 as signed.
13590
652ffab1
UD
13591 * resolv/res_init.c (res_setoptions): Make the code more compact.
13592
16985fd0
UD
13593 [BZ #11558]
13594 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
13595 set RES_USEVC.
13596
0464f746
UD
13597 [BZ #11634]
13598 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
13599
7d17596c
UD
13600 * malloc/malloc.h: Mark malloc hook variables as deprecated.
13601
cf6bbbd7
UD
13602 [BZ #11781]
13603 * malloc/malloc.h: Declare malloc hook variables as volatile.
13604
13f1ab36
UD
13605 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
13606 in last patch.
13607
b1ebd700
UD
13608 [BZ #11799]
13609 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 13610 raise in the comment.
80e2212d
UD
13611 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
13612 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
13613 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 13614
ce67228d
UD
136152011-05-28 Ulrich Drepper <drepper@gmail.com>
13616
8887a920
UD
13617 [BZ #12811]
13618 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
13619 grow the buffers more if it already has to be sufficient.
13620 (build_wcs_upper_buffer): Likewise.
13621 * posix/regexec.c (check_matching): Likewise.
13622 (clean_state_log_if_needed): Likewise.
13623 (extend_buffers): Don't enlarge buffers beyond size of the input
13624 buffer.
13625 Patches mostly by Emil Wojak <emil@wojak.eu>.
13626 * posix/bug-regex32.c: New file.
13627 * posix/Makefile (tests): Add bug-regex32.
13628
4f031072
UD
13629 * locale/findlocale.c (_nl_find_locale): Return right away if
13630 _nl_explode_name failed.
13631 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
13632
d0478f0c
UD
13633 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
13634
de81b246
UD
13635 * debug/xtrace.sh: Unify messages.
13636 * malloc/memusage.sh: Likewise.
13637
c738465a
UD
13638 [BZ #12813]
13639 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
13640 time symbol from vDSO. Substitute with vsyscall if not available.
13641 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
13642 __vdso_time.
13643
f1f929d7
UD
13644 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
13645 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
13646 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
13647 Add sendmmsg and internal_sendmmsg.
13648 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
13649 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
13650 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
13651
ce67228d
UD
13652 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
13653 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
13654 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
13655
e57420c6
UD
136562011-05-27 Ulrich Drepper <drepper@gmail.com>
13657
a8509ca5
UD
13658 [BZ #12813]
13659 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
13660 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
13661 available.
13662 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
13663 __vdso_getcpu.
13664
e57420c6
UD
13665 [BZ #12814]
13666 * iconvdata/Makefile (tests): Add bug-iconv9.
13667 * iconvdata/bug-iconv9.c: New file.
13668
4d07db15
AS
136692011-05-27 Andreas Schwab <schwab@redhat.com>
13670
13671 [BZ #12814]
13672 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
13673
ea486f69
JJ
136742011-05-25 Jakub Jelinek <jakub@redhat.com>
13675
13676 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
13677 (struct user_regs_struct): Change intcs field back to cs.
13678
6f038433
UD
136792011-05-25 Ulrich Drepper <drepper@gmail.com>
13680
13681 * po/ja.po: Update from translation team.
13682
67f86a25
UD
136832011-05-23 Ulrich Drepper <drepper@gmail.com>
13684
13685 [BZ #12795]
13686 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
13687 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
13688
def7fbd6
AS
136892011-05-20 Andreas Schwab <schwab@redhat.com>
13690
13691 * stdlib/longlong.h: Update from GCC.
13692
f50ef8f1
AS
136932011-05-23 Andreas Schwab <schwab@redhat.com>
13694
13695 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
13696 parameter name.
13697 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
13698 Add parameter name.
13699 (__sysconf): Pass it down.
13700
de7ce8f1
UD
137012011-05-22 Ulrich Drepper <drepper@gmail.com>
13702
f2962a71
UD
13703 [BZ #12671]
13704 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
13705 some situations.
13706 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
13707 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
13708 add in in __libc_use_alloca calls. Adjust callers.
13709 (glob): Use malloc in some situations.
13710
de7ce8f1
UD
13711 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
13712 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
13713 pltexit.
13714
aec84f53
UD
137152011-05-21 Ulrich Drepper <drepper@gmail.com>
13716
05bb4a68
UD
13717 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
13718 and CLOCK_BOOTTIME_ALARM.
13719
7ea72f99
UD
13720 [BZ #12782]
13721 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
13722 is returned.
13723
7e4afad5
UD
13724 * string/_strerror.c (__strerror_r): Print negative errors as signed
13725 numbers.
13726
8e211fec
UD
13727 [BZ #12777]
13728 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
13729 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
13730 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
13731
f7d82dc9
UD
13732 * configure.in: Fix typo in redirection and correct removal of test
13733 files in two cases.
13734
cc9e536d
UD
13735 [BZ #12788]
13736 * locale/setlocale.c (new_composite_name): Fix test to check for
13737 identical name of all categories.
13738
aec84f53
UD
13739 [BZ #12792]
13740 * libio/filedoalloc.c (local_isatty): New function.
13741 (_IO_file_doallocate): Use local_isatty.
13742 * stdio-common/perror.c (perror): In case a new stream is used
13743 forward the stream error.
13744 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
13745 error flag.
13746
78e64fdc
RT
137472011-05-20 Ulrich Drepper <drepper@gmail.com>
13748
34a9094f
UD
13749 [BZ #11869]
13750 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
13751 alloca.
13752 * include/alloca.h (extend_alloca_account): Define.
13753
78e64fdc
RT
13754 [BZ #11857]
13755 * posix/regex.h: Fix comments with documentation of user-accessible
13756 fields after compilation and describe correct free'ing of pattern
13757 after re_compile_pattern.
13758 Patch by Reuben Thomas <rrt@sc3d.org>.
13759
457bddfc
RA
137602011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
13761
13762 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
13763 and -mno-altivec to prevent the compiler from using Altivec and/or
13764 VSX instructions when the corresponding registers are not available.
13765
a4527b51
AS
137662011-05-19 Andreas Schwab <schwab@redhat.com>
13767
13768 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
13769
ed690b2f
UD
137702011-05-19 Ulrich Drepper <drepper@gmail.com>
13771
13772 * libio/freopen.c (freopen): Use __dup2, not dup2.
13773 * libio/freopen64.c (freopen64): Likewise.
13774
8db73634
L
137752011-05-17 H.J. Lu <hongjiu.lu@intel.com>
13776
13777 [BZ #12775]
13778 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
13779 * math/Makefile (tests): Add test-powl.
13780 (CFLAGS-test-powl.c): Define.
13781 * math/test-powl.c: New file.
13782
0a197a9d
L
137832011-05-16 H.J. Lu <hongjiu.lu@intel.com>
13784
13785 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
13786
ee30c380
UD
137872011-05-17 Ulrich Drepper <drepper@gmail.com>
13788
13789 [BZ #11837]
13790 * iconvdata/gb18030.c: Update to GB18020-2005.
13791
6ce75379
UD
137922011-05-16 Ulrich Drepper <drepper@gmail.com>
13793
a4b89fd8
AR
13794 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
13795 RE_SYNTAX_POSIX_AWK): Update to match recent development.
13796 Patch by Aharon Robbins <arnold@skeeve.com>.
13797
ea389b12
UD
13798 [BZ #11892]
13799 * stdlib/putenv.c (putenv): Don't always create copy of the variable
13800 on the stack.
13801
68a3f91f
UD
13802 [BZ #11895]
13803 * misc/pselect.c (__pselect): Handle timeout value errors hidden
13804 through underflows.
13805
15cc7dd1
UD
13806 [BZ #12766]
13807 * misc/error.c (error_at_line): Ensure file_name and old_file_name
13808 point to strings before performing equality test for error_one_per_line
13809 mode.
13810
f3799213
UD
13811 [BZ #11697]
13812 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
13813
d79a9c94
UD
13814 [BZ #11820]
13815 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
13816 (struct user_fpregs_struct): Avoid __uint*_t types.
13817
56e5eb46
UD
13818 [BZ #6420]
13819 * malloc/mtrace.c (tr_where): Add additional parameter to point to
13820 symbol info. Use it instead of calling _dl_addr locally.
13821 (lock_and_info): New function.
13822 (tr_freehook): Call lock_and_info and pass symbol info as additional
13823 parameter to tr_where.
13824 (tr_mallochook): Likewise.
13825 (tr_reallochook): Likewise.
13826 (tr_memalignhook): Likewise.
13827
6ce75379
UD
13828 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
13829 used and couldn't be at all thread-safe.
13830
f8a3b5bf
UD
138312011-05-15 Ulrich Drepper <drepper@gmail.com>
13832
94b7cc37
UD
13833 * libio/freopen.c (freopen): Don't close old file descriptor
13834 before the new one is opened. Instead dup the new file descriptor
13835 to the old one after the new stream is created.
13836 * libio/freopen64.c (freopen64): Likewise.
13837 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
13838 * libio/fileops.c (_IO_new_file_close_it): Handle new
13839 _IO_FLAGS2_NOCLOSE flag.
13840 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
13841 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
13842 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
13843 _IO_FLAGS2_NOCLOSE flag.
13844 * include/unistd.h: Add hidden_proto for dup3.
13845 Define __have_dup3.
13846 * io/dup3.c: Define hidden symbol.
13847 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
13848
bd25564e
UD
13849 [BZ #7101]
13850 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
13851 when an incomplete long option is used.
13852 * posix/tst-getopt_long1.c: New file.
13853 * posix/Makefile (tests): Add tst-getopt_long1.
13854
c84cfef4
UD
13855 [BZ #10138]
13856 * scripts/config.guess: Update from autoconf-2.68.
13857 * scripts/config.sub: Likewise.
13858
3b85df27
UD
13859 [BZ #10157]
13860 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
13861 tests into ...
13862 (has_cpuclock): ...this. New function.
13863 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
13864 macro here based on has_cpuclock code.
13865
15a856b1
UD
13866 [BZ #10149]
13867 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
13868 First byte (not low byte) is now always NUL.
13869 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
13870
05f399e6
UD
13871 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
13872 Use non-cancelable interfaces.
13873
10a52685 13874 [BZ #9809]
94ecc67d
UD
13875 * locale/iso-639.def: Add entry for Sorani.
13876
f8a3b5bf
UD
13877 [BZ #11901]
13878 * include/stdlib.h: Move include protection to the right place.
13879 Define abort_msg_s. Declare __abort_msg with it.
13880 * stdlib/abort.c (__abort_msg): Adjust type.
13881 * assert/assert.c (__assert_fail_base): New function. Majority
13882 of code from __assert_fail. Allocate memory for __abort_msg with
13883 mmap.
13884 (__assert_fail): Now call __assert_fail_base.
13885 * assert/assert-perr.c: Remove bulk of implementation. Use
13886 __assert_fail_base.
13887 * include/assert.hL Declare __assert_fail_base.
13888 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
13889 mmap.
13890 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
13891
1af4e298
UD
138922011-05-14 Ulrich Drepper <drepper@gmail.com>
13893
f8a3b5bf 13894 [BZ #11952]
d26dfc60
MG
13895 [BZ #12453]
13896 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
13897 until all modules are registered in the DTV.
13898 * elf/Makefile: Add rules to build and run tst-tls19.
13899 * elf/tst-tls19.c: New file.
13900 * elf/tst-tls19mod1.c: New file.
13901 * elf/tst-tls19mod2.c: New file.
13902 * elf/tst-tls19mod3.c: New file.
13903 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
13904
2fc54d6f
UD
13905 [BZ #12083]
13906 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
13907 correctly.
13908
98d76b46
UD
13909 [BZ #12601]
13910 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
13911 two-byte sequence errors.
13912 * iconvdata/Makefile (tests): Add bug-iconv8.
13913 * iconvdata/bug-iconv8.c: New file.
13914
da3c19ef
UD
13915 [BZ #12626]
13916 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
13917 buf2 definition.
13918
ca408c15
UD
13919 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
13920
d6f67f7d
UD
13921 [BZ #12432]
13922 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
13923 (dummy_getcfa): New function.
13924 (init): Get _Unwind_GetCFA address, use dummy if not found.
13925 (backtrace_helper): In recursion check, also check whether CFA changes.
13926 (__backtrace): Completely initialize arg.
13927
1af4e298 13928 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
13929 storing incomplete byte sequence in state object. Avoid testing for
13930 guaranteed too small input if we know there is enough data available.
1af4e298 13931
da62f81b
AS
139322011-05-11 Andreas Schwab <schwab@redhat.com>
13933
13934 * Makeconfig (+link-pie): Indent.
13935 * Rules (binaries-pie): Define if $(have-fpie) and
13936 $(build-shared).
13937 (binaries-shared): Also filter out $(binaries-pie).
13938 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
13939 * nscd/Makefile (others-pie): Add nscd.
13940 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
13941 ($(objpfx)nscd): Remove command override.
13942 * login/Makefile (others-pie): Add pt_chown.
13943 ($(objpfx)pt_chown): Remove command override.
13944 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
13945 remove command overrides.
13946
fcabc0f8
UD
139472011-05-13 Ulrich Drepper <drepper@gmail.com>
13948
20030ae6
UD
13949 * libio/tst_putwc.c: Fix error messages.
13950
fcabc0f8
UD
13951 [BZ #12724]
13952 * libio/fileops.c (_IO_new_file_close_it): Always flush when
13953 currently writing and seek to current position when not.
13954 * libio/Makefile (tests): Add bug-fclose1.
13955 * libio/bug-fclose1.c: New file.
13956
320a5dc0
PB
139572011-05-12 Ulrich Drepper <drepper@gmail.com>
13958
13959 [BZ #12511]
13960 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
13961 don't set DF_1_NODELETE here.
13962 (do_lookup_x): When entering new entry test for copy relocation
13963 and if necessary set DF_1_NODELETE flag.
13964 * elf/tst-unique4.cc: New file.
13965 * elf/tst-unique4.h: New file.
13966 * elf/tst-unique4lib.cc: New file.
13967 * elf/Makefile: Add rules to build and run tst-unique4.
13968 Patch by Piotr Bury <pbury@goahead.com>.
13969
22836f52
UD
139702011-05-11 Ulrich Drepper <drepper@gmail.com>
13971
f574184a
UD
13972 [BZ #12052]
13973 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
13974
e1fb097f
UD
13975 [BZ #12625]
13976 * misc/mntent_r.c (addmntent): Flush the stream after the output
13977
22836f52
UD
13978 [BZ #12393]
13979 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
13980 (is_trusted_path_normalize): Skip initial colon. Append slash
13981 to empty buffer. Duplicate is_trusted_path code but allow
13982 constructed patch to be prefix.
13983 (is_dst): Allow $ORIGIN followed by /.
13984 (_dl_dst_substitute): Correct clearing of check_for_trusted.
13985 Correct testing of result of is_trusted_path_normalize
13986 (decompose_rpath): Fix warning.
13987
7b3b0b2a
UD
139882011-05-10 Ulrich Drepper <drepper@gmail.com>
13989
13990 [BZ #11257]
13991 * grp/initgroups.c (internal_getgrouplist): When we found the service
13992 list through the initgroups entry in nsswitch.conf do not always
13993 continue on a successful lookup. Don't always use the
eac80ce2 13994 __nss_group_database value if it is set.
7b3b0b2a
UD
13995 * nss/nsswitch.conf (initgroups): Change action for successful db
13996 lookup to continue for compatibility.
13997
2a81eaa5
UD
139982011-05-09 Ulrich Drepper <drepper@gmail.com>
13999
be97a69e
UD
14000 [BZ #11532]
14001 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
14002 and CP774 modules.
14003 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
14004 and CP774 modules.
14005 * iconvdata/tst-tables.sh: Likewise.
14006 * iconvdata/cp770.c: New file.
14007 * iconvdata/cp771.c: New file.
14008 * iconvdata/cp772.c: New file.
14009 * iconvdata/cp773.c: New file.
14010 * iconvdata/cp774.c: New file.
14011 * iconvdata/testdata/CP770: New file.
14012 * iconvdata/testdata/CP770..UTF8: New file.
14013 * iconvdata/testdata/CP771: New file.
14014 * iconvdata/testdata/CP771..UTF8: New file.
14015 * iconvdata/testdata/CP772: New file.
14016 * iconvdata/testdata/CP772..UTF8: New file.
14017 * iconvdata/testdata/CP773: New file.
14018 * iconvdata/testdata/CP773..UTF8: New file.
14019 * iconvdata/testdata/CP774: New file.
14020 * iconvdata/testdata/CP774..UTF8: New file.
14021
14022 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
14023 END CHARMAP line.
14024 * iconvdata/gen-8bit-gap.sh: Likewise.
14025 * iconvdata/gen-8bit.sh: Likewise.
14026
c1e9e399
UD
14027 * locale/iso-639.def: Add ary entry.
14028
24c55fb3 14029 [BZ #11258]
96b4b1b0
UD
14030 * locale/C-translit.h.in: Add U20A1 transliteration.
14031
bdc2f971
KB
14032 [BZ #12178]
14033 * locale/iso-639.def: Add wae entry.
14034 Patch by Kevin Bortis <bortis@translate-wae.ch>.
14035
2952b117
UD
14036 [BZ #12545]
14037 * locale/programs/localedef.c (construct_output_path): Use ssize_t
14038 for n.
14039
2a81eaa5
UD
14040 [BZ #12711]
14041 * locale/C-translit.h.in: Add entry for U20B9.
14042 Patch by pravin.d.s@gmail.com.
14043
28377d1b
UD
140442011-05-08 Ulrich Drepper <drepper@gmail.com>
14045
7fb90fb8
UD
14046 [BZ #12713]
14047 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
14048 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
14049 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
14050 in rtld. Use *stat64.
7fb90fb8 14051 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 14052 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 14053 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
14054 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
14055 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
14056 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
14057 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
14058 __fstatat64 macros.
7fb90fb8
UD
14059 * include/dirent.h: Add libc_hidden_proto for rewinddir.
14060 * dirent/rewinddir.c: Add libc_hidden_def.
14061 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 14062 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 14063
28377d1b
UD
14064 * include/dirent.h (__alloc_dir): Add flags parameter.
14065 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
14066 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
14067 __alloc_dir.
14068 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
14069 from fdopendir if O_CLOEXEC is already set.
14070
66bdbaa4
AM
140712011-03-15 Alan Modra <amodra@gmail.com>
14072
14073 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
14074 l_tls_firstbyte_offset non-zero. Save padding offset in
14075 l_tls_firstbyte_offset for later use.
14076 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
14077 freeing static tls block.
14078
95721191
JN
140792011-03-05 Jonathan Nieder <jrnieder@gmail.com>
14080
14081 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
14082 where #ifdef was intended. The intent is to prevent ARG_MAX from
14083 being defined by the kernel headers.
14084
f87dfb1f
UD
140852011-05-07 Ulrich Drepper <drepper@gmail.com>
14086
14087 [BZ #12734]
14088 * resolv/resolv.h: Define RES_NOTLDQUERY.
14089 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
14090 no-tld-query and set RES_NOTLDQUERY.
14091 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
14092 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
14093 modern BIND to search name as TLD unless forbidden.
14094
47c3cd7a
UD
140952011-05-07 Petr Baudis <pasky@suse.cz>
14096 Ulrich Drepper <drepper@gmail.com>
14097
14098 [BZ #12393]
14099 * elf/dl-load.c (fillin_rpath): Move trusted path check...
14100 (is_trusted_path): ...to here.
c1e9ea35 14101 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 14102 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 14103 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 14104
8a35c912
PP
141052011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
14106
14107 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
14108 __BEGIN/__END_DECLS.
14109
acd41f47
UD
141102011-05-06 Ulrich Drepper <drepper@gmail.com>
14111
14112 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
14113 NSS_STATUS_NOTFOUND if no record was found.
14114
597df647
AS
141152011-05-05 Andreas Schwab <schwab@redhat.com>
14116
14117 * sunrpc/Makefile (headers): Add rpc/netdb.h.
14118 (headers-not-in-tirpc): Remove rpc/netdb.h
14119 * resolv/netdb.h: Revert last change.
14120
b9af1301
PP
141212011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
14122
14123 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
14124 circular dependency between libgcc.a and libc.a.
14125
4e34d5f5
AS
141262011-05-05 Andreas Schwab <schwab@redhat.com>
14127
14128 * resolv/netdb.h: Don't include <rpc/netdb.h>.
14129 * nis/Makefile: Don't install rpcsvc/*.
14130 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
14131 instead of <rpc/types.h>.
14132 (MAXHOSTNAMELEN): Define.
14133
00ee369c
AS
141342011-05-03 Andreas Schwab <schwab@redhat.com>
14135
14136 * elf/ldconfig.c (add_dir): Don't crash on empty path.
14137
0b592a30
MB
141382011-04-28 Maciej Babinski <mbabinski@google.com>
14139
14140 [BZ #12714]
14141 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
14142 gethostbyname4_r when IPv6 results are possible.
14143
6e04cbbe
UD
141442011-05-02 Ulrich Drepper <drepper@gmail.com>
14145
14146 [BZ #12723]
14147 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
14148 _PC_PIPE_BUF handling.
14149
e4ecafe0
BH
141502011-04-30 Bruno Haible <bruno@clisp.org>
14151
14152 [BZ #12717]
14153 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
14154 * resolv/netdb.h (getnameinfo): Change type of flags parameter
14155 to 'int'.
14156 * inet/getnameinfo.c (getnameinfo): Likewise.
14157
125ee683
UD
141582011-04-29 Ulrich Drepper <drepper@gmail.com>
14159
14160 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
14161 to groups setting in database lookup.
14162 * nss/nsswitch.conf: Add initgroups entry.
14163
b722481a
EB
141642011-04-22 Ulrich Drepper <drepper@gmail.com>
14165
14166 [BZ #12685]
14167 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
14168 mode string.
14169 Patch by Eric Blake <eblake@redhat.com>.
14170
4df46dbd
L
141712011-04-20 H.J. Lu <hongjiu.lu@intel.com>
14172
14173 * sunrpc/Makefile (need-export-routines): Add svc_run.
14174 (routines): Remove svc_run.
14175 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
14176 * sunrpc/clnt_perr.c (clnt_perrno): Export.
14177 * sunrpc/svc_run.c (svc_run): Likewise.
14178 * sunrpc/svc_udp.c (svcudp_create): Likewise.
14179
e84142d2
UD
141802011-04-21 Ulrich Drepper <drepper@gmail.com>
14181
14182 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
14183 problem in reallocation in last patch.
14184
877175d8
UD
141852011-04-20 Ulrich Drepper <drepper@gmail.com>
14186
14187 * sunrpc/Makefile: Move inclusion of Rules.
14188
ab8eed78
UD
141892011-04-19 Ulrich Drepper <drepper@gmail.com>
14190
14191 * nss/nss_files/files-initgroups.c: New file.
14192 * nss/Makefile (libnss_files-routines): Add files-initgroups.
14193 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
14194 _nss_files_initgroups_dyn.
14195
e3d8f584
RS
141962011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
14197
14198 * elf/elf.h (R_ARM_IRELATIVE): Define.
14199
af190f45
UD
142002011-04-19 Ulrich Drepper <drepper@gmail.com>
14201
14202 * po/ru.po: Update from translation team.
14203
53cf59ef
UD
142042011-04-17 Ulrich Drepper <drepper@gmail.com>
14205
14206 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
14207 dependencies.
14208
4c559bcd
MF
142092011-02-06 Mike Frysinger <vapier@gentoo.org>
14210
14211 [BZ #12653]
14212 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
14213 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
14214 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
14215 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
14216 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
14217
4420675c
AS
142182011-03-28 Andreas Schwab <schwab@linux-m68k.org>
14219
14220 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
14221 differing bytes.
14222 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
14223 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
14224 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
14225
75ea32ab
UD
142262011-04-17 Ulrich Drepper <drepper@gmail.com>
14227
14228 [BZ #12420]
14229 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
14230 storing it.
14231 * stdlib/bug-getcontext.c: New file.
14232 * stdlib/Makefile: Add rules to build and run bug-getcontext.
14233
27390476
AK
142342011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14235
14236 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
14237 instructions into .machine "z9-109".
14238 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
14239 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
14240
10442705
AK
142412011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14242
14243 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
14244 between environment variables and auxiliary vector.
14245
7b57bfe5
UD
142462011-04-16 Ulrich Drepper <drepper@gmail.com>
14247
14248 * Makefile: Add rules to build linkobj/libc.so.
14249 * include/libc-symbols.h: Define libc_hidden_nolink.
14250 * include/rpc/auth.h: Mark functions which are to be hidden.
14251 * include/rpc/auth_des.h: Likewise.
14252 * include/rpc/auth_unix.h: Likewise.
14253 * include/rpc/clnt.h: Likewise.
14254 * include/rpc/des_crypt.h: Likewise.
14255 * include/rpc/key_prot.h: Likewise.
14256 * include/rpc/pmap_clnt.h: Likewise.
14257 * include/rpc/pmap_prot.h: Likewise.
14258 * include/rpc/pmap_rmt.h: Likewise.
14259 * include/rpc/rpc_msg.h: Likewise.
14260 * include/rpc/svc.h: Likewise.
14261 * include/rpc/svc_auth.h: Likewise.
14262 * include/rpc/xdr.h: Likewise.
14263 * nis/Makefile: Link all DSOs against linkobj/libc.so.
14264 * nss/Makefile: Likewise.
14265 * sunrpc/Makefile: Don't install headers. Build library with normal
14266 entry points. Don't build rpcinfo. Link RPC tests appropriately.
14267 * sunrpc/auth_des.c: Hide exported symbols by default, export some
14268 for the compat linking library. Remove use of INTDEF/INTUSE.
14269 * sunrpc/auth_none.c: Likewise.
14270 * sunrpc/auth_unix.c: Likewise.
14271 * sunrpc/authdes_prot.c: Likewise.
14272 * sunrpc/authuxprot.c: Likewise.
14273 * sunrpc/clnt_gen.c: Likewise.
14274 * sunrpc/clnt_perr.c: Likewise.
14275 * sunrpc/clnt_raw.c: Likewise.
14276 * sunrpc/clnt_simp.c: Likewise.
14277 * sunrpc/clnt_tcp.c: Likewise.
14278 * sunrpc/clnt_udp.c: Likewise.
14279 * sunrpc/clnt_unix.c: Likewise.
14280 * sunrpc/des_crypt.c: Likewise.
14281 * sunrpc/des_soft.c: Likewise.
14282 * sunrpc/get_myaddr.c: Likewise.
14283 * sunrpc/key_call.c: Likewise.
14284 * sunrpc/key_prot.c: Likewise.
14285 * sunrpc/netname.c: Likewise.
14286 * sunrpc/pm_getmaps.c: Likewise.
14287 * sunrpc/pm_getport.c: Likewise.
14288 * sunrpc/pmap_clnt.c: Likewise.
14289 * sunrpc/pmap_prot.c: Likewise.
14290 * sunrpc/pmap_prot2.c: Likewise.
14291 * sunrpc/pmap_rmt.c: Likewise.
14292 * sunrpc/publickey.c: Likewise.
14293 * sunrpc/rpc_cmsg.c: Likewise.
14294 * sunrpc/rpc_common.c: Likewise.
14295 * sunrpc/rpc_dtable.c: Likewise.
14296 * sunrpc/rpc_prot.c: Likewise.
14297 * sunrpc/rpc_thread.c: Likewise.
14298 * sunrpc/rtime.c: Likewise.
14299 * sunrpc/svc.c: Likewise.
14300 * sunrpc/svc_auth.c: Likewise.
14301 * sunrpc/svc_authux.c: Likewise.
14302 * sunrpc/svc_raw.c: Likewise.
14303 * sunrpc/svc_run.c: Likewise.
14304 * sunrpc/svc_simple.c: Likewise.
14305 * sunrpc/svc_tcp.c: Likewise.
14306 * sunrpc/svc_udp.c: Likewise.
14307 * sunrpc/svc_unix.c: Likewise.
14308 * sunrpc/svcauth_des.c: Likewise.
14309 * sunrpc/xcrypt.c: Likewise.
14310 * sunrpc/xdr.c: Likewise.
14311 * sunrpc/xdr_array.c: Likewise.
14312 * sunrpc/xdr_float.c: Likewise.
14313 * sunrpc/xdr_intXX_t.c: Likewise.
14314 * sunrpc/xdr_mem.c: Likewise.
14315 * sunrpc/xdr_rec.c: Likewise.
14316 * sunrpc/xdr_ref.c: Likewise.
14317 * sunrpc/xdr_sizeof.c: Likewise.
14318 * sunrpc/xdr_stdio.c: Likewise.
14319
e6c61494
UD
143202011-04-10 Ulrich Drepper <drepper@gmail.com>
14321
14322 [BZ #12650]
14323 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
14324 * sysdeps/ia64/dl-tls.h: Likewise.
14325 * sysdeps/powerpc/dl-tls.h: Likewise.
14326 * sysdeps/s390/dl-tls.h: Likewise.
14327 * sysdeps/sh/dl-tls.h: Likewise.
14328 * sysdeps/sparc/dl-tls.h: Likewise.
14329 * sysdeps/x86_64/dl-tls.h: Likewise.
14330 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
14331
34fe483e
AS
143322011-03-14 Andreas Schwab <schwab@redhat.com>
14333
14334 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
14335 rpath element also skip the following colon.
14336 (expand_dynamic_string_token): Add is_path parameter and pass
14337 down to DL_DST_REQUIRED and _dl_dst_substitute.
14338 (decompose_rpath): Call expand_dynamic_string_token with
14339 non-zero is_path. Ignore empty rpaths.
14340 (_dl_map_object_from_fd): Call expand_dynamic_string_token
14341 with zero is_path.
14342
f12a32e6
AS
143432011-04-08 Andreas Schwab <schwab@linux-m68k.org>
14344
14345 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
14346 Make cancelable.
14347
38a7d692
UD
143482011-04-09 Ulrich Drepper <drepper@gmail.com>
14349
14350 [BZ #12655]
14351 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
14352 Patch by Filipe David Manana <fdmanana@apache.org>.
14353
e451d22b
AS
143542011-04-07 Andreas Schwab <schwab@redhat.com>
14355
14356 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
14357 Maintain aligned stack.
14358 (CHECK_RSP): Remove unused macro.
14359
dedc7c7b
UD
143602011-04-03 Ulrich Drepper <drepper@gmail.com>
14361
14362 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
14363 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
14364
94521213
UD
143652011-04-02 Ulrich Drepper <drepper@gmail.com>
14366
14367 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
14368
8cb700c0 14369 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 14370
0354e355
L
143712011-03-26 H.J. Lu <hongjiu.lu@intel.com>
14372
14373 [BZ #12518]
14374 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
14375 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
14376 * sysdeps/x86_64/memmove.c: New file.
14377 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
14378 (memcpy): Renamed to ...
14379 (__new_memcpy): This.
14380 (memcpy): Provide GLIBC_2_14 memcpy.
14381 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
14382 (memcpy): Provide GLIBC_2_2_5 memcpy.
14383
8593482f
UD
143842011-04-01 Ulrich Drepper <drepper@gmail.com>
14385
14386 [BZ #12631]
14387 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
14388
81a5726b
AS
143892011-03-30 Andreas Schwab <schwab@redhat.com>
14390
14391 * misc/syncfs.c: New file.
14392 * misc/Makefile (routines): Add syncfs.
14393 * posix/unistd.h: Declare syncfs.
14394 * sysdeps/unix/syscalls.list: Add syncfs.
14395
00e5419f
AS
143962011-04-01 Andreas Schwab <schwab@redhat.com>
14397
14398 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
14399 open_by_handle_at.
14400 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
14401 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
14402 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
14403 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
14404 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
14405 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
14406 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
14407
748876bf
UD
144082011-04-01 Ulrich Drepper <drepper@gmail.com>
14409
658e451d
UD
14410 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
14411 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
14412 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
14413 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
14414 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
14415 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
14416 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
14417
748876bf
UD
14418 * io/Makefile: Compile fallocate.c, fallocate64.c, and
14419 sync_file_range.c with -fexceptions.
14420 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
14421 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
14422 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
14423 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
14424 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
14425 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
14426 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
14427 sync_file_range as cancellation point
14428 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
14429 now a wrapper around __call_sync_file_range with cancellation handling.
14430 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
14431 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
14432 function name to __call_sync_file_range.
14433 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
14434 Add call_sync_file_range.
748876bf 14435
6e63d5e1
AS
144362011-04-01 Andreas Schwab <schwab@redhat.com>
14437
14438 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 14439 bits/timex.h.
6e63d5e1 14440
46998f74
UD
144412011-04-01 Ulrich Drepper <drepper@gmail.com>
14442
4c1423ed
UD
14443 * iconv/iconv.h: Fix typo in comment.
14444 * io/fcntl.h: Likewise.
14445 * libio/stdio.h: Likewise.
14446 * posix/spawn.h: Likewise.
14447 * posix/unistd.h: Likewise.
14448 * stdlib/stdlib.h: Likewise.
14449 * time/time.h: Likewise.
14450 * wcsmbs/wchar.h: Likewise.
14451
158648c0
UD
14452 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
14453 open_by_handle): Add.
14454 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
14455 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
14456 Augment a few comments.
14457 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
14458 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
14459 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
14460 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
14461 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
14462 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
14463 open_by_handle.
14464
46998f74
UD
14465 * io/fcntl.h (AT_EMPTY_PATH): Define.
14466
83fe108b
UD
144672011-03-30 Ulrich Drepper <drepper@gmail.com>
14468
14469 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
14470 * sysdeps/unix/sysv/linux/bits/time.h: New file.
14471 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
14472 to...
14473 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
14474 * Versions.def: Add GLIBC_2.14.
14475 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
14476 Export.
83fe108b 14477
bb242059
UD
144782011-03-22 Ulrich Drepper <drepper@gmail.com>
14479
14480 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
14481 round counter.
14482 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
14483
c97a1282
L
144842011-03-20 H.J. Lu <hongjiu.lu@intel.com>
14485
14486 [BZ #12597]
14487 * string/test-strncmp.c (do_page_test): New function.
14488 (check2): Likewise.
14489 (test_main): Call check2.
14490 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
14491
2a115601
UD
144922011-03-20 Ulrich Drepper <drepper@gmail.com>
14493
14494 [BZ #12587]
14495 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
14496 Handle cache information in CPU leaf 4.
14497 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
14498
8126d904
UD
144992011-03-18 Ulrich Drepper <drepper@gmail.com>
14500
042c49c6 14501 [BZ #12583]
8126d904
UD
14502 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
14503 character representation.
14504 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
14505
ccfe366e
RA
145062011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
14507
14508 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
14509 END(__isnan) to END(__isnanf) to match function entry point/label
14510 EALIGN(__isnanf,...).
14511
c6e13027
JJ
145122011-03-10 Jakub Jelinek <jakub@redhat.com>
14513
14514 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
14515
33f85a3f
UD
145162011-03-10 Ulrich Drepper <drepper@gmail.com>
14517
028478fa
UD
14518 [BZ #12510]
14519 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
14520 copy from the symbol referenced in the relocation to initialize the
14521 used variable.
14522 Patch by Piotr Bury <pbury@goahead.com>.
14523 * elf/Makefile: Add rules to build and tst-unique3.
14524 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
14525 * elf/tst-unique3.cc: New file.
14526 * elf/tst-unique3.h: New file.
14527 * elf/tst-unique3lib.cc: New file.
14528 * elf/tst-unique3lib2.cc: New file.
14529
33f85a3f
UD
14530 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
14531
03592fc7
MF
145322011-03-10 Mike Frysinger <vapier@gentoo.org>
14533
14534 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
14535 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
14536 to _start.
03592fc7 14537
6a5ee102
UD
145382011-03-06 Ulrich Drepper <drepper@gmail.com>
14539
14540 * elf/dl-load.c (_dl_map_object): If we are looking for the first
14541 to-be-loaded object along a path to loader is ld.so.
14542
7e4ba49c
HJ
145432011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
14544 Ulrich Drepper <drepper@gmail.com>
14545
14546 * sysdeps/x86_64/memset.S: After aligning destination, code
14547 branches to different locations depending on the value of
14548 misalignment, when multiarch is enabled. Fix this.
14549
145502011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
14551
14552 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
14553 Set _x86_64_preferred_memory_instruction for AMD processsors.
14554 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
14555 Set bit_Prefer_SSE_for_memop for AMD processors.
14556
13a804de
UD
145572011-03-04 Ulrich Drepper <drepper@gmail.com>
14558
14559 * libio/fmemopen.c (fmemopen): Optimize a bit.
14560
9d25c392
AS
145612011-03-03 Andreas Schwab <schwab@redhat.com>
14562
14563 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
14564
a5543c6a
RM
145652011-03-03 Roland McGrath <roland@redhat.com>
14566
14567 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
14568
012d35f7
DM
145692011-02-28 Aurelien Jarno <aurelien@aurel32.net>
14570
7e4ba49c 14571 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
14572 __bzero_ultra1 instead of __memset_ultra1.
14573
4bff6e01
AS
145742011-02-23 Andreas Schwab <schwab@redhat.com>
14575 Ulrich Drepper <drepper@gmail.com>
14576
14577 [BZ #12509]
14578 * include/link.h (struct link_map): Add l_orig_initfini.
14579 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
14580 returning unsuccessfully.
14581 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
14582 close of a file loaded at startup, restore the original l_initfini
14583 list.
14584 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
14585 list, store the pointer.
14586 * elf/Makefile ($(objpfx)noload-mem): New rule.
14587 (noload-ENV): Define.
14588 (tests): Add $(objpfx)noload-mem.
14589 * elf/noload.c: Include <memcheck.h>.
14590 (main): Call mtrace. Close all opened handles.
14591
f2092faf
AS
145922011-02-17 Andreas Schwab <schwab@redhat.com>
14593
14594 [BZ #12454]
14595 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
14596 dependencies are missing.
14597
6c8a2e88
ST
145982011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
14599
f2092faf 14600 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
14601 Hurd needs munmap.
14602 * sysdeps/mach/hurd/ifreq.h: New file.
14603
84a42118
PB
146042011-01-27 Petr Baudis <pasky@suse.cz>
14605 Ulrich Drepper <drepper@gmail.com>
14606
071f805e 14607 [BZ 12445]#
84a42118
PB
14608 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
14609 to extend_alloca().
14610 * stdio-common/bug23.c: New file.
14611 * stdio-common/Makefile (tests): Add bug23.
14612
e23fe25b
AS
146132010-09-28 Andreas Schwab <schwab@redhat.com>
14614 Ulrich Drepper <drepper@gmail.com>
14615
14616 [BZ #12489]
14617 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
14618 before performing relro protection. At old place add assertion
14619 to make sure nothing changed.
14620
d3f02e10
NS
146212011-02-17 Nathan Sidwell <nathan@codesourcery.com>
14622 Glauber de Oliveira Costa <glommer@gmail.com>
14623
14624 * elf/elf.h: Add new ARM TLS relocs.
14625
d55fd7a5
RA
146262011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
14627
14628 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
14629 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
14630 cast from r3.
14631 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
14632 'tests' variable.
14633 * sysdeps/wordsize-64/tst-writev.c: New file.
14634
2206397e
RA
146352011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
14636
14637 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
14638 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
14639 insns in _dl_start to prevent a TOC reference before relocs are
14640 resolved.
14641
e9433893
UD
146422011-02-15 Ulrich Drepper <drepper@gmail.com>
14643
14644 [BZ #12469]
14645 * Makeconfig: Remove RANLIB definition.
14646 * Makerules: Don't use RANLIB.
14647 * aclocal.m4: Remove ranlib test.
14648 * configure.in: No need to check for ranlib.
14649 * elf/rtld-Rules: Don't use RANLIB.
14650
f75286c6
ST
146512011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
14652
8e31c82d
ST
14653 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
14654 protection macro.
14655 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
14656 inclusion protection macro.
14657
f75286c6
ST
14658 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
14659 SIGRTMIN and SIGRTMAX and print information in that case only when
14660 SIGRTMIN is defined.
14661
c1d0e639
JJ
146622011-02-11 Jakub Jelinek <jakub@redhat.com>
14663
14664 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
14665 arginfo fn returning -1.
14666
14667 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
14668 and thousands string is zero terminated.
14669
edf9294e
AS
146702011-02-03 Andreas Schwab <schwab@redhat.com>
14671
14672 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
14673 sysdeps/unix/sysv/linux/bits/socket.h.
14674
2b7e92df
ST
146752011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
14676
edf9294e
AS
14677 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
14678 (__CPU_COUNT): Remove old macros.
14679 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
14680 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
14681 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
14682 (__sched_cpualloc, __sched_cpufree): Add declarations.
14683
a4c7ea7b
UD
146842011-02-05 Ulrich Drepper <drepper@gmail.com>
14685
14686 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
14687 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
14688 * nscd/aicache.c (addhstaiX): Return timeout of added value.
14689 (readdhstai): Return value of addhstaiX call.
14690 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
14691 (addgrbyX): Return value returned by cache_addgr.
14692 (readdgrbyname): Return value returned by addgrbyX.
14693 (readdgrbygid): Likewise.
14694 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
14695 (addpwbyX): Return value returned by cache_addpw.
14696 (readdpwbyname): Return value returned by addhstbyX.
14697 (readdpwbyuid): Likewise.
14698 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
14699 (addservbyX): Return value returned by cache_addserv.
14700 (readdservbyname): Return value returned by addservbyX:
14701 (readdservbyport): Likewise.
14702 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
14703 (addhstbyX): Return value returned by cache_addhst.
14704 (readdhstbyname): Return value returned by addhstbyX.
14705 (readdhstbyaddr): Likewise.
14706 (readdhstbynamev6): Likewise.
14707 (readdhstbyaddrv6): Likewise.
14708 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
14709 (readdinitgroups): Return value returned by addinitgroupsX.
14710 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
14711 (prune_cache): Keep track of timeout value of re-added entries.
14712 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
14713 * nscd/nscd.h: Adjust prototypes of readd* functions.
14714
a0bf67cc
RM
147152011-02-04 Roland McGrath <roland@redhat.com>
14716
14717 * nis/nis_server.c (nis_servstate): Use the right name for 0.
14718 (nis_stats): Likewise.
14719 * nis/nis_modify.c (nis_modify): Likewise.
14720 * nis/nis_remove.c (nis_remove): Likewise.
14721 * nis/nis_add.c (nis_add): Likewise.
14722
14723 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
14724
14725 * posix/fnmatch_loop.c: Add some consts.
14726
14727 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
14728
435b95eb
L
147292011-02-02 H.J. Lu <hongjiu.lu@intel.com>
14730
14731 [BZ #12460]
14732 * config.make.in (config-cflags-novzeroupper): Define.
14733 * configure.in: Substitute libc_cv_cc_novzeroupper.
14734 * elf/Makefile (AVX-CFLAGS): Define.
14735 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
14736 (CFLAGS-tst-auditmod4a.c): Likewise.
14737 (CFLAGS-tst-auditmod4b.c): Likewise.
14738 (CFLAGS-tst-auditmod6b.c): Likewise.
14739 (CFLAGS-tst-auditmod6c.c): Likewise.
14740 (CFLAGS-tst-auditmod7b.c): Likewise.
14741 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
14742
8517b15e
UD
147432011-02-02 Ulrich Drepper <drepper@gmail.com>
14744
14745 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
14746 function to the callback.
14747 Patch partly by Jiri Olsa <jolsa@redhat.com>.
14748
10a656fe
AS
147492011-02-02 Andreas Schwab <schwab@redhat.com>
14750
14751 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
14752 of errno.
14753
968dad0a
UD
147542011-01-19 Ulrich Drepper <drepper@gmail.com>
14755
9f94d2ea 14756 [BZ #11724]
968dad0a
UD
14757 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
14758 of constructors.
14759 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
14760 of destructors.
14761 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
14762
14763 [BZ #11724]
14764 * elf/Makefile: Add rules to build and run new test.
14765 * elf/tst-initorder.c: New file.
14766 * elf/tst-initorder.exp: New file.
14767 * elf/tst-initordera1.c: New file.
14768 * elf/tst-initordera2.c: New file.
14769 * elf/tst-initordera3.c: New file.
14770 * elf/tst-initordera4.c: New file.
14771 * elf/tst-initorderb1.c: New file.
14772 * elf/tst-initorderb2.c: New file.
14773 * elf/tst-order-a1.c: New file.
14774 * elf/tst-order-a2.c: New file.
14775 * elf/tst-order-a3.c: New file.
14776 * elf/tst-order-a4.c: New file.
14777 * elf/tst-order-b1.c: New file.
14778 * elf/tst-order-b2.c: New file.
14779 * elf/tst-order-main.c: New file.
14780 New test case by George Gensure <werkt0@gmail.com>.
14781
86e92359
UD
147822010-10-01 Andreas Schwab <schwab@redhat.com>
14783
14784 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
14785 decoding ACE if AI_CANONIDN.
14786
5d5732b0
UD
147872011-01-18 Ulrich Drepper <drepper@gmail.com>
14788
14789 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
14790
a77e8cbc
UD
147912011-01-17 Ulrich Drepper <drepper@gmail.com>
14792
6392473f
UD
14793 * version.h (RELEASE): Bump for 2.13 release.
14794 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
14795
620a0529
UD
14796 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
14797
18ba70a5
UD
14798 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
14799 MADV_NOHUGEPAGE.
32465c3e
UD
14800 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
14801 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
14802 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
14803 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
14804 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
14805 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
14806
c0dafcf1
UD
14807 * posix/getconf.c: Update copyright year.
14808 * catgets/gencat.c: Likewise.
14809 * csu/version.c: Likewise.
14810 * debug/catchsegv.sh: Likewise.
14811 * debug/xtrace.sh: Likewise.
14812 * elf/ldconfig.c: Likewise.
14813 * elf/ldd.bash.in: Likewise.
14814 * elf/sprof.c (print_version): Likewise.
14815 * iconv/iconv_prog.c: Likewise.
14816 * iconv/iconvconfig.c: Likewise.
14817 * locale/programs/locale.c: Likewise.
14818 * locale/programs/localedef.c: Likewise.
14819 * malloc/memusage.sh: Likewise.
14820 * malloc/mtrace.pl: Likewise.
14821 * nscd/nscd.c (print_version): Likewise.
14822 * nss/getent.c: Likewise.
14823
a77e8cbc
UD
14824 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
14825 PF_CAIF, and PF_ALG.
14826 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
14827
77e8bddf
AS
148282011-01-16 Andreas Schwab <schwab@linux-m68k.org>
14829
1f20b93a
AS
14830 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
14831 (modules-names): Use them.
14832 (ifunc-test-modules, ifunc-pie-tests): Define.
14833 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
14834 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
14835 (test-extras): Likewise.
14836 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
14837 $(compile-command.c).
14838 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
14839 (all-built-dso): Define.
14840 (check-textrel.out, check-execstack.out): Depend on it.
14841
77e8bddf
AS
14842 * configure.in: Don't override --enable-multi-arch.
14843
bc425b33
UD
148442011-01-15 Ulrich Drepper <drepper@gmail.com>
14845
14846 [BZ #6812]
14847 * nscd/hstcache.c (tryagain): Define.
14848 (cache_addhst): Return tryagain not notfound for temporary errors.
14849 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
14850 failed.
14851
794c3ad3
UD
148522011-01-14 Ulrich Drepper <drepper@gmail.com>
14853
70181fdd
UD
14854 [BZ #10563]
14855 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
14856 to make the syscall.
14857 * sysdeps/unix/sysv/linux/setgroups.c: New file.
14858
794c3ad3
UD
14859 [BZ #12378]
14860 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
14861 and fall back to matching as normal character if the string ends before
14862 the matching ']' is found. This is what POSIX requires.
14863 * posix/testfnm.c: Adjust test result.
14864 * posix/globtest.sh: Adjust test result. Add new test.
14865 * posix/tst-fnmatch.input: Likewise.
14866 * posix/tst-fnmatch2.c: Add new test.
14867
68dc9497
AS
148682010-12-28 Andreas Schwab <schwab@linux-m68k.org>
14869
14870 * elf/Makefile (check-execstack): Revert last change. Depend on
14871 check-execstack.h.
14872 (check-execstack.h): New target.
14873 (generated): Add check-execstack.h.
14874 * elf/check-execstack.c: Include "check-execstack.h".
14875 (main): Revert last change.
14876 (handle_file): Return zero if GNU_STACK is absent and
14877 DEFAULT_STACK_PERMS doesn't include PF_X.
14878
451f001b
UD
148792011-01-13 Ulrich Drepper <drepper@gmail.com>
14880
cfa28e56
UD
14881 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
14882 in child fails because the descriptor is already closed.
8cf8ce17
UD
14883 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
14884 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
14885 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 14886
1086d70d
UD
14887 [BZ #12397]
14888 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
14889 syscall.
14890
451f001b
UD
14891 [BZ #10484]
14892 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
14893 temporary buffer used to handle multi lookups locally.
a85b5cb4 14894 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 14895
08769175
UD
148962011-01-12 Ulrich Drepper <drepper@gmail.com>
14897
14898 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
14899 loader is ld.so.
14900
5e49c52e
UD
149012011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
14902
14903 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
14904 alignment for SSE2.
14905
60522a5f
UD
149062011-01-12 Ulrich Drepper <drepper@gmail.com>
14907
14908 [BZ #12394]
14909 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
14910 characters. When rounding increased number of integer digits recompute
14911 number of groups.
14912 * stdio-common/tst-grouping.c: New file.
14913 * stdio-common/Makefile: Add rules to build and run tst-grouping.
14914
f257bbd7
UD
149152011-01-09 Ulrich Drepper <drepper@gmail.com>
14916
14917 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
14918 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
14919
14920 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
14921 void.
14922 * bits/select.h: Likewise.
14923
fa9c15cb
UD
149242011-01-08 Ulrich Drepper <drepper@gmail.com>
14925
14926 * po/ja.po: Update from translation team.
14927
16c2895f
DM
149282011-01-04 David S. Miller <davem@sunset.davemloft.net>
14929
14930 [BZ #11155]
14931 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
14932 implementation just like for lxstat, fxstatat, et al.
14933
2543fef2
JM
149342010-12-27 Jim Meyering <meyering@redhat.com>
14935
14936 [BZ #12348]
14937 * posix/regexec.c (build_trtable): Return failure indication upon
14938 calloc failure. Otherwise, re_search_internal could infloop on OOM.
14939
98727dbe
UD
149402010-12-25 Ulrich Drepper <drepper@gmail.com>
14941
5bd6dc5c
UD
14942 [BZ #12201]
14943 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
14944 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
14945 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
14946 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
14947
97983464
UD
14948 [BZ #12207]
14949 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
14950
98727dbe
UD
14951 [BZ #12204]
14952 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
14953 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
14954
4a531bb0
L
149552010-12-15 H.J. Lu <hongjiu.lu@intel.com>
14956
14957 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
14958 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
14959 script has SORT_BY_INIT_PRIORITY.
14960 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
14961 NO_CTORS_DTORS_SECTIONS is defined.
14962 * elf/soinit.c: Likewise.
14963 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
14964 NO_CTORS_DTORS_SECTIONS is defined.
14965 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
14966 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
14967 * sysdeps/sh/init-first.c: Likewise.
14968 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
14969
07eb4b71
UD
149702010-12-24 Ulrich Drepper <drepper@gmail.com>
14971
14972 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
14973 always use the slow path.
14974
30950a5f
RA
149752010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
14976
14977 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
14978 similar rule which adds the sysdep directories to the header search in
14979 order to pick up the correct platform stackinfo.h.
14980 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
14981 perform test if it is, otherwise return successfully without testing.
14982 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
14983 DEFAULT_STACK_PERMS define in stackinfo.h.
14984 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
14985 defined in stackinfo.h.
14986 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
14987 DEFAULT_STACK_PERMS defined in stackinfo.h.
14988 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
14989 * sysdeps/ia64/stackinfo.h: Likewise.
14990 * sysdeps/s390/stackinfo.h: Likewise.
14991 * sysdeps/sh/stackinfo.h: Likewise.
14992 * sysdeps/sparc/stackinfo.h: Likewise.
14993 * sysdeps/x86_64/stackinfo.h: Likewise.
14994 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
14995 PF_X for powerpc64. Retain PF_X for powerpc32.
14996
db753e2c
UD
149972010-12-19 Ulrich Drepper <drepper@gmail.com>
14998
14b697f7
UD
14999 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
15000 accurately.
db753e2c
UD
15001 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
15002 GETDENTS_64BIT_ALIGNED.
15003
28300719
UD
150042010-12-14 Ulrich Drepper <dreper@gmail.com>
15005
14b697f7 15006 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 15007
4f197237
AS
150082010-12-10 Andreas Schwab <schwab@redhat.com>
15009
dbb0472f
AS
15010 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
15011 _GNU_SOURCE.
15012
4f197237
AS
15013 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
15014 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
15015 Remove __restrict.
15016 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
15017 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
15018
fb88ac72
UD
150192010-12-09 Ulrich Drepper <drepper@gmail.com>
15020
15021 [BZ #11655]
15022 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
15023 are initialized.
15024
42acbb92
JJ
150252010-12-09 Jakub Jelinek <jakub@redhat.com>
15026
15027 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
15028
c038d98d
UD
150292010-12-03 Ulrich Drepper <drepper@gmail.com>
15030
15031 * po/it.po: Update from translation team.
15032
3a4a2499
L
150332010-12-01 H.J. Lu <hongjiu.lu@intel.com>
15034
15035 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
15036 unused codes.
15037
1e24cf6e
UD
150382010-11-30 Ulrich Drepper <drepper@gmail.com>
15039
15040 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
15041
a7690819
AS
150422010-11-24 Andreas Schwab <schwab@redhat.com>
15043
15044 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
15045 specially.
15046 (gaih_getanswer_slice): Likewise.
15047
3bf8d1b1
JJ
150482010-10-20 Jakub Jelinek <jakub@redhat.com>
15049
15050 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
15051
6db52fbb
PB
150522010-05-31 Petr Baudis <pasky@suse.cz>
15053
15054 [BZ #11149]
15055 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
15056 silently even in the chroot mode.
15057
eaca7569
UD
150582010-11-22 Ulrich Drepper <drepper@gmail.com>
15059
15060 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
15061 last patch a bit. Pretty printing
15062
3056dcdb
UD
150632010-05-31 Petr Baudis <pasky@suse.cz>
15064
15065 [BZ #10085]
15066 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
15067 initialization of skip_initgroups_dyn.
15068
cf7c9078
UD
150692010-11-19 Ulrich Drepper <drepper@gmail.com>
15070
15071 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
15072 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
15073
a1fb5e3e
UD
150742010-11-16 Ulrich Drepper <drepper@gmail.com>
15075
15076 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
15077
3540d66b
AS
150782010-11-11 Andreas Schwab <schwab@redhat.com>
15079
15080 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
15081 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
15082 (tst-fnmatch-ENV): Set MALLOC_TRACE.
15083 ($(objpfx)tst-fnmatch-mem): New rule.
15084 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
15085 * posix/tst-fnmatch.c (main): Call mtrace.
15086
13b69574
L
150872010-11-11 H.J. Lu <hongjiu.lu@intel.com>
15088
15089 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
15090 Support Intel processor model 6 and model 0x2c.
15091
da93d214
LM
150922010-11-10 Luis Machado <luisgpm@br.ibm.com>
15093
15094 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
15095 signed comparison.
15096
8ca52c6e
L
150972010-11-09 H.J. Lu <hongjiu.lu@intel.com>
15098
15099 [BZ #12205]
15100 * string/test-strncasecmp.c (check_result): New function.
15101 (do_one_test): Use it.
15102 (check1): New function.
15103 (test_main): Use it.
15104 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
15105 Support strcasecmp and strncasecmp.
15106
69da074d
UD
151072010-11-08 Ulrich Drepper <drepper@gmail.com>
15108
15109 [BZ #12194]
15110 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
15111 * sysdeps/x86_64/bits/byteswap.h: Likewise.
15112
ff02d528
L
151132010-11-07 H.J. Lu <hongjiu.lu@intel.com>
15114
15115 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
15116 IFUNC support.
15117 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
15118 memset-x86-64.
15119 * sysdeps/x86_64/multiarch/bzero.S: New file.
15120 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
15121 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
15122 * sysdeps/x86_64/multiarch/memset.S: New file.
15123 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
15124 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
15125 Set bit_Prefer_SSE_for_memop for Intel processors.
15126 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
15127 Define.
15128 (index_Prefer_SSE_for_memop): Define.
15129 (HAS_PREFER_SSE_FOR_MEMOP): Define.
15130
344d0b54
LM
151312010-11-04 Luis Machado <luisgpm@br.ibm.com>
15132
15133 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
15134 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
15135
c0dde15b
UD
151362010-11-03 H.J. Lu <hongjiu.lu@intel.com>
15137
15138 [BZ #12191]
15139 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
15140 (__x86_64_raw_data_cache_size_half): Likewise.
15141 (__x86_64_raw_shared_cache_size): Likewise.
15142 (__x86_64_raw_shared_cache_size_half): Likewise.
15143
15144 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
15145 (__x86_64_raw_data_cache_size_half): Likewise.
15146 (__x86_64_raw_shared_cache_size): Likewise.
15147 (__x86_64_raw_shared_cache_size_half): Likewise.
15148 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
15149 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
15150 and __x86_64_raw_shared_cache_size_half. Round
15151 __x86_64_data_cache_size_half, __x86_64_data_cache_size
15152 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
15153 to multiple of 256 bytes.
15154
0e516e0e
MS
151552010-11-03 Ulrich Drepper <drepper@gmail.com>
15156
15157 [BZ #12167]
15158 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
15159 of inacessible symlinks. Verify result of symlink before returning it.
15160 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
15161 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
15162
0e012e87
ER
151632010-10-28 Erich Ritz <erichritz@gmail.com>
15164
15165 * math/math.h (isinf): Fix typo in comment.
15166
de0ff7bc
UD
151672010-11-01 Ulrich Drepper <drepper@gmail.com>
15168
15169 * po/da.po: Update from translation team.
15170
fa41c84d
UD
151712010-10-26 Ulrich Drepper <drepper@gmail.com>
15172
15173 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
15174 is added to the list.
15175
f0967738
AK
151762010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15177 Ulrich Drepper <drepper@gmail.com>
15178
15179 * elf/dl-object.c (_dl_new_object): Don't append the new object to
15180 the global list here. Move code to...
15181 (_dl_add_to_namespace_list): ...here. New function.
15182 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
15183 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
15184 * elf/dl-load.c (lose): Don't remove the element from the list.
15185 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
15186 (_dl_map_object): Likewise.
15187
151882010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
15189
15190 [BZ #12159]
15191 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
15192 into all bytes of SSE register.
15193 Patch by Richard Li <richardpku@gmail.com>.
15194
f0967738 151952010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
15196
15197 [BZ #12140]
15198 * malloc/malloc.c (_int_free): Fill correct number of bytes when
15199 perturbing.
15200
d0b9e94f
MB
152012010-10-20 Michael B. Brutman <brutman@us.ibm.com>
15202
15203 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
15204 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
15205 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
15206 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
15207 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
15208 submachine.
15209 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
15210
8e9f92e9
AS
152112010-10-22 Andreas Schwab <schwab@redhat.com>
15212
15213 * include/dlfcn.h (__RTLD_SECURE): Define.
15214 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
15215 mode & __RTLD_SECURE instead.
15216 (open_path): Rename preloaded parameter to secure.
15217 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
15218 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
15219 * elf/dl-deps.c (openaux): Likewise.
15220 * elf/rtld.c (struct map_args): Remove is_preloaded.
15221 (map_doit): Don't use it.
15222 (dl_main): Likewise.
15223 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
15224 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
15225
bc96fbda
AS
152262010-09-09 Andreas Schwab <schwab@redhat.com>
15227
15228 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
15229 (sysd-rules-targets): Remove duplicates.
15230 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
15231 rtld-%.$o dependency.
15232
22cd1c9b
AS
152332010-10-18 Andreas Schwab <schwab@redhat.com>
15234
15235 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
15236 _dl_map_object do it.
15237
18edac48
UD
152382010-10-19 Ulrich Drepper <drepper@gmail.com>
15239
15240 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
15241 fast fma builtins, define the macros in the C99 standard.
15242 (FP_FAST_FMAF): Likewise.
15243 (FP_FAST_FMAL): Likewise.
15244 * sysdeps/x86_64/bits/mathdef.h: Likewise.
15245
15246 * bits/mathdef.h: Update copyright year.
15247 * sysdeps/powerpc/bits/mathdef.h: Likewise.
15248
d2050124
MM
152492010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
15250
15251 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
15252 builtins, define the macros in the C99 standard.
15253 (FP_FAST_FMAF): Likewise.
15254 (FP_FAST_FMAL): Likewise.
15255 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
15256 multiply/add.
15257 (FP_FAST_FMAF): Likewise.
15258
475facd1
JJ
152592010-10-15 Jakub Jelinek <jakub@redhat.com>
15260
15261 [BZ #3268]
15262 * math/libm-test.inc (fma_test): Some new testcases.
15263 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
15264 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
15265 y and infinite z. Do multiplication by C already in long double.
15266 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
15267 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
15268 y and infinite z. Do bitwise or of inexact bit into u.d.
15269 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
15270 * sysdeps/i386/fpu/s_fmaf.S: Removed.
15271 * sysdeps/i386/fpu/s_fma.S: Removed.
15272 * sysdeps/i386/fpu/s_fmal.S: Removed.
15273
7c08a05c
JJ
152742010-10-16 Jakub Jelinek <jakub@redhat.com>
15275
15276 [BZ #3268]
15277 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
15278 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
15279 computation is not scheduled after fetestexcept. Fix value
15280 of minimum denormal long double.
15281
f3f7372d
JJ
152822010-10-14 Jakub Jelinek <jakub@redhat.com>
15283
15284 [BZ #3268]
15285 * math/libm-test.inc (fma_test): Add some more tests.
15286 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
15287 correctly.
15288
14d43591
AS
152892010-10-15 Andreas Schwab <schwab@redhat.com>
15290
15291 * scripts/data/localplt-s390-linux-gnu.data: New file.
15292 * scripts/data/localplt-s390x-linux-gnu.data: New file.
15293
5e908464
JJ
152942010-10-13 Jakub Jelinek <jakub@redhat.com>
15295
15296 [BZ #3268]
15297 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
15298 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
15299 instead of dbl-64.
15300 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
15301 inlines.
15302 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
15303 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
15304 if one of x and y is very large and the other is subnormal.
15305 * sysdeps/s390/fpu/s_fmaf.c: New file.
15306 * sysdeps/s390/fpu/s_fma.c: New file.
15307 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
15308 * sysdeps/powerpc/fpu/s_fma.S: New file.
15309 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
15310 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
15311 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
15312
153132010-10-12 Jakub Jelinek <jakub@redhat.com>
15314
15315 [BZ #3268]
15316 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
15317 fma tests.
15318 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
15319 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
15320 * sysdeps/i386/i686/multiarch/s_fma.c: Include
15321 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
15322 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
15323 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
15324 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
15325
b833d51f
UD
153262010-10-12 Ulrich Drepper <drepper@redhat.com>
15327
15328 [BZ #12078]
15329 * posix/regcomp.c (parse_branch): One more memory leak plugged.
15330 * posix/bug-regex31.input: Add test case.
15331
1751705d
UD
153322010-10-11 Ulrich Drepper <drepper@gmail.com>
15333
e9b9cbf5
UD
15334 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
15335 * posix/bug-regex31.input: New file.
15336
15337 [BZ #12078]
15338 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
15339 (parse_sub_exp): Fix last change, use postorder.
15340
ef06edbe
UD
15341 * posix/bug-regex31.c: New file.
15342 * posix/Makefile: Add rules to build and run bug-regex31.
15343
a129c80d
UD
15344 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
15345
15346 [BZ #12078]
15347 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
15348
b76b818e
UD
15349 [BZ #12108]
15350 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
15351 to have entries in sys_siglist.
15352
1751705d
UD
15353 [BZ #12093]
15354 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
15355 be NULL.
15356
9ff8d36f
JJ
153572010-10-07 Jakub Jelinek <jakub@redhat.com>
15358
15359 [BZ #3268]
15360 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
15361 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
15362 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
15363 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
15364 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
15365 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
15366 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
15367 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
15368 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
15369 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
15370 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
15371 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
15372 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
15373 * math/ftestexcept.c (fetestexcept): Likewise.
15374 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
15375 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
15376 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
15377 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
15378 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
15379 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
15380 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
15381
af325969
UD
153822010-10-11 Ulrich Drepper <drepper@gmail.com>
15383
c579b202 15384 [BZ #12107]
af325969
UD
15385 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
15386 newline.
15387
67a67b95
UD
153882010-10-06 Ulrich Drepper <drepper@gmail.com>
15389
15390 * string/bug-strstr1.c: New file.
15391 * string/Makefile: Add rules to build and run bug-strstr1.
15392
5fb308bc
EB
153932010-10-05 Eric Blake <eblake@redhat.com>
15394
15395 [BZ #12092]
15396 * string/str-two-way.h (two_way_long_needle): Always clear memory
15397 when skipping input due to the shift table.
15398
45db99c7
UD
153992010-10-03 Ulrich Drepper <drepper@gmail.com>
15400
3b111893
UD
15401 [BZ #12005]
15402 * malloc/mcheck.c: Handle large requests.
15403
45db99c7
UD
15404 [BZ #12077]
15405 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
15406 for strncmp and strncasecmp.
15407 * string/stratcliff.c: Add tests for strcmp and strncmp.
15408 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
15409
cf7a1eb8
NI
154102010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
15411
15412 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
15413 __set_fpscr.
15414
6484ba5e
AJ
154152010-09-30 Andreas Jaeger <aj@suse.de>
15416
15417 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
15418 (CGROUP_SUPER_MAGIC): Define.
15419 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
15420 Handle btrfs and cgroup file systems.
15421 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
15422 Likewise.
15423
91c42559
LM
154242010-09-27 Luis Machado <luisgpm@br.ibm.com>
15425
15426 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
15427 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
15428
87a97932
AK
154292010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15430
15431 [BZ #12067]
15432 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
15433 trying to locate the ELF header.
15434
c21cc9bc
AS
154352010-09-27 Andreas Schwab <schwab@redhat.com>
15436
15437 [BZ #11611]
15438 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
15439 Mask out sign-bit copies when constructing f_fsid.
15440
315970f6
PB
154412010-09-24 Petr Baudis <pasky@suse.cz>
15442
15443 * debug/stack_chk_fail_local.c: Add missing licence exception.
15444 * debug/warning-nop.c: Likewise.
15445
1ac7a2c7
JM
154462010-09-15 Joseph Myers <joseph@codesourcery.com>
15447
15448 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
15449 implementing getdents64 using getdents syscall, set d_type if
15450 __ASSUME_GETDENTS32_D_TYPE.
15451
56801c50
AS
154522010-09-16 Andreas Schwab <schwab@redhat.com>
15453
15454 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
15455 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
15456
dda51327
UD
154572010-09-21 Ulrich Drepper <drepper@redhat.com>
15458
15459 [BZ #12037]
15460 * posix/unistd.h: Undo change of feature selection for ftruncate from
15461 2010-01-11.
15462
8ffcee4a
UD
154632010-09-20 Ulrich Drepper <drepper@redhat.com>
15464
a545ecd9 15465 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
15466 detection.
15467
e24f0a8b
AS
154682010-09-20 Andreas Schwab <schwab@redhat.com>
15469
15470 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
15471 fanotify_mark.
15472 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
15473
7291c56f
AS
154742010-09-14 Andreas Schwab <schwab@redhat.com>
15475
15476 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
15477 variables after CHECK_SP call.
15478 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
15479
bc5fb037
AS
154802010-09-13 Andreas Schwab <schwab@redhat.com>
15481 Ulrich Drepper <drepper@redhat.com>
15482
15483 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
15484 re-relocationg ld.so.
15485 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
15486 _dl_init_paths call.
15487 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
15488 here anymore.
15489
e66e7419
UD
154902010-09-14 Ulrich Drepper <drepper@redhat.com>
15491
15492 * resolv/res_init.c (__res_vinit): Count the default server we added.
15493
c044aa75
CLT
154942010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
15495 Ulrich Drepper <drepper@redhat.com>
15496
15497 [BZ #11968]
15498 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
15499 (____longjmp_chk): Use %ebx for saving value across system call.
15500 Add unwind info.
15501
32cf4069
AS
155022010-09-06 Andreas Schwab <schwab@redhat.com>
15503
15504 * manual/Makefile: Don't mix pattern rules with normal rules.
15505
817328ee
AS
155062010-09-05 Andreas Schwab <schwab@linux-m68k.org>
15507
15508 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
15509 operation.
15510 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
15511 * libio/iofopncook.c (_IO_cookie_init): Likewise.
15512 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
15513 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
15514 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
15515 Likewise.
15516
29fddf61
UD
155172010-09-04 Ulrich Drepper <drepper@redhat.com>
15518
15519 [BZ #11979]
15520 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
15521 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
15522
0959ffc9
UD
155232010-09-02 Ulrich Drepper <drepper@redhat.com>
15524
15525 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
15526 * sysdeps/x86_64/addmul_1.S: Likewise.
15527 * sysdeps/x86_64/lshift.S: Likewise.
15528 * sysdeps/x86_64/mul_1.S: Likewise.
15529 * sysdeps/x86_64/rshift.S: Likewise.
15530 * sysdeps/x86_64/sub_n.S: Likewise.
15531 * sysdeps/x86_64/submul_1.S: Likewise.
15532
ece29840
ST
155332010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
15534
0959ffc9
UD
15535 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
15536 Define __sched_param instead of SCHED_* and sched_param when
ece29840 15537 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 15538 * bits/sched.h [__need_schedparam]
ece29840 15539 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
15540 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
15541 (__defined_schedparam): Define to 1.
ece29840
ST
15542 (__sched_param): New structure, identical to sched_param.
15543 (__need_schedparam): Undefine.
15544
e53a31fe
MF
155452010-08-31 Mike Frysinger <vapier@gentoo.org>
15546
fdc0c10d
MF
15547 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
15548 (epoll_create1): Declare.
15549
e53a31fe
MF
15550 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
15551
a726d796
AS
155522010-08-31 Andreas Schwab <schwab@redhat.com>
15553
15554 [BZ #7066]
15555 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
15556 shifting retval into place.
15557
2f3e3dc7
UD
155582010-09-01 Ulrich Drepper <drepper@redhat.com>
15559
f2933da9
UD
15560 * nis/rpcsvc/nis.h: Update copyright notice.
15561 * nis/rpcsvc/nis.x: Likewise.
15562 * nis/rpcsvc/nis_callback.h: Likewise.
15563 * nis/rpcsvc/nis_callback.x: Likewise.
15564 * nis/rpcsvc/nis_object.x: Likewise.
15565 * nis/rpcsvc/nis_tags.h: Likewise.
15566 * nis/rpcsvc/yp.h: Likewise.
15567 * nis/rpcsvc/yp.x: Likewise.
15568 * nis/rpcsvc/ypupd.h: Likewise.
15569 * nis/yp_xdr.c: Likewise.
15570 * nis/ypupdate_xdr.c: Likewise.
15571
2f3e3dc7
UD
15572 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
15573 mainly the body of pmap_getport. Add parameters to specify timeouts.
15574 (pmap_getport): Use __libc_rpc_getport.
15575 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
15576 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
15577 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
15578
f3dcc2f9
AS
155792010-08-31 Andreas Schwab <schwab@linux-m68k.org>
15580
15581 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
15582 fanotify_mark.
15583
6d34eb5b
RM
155842010-08-27 Roland McGrath <roland@redhat.com>
15585
15586 * sysdeps/i386/i686/multiarch/Makefile
15587 (CFLAGS-varshift.c): New variable.
15588
9ea3de11
UD
155892010-08-27 Ulrich Drepper <drepper@redhat.com>
15590
c96d23fc
UD
15591 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
15592 * sysdeps/i386/i686/multiarch/varshift.c: New file.
15593
9ea3de11
UD
15594 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
15595
15596 * sysdeps/x86_64/strlen.S: Minimal code improvement.
15597
623aac7f
L
155982010-08-26 H.J. Lu <hongjiu.lu@intel.com>
15599
15600 * sysdeps/x86_64/strlen.S: Unroll the loop.
15601 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
15602 strlen-sse2 strlen-sse2-bsf.
15603 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
15604 __strlen_no_bsf if bit_Slow_BSF is set.
15605 (__strlen_sse42): Removed.
15606 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
15607 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
15608
8b2b7715
RM
156092010-08-25 Roland McGrath <roland@redhat.com>
15610
15611 * sysdeps/x86_64/multiarch/varshift.S: File removed.
15612 * sysdeps/x86_64/multiarch/varshift.c: New file.
15613 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
15614 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
15615 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
15616 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
15617
e73015f2
L
156182010-08-25 H.J. Lu <hongjiu.lu@intel.com>
15619
15620 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
15621 strlen-sse2 strlen-sse2-bsf.
15622 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
15623 __strlen_sse2_bsf if bit_Slow_BSF is unset.
15624 (__strlen_sse2): Removed.
15625 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
15626 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
15627 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
15628 bit_Slow_BSF for Atom.
15629 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
15630 (index_Slow_BSF): Define.
15631 (HAS_SLOW_BSF): Define.
15632
df24a73e
UD
156332010-08-25 Ulrich Drepper <drepper@redhat.com>
15634
15635 [BZ #10851]
15636 * resolv/res_init.c (__res_vinit): When no server address at all
15637 is given default to loopback.
15638
f2ac4868
RM
156392010-08-24 Roland McGrath <roland@redhat.com>
15640
09055553
RM
15641 * configure.in: Remove config-name.h generation.
15642 * configure: Regenerated.
15643 * config-name.in: File removed.
15644 * scripts/config-uname.sh: New file.
15645 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
15646 ($(objdir)config-name.h): New target.
15647
f2ac4868
RM
15648 * sunrpc/rpc_parse.h: Avoid nested comment.
15649
73f27d5e
RH
156502010-08-24 Richard Henderson <rth@redhat.com>
15651 Ulrich Drepper <drepper@redhat.com>
15652 H.J. Lu <hongjiu.lu@intel.com>
15653
15654 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
15655 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
15656 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
15657 Replace _mm_srli_si128 with __m128i_shift_right. Replace
15658 _mm_alignr_epi8 with _mm_loadu_si128.
15659 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
15660 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
15661 (__m128i_shift_right): Removed.
15662 * sysdeps/i386/i686/multiarch/varshift.h: New file.
15663 * sysdeps/i386/i686/multiarch/varshift.S: New file.
15664 * sysdeps/x86_64/multiarch/varshift.h: New file.
15665 * sysdeps/x86_64/multiarch/varshift.S: New file.
15666
84b9230c
MF
156672010-08-21 Mike Frysinger <vapier@gentoo.org>
15668
15669 * configure.in: Move assembler checks to before sysdep dir checking.
15670
9bbd0ddc
PB
156712010-08-20 Petr Baudis <pasky@suse.cz>
15672
15673 * LICENSES: Sync the sunrpc license.
15674
9da4bb31
UD
156752010-08-19 Ulrich Drepper <drepper@redhat.com>
15676
a7ab6ec8
UD
15677 * sunrpc/auth_des.c: Update copyright notice once again.
15678 * sunrpc/auth_none.c: Likewise.
15679 * sunrpc/auth_unix.c: Likewise.
15680 * sunrpc/authdes_prot.c: Likewise.
15681 * sunrpc/authuxprot.c: Likewise.
15682 * sunrpc/bindrsvprt.c: Likewise.
15683 * sunrpc/clnt_gen.c: Likewise.
15684 * sunrpc/clnt_perr.c: Likewise.
15685 * sunrpc/clnt_raw.c: Likewise.
15686 * sunrpc/clnt_simp.c: Likewise.
15687 * sunrpc/clnt_tcp.c: Likewise.
15688 * sunrpc/clnt_udp.c: Likewise.
15689 * sunrpc/clnt_unix.c: Likewise.
15690 * sunrpc/des_crypt.c: Likewise.
15691 * sunrpc/des_soft.c: Likewise.
15692 * sunrpc/get_myaddr.c: Likewise.
15693 * sunrpc/getrpcport.c: Likewise.
15694 * sunrpc/key_call.c: Likewise.
15695 * sunrpc/key_prot.c: Likewise.
15696 * sunrpc/openchild.c: Likewise.
15697 * sunrpc/pm_getmaps.c: Likewise.
15698 * sunrpc/pm_getport.c: Likewise.
15699 * sunrpc/pmap_clnt.c: Likewise.
15700 * sunrpc/pmap_prot.c: Likewise.
15701 * sunrpc/pmap_prot2.c: Likewise.
15702 * sunrpc/pmap_rmt.c: Likewise.
15703 * sunrpc/rpc/auth.h: Likewise.
15704 * sunrpc/rpc/auth_unix.h: Likewise.
15705 * sunrpc/rpc/clnt.h: Likewise.
15706 * sunrpc/rpc/des_crypt.h: Likewise.
15707 * sunrpc/rpc/key_prot.h: Likewise.
15708 * sunrpc/rpc/netdb.h: Likewise.
15709 * sunrpc/rpc/pmap_clnt.h: Likewise.
15710 * sunrpc/rpc/pmap_prot.h: Likewise.
15711 * sunrpc/rpc/pmap_rmt.h: Likewise.
15712 * sunrpc/rpc/rpc.h: Likewise.
15713 * sunrpc/rpc/rpc_des.h: Likewise.
15714 * sunrpc/rpc/rpc_msg.h: Likewise.
15715 * sunrpc/rpc/svc.h: Likewise.
15716 * sunrpc/rpc/svc_auth.h: Likewise.
15717 * sunrpc/rpc/types.h: Likewise.
15718 * sunrpc/rpc/xdr.h: Likewise.
15719 * sunrpc/rpc_clntout.c: Likewise.
15720 * sunrpc/rpc_cmsg.c: Likewise.
15721 * sunrpc/rpc_common.c: Likewise.
15722 * sunrpc/rpc_cout.c: Likewise.
15723 * sunrpc/rpc_dtable.c: Likewise.
15724 * sunrpc/rpc_hout.c: Likewise.
15725 * sunrpc/rpc_main.c: Likewise.
15726 * sunrpc/rpc_parse.c: Likewise.
15727 * sunrpc/rpc_parse.h: Likewise.
15728 * sunrpc/rpc_prot.c: Likewise.
15729 * sunrpc/rpc_sample.c: Likewise.
15730 * sunrpc/rpc_scan.c: Likewise.
15731 * sunrpc/rpc_scan.h: Likewise.
15732 * sunrpc/rpc_svcout.c: Likewise.
15733 * sunrpc/rpc_tblout.c: Likewise.
15734 * sunrpc/rpc_util.c: Likewise.
15735 * sunrpc/rpc_util.h: Likewise.
15736 * sunrpc/rpcinfo.c: Likewise.
15737 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
15738 * sunrpc/rpcsvc/key_prot.x: Likewise.
15739 * sunrpc/rpcsvc/klm_prot.x: Likewise.
15740 * sunrpc/rpcsvc/mount.x: Likewise.
15741 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
15742 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
15743 * sunrpc/rpcsvc/rex.x: Likewise.
15744 * sunrpc/rpcsvc/rstat.x: Likewise.
15745 * sunrpc/rpcsvc/rusers.x: Likewise.
15746 * sunrpc/rpcsvc/sm_inter.x: Likewise.
15747 * sunrpc/rpcsvc/spray.x: Likewise.
15748 * sunrpc/rpcsvc/yppasswd.x: Likewise.
15749 * sunrpc/rtime.c: Likewise.
15750 * sunrpc/svc.c: Likewise.
15751 * sunrpc/svc_auth.c: Likewise.
15752 * sunrpc/svc_authux.c: Likewise.
15753 * sunrpc/svc_raw.c: Likewise.
15754 * sunrpc/svc_run.c: Likewise.
15755 * sunrpc/svc_simple.c: Likewise.
15756 * sunrpc/svc_tcp.c: Likewise.
15757 * sunrpc/svc_udp.c: Likewise.
15758 * sunrpc/svc_unix.c: Likewise.
15759 * sunrpc/svcauth_des.c: Likewise.
15760 * sunrpc/xcrypt.c: Likewise.
15761 * sunrpc/xdr.c: Likewise.
15762 * sunrpc/xdr_array.c: Likewise.
15763 * sunrpc/xdr_float.c: Likewise.
15764 * sunrpc/xdr_mem.c: Likewise.
15765 * sunrpc/xdr_rec.c: Likewise.
15766 * sunrpc/xdr_ref.c: Likewise.
15767 * sunrpc/xdr_sizeof.c: Likewise.
15768 * sunrpc/xdr_stdio.c: Likewise.
15769
9da4bb31
UD
15770 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
15771 handling.
15772
bdaa77bc
AS
157732010-08-19 Andreas Schwab <schwab@redhat.com>
15774
15775 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
15776
fe2f79db
LM
157772010-08-19 Luis Machado <luisgpm@br.ibm.com>
15778
15779 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
15780 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
15781 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
15782 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
15783 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
15784 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
15785 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
15786 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
15787 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
15788 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
15789 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
15790 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
15791 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
15792 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
15793
b9b42ee0
AB
157942010-07-26 Anton Blanchard <anton@samba.org>
15795
15796 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
15797 * malloc/arena.c (heap_trim): Likewise.
15798
1c06ba31
UD
157992010-08-16 Ulrich Drepper <drepper@redhat.com>
15800
15801 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
15802 here. Not...
15803 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
15804 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
15805
f8392f40
L
158062010-08-12 H.J. Lu <hongjiu.lu@intel.com>
15807
15808 * sysdeps/i386/elf/Makefile: New file.
15809
3162f12e
AS
158102010-08-14 Andreas Schwab <schwab@linux-m68k.org>
15811
15812 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
15813 from fanotify_init.
15814 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
15815 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
15816
28c90b2c
UD
158172010-08-15 Ulrich Drepper <drepper@redhat.com>
15818
15819 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
15820 of strncasecmp_l.
1feccb6c 15821 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 15822
ca6bb004
UD
158232010-08-14 Ulrich Drepper <drepper@redhat.com>
15824
e9f82e0d
UD
15825 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
15826 strncase_l-nonascii.
15827 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
15828 Add strncase_l-ssse3.
15829 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
15830 * sysdeps/x86_64/strcmp.S: Likewise.
15831 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
15832 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
15833 * sysdeps/x86_64/strncase.S: New file.
15834 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
15835 * sysdeps/x86_64/strncase_l.S: New file.
15836 * string/Makefile (strop-tests): Add strncasecmp.
15837 * string/test-strncasecmp.c: New file.
15838
15839 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
15840 warning.
15841
ca6bb004
UD
15842 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
15843 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
15844
052fa7b3
AS
158452010-08-14 Andreas Schwab <schwab@linux-m68k.org>
15846
15847 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
15848
962dba78
UD
158492010-08-12 Ulrich Drepper <drepper@redhat.com>
15850
15851 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
15852 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
15853 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
15854
bebff237
AM
158552010-05-01 Alan Modra <amodra@gmail.com>
15856
15857 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
15858 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
15859 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
15860 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
15861 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
15862 tidying. Don't tail-call __sigjmp_save for static lib.
15863 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
15864 save location.
15865 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
15866 (CALL_MCOUNT): Add eh info, and nop after bl.
15867 (TAIL_CALL_SYSCALL_ERROR): New macro.
15868 (PSEUDO_RET): Use it.
15869 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
15870 Correct save location of integer regs and cr.
15871 (_dl_profile_resolve): Correct cr save location. Delete nops
15872 after bl when SHARED. Reduce cfi size a little by better
15873 placement of cfi directives.
15874 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
15875 make a stack frame. Instead use parm save area as a temp.
15876 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
15877 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
15878 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
15879 Don't make a stack frame for parent, use parm save area.
15880 Increase child stack frame to 112 bytes. Don't save unused reg,
15881 and adjust reg usage. Set up cfi on error recovery and
15882 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
15883 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
15884 (__makecontext): Add dummy nop after jump to exit.
15885 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
15886 Use correct parm save area and cr save, reduce stack frame.
15887 Correct cfi for possible PSEUDO_RET frame setup.
15888 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
15889 Branch to local label emitted by PSEUDO_RET rather than
15890 __syscall_error.
15891
02637374
AS
158922010-08-12 Andreas Schwab <schwab@redhat.com>
15893
15894 [BZ #11904]
15895 * locale/programs/locale.c (print_assignment): New function.
15896 (show_locale_vars): Use it.
15897
c3e2f19b
UD
158982010-08-11 Ulrich Drepper <drepper@redhat.com>
15899
3cdaa6ad
UD
15900 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
15901 field.
15902 (struct statfs64): Likewise.
15903 (_STATFS_F_FLAGS): Define.
15904 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
15905 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
15906 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
15907 (ST_VALID): Define locally.
15908 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
15909 __statvfs_getflags, use the provided value.
15910 * sysdeps/unix/sysv/linux/kernel-features.h: Define
15911 __ASSUME_STATFS_F_FLAGS.
15912
754f7da3
UD
15913 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
15914
10b3bedc
UD
15915 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
15916 Add sys/fanotify.h.
15917 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
15918 fanotify_mask for GLIBC_2.13.
15919 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
15920 fanotify_init and fanotify_mark.
15921 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
15922 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
15923
c08fb0d7
UD
15924 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
15925 Add prlimit.
15926 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
15927 prlimit64 for GLIBC_2.13.
15928 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
15929 prlimit64.
15930 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
15931 syscall.
15932 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
15933 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
15934 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
15935 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
15936 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
15937 add prlimit alias.
15938 * sysdeps/unix/sysv/linux/prlimit.c: New file.
15939
15bac72b
UD
15940 [BZ #11903]
15941 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
15942 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
15943
c3e2f19b
UD
15944 * nss/Makefile: Add rules to build and run tst-nss-test1.
15945 * shlib-versions: Add entry for libnss_test1.
15946 * nss/nss_test1.c: New file.
15947 * nss/tst-nss-test1.c: New file.
15948
15949 * nss/nsswitch.c (__nss_database_custom): Define new variable.
15950 (__nss_configure_lookup): Set appropriate entry in
15951 __nss_configure_lookup to true.
15952 * nss/nsswitch.h: Define enum with indeces of databases in
15953 databases and __nss_database_custom arrays. Declare
15954 __nss_database_custom.
15955 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
15956 to avoid using nscd when custom rules are installed.
15957 * nss/getXXbyYY_r.c: Likewise.
15958 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
15959
15960 * nss/nss_files/files-parse.c: Whitespace fixes.
15961
f15ce4d8
UD
159622010-08-09 Ulrich Drepper <drepper@redhat.com>
15963
15964 [BZ #11883]
15965 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
15966 * posix/fnmatch_loop.c: Likewise.
15967
d22e4cc9
AK
159682010-07-17 Andi Kleen <ak@linux.intel.com>
15969
15970 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
15971 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
15972 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
15973 * Versions.def [GLIBC_2.13]: Add.
15974
805bc17d
UD
159752010-08-06 Ulrich Drepper <drepper@redhat.com>
15976
15977 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
15978 Also fail if tpwd after pwuid call is NULL.
15979
5a42321d
ST
159802010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
15981
15982 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
15983 when converting to ms.
15984
fd3ebeda
ST
159852010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
15986
15987 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
15988 EOPNOTSUPP errors with ENOTTY.
15989 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
15990 EOPNOTSUPP errors with ENOTTY.
15991
73507d3a
UD
159922010-07-31 Ulrich Drepper <drepper@redhat.com>
15993
15994 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
15995 Add strcasecmp_l-ssse3.
15996 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
15997 strcasecmp.
15998 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
15999 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
16000 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
16001
fe36dd02
UD
160022010-07-30 Ulrich Drepper <drepper@redhat.com>
16003
66f6765a
UD
16004 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
16005
42e08a54
UD
16006 * string/Makefile (strop-tests): Add strcasecmp.
16007 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
16008 strcasecmp_l-nonascii.
16009 (gen-as-const-headers): Add locale-defines.sym.
16010 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
16011 * sysdeps/x86_64/strcasecmp.S: New file.
16012 * sysdeps/x86_64/strcasecmp_l.S: New file.
16013 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
16014 * sysdeps/x86_64/locale-defines.sym: New file.
16015 * string/test-strcasecmp.c: New file.
16016
fe36dd02
UD
16017 * string/test-strcasestr.c: Test both ends of the range of characters.
16018 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
16019
48cbc0d6
RM
160202010-07-29 Roland McGrath <roland@redhat.com>
16021
76e6d6bc 16022 [BZ #11856]
48cbc0d6
RM
16023 * manual/locale.texi (Yes-or-No Questions): Fix example code.
16024
880113d9
UD
160252010-07-27 Ulrich Drepper <drepper@redhat.com>
16026
16027 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
16028 for ld.so.
16029
deb9cabb
AS
160302010-07-27 Andreas Schwab <schwab@redhat.com>
16031
16032 * manual/memory.texi (Malloc Tunable Parameters): Document
16033 M_PERTURB.
16034
1c7570ff
RM
160352010-07-26 Roland McGrath <roland@redhat.com>
16036
16037 [BZ #11840]
16038 * configure.in (-fgnu89-inline check): Set and substitute
16039 gnu89_inline, not libc_cv_gnu89_inline.
16040 * configure: Regenerated.
16041 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
16042
24fb0f88
UD
160432010-07-26 Ulrich Drepper <drepper@redhat.com>
16044
16045 * string/test-strnlen.c: New file.
16046 * string/Makefile (strop-tests): Add strnlen.
16047 * string/tester.c (test_strnlen): Add a few more test cases.
16048 * string/tst-strlen.c: Better error reporting.
16049
16050 * sysdeps/x86_64/strnlen.S: New file.
16051
8e96b93a
UD
160522010-07-24 Ulrich Drepper <drepper@redhat.com>
16053
16054 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
16055 lower-latency instructions.
16056
dbc676d4
UD
160572010-07-23 Ulrich Drepper <drepper@redhat.com>
16058
16059 * string/test-strcasestr.c: New file.
16060 * string/test-strstr.c: New file.
16061 * string/Makefile (strop-tests): Add strstr and strcasestr.
16062 * string/str-two-way.h: Don't undefine MAX.
16063 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
16064
f6a31e0e
AS
160652010-07-21 Andreas Schwab <schwab@redhat.com>
16066
16067 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
16068 strcasestr-nonascii.
16069 (CFLAGS-strcasestr-nonascii.c): Define.
16070 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
16071 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
16072 Remove unused attribute.
16073
5dbc3b6c
RM
160742010-07-20 Roland McGrath <roland@redhat.com>
16075
16076 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
16077 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
16078 ld.so.cache was broken. With it, there is no way to disable dsocaps
16079 like LD_HWCAP_MASK can disable hwcaps.
16080
23d101d8
EPM
160812010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
16082
16083 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
16084
cc9f2e47
UD
160852010-07-16 Ulrich Drepper <drepper@redhat.com>
16086
16087 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
16088 call in strcasestr.
16089 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
16090 __strcasestr_sse42_nonascii.
16091 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
16092 strcasestr-nonascii.c.
16093 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
16094
77c1b069
LM
160952010-06-15 Luis Machado <luisgpm@br.ibm.com>
16096
16097 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
16098 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
16099 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
16100 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
16101
440566c3
UD
161022010-07-09 Ulrich Drepper <drepper@redhat.com>
16103
16104 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
16105 fcntl.
16106
5be9d05d
AS
161072010-07-06 Andreas Schwab <schwab@redhat.com>
16108
c30b7ee2 16109 [BZ #11577]
5be9d05d
AS
16110 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
16111 dl_signal_cerror.
16112
8a492a67
UD
161132010-07-06 Ulrich Drepper <drepper@redhat.com>
16114
16115 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
16116 _PC_PIPE_BUF using F_GETPIPE_SZ.
16117
713df3d5
RM
161182010-07-05 Roland McGrath <roland@redhat.com>
16119
16120 * manual/arith.texi (Rounding Functions): Fix rint description
16121 implicit in round description.
16122
702e8f14
UD
161232010-07-02 Ulrich Drepper <drepper@redhat.com>
16124
16125 * elf/Makefile: Fix linking for a few tests to make recent linker
16126 happy.
16127
52ed8be9
AS
161282010-06-30 Andreas Schwab <schwab@redhat.com>
16129
16130 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
16131 $(common-objpfx)libc_nonshared.a.
16132
f47c9a11
LM
161332010-06-21 Luis Machado <luisgpm@br.ibm.com>
16134
16135 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
16136 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
16137 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
16138 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
16139 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
16140 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
16141 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
16142 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
16143 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
16144 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
16145 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
16146 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
16147 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
16148 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
16149 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
16150 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
16151 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
16152 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
16153 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
16154 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
16155 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
16156 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
16157 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
16158 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
16159 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
16160 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
16161 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
16162 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
16163 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
16164 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
16165 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
16166 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
16167 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
16168 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
16169 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
16170 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
16171 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
16172 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
16173 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
16174 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
16175 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
16176 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
16177 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
16178 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
16179 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
16180 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
16181 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
16182 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
16183
6fb8cbcb
L
161842010-06-25 H.J. Lu <hongjiu.lu@intel.com>
16185
16186 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
16187 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
16188 * string/memmove.c (memmove): Renamed to ...
16189 (MEMMOVE): ...this. Default to memmove.
16190 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
16191 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
16192 (END_CHK): Define.
16193 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
16194 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
16195 mempcpy-ssse3-back memmove-ssse3-back.
16196 * sysdeps/x86_64/multiarch/bcopy.S: New file .
16197 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
16198 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
16199 * sysdeps/x86_64/multiarch/memcpy.S: New file.
16200 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
16201 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
16202 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
16203 * sysdeps/x86_64/multiarch/memmove.c: New file.
16204 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
16205 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
16206 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
16207 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
16208 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
16209 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
16210 Define.
16211 (index_Fast_Copy_Backward): Define.
16212 (HAS_ARCH_FEATURE): Define.
16213 (HAS_FAST_REP_STRING): Define.
16214 (HAS_FAST_COPY_BACKWARD): Define.
16215
4e733bac 162162010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
16217
16218 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
16219 Restore proper fallback handling.
16220
63c4ed22
UD
162212010-06-19 Ulrich Drepper <drepper@redhat.com>
16222
ac2b484c
UD
16223 [BZ #11701]
16224 * posix/group_member.c (__group_member): Correct checking loop.
16225
63c4ed22
UD
16226 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
16227 OOM in getpwuid_r correctly. Return error number when the caller
16228 should return, otherwise -1.
16229 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
16230 call returning > 0 value.
16231 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
16232
765ade4b
AS
162332010-06-07 Andreas Schwab <schwab@redhat.com>
16234
16235 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
16236 libc_nonshared.a from targets in modules-names.
16237
80da2e09
KS
162382010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
16239
16240 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
16241 requires it.
16242
158db122
LM
162432010-06-10 Luis Machado <luisgpm@br.ibm.com>
16244
16245 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
16246 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
16247 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
16248 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
16249
caa78cf8
AS
162502010-06-02 Andreas Schwab <schwab@redhat.com>
16251
16252 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
16253
b2ef2c01
UD
162542010-06-14 Ulrich Drepper <drepper@redhat.com>
16255
16256 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
16257 and F_GETPIPE_SZ.
16258 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
16259 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
16260 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
16261 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
16262 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
16263 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
16264
fbd643b6
RM
162652010-06-14 Roland McGrath <roland@redhat.com>
16266
16267 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
16268
f32f2869
JJ
162692010-06-07 Jakub Jelinek <jakub@redhat.com>
16270
16271 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
16272 __REDIRECT followed by __THROW.
16273 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
16274 * posix/getopt.h (getopt): Likewise.
16275
2a50c078
EPM
162762010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
16277
16278 * hurd/lookup-at.c (__file_name_lookup_at): Accept
16279 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
16280 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
16281 in AT_FLAGS.
16282 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
16283 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
16284
eb5ad2eb
LM
162852010-05-28 Luis Machado <luisgpm@br.ibm.com>
16286
16287 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
16288
3c88fe1e
L
162892010-05-26 H.J. Lu <hongjiu.lu@intel.com>
16290
16291 [BZ #11640]
16292 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
16293 Properly check family and model.
16294
d2f73151
TY
162952010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
16296
16297 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
16298
ebd2e13d
LM
162992010-05-24 Luis Machado <luisgpm@br.ibm.com>
16300
16301 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
16302
b32b8b45
UD
163032010-05-21 Ulrich Drepper <drepper@redhat.com>
16304
16305 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
16306 symbol reference.
16307
9acbe24d
AS
163082010-05-19 Andreas Schwab <schwab@redhat.com>
16309
16310 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
16311 symbol reference.
16312
f0ccf6ea
AS
163132010-05-21 Andreas Schwab <schwab@redhat.com>
16314
3d04ff3a
AS
16315 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
16316 and internal_recvmmsg.
16317 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
16318 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
16319 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
16320 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
16321
f0ccf6ea
AS
16322 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
16323 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
16324 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
16325
5b08ac57
AS
163262010-05-20 Andreas Schwab <schwab@redhat.com>
16327
16328 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
16329
4828935d
LM
163302010-05-17 Luis Machado <luisgpm@br.ibm.com>
16331
16332 POWER7 optimizations.
16333 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
16334 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
16335
373d545e
UD
163362010-05-19 Ulrich Drepper <drepper@redhat.com>
16337
16338 * version.h: Update for 2.13 development version.
16339
21a2b1ae
AS
163402010-05-12 Andrew Stubbs <ams@codesourcery.com>
16341
16342 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
16343 exceptions. Return 0.
16344
3f7dcb2b
RM
163452010-05-07 Roland McGrath <roland@redhat.com>
16346
16347 * elf/ldconfig.c (main): Add a const.
16348
5f24d53a 163492010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 16350
a160f8d8
UD
16351 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
16352 (args_options): Add no-idn option.
16353 (ahosts_keys_int): Add idn_flags to ai_flags.
16354 (parse_option): Handle 'i' option to clear idn_flags.
16355
5f24d53a
UD
16356 * malloc/malloc.c (_int_free): Possible race in the most recently
16357 added check. Only act on the data if no current modification
16358 happened.
265bb1ce
UD
16359
16360See ChangeLog.17 for earlier changes.