]> git.ipfire.org Git - thirdparty/glibc.git/blame - ChangeLog
Update x86_64 bits/sigcontext.h from kernel 3.4.0
[thirdparty/glibc.git] / ChangeLog
CommitLineData
f3d1f93c
L
12012-06-04 H.J. Lu <hongjiu.lu@intel.com>
2
3 [BZ #14117]
14adcbfc
L
4 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
5 New macro from Linux kernel 3.4.0.
6 (FP_XSTATE_MAGIC2): Likewise.
7 (FP_XSTATE_MAGIC2_SIZE): Likewise.
8 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
9 (struct _fpx_sw_bytes): New struct.
10 (struct _xsave_hdr): Likewise.
11 (struct _ymmh_state): Likewise.
12 (struct _xstate): Likewise.
13
68e408ab
L
14 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
15 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
16 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
17 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
18 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
19 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
20
f3d1f93c
L
21 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
22 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
23 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
24 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
25 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
26 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
27
d9dc34cd
TMQMF
282012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
29
30 [BZ #13743]
31 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
32 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
33 (sysdep_headers): Include sys/platform/ppc.h.
34 * sysdeps/powerpc/test-gettimebase.c: Test for
35 __ppc_get_timebase() to catch future ISA opcode/insn changes.
36 * manual/Makefile (appendices): Include platform.texi.
37 * manual/contrib.texi (Contributors): Update @node pointers.
38 * manual/maint.texi (Maintenance): Likewise.
39 (Platform): New node.
40 * manual/platform.texi: New file. Document the new features.
41
4af3879c
SP
422012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
43 Jakub Jelinek <jakub@redhat.com>
44
45 [BZ #14188]
46 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
47 where __builtin_expect is unavailable.
48
2fd6ff13
DM
492012-06-03 David S. Miller <davem@davemloft.net>
50
51 * stdlib/longlong.h: Updated from GCC.
52
173f7220
AS
532012-06-02 Andreas Schwab <schwab@linux-m68k.org>
54
55 [BZ #14042]
56 * sysdeps/powerpc/powerpc32/mcount.c: New file.
57 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
58 __mcount_internal.
59 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
60 (GLIBC_2.16): Likewise.
61
f34a1c6f
L
622012-06-01 H.J. Lu <hongjiu.lu@intel.com>
63
64 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
65
88a4576f
JM
662012-06-01 Joseph Myers <joseph@codesourcery.com>
67
ea32bcdd
JM
68 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
69 (default-abi): New variable.
70 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
71 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
72 variable.
73 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
74 Likewise.
75 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
76 Likewise.
77 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
78 Likewise.
79
88a4576f
JM
80 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
81 definition. Document in comment.
82
402fe938
DM
832012-06-01 David S. Miller <davem@davemloft.net>
84
85 * stdlib/longlong.h: Updated from GCC.
86
3553723f
L
872012-06-01 H.J. Lu <hongjiu.lu@intel.com>
88
89 [BZ #14117]
3bd872c4
L
90 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
91 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
92 sys/debugreg.h sys/io.h here.
93 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
94 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
95 sys/io.h.
96 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
97 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
98 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
99 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
100 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
101 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
102
3553723f
L
103 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
104 Define only if __x86_64__ is defined.
105
4842e4fe
JM
1062012-06-01 Joseph Myers <joseph@codesourcery.com>
107
c5bfe3d5
JM
108 [BZ #14048]
109 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
110 Use int64_t for variable i.
111 * math/libm-test.inc (fmod_test): Add more tests.
112
4842e4fe
JM
113 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
114 z computation is not scheduled after fetestexcept.
115 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
116 Use math_force_eval instead of asm to ensure calculation scheduled
117 before exception test.
118 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
119 Ensure a1 + u.d computation is not scheduled after fetestexcept.
120
efb73488
AJ
1212012-06-01 Aurelien Jarno <aurelien@aurel32.net>
122
123 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
124 computation is not scheduled after fetestexcept.
125
29bcce7c
L
1262012-06-01 H.J. Lu <hongjiu.lu@intel.com>
127
128 [BZ #14117]
129 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
130 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
131
73a68f94
AZ
1322012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
133
134 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
135 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
136
67b6df78
L
1372012-05-31 H.J. Lu <hongjiu.lu@intel.com>
138
edf2933a 139 [BZ #14117]
ebc64a18
L
140 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
141 <bits/wordsize.h>.
142 (__WCHAR_MIN): Support __WORDSIZE == 64.
143 (__WCHAR_MAX): Likewise.
144
edf2933a
L
145 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
146 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
147
57c6cf40
L
148 [BZ #14183]
149 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
150 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
151
67b6df78 152 [BZ #14117]
8eb6281e
L
153 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
154 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
155
aac639f4
L
156 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
157 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
158
67b6df78
L
159 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
160 Defined to 1 if __x86_64__ isn't defined.
161 (_STAT_VER_LINUX_OLD): New.
162 (st_atime): Remove duplicate.
163 (st_mtime): Likewise.
164 (st_ctime): Likewise.
165
1c2cfe81
DM
1662012-05-31 David S. Miller <davem@davemloft.net>
167
168 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
169 entries.
170
5be8418c
AS
1712012-06-01 Andreas Schwab <schwab@linux-m68k.org>
172
e7725326
AS
173 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
174 gen-libm-test.pl.
175
5be8418c
AS
176 [BZ #14132]
177 * elf/dl-reloc.c: Include <_itoa.h>.
178 (_dl_reloc_bad_type): Remove use of INTUSE.
179 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
180 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
181 * stdio-common/psiginfo.c (psiginfo): Likewise.
182 * stdio-common/psignal.c (psignal): Likewise.
183 * string/strsignal.c (strsignal): Likewise.
184 * include/signal.h (_sys_siglist): Declare hidden proto.
185 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
186 INTVARDEF with libc_hidden_data_def.
187 * stdio-common/itoa-udigits.c: Likewise.
188 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
189 (_itoa_lower_digits_internal): Remove declaration.
190 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
191 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
192 (_sys_sigabbrev_internal): Remove aliases.
193 (_sys_siglist): Define hidden alias.
194
507352f1
MT
1952012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
196
197 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
198 bits/sysctl.h.
199
42bbb1c3
L
2002012-05-31 H.J. Lu <hongjiu.lu@intel.com>
201
202 [BZ #14117]
6bd784b6
L
203 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
204 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
205
8bca20f0
L
206 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
207 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
208 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
209 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
210 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
211 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
212
f9e890a9
L
213 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
214 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
215 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
216
471101a1
L
217 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
218 with __addr.
219 (insw): Likewise.
220 (insl): Likewise.
221 (outsb): Likewise.
222 (outsw): Likewise.
223 (outsl): Likewise.
224
6451c862
L
225 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
226 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
227 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
228
a254b8c9
L
229 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
230 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
231 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
232 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
233 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
234 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
235
b8dfdd92
L
236 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
237 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
238
578cd270
L
239 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
240 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
241
de662f5f
L
242 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
243 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
244 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
245
25653439
L
246 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
247 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
248 to ...
249 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
250
6bad24a0
L
251 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
252 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
253 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
254
42bbb1c3
L
255 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
256 for x86-64.
257 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
258
2d10d547
JM
2592012-05-31 Joseph Myers <joseph@codesourcery.com>
260
261 * math/math.h (M_El): Use two more decimal places.
262 (M_LOG2El): Likewise.
263 (M_LOG10El): Likewise.
264 (M_LN2l): Likewise.
265 (M_LN10l): Likewise.
266 (M_PIl): Likewise.
267 (M_PI_2l): Likewise.
268 (M_PI_4l): Likewise.
269 (M_1_PIl): Likewise.
270 (M_2_PIl): Likewise.
271 (M_2_SQRTPIl): Likewise.
272 (M_SQRT2l): Likewise.
273 (M_SQRT1_2l): Likewise.
274
f230c29b
DM
2752012-05-31 David S. Miller <davem@davemloft.net>
276
277 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
278 values between float registers.
279 * sysdeps/sparc/sparc64/memset.S: Likewise.
280 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
281
fed806c3
MF
2822012-05-31 Mike Frysinger <vapier@gentoo.org>
283
284 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
285 -D_FORTIFY_SOURCE=1.
286 (CPPFLAGS-tst-longjmp_chk.c): Define.
287 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
288 (CPPFLAGS-tst-longjmp_chk2.c): Define.
289 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
290 CFLAGS-tst-wchar-h.c.
291
30917259
MP
2922012-05-31 Marek Polacek <polacek@redhat.com>
293
294 [BZ #14132]
295 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
296 __endmntent_internal): Remove declaration.
297 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
298 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
299 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
300
1c58d5dc
DM
3012012-05-30 David S. Miller <davem@davemloft.net>
302
303 * sysdeps/sparc/sparc32/soft-fp/q_util.c
304 (___Q_simulate_exceptions): Use real FP ops rather than writing
305 into the %fsr.
306 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
307 Likewise.
308
7dc00e0d
L
3092012-05-30 H.J. Lu <hongjiu.lu@intel.com>
310
311 [BZ #14117]
0bd53985
L
312 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
313 * sysdeps/x86/bits/xtitypes.h: This.
314
3a257e66
L
315 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
316 * sysdeps/x86/bits/wordsize.h: This.
317
62f62904
L
318 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
319 * sysdeps/x86/bits/huge_vall.h: This.
320
404fe9d9
L
321 * sysdeps/i386/bits/select.h: Removed.
322 * sysdeps/x86_64/bits/select.h: Renamed to ...
323 * sysdeps/x86/bits/select.h: This.
324
d48d0446
L
325 * sysdeps/i386/bits/setjmp.h: Removed.
326 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
327 * sysdeps/x86/bits/setjmp.h: This.
328
7dc00e0d
L
329 * sysdeps/i386/bits/mathdef.h: Removed.
330 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
331 * sysdeps/x86/bits/mathdef.h: This.
332
03277f8f
AS
3332012-05-30 Andreas Schwab <schwab@linux-m68k.org>
334
335 [BZ #14132]
336 * include/sys/socket.h (__connect_internal)
337 (__libc_sa_len_internal): Remove declaration.
338 (__connect, __libc_sa_len): Declare hidden_proto.
339 (SA_LEN): Remove use of INTUSE.
340 * socket/connect.c: Add libc_hidden_def.
341 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
342 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
343 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
344 alias.
345 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
346 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
347 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
348 of adding _internal alias.
349
13764867
L
3502012-05-30 H.J. Lu <hongjiu.lu@intel.com>
351
352 [BZ #14117]
6bd97696
L
353 * sysdeps/i386/bits/link.h: Removed.
354 * sysdeps/i386/bits/linkmap.h: Likewise.
355 * sysdeps/x86_64/bits/link.h: Renamed to ...
356 * sysdeps/x86/bits/link.h: This.
357 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
358 * sysdeps/x86/bits/linkmap.h: This.
359
f726f0bb
L
360 * sysdeps/i386/bits/endian.h: Removed.
361 * sysdeps/x86_64/bits/endian.h: Renamed to ...
362 * sysdeps/x86/bits/endian.h: This.
363
13764867
L
364 * sysdeps/i386/bits/byteswap.h: Removed.
365 * sysdeps/i386/bits/byteswap-16.h: Likewise.
366 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
367 * sysdeps/x86/bits/byteswap.h: This.
368 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
369 * sysdeps/x86/bits/byteswap-16.h: This.
370 * sysdeps/i386/Implies: Add x86.
371 * sysdeps/x86_64/Implies: Likewise.
372
ae251b0b
DM
3732012-05-30 David S. Miller <davem@davemloft.net>
374
375 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
376 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
377 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
378 (FP_TRAPPING_EXCEPTIONS): Define.
379 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
380 (FP_TRAPPING_EXCEPTIONS): Define.
381 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
382 subnormals only when inexact has been signalled or underflow
383 exceptions are enabled.
384 (_FP_PACK_CANONICAL): Likewise.
385
d5c90867
L
3862012-05-30 H.J. Lu <hongjiu.lu@intel.com>
387
388 [BZ #14183]
389 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
390 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
391
63f1549e
RH
3922012-05-30 Richard Henderson <rth@twiddle.net>
393
8d8f2279
RH
394 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
395 with #ifndef NOT_IN_libc.
396
63f1549e
RH
397 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
398 marked to avoid plt entry.
399
0ab0291b
L
4002012-05-30 H.J. Lu <hongjiu.lu@intel.com>
401
402 [BZ #14112]
403 * Makeconfig (default-abi): New macro.
404 (abi-includes): Likewise.
405 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
406 $(abi-$(default-abi)-lib-soname) for soname if defined.
407 ($(common-objpfx)gnu/lib-names.stmp): Generate from
408 abi-variants.
409 * Makefile (installed-stubs): Likewise.
410 * include/stubs-biarch.h: Removed.
411 * scripts/lib-names.awk: Only handle one library at a time.
412 * scripts/soversions.awk: Remove WORDSIZE support.
413 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
414 entries.
415 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
416 Removed.
417 (syscall-list-default-condition): Likewise.
418 (syscall-list-default-condition): Likewise.
419 (syscall-list-includes): Likewise.
420 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
421 syscall-list-* with abi-*. Handle undefined abi-variants.
422 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
423 * sysdeps/unix/sysv/linux/i386/Implies: New file.
424 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
425 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
426 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
427 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
428 Removed.
429 (syscall-list-32-options): Likewise.
430 (syscall-list-32-condition): Likewise.
431 (syscall-list-64-options): Likewise.
432 (syscall-list-64-condition): Likewise.
433 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
434 macro.
435 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
436 Renamed to ...
437 (abi-*): This.
438 (abi-64-ld-soname): New macro.
439 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
440 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
441 Renamed to ...
442 (abi-*): This.
443 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
444 * sysdeps/x86_64/x32/shlib-versions: Likewise.
445
4da0431d
JM
4462012-05-30 Joseph Myers <joseph@codesourcery.com>
447
3a85279c
JM
448 * sysdeps/unix/sysv/linux/kernel-features.h
449 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
450 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
451 include <kernel-features.h>.
452 [!__NR_ftruncate64]: Remove conditional code.
453 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
454 [__NR_ftruncate64]: Make code unconditional.
455 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
456 * sysdeps/unix/sysv/linux/truncate64.c: Do not
457 include <kernel-features.h>.
458 [!__NR_ftruncate64]: Remove conditional code.
459 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
460 [__NR_ftruncate64]: Make code unconditional.
461 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
462 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
463 include <kernel-features.h>.
464 [!__NR_ftruncate64]: Remove conditional code.
465 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
466 [__NR_ftruncate64]: Make code unconditional.
467 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
468 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
469 include <kernel-features.h>.
470 [!__NR_ftruncate64]: Remove conditional code.
471 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
472 [__NR_ftruncate64]: Make code unconditional.
473 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
474
4da0431d
JM
475 * configure.in (libc_cv_fpie): Weaken to a compile test using
476 LIBC_TRY_CC_OPTION.
477 * configure: Regenerated.
478
11ef492c
AK
4792012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
480
481 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
482 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
483 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
484 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
485 Refreshed.
486 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
487 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
488 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
489 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
490 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
491 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
492 Refreshed.
493
d66ef399
DM
4942012-05-27 David S. Miller <davem@davemloft.net>
495
496 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
497 (___Q_zero): New.
498 (__Q_simulate_exceptions): Return void. Change to simulate
499 exceptions by writing into the %fsr.
500 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
501 (__Qp_handle_exceptions): Likewise.
502 (numbers): Delete.
503 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
504 __Qp_handle_exceptions.
505 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
506 __Qp_handle_exceptions.
507 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
508 as unused and give dummy FP_RND_NEAREST initializer.
509 (FP_INHIBIT_RESULTS): Define.
510 (___Q_simulate_exceptions): Update declaration.
511 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
512 formatting.
513 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
514 as unused and give dummy FP_RND_NEAREST initializer.
515 (__Qp_handle_exceptions): Update declaration.
516 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
517 formatting.
518
04fb54b5
TS
5192012-05-27 Thomas Schwinge <thomas@codesourcery.com>
520
521 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
522 the temporary FPU control word.
523 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
524 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
525 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
526 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
527 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
528 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
529 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
530 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
531 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
532 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
533 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
534
3f99608f
KK
5352012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
536
537 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
538 fields.
539
65a4de4e
CLT
5402012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
541
542 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
543 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
544 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
545 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
546 Likewise.
547 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
548 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
549 Likewise.
550
15749d40
UD
5512012-05-27 Ulrich Drepper <drepper@gmail.com>
552
553 * po/h.po: Update from translation team.
554
25dbcb27
AS
5552012-05-26 Andreas Schwab <schwab@linux-m68k.org>
556
3d3f8e55
AS
557 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
558
25dbcb27
AS
559 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
560 handling of denormals.
561 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
562 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
563 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
564 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
565 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
566 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
567 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
568 Likewise.
569
7ad47a80 5702012-05-26 Marek Polacek <polacek@redhat.com>
d81dcb35
MP
571
572 [BZ #14152]
573 * math/libm-test.inc (fma_test): Don't always expect underflow
574 exception.
575
9c6ea9fa
SP
5762012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
577
578 [BZ #12416]
579 * elf/tst-execstack.c: Include stackinfo.h.
580 (do_test): Adjust test case to ensure that pthread_getattr_np
581 behaviour remains the same after marking stack executable.
582
a8239222
JM
5832012-05-25 Joseph Myers <joseph@codesourcery.com>
584
585 * sysdeps/unix/sysv/linux/kernel-features.h
586 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
587 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
588 kernel-features.h.
589 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
590 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
591 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
592 kernel-features.h.
593 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
594 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
595
918b5606
L
5962012-05-25 H.J. Lu <hongjiu.lu@intel.com>
597
598 * configure.in: Define the default includes to being none.
599 * configure: Regenerated.
600
3a097cc7
RM
6012012-05-25 Roland McGrath <roland@hack.frob.com>
602
8422c9a5
RM
603 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
604 * sysdeps/x86_64/setjmp.S: Likewise.
605 * sysdeps/i386/bsd-setjmp.S: Likewise.
606 * sysdeps/i386/bsd-_setjmp.S: Likewise.
607 * sysdeps/i386/setjmp.S: Likewise.
608 * sysdeps/i386/__longjmp.S: Likewise.
609 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
610 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
611
3a097cc7
RM
612 * include/stap-probe.h: New file.
613 * configure.in: Handle --enable-systemtap.
614 * configure: Regenerated.
615 * config.h.in (USE_STAP_PROBE): New #undef.
616 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
617 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
618 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
619
21708942
JM
6202012-05-25 Joseph Myers <joseph@codesourcery.com>
621
622 [BZ #13717]
623 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
624 to 2.4.0 where earlier.
625 * sysdeps/unix/sysv/linux/configure: Regenerated.
626 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
627 <kernel-features.h>.
628 [__ASSUME_32BITUIDS]: Make code unconditional.
629 [!__ASSUME_32BITUIDS]: Remove conditional code.
630 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
631 <kernel-features.h>.
632 [__ASSUME_32BITUIDS]: Make code unconditional.
633 [!__ASSUME_32BITUIDS]: Remove conditional code.
634 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
635 [__ASSUME_32BITUIDS]: Make code unconditional.
636 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
637 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
638 <kernel-features.h>.
639 [__ASSUME_32BITUIDS]: Make code unconditional.
640 [!__ASSUME_32BITUIDS]: Remove conditional code.
641 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
642 <kernel-features.h>.
643 [__ASSUME_32BITUIDS]: Make code unconditional.
644 [!__ASSUME_32BITUIDS]: Remove conditional code.
645 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
646 <kernel-features.h>.
647 [__ASSUME_32BITUIDS]: Make code unconditional.
648 [!__ASSUME_32BITUIDS]: Remove conditional code.
649 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
650 <kernel-features.h>.
651 [__ASSUME_32BITUIDS]: Make code unconditional.
652 [!__ASSUME_32BITUIDS]: Remove conditional code.
653 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
654 <kernel-features.h>.
655 [__ASSUME_32BITUIDS]: Make code unconditional.
656 [!__ASSUME_32BITUIDS]: Remove conditional code.
657 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
658 <kernel-features.h>.
659 [__ASSUME_32BITUIDS]: Make code unconditional.
660 [!__ASSUME_32BITUIDS]: Remove conditional code.
661 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
662 <kernel-features.h>.
663 [__ASSUME_32BITUIDS]: Make code unconditional.
664 [!__ASSUME_32BITUIDS]: Remove conditional code.
665 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
666 <kernel-features.h>.
667 [__ASSUME_32BITUIDS]: Make code unconditional.
668 [!__ASSUME_32BITUIDS]: Remove conditional code.
669 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
670 <kernel-features.h>.
671 [__ASSUME_32BITUIDS]: Make code unconditional.
672 [!__ASSUME_32BITUIDS]: Remove conditional code.
673 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
674 <kernel-features.h>.
675 [__ASSUME_32BITUIDS]: Make code unconditional.
676 [!__ASSUME_32BITUIDS]: Remove conditional code.
677 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
678 <kernel-features.h>.
679 [__NR_setresgid] (__setresgid): Do not declare.
680 [__ASSUME_32BITUIDS]: Make code unconditional.
681 [!__ASSUME_32BITUIDS]: Remove conditional code.
682 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
683 <kernel-features.h>.
684 [__NR_setresuid] (__setresuid): Do not declare.
685 [__ASSUME_32BITUIDS]: Make code unconditional.
686 [!__ASSUME_32BITUIDS]: Remove conditional code.
687 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
688 <kernel-features.h>.
689 [__ASSUME_32BITUIDS]: Make code unconditional.
690 [!__ASSUME_32BITUIDS]: Remove conditional code.
691 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
692 <kernel-features.h>.
693 [__ASSUME_32BITUIDS]: Make code unconditional.
694 [!__ASSUME_32BITUIDS]: Remove conditional code.
695 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
696 <kernel-features.h>.
697 [__ASSUME_32BITUIDS]: Make code unconditional.
698 [!__ASSUME_32BITUIDS]: Remove conditional code.
699 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
700 <kernel-features.h>.
701 [__ASSUME_32BITUIDS]: Make code unconditional.
702 [!__ASSUME_32BITUIDS]: Remove conditional code.
703 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
704 <kernel-features.h>.
705 [__ASSUME_32BITUIDS]: Make code unconditional.
706 [!__ASSUME_32BITUIDS]: Remove conditional code.
707 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
708 <kernel-features.h>.
709 [__ASSUME_32BITUIDS]: Make code unconditional.
710 [!__ASSUME_32BITUIDS]: Remove conditional code.
711 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
712 <kernel-features.h>.
713 [__ASSUME_32BITUIDS]: Make code unconditional.
714 [!__ASSUME_32BITUIDS]: Remove conditional code.
715 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
716 <kernel-features.h>.
717 [__ASSUME_32BITUIDS]: Make code unconditional.
718 [!__ASSUME_32BITUIDS]: Remove conditional code.
719 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
720 <kernel-features.h>.
721 [__ASSUME_32BITUIDS]: Make code unconditional.
722 [!__ASSUME_32BITUIDS]: Remove conditional code.
723 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
724 <kernel-features.h>.
725 [__ASSUME_32BITUIDS]: Make code unconditional.
726 [!__ASSUME_32BITUIDS]: Remove conditional code.
727 * sysdeps/unix/sysv/linux/kernel-features.h
728 (__ASSUME_SETRESUID_SYSCALL): Remove.
729 (__ASSUME_SETRESGID_SYSCALL): Likewise.
730 (__ASSUME_32BITUIDS): Likewise.
731 (__ASSUME_LDT_WORKS): Likewise.
732 (__ASSUME_O_DIRECTORY): Likewise.
733 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
734 architecture but not kernel version.
735 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
736 (__ASSUME_MMAP2_SYSCALL): Likewise.
737 (__ASSUME_STAT64_SYSCALL): Likewise.
738 (__ASSUME_IPC64): Likewise.
739 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
740 <kernel-features.h>.
741 [__ASSUME_32BITUIDS]: Make code unconditional.
742 [!__ASSUME_32BITUIDS]: Remove conditional code.
743 * sysdeps/unix/sysv/linux/opendir.c: Do not include
744 <kernel-features.h>.
745 [__ASSUME_O_DIRECTORY]: Make code unconditional.
746 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
747 132096]: Remove conditional code.
748 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
749 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
750 <kernel-features.h>.
751 [__ASSUME_32BITUIDS]: Make code unconditional.
752 [!__ASSUME_32BITUIDS]: Remove conditional code.
753 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
754 <kernel-features.h>.
755 [__ASSUME_32BITUIDS]: Make code unconditional.
756 [!__ASSUME_32BITUIDS]: Remove conditional code.
757 * sysdeps/unix/sysv/linux/setegid.c: Do not include
758 <kernel-features.h>.
759 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
760 unconditional.
761 (__setresgid): Do not declare.
762 [__ASSUME_32BITUIDS]: Make code unconditional.
763 [!__ASSUME_32BITUIDS]: Remove conditional code.
764 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
765 <kernel-features.h>.
766 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
767 unconditional.
768 (__setresuid): Do not declare.
769 [__ASSUME_32BITUIDS]: Make code unconditional.
770 [!__ASSUME_32BITUIDS]: Remove conditional code.
771 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
772 <kernel-features.h>.
773 [__ASSUME_32BITUIDS]: Make code unconditional.
774 [!__ASSUME_32BITUIDS]: Remove conditional code.
775 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
776 <kernel-features.h>.
777 [__ASSUME_32BITUIDS]: Make code unconditional.
778 [!__ASSUME_32BITUIDS]: Remove conditional code.
779
a386f1cc
RH
7802012-05-25 Richard Henderson <rth@twiddle.net>
781
782 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
783 dl_hwcap to ifunc resolver.
784 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
785 elf_ifunc_invoke.
786 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
787 dl_hwcap to ifunc resolver.
788 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
789
b6550497
JM
7902012-05-24 Joseph Myers <joseph@codesourcery.com>
791
792 [BZ #14153]
793 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
794 for |x| <= 2**-26, not 2**-57.
795 * math/libm-test.inc (acos_test): Do not allow spurious underflow
796 exception.
797
b0bc23a1
JL
7982012-05-24 Jeff Law <law@redhat.com>
799
800 * stdio-common/Makefile (tests): Add bug25.
801 * stdio-common/bug25.c: New test.
802
347c92e9
L
8032012-05-24 H.J. Lu <hongjiu.lu@intel.com>
804
805 [BZ #13576]
806 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
807 multiple of MALLOC_ALIGNMENT in size.
808 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
809
6bcc8b3f
JM
8102012-05-24 Joseph Myers <joseph@codesourcery.com>
811
812 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
813 Require >= 256.
814 (FILENAME_MAX): Use macro-int-constant.
815 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
816 (_IOFBF): Use macro-int-constant.
817 (_IOLBF): Likewise.
818 (_IONBF): Likewise.
819 (SEEK_CUR): Likewise.
820 (SEEK_END): Likewise.
821 (SEEK_SET): Likewise.
822 (TMP_MAX): Likewise.
823 (EOF): Use macro-int-constant. Require < 0.
824 (NULL): Use macro-constant. Require == 0.
825 (stdin): Require type to be FILE *.
826 (stdout): Likewise.
827 (stderr): Likewise.
828 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
829 macro-int-constant.
830 (EXIT_SUCCESS): Likewise.
831 (NULL): Use macro-constant. Require == 0.
832 (RAND_MAX): Use macro-int-constant.
833 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
834 [C99-based standards] (strtof): Require function.
835 [C99-based standards] (strtold): Likewise.
836 [C99-based standards] (strtoll): Likewise.
837 [C99-based standards] (strtoull): Likewise.
838 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
839 [ISO || ISO99 || ISO11] (limits.h): Likewise.
840 [ISO || ISO99 || ISO11] (math.h): Likewise.
841 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
842 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
843 [ISO || ISO99 || ISO11] (*_t): Do not allow.
844
d18ea0c5
AS
8452012-05-24 Andreas Schwab <schwab@linux-m68k.org>
846
847 [BZ #14132]
56d25bb8
AS
848 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
849 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
850 * intl/dgettext.c (DCGETTEXT): Likewise.
851 * intl/gettext.c (DCGETTEXT): Likewise.
852 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
853 * posix/regex_internal.h (gettext): Likewise.
854 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
855 Remove declaration.
856 * include/argz.h (__argz_count_internal)
857 (__argz_stringify_internal): Remove declaration.
858 (__argz_count, __argz_stringify): Declare hidden proto.
859 * intl/dcgettext.c: Remove use of INTDEF.
860 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
861 * string/argz-stringify.c: Likewise.
862 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
863 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
864 Declare hidden proto.
d18ea0c5
AS
865 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
866 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
867 Declare hidden proto.
868 * include/stdio.h (__asprintf_internal): Don't declare.
869 (__asprintf): Don't define as macro. Declare hidden proto.
870 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
871 (__fsetlocking): Declare hidden proto.
872 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
873 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
874 hidden proto.
875 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
876 (_IO_setlinebuf): Remove use of INTUSE.
877 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
878 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
879 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
880 Remove declaration.
881 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
882 (_IO_do_flush): Remove use of INTUSE.
883 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
884 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
885 (_IO_adjust_column, _IO_least_wmarker)
886 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
887 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
888 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
889 (_IO_default_doallocate, _IO_wdefault_doallocate)
890 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
891 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
892 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
893 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
894 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
895 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
896 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
897 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
898 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
899 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
900 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
901 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
902 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
903 proto.
904 (_IO_flush_all_internal, _IO_adjust_column_internal)
905 (_IO_default_uflow_internal, _IO_default_finish_internal)
906 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
907 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
908 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
909 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
910 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
911 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
912 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
913 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
914 (_IO_file_close_internal, _IO_file_close_it_internal)
915 (_IO_file_underflow_internal, _IO_file_overflow_internal)
916 (_IO_file_init_internal, _IO_file_attach_internal)
917 (_IO_file_fopen_internal, _IO_file_read_internal)
918 (_IO_file_sync_internal, _IO_file_seek_internal)
919 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
920 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
921 (_IO_str_underflow_internal, _IO_str_overflow_internal)
922 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
923 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
924 (_IO_list_all_internal, _IO_link_in_internal)
925 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
926 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
927 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
928 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
929 (_IO_do_write_internal, _IO_padn_internal)
930 (_IO_getline_info_internal, _IO_getline_internal)
931 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
932 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
933 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
934 (_IO_vfscanf_internal, _IO_vfprintf_internal)
935 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
936 (_IO_init_internal, _IO_un_link_internal): Don't declare.
937 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
938 with libc_hidden_ver, remove use of INTUSE.
939 * libio/genops.c: Likewise.
940 * libio/freopen.c: Likewise.
941 * libio/freopen64.c: Likewise.
942 * libio/iofclose.c: Likewise.
943 * libio/iofdopen.c: Likewise.
944 * libio/iofflush.c: Likewise.
945 * libio/iofflush_u.c: Likewise.
946 * libio/iofgets.c: Likewise.
947 * libio/iofgets_u.c: Likewise.
948 * libio/iofopen.c: Likewise.
949 * libio/iofopncook.c: Likewise.
950 * libio/iofread.c: Likewise.
951 * libio/iofread_u.c: Likewise.
952 * libio/ioftell.c: Likewise.
953 * libio/iofwrite.c: Likewise.
954 * libio/iogetline.c: Likewise.
955 * libio/iogets.c: Likewise.
956 * libio/iogetwline.c: Likewise.
957 * libio/iopadn.c: Likewise.
958 * libio/iopopen.c: Likewise.
959 * libio/ioseekoff.c: Likewise.
960 * libio/ioseekpos.c: Likewise.
961 * libio/iosetbuffer.c: Likewise.
962 * libio/iosetvbuf.c: Likewise.
963 * libio/ioungetc.c: Likewise.
964 * libio/ioungetwc.c: Likewise.
965 * libio/iovdprintf.c: Likewise.
966 * libio/iovsprintf.c: Likewise.
967 * libio/iovsscanf.c: Likewise.
968 * libio/memstream.c: Likewise.
969 * libio/obprintf.c: Likewise.
970 * libio/oldfileops.c: Likewise.
971 * libio/oldiofclose.c: Likewise.
972 * libio/oldiofdopen.c: Likewise.
973 * libio/oldiofopen.c: Likewise.
974 * libio/oldiopopen.c: Likewise.
975 * libio/oldstdfiles.c: Likewise.
976 * libio/putc.c: Likewise.
977 * libio/setbuf.c: Likewise.
978 * libio/setlinebuf.c: Likewise.
979 * libio/stdfiles.c: Likewise.
980 * libio/strops.c: Likewise.
981 * libio/vasprintf.c: Likewise.
982 * libio/vscanf.c: Likewise.
983 * libio/vsnprintf.c: Likewise.
984 * libio/vswprintf.c: Likewise.
985 * libio/wfiledoalloc.c: Likewise.
986 * libio/wfileops.c: Likewise.
987 * libio/wgenops.c: Likewise.
988 * libio/wmemstream.c: Likewise.
989 * libio/wstrops.c: Likewise.
990 * libio/__fpurge.c: Likewise.
991 * libio/__fsetlocking.c: Likewise.
992 * assert/assert.c: Likewise.
993 * debug/fgets_chk.c: Likewise.
994 * debug/fgets_u_chk.c: Likewise.
995 * debug/fread_chk.c: Likewise.
996 * debug/fread_u_chk.c: Likewise.
997 * debug/gets_chk.c: Likewise.
998 * debug/obprintf_chk.c: Likewise.
999 * debug/vasprintf_chk.c: Likewise.
1000 * debug/vdprintf_chk.c: Likewise.
1001 * debug/vsnprintf_chk.c: Likewise.
1002 * debug/vsprintf_chk.c: Likewise.
1003 * malloc/mtrace.c: Likewise.
1004 * misc/error.c: Likewise.
1005 * misc/syslog.c: Likewise.
1006 * stdio-common/asprintf.c: Likewise.
1007 * stdio-common/fxprintf.c: Likewise.
1008 * stdio-common/getw.c: Likewise.
1009 * stdio-common/isoc99_fscanf.c: Likewise.
1010 * stdio-common/isoc99_scanf.c: Likewise.
1011 * stdio-common/isoc99_vfscanf.c: Likewise.
1012 * stdio-common/isoc99_vscanf.c: Likewise.
1013 * stdio-common/isoc99_vsscanf.c: Likewise.
1014 * stdio-common/printf-prs.c: Likewise.
1015 * stdio-common/printf_fp.c: Likewise.
1016 * stdio-common/printf_fphex.c: Likewise.
1017 * stdio-common/printf_size.c: Likewise.
1018 * stdio-common/putw.c: Likewise.
1019 * stdio-common/scanf.c: Likewise.
1020 * stdio-common/sprintf.c: Likewise.
1021 * stdio-common/tmpfile.c: Likewise.
1022 * stdio-common/vfprintf.c: Likewise.
1023 * stdio-common/vfscanf.c: Likewise.
1024 * stdlib/strfmon_l.c: Likewise.
1025 * sunrpc/openchild.c: Likewise.
1026 * sunrpc/xdr_stdio.c: Likewise.
1027 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
1028 * sysdeps/mach/hurd/tmpfile.c: Likewise.
1029
d6c33fda
RM
10302012-05-24 Roland McGrath <roland@hack.frob.com>
1031
c1487492
RM
1032 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
1033
1034 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
1035 in the third column, to generate for the shared library an IFUNC
1036 that uses _dl_vdso_vsym.
1037 * Makerules (COMPILE.c, compile-stdin.c): New variables.
1038 * Makeconfig (object-suffixes-noshared): New variable.
1039
1040 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
1041 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
1042 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
1043 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
1044
d6c33fda
RM
1045 [BZ #14132]
1046 * include/sys/time.h (__gettimeofday): Remove macro.
1047 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
1048 * time/gettimeofday.c (__gettimeofday): Remove #undef.
1049 Remove INTDEF.
1050 (__gettimeofday): Add libc_hidden_def.
1051 (gettimeofday): Add libc_hidden_weak.
1052 * sysdeps/mach/gettimeofday.c: Likewise.
1053 * sysdeps/posix/gettimeofday.c: Likewise.
1054 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
1055 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
1056 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
1057 (__gettimeofday_internal): Remove strong_alias.
1058 (__gettimeofday): Add libc_hidden_def.
1059 (gettimeofday): Add libc_hidden_weak.
1060 * sysdeps/unix/syscalls.list (gettimeofday):
1061 Remove __gettimeofday_internal alias.
1062
b5a2bbe6
L
10632012-05-24 Daniel Jacobowitz <drow@false.org>
1064 H.J. Lu <hongjiu.lu@intel.com>
1065
1066 [BZ #12495]
1067 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
1068 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
1069 (largebin_index_32_big): New.
1070 (largebin_index): Use it for 16-byte alignment.
1071 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
1072 correction with front_misalign.
1073
cfba4fda
L
10742012-05-24 H.J. Lu <hongjiu.lu@intel.com>
1075
7f907421
L
1076 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
1077 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
1078 Likewise.
1079 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
1080 Likewise.
1081 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
1082 Likewise.
1083 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
1084 Likewise.
1085 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
1086 Likewise.
1087 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
1088 Likewise.
1089 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
1090 Likewise.
1091 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
1092 Likewise.
1093 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
1094 Likewise.
1095 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
1096 Likewise.
1097 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
1098 Likewise.
1099 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
1100 Likewise.
1101
cfba4fda
L
1102 * scripts/data/c++-types-x32-linux-gnu.data: New file.
1103 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
1104
80bad0cc
JM
11052012-05-24 Joseph Myers <joseph@codesourcery.com>
1106
7a25eb06
JM
1107 [BZ #10846]
1108 [BZ #14036]
1109 * math/libm-test.inc (exp_test): Add test from bug 14036.
1110 (pow_test): Add test from bug 10846.
1111
795405f9
JM
1112 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
1113 and other flags.
1114 (special_function): Do not include flags in test name.
1115 (parse_args): Likewise.
1116 * sysdeps/i386/fpu/libm-test-ulps: Update.
1117 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
1118 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
1119 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
1120 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1121
80bad0cc
JM
1122 * math/gen-libm-test.pl (%beautify): Add entries for underflow
1123 exceptions.
1124 * math/libm-test.inc ("Philosophy"): Update comment about
1125 exception testing.
1126 (UNDERFLOW_EXCEPTION): New macro.
1127 (UNDERFLOW_EXCEPTION_OK): Likewise.
1128 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
1129 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
1130 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
1131 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
1132 (INVALID_EXCEPTION_OK): Update value.
1133 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
1134 (OVERFLOW_EXCEPTION_OK): Likewise.
1135 (IGNORE_ZERO_INF_SIGN): Likewise.
1136 (test_exceptions): Handle underflow exceptions.
1137 (acos_test): Update for underflow exception expectations.
1138 (cexp_test): Likewise.
1139 (clog_test): Likewise.
1140 (clog10_test): Likewise.
1141 (csqrt_test): Likewise.
1142 (ctan_test): Likewise.
1143 (ctanh_test): Likewise.
1144 (exp_test): Likewise.
1145 (exp10_test): Likewise.
1146 (exp2_test): Likewise.
1147 (expm1_test): Likewise.
1148 (fma_test): Likewise.
1149 (j0_test): Likewise.
1150 (jn_test): Likewise.
1151 (nexttoward_test): Likewise.
1152 (pow_test): Likewise.
1153 (scalbn_test): Likewise.
1154 (scalbln_test): Likewise.
1155 (tan_test): Likewise.
1156 (y1_test): Likewise.
1157 * sysdeps/i386/fpu/libm-test-ulps: Update.
1158 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1159
9e0e3d0b
DM
11602012-05-23 David S. Miller <davem@davemloft.net>
1161
1162 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
1163 (__libc_sigaction): Remove unused local variables.
1164
ccd0a08f
L
11652012-05-23 H.J. Lu <hongjiu.lu@intel.com>
1166
1167 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
1168
62bdf9a6
PE
11692012-05-23 Paul Eggert <eggert@cs.ucla.edu>
1170
f8591f80
PE
1171 mktime: avoid signed integer overflow
1172 * time/mktime.c (__mktime_internal): Do not mishandle the case
1173 where diff == INT_MIN.
1174
94c7d826
PE
1175 mktime: simplify computation of average
1176 * time/mktime.c (ranged_convert): Use new time_t_avg function
1177 instead of rolling our own (probably-slower) code.
1178
ce73d683
PE
1179 mktime: do not assume signed right shift propagates sign bit
1180 * time/mktime.c (isdst_differ): New static function.
1181 (__mktime_internal): No need to normalize tm_isdst now.
1182 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
1183 tm_isdst values.
1184
72a22e59
PE
1185 mktime: merge another wrapv change from gnulib
1186 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
1187 from some compilers.
1188
68605433
PE
1189 mktime: remove incorrect attempt at unusual arithmetics
1190 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
1191 The code didn't really work on such machines anyway.
1192 (TYPE_MINIMUM): Assume two's complement.
1193 (twos_complement_arithmetic): Verify that long_int and time_t
1194 are two's complement (or unsigned, in the latter case).
1195
03cf7fe3
PE
1196 mktime: check signed shifts on long_int and time_t, too
1197 * time/mktime.c (SHR): Check that shifts work as desired
1198 on the types long_int and time_t too, as SHR is used on
1199 such types.
1200
f04dfbc2
PE
1201 mktime: do not assume 'long' is wide enough
1202 * time/mktime.c (verify): Move decl up.
1203 (long_int): New type.
1204 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
1205 to remove assumption in the code that 'long' is wide enough to
1206 store year values. This assumption is not true on x32 and on
1207 some non-glibc platforms.
1208
62bdf9a6
PE
1209 mktime: merge wrapv change from gnulib
1210 * time/mktime.c (WRAPV): New macro.
1211 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
1212 (guess_time_tm, __mktime_internal): Do not assume that signed
1213 integer overflow wraps around; modern compilers generate code
1214 where this assumption is no longer valid.
1215
5e292e4f
L
12162012-05-23 H.J. Lu <hongjiu.lu@intel.com>
1217
1218 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
1219 Replace "jmp L(pseudo_end)" with "ret".
1220 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
1221 Likewise.
1222
8caf8c87
AJ
12232012-05-23 Andreas Jaeger <aj@suse.de>
1224
1225 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
1226 * sysdeps/unix/sysv/linux/poll.c: Remove file.
1227
1a09dc56
AJ
12282012-05-23 Andreas Jaeger <aj@suse.de>
1229 Maximilian Attems <max@stro.at>
1230
1231 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
1232 New macros.
1233
1c87aba0
L
12342012-05-23 H.J. Lu <hongjiu.lu@intel.com>
1235
1236 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
1237 code so that pseudo_end is just ret and the stack pointer is
1238 correct also for static library in error case.
1239
40e45bd5
JM
12402012-05-23 Joseph Myers <joseph@codesourcery.com>
1241
c2670533
JM
1242 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
1243 move to syscalls.list.
1244 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
1245 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
1246 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
1247 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
1248
40e45bd5
JM
1249 * manual/install.texi (Running make install): Do not mention Linux
1250 kernel version for which pt_chown is not needed.
1251 (Linux): Do not mention problems with nscd with 2.0 kernels.
1252 * INSTALL: Regenerated.
1253
be08eda5
AJ
12542012-05-23 Andreas Jaeger <aj@suse.de>
1255
1256 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
1257 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
1258 macro.
1259 * sysdeps/unix/sysv/linux/s390/bits/mman.h
1260 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
1261 * sysdeps/unix/sysv/linux/sh/bits/mman.h
1262 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
1263 * sysdeps/unix/sysv/linux/i386/bits/mman.h
1264 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
1265 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
1266 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
1267 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
1268 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
1269 * sysdeps/unix/sysv/linux/bits/in.h
1270 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
1271
a6a056bb
RM
12722012-05-22 Roland McGrath <roland@hack.frob.com>
1273
1274 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
1275 (PREPARE_VERSION): Just use assert instead, it will be elided
1276 under [NDEBUG] anyway.
1277
c9009328
L
12782012-05-22 H.J. Lu <hongjiu.lu@intel.com>
1279
1280 * sysdeps/unix/sysv/linux/Makefile: Include
1281 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
cb191f23 1282 (sysdep_routines): Remove sysctl.
c9009328
L
1283 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
1284 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
1285 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
1286 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
1287 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
1288
73338355
AJ
12892012-05-22 Andreas Jaeger <aj@suse.de>
1290
1291 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
1292 that pseudo_end is just ret and the stack pointer is correct also
1293 for static library in error case.
1294
d44638b0
PP
12952012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
1296
1297 [BZ #14122]
1298 * nss/nsswitch.c (defconfig_entries): New variable.
1299 (__nss_database_lookup): Don't leak defconfig entries.
1300 (nss_parse_service_list): Don't leak on error paths.
1301 (free_database_entries): New function.
1302 (free_defconfig): New function.
1303 (free_mem): Move common code to free_database_entries.
1304
31a39bd8
L
13052012-05-22 H.J. Lu <hongjiu.lu@intel.com>
1306
da0331a8
L
1307 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
1308 Add arch_prctl.
1309 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
1310
31a39bd8
L
1311 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
1312 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
1313 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
1314 New macro.
1315 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
1316 (INTERNAL_SYSCALL_TYPES): Likewise.
1317 (LOAD_ARGS_TYPES_[1-6]): Likewise.
1318 (LOAD_REGS_TYPES_[1-6]): Likewise.
1319 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
1320 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
1321
45470df3
AZ
13222012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1323
1324 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
1325 copysignl for GLIBC_2_0.
1326 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
1327 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
1328 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
1329 logbl for GLIBC_2_0.
1330 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
1331 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
1332
98a61bcb
L
13332012-05-22 H.J. Lu <hongjiu.lu@intel.com>
1334
a4f6e481
L
1335 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
1336 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
1337
f63d5db6
L
1338 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
1339 Use "neg %eax".
1340
98a61bcb
L
1341 * time/mktime.c: Update copyright years.
1342
95770f14
PE
13432012-05-22 Paul Eggert <eggert@cs.ucla.edu>
1344
6226efbd
PE
1345 mktime: merge comment-quoting-style change from gnulib
1346 * time/mktime.c: Quote 'like this' in comments.
1347 The GNU coding standards suggest that we no longer quote `like this',
1348 as "`" and "'" are typically rendered asymmetrically nowadays.
1349 The typical gnulib style is to quote 'like this' when quoting
1350 code, and "like this" when quoting English.
1351
b99e4f78
PE
1352 * time/mktime.c (compile-command): Add "-I.".
1353
643e01e6
PE
1354 mktime: merge mktime-internal.h change from gnulib
1355 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
1356
2554247d
PE
1357 mktime: merge time_r change from gnulib
1358 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
1359
826dd0ab
PE
1360 mktime: merge DEBUG change from gnulib
1361 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
1362 case system <time.h> has a #define.
1363
bd83aabe
PE
1364 mktime: merge <sys/types.h> change from gnulib
1365 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
1366 since <time.t> is now guaranteed to define time_t.
1367
95770f14
PE
1368 mktime: merge HAVE_CONFIG_H change from gnulib
1369 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
1370
5e1a27a9
L
13712012-05-22 H.J. Lu <hongjiu.lu@intel.com>
1372
0e44a77e
L
1373 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
1374 Use "neg %eax".
1375
5e1a27a9
L
1376 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
1377 __rlim_t cast.
1378 (struct rusage): Use anonymous union to pad each field to
1379 __syscall_slong_t.
1380
46259bec
DM
13812012-05-21 David S. Miller <davem@davemloft.net>
1382
1383 * Makefules (o-iterator): Remove .s cases.
1384 (compile-command.s): Delete.
1385 (COMPILE.s): Delete.
1386 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
1387
59f0c22e
JM
13882012-05-21 Joseph Myers <joseph@codesourcery.com>
1389
1390 * configure.in (libc_cv_predef_stack_protector): Only consider
1391 "foobar" and "__stack_chk_fail" lines in libc_undefs.
1392 * configure: Regenerated.
1393
20c07380
L
13942012-05-21 H.J. Lu <hongjiu.lu@intel.com>
1395
bbb3154b
L
1396 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
1397 New macro. Use R*LP on int and pointer.
1398 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
c5b3a2c0
L
1399 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
1400 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
bbb3154b
L
1401 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
1402
20c07380
L
1403 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
1404 [__WORDSIZE_TIME64_COMPAT32] instead of
1405 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
1406 (struct utmp): Likewise.
1407 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
1408 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
1409 Renamed to ...
1410 (__WORDSIZE_TIME64_COMPAT32): This.
1411 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
1412 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
1413 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
1414 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
1415 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
1416 (__WORDSIZE_TIME64_COMPAT32): New macro.
1417
d8d1017e
AJ
14182012-05-21 Andreas Jaeger <aj@suse.de>
1419
1420 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
1421 only if [SHARED]. Add prototype for __wcschr_ia32.
1422
6c7fb145
RM
14232012-05-21 Roland McGrath <roland@hack.frob.com>
1424
1425 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
1426 of %rbp unmolested in the jmp_buf while mangling the low bits.
1427 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
1428 unmolested high bits of %rbp while demangling the low bits.
1429 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
1430
66274218
AJ
14312012-05-21 Andreas Jaeger <aj@suse.de>
1432
07c58f8f
AJ
1433 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
1434 * sunrpc/svc_simple.c: Use it for registerrpc.
1435 * sunrpc/xcrypt.c: Use it for passwd2des.
1436
66274218
AJ
1437 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
1438
61f65140
L
14392012-05-21 H.J. Lu <hongjiu.lu@intel.com>
1440
1441 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
1442 Don't define if [__SYSCALL_WORDSIZE != 32].
1443 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
1444 New macro.
1445
5fefb436
AJ
14462012-05-21 Bruno Haible <bruno@clisp.org>
1447 Andreas Jaeger <aj@suse.de>
1448
1449 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
1450 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
1451 inptr and inend for must_buffer_ch.
1452 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
1453 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
1454 * stdio-common/Makefile (tests): Remove bug15.
1455 (bug15-ENV): Remove macro.
1456 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
1457 anymore.
1458
d8e272ab
AJ
14592012-05-19 Andreas Jaeger <aj@suse.de>
1460 Roland McGrath <roland@hack.frob.com>
1461
1462 * manual/contrib.texi: Completely rewritten. It contains now an
1463 alphabetical list of contributors and their contributions.
1464
4a56a162
RH
14652012-05-21 Richard Henderson <rth@twiddle.net>
1466
1467 * misc/getauxval.c (__getauxval): Use unsigned long int.
1468 * misc/sys/auxv.h: Include <sys/cdefs.h>.
1469 (getauxval): Use unsigned long int.
1470
d024d23c
L
14712012-05-21 H.J. Lu <hongjiu.lu@intel.com>
1472
1473 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
1474
cbc00a03
RM
14752012-05-21 Roland McGrath <roland@hack.frob.com>
1476
1477 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
1478 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
1479 __alignof__ (long double).
1480
478143fa
AZ
14812012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1482
1483 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1484
c7683a6d
RH
14852012-05-20 Richard Henderson <rth@twiddle.net>
1486
1487 * misc/getauxval.c: New file.
1488 * misc/sys/auxv.h: New file.
1489 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
1490 (routines): Add getauxval.
1491 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
1492 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
1493 * elf/dl-sysdep.c (_dl_auxv): Remove.
1494 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
1495 * elf/dl-support.c (_dl_auxv): New variable.
1496 (_dl_aux_init): Initialize it.
1497 * manual/startup.texi (Auxiliary Vector): New node.
1498 * sysdeps/generic/bits/hwcap.h: New file.
1499 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
1500 * sysdeps/powerpc/sysdep.h: ... here. Include it.
1501 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
1502 * sysdeps/sparc/sysdep.h: ... here. Include it.
1503 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
1504 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
cbc00a03
RM
1505 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
1506 Update.
c7683a6d
RH
1507 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
1508 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
1509 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
1510 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
1511 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
1512 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
1513 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
1514 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
1515
a6f1845d
AZ
15162012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1517
1518 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1519
cbcbe830
DM
15202012-05-19 David S. Miller <davem@davemloft.net>
1521
1522 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1523
e0b16cc2
JM
15242012-05-19 Joseph Myers <joseph@codesourcery.com>
1525
1526 [BZ #14123]
1527 * math/s_ccosh.c: Include <float.h>
1528 (__ccosh): Avoid internal overflow calculating sinh and cosh
1529 values before multiplying by sin and cos values.
1530 * math/s_ccoshf.c: Likewise.
1531 * math/s_ccoshl.c: Likewise.
1532 * math/s_csin.c: Likewise.
1533 * math/s_csinf.c: Likewise.
1534 * math/s_csinl.c: Likewise.
1535 * math/s_csinh.c: Likewise.
1536 * math/s_csinhf.c: Likewise.
1537 * math/s_csinhl.c: Likewise.
1538 * math/libm-test.inc (ccos_test): Add more tests.
1539 (ccosh_test): Likewise.
1540 (csin_test): Likewise.
1541 (csinh_test): Likewise.
1542 * sysdeps/i386/fpu/libm-test-ulps: Update.
1543 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1544
6ad13e08
L
15452012-05-19 H.J. Lu <hongjiu.lu@intel.com>
1546
f66f0ce8
L
1547 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
1548 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
1549
6ad13e08
L
1550 * sysdeps/x86_64/x32/_itoa.h: Add comment.
1551
b1d072a7
JM
15522012-05-19 Joseph Myers <joseph@codesourcery.com>
1553
1554 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
1555 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
1556 * sysdeps/powerpc/soft-fp/Versions: Likewise.
1557 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
1558 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
1559 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
1560 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
1561 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
1562 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
1563 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
1564 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
1565 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
1566 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
1567 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
1568 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
1569 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
1570 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
1571 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
1572 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
1573 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
1574 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
1575 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
1576 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
1577 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
1578 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
1579 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
1580 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
1581 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
1582 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
1583 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
1584 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
1585
9eae47cb
AJ
15862012-05-18 Andreas Jaeger <aj@suse.de>
1587
1588 * csu/.gitignore: Delete.
1589
bb07f69f
L
15902012-05-18 H.J. Lu <hongjiu.lu@intel.com>
1591
1592 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
1593 (timex): Use __syscall_slong_t.
1594
e6bdb741
AJ
15952012-05-18 Andreas Jaeger <aj@suse.de>
1596 Carlos O'Donell <carlos_odonell@mentor.com>
1597
1598 * manual/install.texi (Configuring and compiling): Update
1599 description about files modified in the source directory.
d6c33fda 1600 * INSTALL: Regenerated.
e6bdb741 1601
1b74487e
L
16022012-05-18 H.J. Lu <hongjiu.lu@intel.com>
1603
1604 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
1605 value. Use "or" to set return value to -1.
1606 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
1607 negate return value.
1608
a88b64b9
TMQMF
16092012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
1610
1611 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
1612 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
1613 failure if the compiler has Graphite support disabled.
1614 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
1615 Likewise.
1616 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
1617 CFLAGS-memmove.c): Likewise.
1618 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
1619 Likewise.
1620
3707636e
L
16212012-05-18 H.J. Lu <hongjiu.lu@intel.com>
1622
610b8622
L
1623 * sysdeps/x86_64/x32/_itoa.h: New file.
1624
7cd195df
L
1625 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
1626 getdents system call only if kernel and user dirents have the
1627 same d_ino and d_off.
1628
94b07d20
L
1629 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
1630 LLONG_MAX != LONG_MAX.
1631 (_itoa_word): Use _ITOA_WORD_TYPE on value.
1632 (_fitoa_word): Likewise.
1633
18298070
L
1634 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
1635 years.
1636 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
1637 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
1638 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
1639
553c7ea4
L
1640 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
1641 include <bits/wordsize.h>. Check __x86_64__ instead of
1642 __WORDSIZE.
1643 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
1644 if __x86_64__ is defined. Use anonymous union on fpstate.
1645
3707636e
L
1646 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
1647 anonymous union.
1648
b53ef01a
AS
16492012-05-18 Andreas Schwab <schwab@linux-m68k.org>
1650
37fb1dc0
AS
1651 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
1652 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
1653 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
1654 Refer to _rtld_local_ro instead of _rtld_global_ro.
1655 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
1656 Likewise.
1657 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
1658 Likewise.
1659 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
1660 Likewise.
1661 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
1662 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
1663 of _rtld_global, and rtld_progname instead of _dl_argv[0].
1664
b53ef01a
AS
1665 * sysdeps/powerpc/powerpc32/dl-machine.c
1666 (__elf_machine_runtime_setup) [PROF]: Don't reference
1667 _dl_prof_resolve.
1668
7a185db2
AJ
16692012-05-18 Andreas Jaeger <aj@suse.de>
1670
1671 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
1672 function only available for GCCs before 3.4 since GCC 3.4
1673 introduced a builtin.
1674 (lrint): Likewise.
1675 (llrintf): Likewise.
1676 (llrint): Likewise.
1677 (fmaxf): Likewise.
1678 (fmax): Likewise.
1679 (fminf): Likewise.
1680 (fmin): Likewise.
1681 (rint): Likewise.
1682 (rintf): Likewise.
1683 (nearbyint): Likewise.
1684 (nearbyintf): Likewise.
1685 (ceil): Likewise.
1686 (ceilf): Likewise.
1687 (floor): Likewise.
1688 (floorf): Likewise.
1689
3e5aef87
L
16902012-05-17 H.J. Lu <hongjiu.lu@intel.com>
1691
428bd707
L
1692 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
1693 on both fields and cast pointer to __syscall_ulong_t.
1694
3e5aef87
L
1695 * bits/types.h (__fsword_t): New type.
1696 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
1697 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
1698 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
1699 (__FSWORD_T_TYPE): Likewise.
1700 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
1701 (__FSWORD_T_TYPE): Likewise.
1702 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
1703 (__FSWORD_T_TYPE): Likewise.
1704 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
1705 (__FSWORD_T_TYPE): Likewise.
1706 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
1707 __SWORD_TYPE with __fsword_t.
1708 (statfs64): Likewise.
1709
1ba7c3dc
DM
17102012-05-17 David S. Miller <davem@davemloft.net>
1711
1712 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
1713
59910343
AJ
17142012-05-17 Andreas Jaeger <aj@suse.de>
1715
1716 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
1717 warning.
1718
2e4c1e9e
L
17192012-05-17 H.J. Lu <hongjiu.lu@intel.com>
1720
1721 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
1722
de7f5ce7
AJ
17232012-05-17 Andreas Jaeger <aj@suse.de>
1724
1725 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
1726 when it is used.
1727
286abc3d
CM
17282012-05-17 Chris Metcalf <cmetcalf@tilera.com>
1729
1730 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
1731
477cc68e
L
17322012-05-17 H.J. Lu <hongjiu.lu@intel.com>
1733
1734 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
1735 * sysdeps/x86_64/tst-mallocalign1.c: New file.
1736
1a0994f5
CD
17372012-05-17 Andreas Jaeger <aj@suse.de>
1738 Carlos O'Donell <carlos_odonell@mentor.com>
1739
1740 [BZ #14059]
1741 * sysdeps/x86_64/multiarch/init-arch.h
1742 (bit_YMM_Usable): Rename to...
1743 (bit_AVX_Usable): ... this.
1744 (bit_FMA4_Usable): New macro.
1745 (bit_XMM_state): New macro.
1746 (bit_YMM_state): New macro.
1747 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
1748 [__ASSEMBLER__] (index_AVX_Usable): ... this.
1749 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
1750 (CPUID_OSXSAVE): New macro.
1751 (CPUID_AVX): New macro.
1752 (CPUID_FMA4): New macro.
1753 (index_YMM_Usable): Rename to...
1754 (index_AVX_Usable): ... this.
1755 (HAS_AVX): Use HAS_ARCH_FEATURE.
1756 (HAS_FMA4): Likewise.
1757 (HAS_YMM_USABLE): Remove.
1758 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
1759 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
1760 are present.
1761 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
1762 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
1763 * sysdeps/x86_64/multiarch/Makefile: Likewise.
1764 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
1765 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
1766
0af797de
CM
17672012-05-17 Chris Metcalf <cmetcalf@tilera.com>
1768
1769 * math/libm-test.c: Support platforms without multiple rounding modes.
1770 * math/bug-nextafter.c: Support platforms without FP exceptions.
1771 * math/bug-nexttoward.c: Likewise.
1772 * math/test-fenv.c: Likewise.
1773 * math/test-misc.c: Likewise.
1774 * stdlib/bug-getcontext.c: Likewise.
1775
e39745ff
AJ
17762012-05-17 Andreas Jaeger <aj@suse.de>
1777
1778 * manual/examples/search.c (critter_cmp): Change signature to
1779 avoid warnings.
1780 * manual/string.texi (Collation Functions): Likewise.
1781
48970aba
L
17822012-05-16 H.J. Lu <hongjiu.lu@intel.com>
1783
1784 * bits/types.h: Fold copyright years.
1785 * bits/typesizes.h: Likewise.
1786 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
1787 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
1788 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
1789 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
1790 * time/time.h: Likewise.
1791
bedee953
PP
17922012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
1793
1794 [BZ #208]
1795 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
1796 in instead of returning them. Return void.
1797 (__libc_mallinfo): Accumulate over all arenas.
1798 (__malloc_stats): Adjust for change in int_mallinfo interface.
1799
61653dfb
RM
18002012-05-16 Roland McGrath <roland@hack.frob.com>
1801
30b99d79
RM
1802 [BZ #10375]
1803 * configure.in (NM): Add AC_CHECK_TOOL for it.
1804 (libc_extra_cflags): New substituted variable.
1805 Check for -fstack-protector being used implicitly.
1806 * configure: Regenerated.
1807 * config.make.in (config-extra-cflags): New variable,
1808 gets @libc_extra_cflags@.
1809 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
1810
61653dfb
RM
1811 [BZ #10375]
1812 * configure.in: Check for _FORTIFY_SOURCE being predefined.
1813 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
1814 * configure: Regenerated.
1815 * config.make.in (CPPUNDEFS): New substituted variable.
1816 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
1817 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
1818 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
1819
661768bb
L
18202012-05-16 H.J. Lu <hongjiu.lu@intel.com>
1821
1822 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
1823 (mq_attr): Use __syscall_slong_t.
1824
d4261567
L
18252012-05-16 H.J. Lu <hongjiu.lu@intel.com>
1826
1827 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
1828 Check __x86_64__ instead of __WORDSIZE.
1829 (_STAT_VER_LINUX): Likewise.
1830 (stat): Check __x86_64__ instead of __WORDSIZE. Use
1831 __syscall_ulong_t and __syscall_slong_t.
1832 (stat64): Likewise.
1833
cf3ff365
L
18342012-05-16 H.J. Lu <hongjiu.lu@intel.com>
1835
1836 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
1837
76cf3e4d
L
18382012-05-16 H.J. Lu <hongjiu.lu@intel.com>
1839
1840 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
1841
a637753a
L
18422012-05-16 H.J. Lu <hongjiu.lu@intel.com>
1843
1844 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
1845 __syscall_ulong_t.
1846
d5e05119
L
1847 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
1848 include <bits/wordsize.h>. Check __x86_64__ instead of
1849 __WORDSIZE.
1850 (greg_t): Use "__extension__ long long int" if __x86_64__ is
1851 defined.
1852 (mcontext_t): Replace "unsigned long" with "unsigned long long".
1853
f62ee380
L
1854 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
1855 include <bits/wordsize.h>. Check __x86_64__ instead of
1856 __WORDSIZE.
1857 (user_regs_struct): Use "__extension__ unsigned long long"
1858 instead of "unsigned long" if __x86_64__ is defined.
1859 (user): Likewise. Pad after pointer field if __ILP32__ is
1860 defined.
1861
4e124ced
JM
18622012-05-16 Joseph Myers <joseph@codesourcery.com>
1863
6a3951a0
JM
1864 * configure.in (makeinfo): Require version 4.5 or later. Allow
1865 versions 5 to 9.
1866 * configure: Regenerated.
1867 * manual/install.texi (texinfo): Increase version requirement to
1868 4.5 or later.
1869 * INSTALL: Regenerated.
1870
4e124ced
JM
1871 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
1872
953ca31a
L
18732012-05-16 H.J. Lu <hongjiu.lu@intel.com>
1874
1875 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
1876
617aca05
L
1877 * sysdeps/x86_64/x32/ffs.c: New file.
1878
5762f7ae
L
1879 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
1880 __syscall_ulong_t.
1881 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
1882 defined. Use __syscall_ulong_t.
1883 (shminfo): Use __syscall_ulong_t.
1884 (shm_info): Likewise.
1885
a26b6856
L
1886 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
1887 __syscall_ulong_t.
1888
cb2b9ef7
L
1889 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
1890 <bits/wordsize.h>.
1891 (msgqnum_t): Use __syscall_ulong_t.
1892 (msglen_t): Likewise.
1893 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
1894 __syscall_ulong_t.
1895
34683bb0
L
1896 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
1897 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
1898
84a68786
L
1899 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
1900
48baa5f1
L
1901 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
1902 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
1903
180be88b
L
1904 * sysvipc/sys/msg.h (msgbuf): Replace long int with
1905 __syscall_slong_t.
1906
5e90c8ad
L
1907 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
1908 include <bits/wordsize.h>. Check __x86_64__ instead of
1909 __WORDSIZE.
1910
23dfb58b
L
1911 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
1912 "unsigned long long int" if __x86_64__ is defined.
1913 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
1914
ce5d54b0
L
1915 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
1916 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
1917 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
1918
13dc9eac
L
1919 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
1920 <stdint.h>.
1921 (GET_PC): Cast to uintptr_t first.
1922 (GET_FRAME): Likewise.
1923 (GET_STACK): Likewise.
1924
a7895d15
L
1925 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
1926 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
1927 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
1928 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
1929 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
1930 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
1931 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
1932 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
1933 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
1934 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
1935 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
1936 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
1937 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
1938 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
1939 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
1940 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
1941 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
1942 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
1943 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
1944 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
1945 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
1946 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
1947 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
1948 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
1949 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
1950 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
1951 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
1952 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
1953 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
1954
656416c9
AS
19552012-05-16 Andreas Schwab <schwab@linux-m68k.org>
1956
5bd66283
AS
1957 * Makerules (+depfiles): Also collect depfiles from .oS in
1958 $(extra-objs).
1959 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
1960 .oS, $(libnldbl-routines)).
1961
656416c9
AS
1962 * Makerules (native-compile-mkdep-flags): Define.
1963 * sunrpc/Makefile (extra-objs): Add $(addprefix
1964 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
1965 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
1966 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
1967 calling $(make-target-directory).
1968
a46f2169
L
19692012-05-15 H.J. Lu <hongjiu.lu@intel.com>
1970
1971 * bits/types.h (__snseconds_t): Removed.
1972 * time/time.h (struct timespec): Replace __snseconds_t with
1973 __syscall_slong_t.
1974 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
1975 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
1976 Likewise.
1977 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
1978 (__SNSECONDS_T_TYPE): Likewise.
1979 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
1980 (__SNSECONDS_T_TYPE): Likewise.
1981 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
1982 (__SNSECONDS_T_TYPE): Likewise.
1983
6af6528b
L
19842012-05-15 H.J. Lu <hongjiu.lu@intel.com>
1985
1986 * sysdeps/mach/hurd/bits/typesizes.h
1987 (__SYSCALL_SLONG_TYPE): New macro.
1988 (__SYSCALL_ULONG_TYPE): Likewise.
1989
de986b56
L
19902012-05-15 H.J. Lu <hongjiu.lu@intel.com>
1991
1992 * bits/types.h (__syscall_slong_t): New type.
1993 (__syscall_ulong_t): Likewise.
1994
1995 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
1996 (__SYSCALL_ULONG_TYPE): Likewise.
1997 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
1998 (__SYSCALL_SLONG_TYPE): Likewise.
1999 (__SYSCALL_ULONG_TYPE): Likewise.
2000 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
2001 (__SYSCALL_SLONG_TYPE): Likewise.
2002 (__SYSCALL_ULONG_TYPE): Likewise.
2003 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
2004 (__SYSCALL_SLONG_TYPE): Likewise.
2005 (__SYSCALL_ULONG_TYPE): Likewise.
2006
85736dc7
L
20072012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2008
2009 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
2010 Add sigaltstack-offsets.sym.
2011 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
2012 <sigaltstack-offsets.h>.
2013 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
2014 longjmp_msg pointer.
2015 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
2016 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
2017 signal stack.
2018 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
2019
cc03b296
JM
20202012-05-15 Joseph Myers <joseph@codesourcery.com>
2021
a9538892
JM
2022 * elf/stackguard-macros.h: Remove file.
2023 * sysdeps/generic/stackguard-macros.h: New file.
2024 * sysdeps/i386/stackguard-macros.h: Likewise.
2025 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
2026 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
2027 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
2028 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
2029 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
2030 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
2031 * sysdeps/x86_64/stackguard-macros.h: Likewise.
2032 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
2033 <elf/stackguard-macros.h>.
2034
cc03b296
JM
2035 [BZ #14109]
2036 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
2037 __aligned__ in attribute.
2038 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
2039 (gregset_t): Likewise.
2040
93171016
L
20412012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2042
2043 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
2044 * sysdeps/x86_64/64/Implies-after: Here. New file.
2045 * sysdeps/x86_64/x32/Implies-after: New file.
2046
d86813a0
L
20472012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2048
2049 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
2050 and access return value for _dl_profile_fixup. Use R10_LP to
2051 load frame size.
2052
2953ec75
L
20532012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2054
2055 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
2056
3b550e9e
L
20572012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2058
2059 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
2060 * sysdeps/x86_64/x32/sysdep.h: New file.
2061
eda41706
L
20622012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2063
2064 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
2065 * sysdeps/x86_64/setjmp.S: Likewise.
2066
9ea01d93
AZ
20672012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2068
2069 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
2070 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
2071 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
2072 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
2073 remove unused global constant.
2074
02a91938
CM
20752012-05-15 Chris Metcalf <cmetcalf@tilera.com>
2076
2077 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
2078 include of <not-cancel.h>.
2079
6540185f
RM
20802012-05-15 Roland McGrath <roland@hack.frob.com>
2081
2082 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
2083
509072a0
AJ
20842012-05-15 Jeff Law <law@redhat.com>
2085 Andreas Jaeger <aj@suse.de>
2086
2087 [BZ #13594]
2088 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
2089 out from...
2090 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
2091 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
2092 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
2093 code changing __hst_map_handle.map.
2094
ba75122d
RM
20952012-05-15 Roland McGrath <roland@hack.frob.com>
2096
2097 * configure.in (sysnames): Look for Implies-before and Implies-after
2098 files.
2099 * configure: Regenerated.
2100
890d8bd8
L
21012012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2102
2103 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
2104 8-byte data alignment with LP_SIZE alignment.
2105
f6ee6623
L
21062012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2107
2108 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
2109 into R10_LP.
2110
ea2626f6
L
21112012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2112
2113 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
2114
085f715e
L
21152012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2116
2117 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
2118 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
2119 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
2120 Likewise.
2121 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
2122
be8498fc
L
21232012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2124
2125 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
2126 (stackinfo_sub_sp): Likewise.
2127
70bc83b9
L
21282012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2129
2130 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
2131 RAX_LP.
2132
9bc0b730
L
21332012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2134
2135 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
2136 into R*_LP.
2137
6d2850e7
L
21382012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2139
2140 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
2141 sizes into R*_LP.
2142
3cb84561
L
21432012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2144
2145 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
2146
54e2ed81
L
21472012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2148
2149 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
2150 into R11_LP and load __x86_64_shared_cache_size_half into
2151 R8_LP.
2152
8a17f349
L
21532012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2154
2155 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
2156 R8_LP.
2157
777b1eea
AZ
21582012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2159
2160 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
2161 logb for POWER7.
2162 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
2163 logbf for POWER7.
2164 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
2165 logbl for POWER7.
2166 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
2167 powerpc32/power7/fpu/s_logb.c via #include.
2168 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
2169 powerpc32/power7/fpu/s_logbf.c via #include.
2170 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
2171 powerpc32/power7/fpu/s_logbl.c via #include.
2172
d20d4ac2
JM
21732012-05-15 Joseph Myers <joseph@codesourcery.com>
2174
2175 * README.libm: Remove file.
2176
6cdef1ab
L
21772012-05-14 H.J. Lu <hongjiu.lu@intel.com>
2178
2179 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
2180 count for x32. Use R*_LP and omit operand-size suffix.
2181
0b254d8f
L
21822012-05-14 H.J. Lu <hongjiu.lu@intel.com>
2183
2184 * shlib-versions: Move x86_64-.*-linux.* entries to ...
2185 * sysdeps/x86_64/64/shlib-versions: Here. New file.
2186 * sysdeps/x86_64/x32/shlib-versions: New file.
2187
ceb809dc
RM
21882012-05-14 Roland McGrath <roland@hack.frob.com>
2189
2190 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
2191 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
2192 Use _dl_fatal_printf instead.
2193
37f1abd4
JM
21942012-05-14 Joseph Myers <joseph@codesourcery.com>
2195
2196 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
2197 set if not set by the user. Do not allow for being unset.
2198 * sysdeps/unix/sysv/linux/configure: Regenerated.
2199
11de3a33
L
22002012-05-14 H.J. Lu <hongjiu.lu@intel.com>
2201
2202 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
2203 the `q' suffix from lea and replace .quad with ASM_ADDR.
2204
e02f153a
L
22052012-05-14 H.J. Lu <hongjiu.lu@intel.com>
2206
2207 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
2208 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
2209 instead of $17.
2210 (PTR_DEMANGLE): Likewise.
2211
520ae0fd
L
22122012-05-14 H.J. Lu <hongjiu.lu@intel.com>
2213
2214 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
2215 (LP_OP): Likewise.
2216 (ASM_ADDR): Likewise.
2217 (RAX_LP): Likewise.
2218 (RBP_LP): Likewise.
2219 (RBX_LP): Likewise.
2220 (RCX_LP): Likewise.
2221 (RDI_LP): Likewise.
2222 (RSI_LP): Likewise.
2223 (RSP_LP): Likewise.
2224 (R8_LP): Likewise.
2225 (R9_LP): Likewise.
2226 (R10_LP): Likewise.
2227 (R10_LP): Likewise.
2228 (R11_LP): Likewise.
2229 (R12_LP): Likewise.
2230 (R13_LP): Likewise.
2231 (R14_LP): Likewise.
2232 (R15_LP): Likewise.
2233
b985be81
L
22342012-05-14 H.J. Lu <hongjiu.lu@intel.com>
2235
2236 * sysdeps/x86_64/x32/dl-machine.h: New file.
2237
6a4888ff
AJ
22382012-05-14 Andreas Jaeger <aj@suse.de>
2239
2240 * manual/Makefile (subdir): Remove export of subdir.
2241 (all): Remove target.
2242 (.PHONY): Remove all from list.
2243 (mkinstalldirs): Remove.
2244 (.PHONY): Remove installdirs from list.
2245 ($(inst_infodir)/libc.info): Use make-target-directory.
2246 (installdirs): Remove.
2247 (subdir_%): Remove.
2248 (glibc-targets): Remove.
2249 (lib): Remove.
2250 (stubs): Remove.
2251 ($(objpfx)stubs ../po/manual.pot): Remove.
2252 ($(objpfx)stamp%): Remove.
2253 (make-target-directory): Remove.
2254 (subdir_install): Remove.
2255 (routines): Remove.
2256 (aux): Remove.
2257 (sources): Remove.
2258 (objects): Remove.
2259 (headers): Remove.
2260
2261 [BZ #13750]
2262 * manual/.gitignore: Remove, it's not needed anymore.
2263 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
2264 all files in it.
2265 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
2266 directory.
2267 (texis): Renamed to $(objpfx)texis.
2268 (texis-path): New, contains path to generated files.
2269 (chapters.%): Use texis-path for complete path, add extra argument
2270 libc-texinfo.sh.
2271 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
2272 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
2273 (summary,texi, stamp-summary): Use complete path of
2274 files. Generate files in build dir.
2275 (dir-add.texi): Build in build dir.
2276 (libm-err.texi,stamp-libm-err): Likewise.
2277 (version.texi, stamp-version): Likewise.
2278 (.%c.texi): Likewise.
2279 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
2280 (mostlyclean): Remove target.
2281 (realclean): Remove target.
2282 (generated): Add new variable with contents from mostlyclean and
2283 realclean, remove entries duplicated in common-mostlyclean, add
2284 stamp-libm-err and stamp-version.
2285 (generated-dirs): Add libc directory.
2286 ($(inst_infodir)/libc.info): Install files from build dir.
2287
2288 * manual/install.texi (Configuring and compiling): Adjust since
2289 the info files are not part of the tar ball anymore.
2290
7ac77294
AJ
22912012-05-14 Andreas Jaeger <aj@suse.de>
2292
2293 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
2294 variable.
2295
ffb7875d
JM
22962012-05-14 Joseph Myers <joseph@codesourcery.com>
2297
2298 [BZ #13717]
2299 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
2300 to 2.2.0 where earlier.
2301 * sysdeps/unix/sysv/linux/configure: Regenerated.
2302 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
2303 Remove conditional code.
2304 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
2305 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
2306 Remove conditional code.
2307 [!__NR_lchown]: Likewise.
2308 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
2309 [__NR_lchown]: Likewise.
2310 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
2311 comment referencing __ASSUME_LCHOWN_SYSCALL.
2312 * sysdeps/unix/sysv/linux/i386/sigaction.c
2313 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
2314 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
2315 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
2316 Remove conditional code.
2317 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
2318 (__protocol_available): Remove #if 0 code.
2319 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
2320 conditional code.
2321 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
2322 * sysdeps/unix/sysv/linux/kernel-features.h
2323 (__ASSUME_GETCWD_SYSCALL): Don't define.
2324 (__ASSUME_REALTIME_SIGNALS): Likewise.
2325 (__ASSUME_PREAD_SYSCALL): Likewise.
2326 (__ASSUME_PWRITE_SYSCALL): Likewise.
2327 (__ASSUME_POLL_SYSCALL): Likewise.
2328 (__ASSUME_LCHOWN_SYSCALL): Likewise.
2329 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
2330 non-SPARC.
2331 (__ASSUME_SIOCGIFNAME): Don't define.
2332 (__ASSUME_MSG_NOSIGNAL): Likewise.
2333 (__ASSUME_SENDFILE): Define unconditionally.
2334 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
2335 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
2336 conditional code.
2337 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
2338 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
2339 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
2340 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
2341 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
2342 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
2343 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
2344 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
2345 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
2346 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
2347 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
2348 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
2349 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
2350 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
2351 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
2352 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
2353 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
2354 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
2355 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
2356 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
2357 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
2358 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
2359 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
2360 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
2361 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
2362 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
2363 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
2364 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
2365 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
2366 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
2367 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
2368 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
2369 Remove conditional code.
2370 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
2371 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
2372 Remove conditional code.
2373 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
2374 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
2375 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
2376 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
2377 Remove conditional code.
2378 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
2379 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
2380 Remove conditional code.
2381 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
2382 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
2383 Remove conditional code.
2384 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
2385 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
2386 Remove conditional code.
2387 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
2388 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
2389 Remove conditional code.
2390 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
2391 * sysdeps/unix/sysv/linux/sh/pwrite64.c
2392 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
2393 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
2394 * sysdeps/unix/sysv/linux/sigaction.c
2395 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
2396 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
2397 * sysdeps/unix/sysv/linux/sigpending.c
2398 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
2399 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
2400 * sysdeps/unix/sysv/linux/sigprocmask.c
2401 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
2402 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
2403 * sysdeps/unix/sysv/linux/sigsuspend.c
2404 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
2405 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
2406 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
2407 (__libc_missing_rt_sigs): Remove.
2408 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
2409 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
2410 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
2411 Remove conditional code.
2412 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
2413 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
2414 return 1.
2415 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
2416 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
2417 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
2418 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
2419
1bfb7291
AJ
24202012-05-14 Andreas Jaeger <aj@suse.de>
2421
caae5a81
AJ
2422 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
2423 it's not used in glibc.
2424 (__coshm1): Likewise.
2425 (__acosh1p): Likewise.
2426 (__sgn): Likewise.
2427
1bfb7291
AJ
2428 * manual/string.texi (Copying and Concatenation): Add missing
2429 variable in concat example.
2430 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
2431
c044d724
L
24322012-05-14 H.J. Lu <hongjiu.lu@intel.com>
2433
144c5467 2434 [BZ #14103]
c044d724
L
2435 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
2436 __builtin_clzl with __builtin_clzll.
2437
2523c62b
L
24382012-05-14 H.J. Lu <hongjiu.lu@intel.com>
2439
2440 [BZ #14104]
2441 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
2442 libc_freeres_ptr.
2443
d7bb4c42
LD
24442012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
2445
2446 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
2447 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
2448 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
2449 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
2450
9dc4e1fb
MF
24512012-05-14 Mike Frysinger <vapier@gentoo.org>
2452
2453 * NEWS: Update ia64 info.
2454
c7df0112
AS
24552012-05-12 Andreas Schwab <schwab@linux-m68k.org>
2456
2457 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
2458 used as bcopy.
2459
dc70356c
TS
24602012-05-12 Thomas Schwinge <thomas@codesourcery.com>
2461
2462 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
2463 * sysdeps/unix/syscalls.list (dup3): Likewise.
2464 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
2465 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
2466
9fb1a21f
L
24672012-05-11 H.J. Lu <hongjiu.lu@intel.com>
2468
2469 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
2470 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
2471
4822a2a5
L
24722012-05-11 H.J. Lu <hongjiu.lu@intel.com>
2473
2474 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
2475 thread pointer.
2476 (TLS_IE): Use mov/add instead of movq/addq to load thread
2477 pointer.
2478 (TLS_GD_PREFIX): New.
2479 (TLS_GD): Use it.
2480
842b81d6
DM
24812012-05-11 David S. Miller <davem@davemloft.net>
2482
2483 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
2484 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
2485 (_FPU_SETCW): Likewise.
2486
1cf463cd
L
24872012-05-10 H.J. Lu <hongjiu.lu@intel.com>
2488
2489 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
2490 is 32-byte aligned.
2491
60cc4a18
AS
24922012-05-11 Andreas Schwab <schwab@linux-m68k.org>
2493
2494 [BZ #11837]
2495 * iconvdata/gb18030.c: Update tables.
2496 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
2497 characters specially.
2498 (BODY for TO_LOOP): Add encoding of missing ranges.
2499
febb44a4
TS
25002012-05-11 Thomas Schwinge <thomas@codesourcery.com>
2501
2502 [BZ #13673]
2503 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
2504 * sysdeps/mach/hurd/dup3.c: Likewise.
2505 * sysdeps/mach/hurd/readlinkat.c: Likewise.
2506 * sysdeps/powerpc/memmove.c:: Likewise.
2507
0a10fb9e
L
25082012-05-10 H.J. Lu <hongjiu.lu@intel.com>
2509
2510 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
2511 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
2512
df8a552f
L
25132012-05-10 H.J. Lu <hongjiu.lu@intel.com>
2514
2515 * elf/elf.h (R_X86_64_RELATIVE64): New.
2516 (R_X86_64_NUM): Updated.
2517 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
2518 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
2519 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
2520 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
2521 tst-quad1pie tst-quad2pie
2522 (modules-names): Add tst-quadmod1 tst-quadmod2.
2523 ($(objpfx)tst-quad1): New dependency.
2524 ($(objpfx)tst-quad2): Likewise.
2525 ($(objpfx)tst-quad1pie): Likewise.
2526 ($(objpfx)tst-quad2pie): Likewise.
2527 * sysdeps/x86_64/tst-quad1.c: New file.
2528 * sysdeps/x86_64/tst-quad1pie.c: New file.
2529 * sysdeps/x86_64/tst-quad2.c: Likewise.
2530 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
2531 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
2532 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
2533 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
2534 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
2535
f34d6f84
ST
25362012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
2537
f42d41d1
ST
2538 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
2539 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
2540 * streams/stropts.h (t_scalar_t): Define type.
2541
3c3571fc
ST
2542 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
2543 (_PATH_PRESERVE): Set to "/var/lib".
2544 (_PATH_RWHODIR): Set to "/var/spool/rwho".
2545
61f06bd3
ST
2546 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
2547 instead of int.
2548
918d4d71
ST
2549 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
2550 if __dir_mkfile succeeded.
2551
f34d6f84
ST
2552 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
2553 checking for _hurd_dtablesize. Unlock it right after having
2554 finished _hurd_dtable allocation.
2555
10589b4a
TS
25562012-05-10 Thomas Schwinge <thomas@schwinge.name>
2557
674cdbc7
TS
2558 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
2559 * sysdeps/mach/hurd/configure: Regenerated.
2560 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
2561 special-casing to...
2562 * sysdeps/gnu/configure.in: ... this new file.
2563 * sysdeps/unix/sysv/linux/configure: Regenerated.
2564 * sysdeps/gnu/configure: New generated file.
2565
8e41b99f
TS
2566 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
2567 for Linux: use nsec instead of usec, as well as:
2568 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
2569 members of type struct timespec.
2570 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
2571 New macros.
2572 (struct stat64): Likewise.
2573 (_STATBUF_ST_NSEC): New macro.
2574 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
2575
10589b4a
TS
2576 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
2577 __strtoul_internal rather than strtoul.
2578
63643c85
PT
25792012-05-10 Pino Toscano <toscano.pino@tiscali.it>
2580
2581 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
2582 and reject them.
2583
3faebe6a
ST
25842012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
2585
2586 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
2587 which preserves existing values.
2588 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
2589
c6474b07
PT
25902012-05-10 Pino Toscano <toscano.pino@tiscali.it>
2591
2592 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
2593 TIMEOUT values. Return EINVAL for NFDS values either negative or
2594 greater than FD_SETSIZE.
2595
1043890b
ST
25962012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
2597
2598 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
2599 allocated, call __vm_protect to finish enabling the existing space, and
2600 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
2601 allocate the remainder.
2602
37ed8b9b
PT
26032012-05-10 Pino Toscano <toscano.pino@tiscali.it>
2604
2605 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
2606 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
2607
db653660
ST
26082012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
2609
37ed8b9b
PT
2610 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
2611 sysdeps/mach/hurd/readlink.c.
b29d4053 2612
db653660
ST
2613 * posix/tst-sysconf.c (posix_options): Only use
2614 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
2615 _POSIX_SYNCHRONIZED_IO when they are defined
2616 * sysdeps/mach/hurd/bits/posix_opt.h:
2617 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
2618 (_XOPEN_REALTIME): Undefine macro.
2619 (_XOPEN_REALTIME_THREADS): Undefine macro.
2620 (_XOPEN_SHM): Undefine macro.
2621 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
2622 macro to -1.
2623 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
2624 macro to -1.
2625 (_POSIX_ASYNC_IO): Undefine macro.
2626 (_POSIX_PRIORITIZED_IO): Undefine macro.
2627 (_POSIX_SPIN_LOCKS): Define macro to -1.
2628
ee16e894
ST
2629 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
2630 SA_NODEFER, SA_RESETHAND.
2631 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
2632 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
2633 F_DUPFD_CLOEXEC.
2634
6103ae3b
TS
26352012-05-10 Thomas Schwinge <thomas@schwinge.name>
2636
2637 * elf/Makefile (pldd-modules): Define unconditionally.
2638
80b4e5f3
TS
26392012-05-10 Thomas Schwinge <thomas@schwinge.name>
2640
2641 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
2642
edadcbd6
ST
26432012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
2644
2645 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
2646 Return ENOENT when name is empty.
2647 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
2648
80694780
TS
26492012-05-10 Thomas Schwinge <thomas@schwinge.name>
2650
1792c087
TS
2651 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
2652
80694780
TS
2653 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
2654
6b645f0d
ST
26552012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
2656
80694780
TS
2657 Fix mlock in all cases except non-readable pages.
2658 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
2659 instead of VM_PROT_ALL as parameter to __vm_wire function.
66cbbebc 2660
6b645f0d
ST
2661 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
2662 (__mkdir): When path is `/', just fail with EEXIST.
2663 * sysdeps/mach/hurd/mkdirat.c: Likewise.
2664
e468f8a3
TS
26652012-05-10 Thomas Schwinge <thomas@schwinge.name>
2666
2667 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
2668 <sys/uio.h> (for writev).
2669 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
2670 and <sys/param.h> (for MIN).
2671
a4186cff
PT
26722012-05-10 Pino Toscano <toscano.pino@tiscali.it>
2673
2674 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
2675 REQUESTED_TIME. Properly set the remaining time and return EINTR
2676 if interrupted.
2677
510bbf14
TS
26782012-05-10 Thomas Schwinge <thomas@schwinge.name>
2679
2680 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
2681 Depend on against $(link-rpcuserlibs).
2682
5d5722e8
ST
26832012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
2684
a4186cff
PT
2685 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
2686 (__libc_stack_end): Do not use attribute_relro.
2687 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
2688 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
5d5722e8 2689 to libthread-provided value.
a4186cff
PT
2690 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
2691 attribute_relro.
5d5722e8 2692
37233df9
TS
26932012-05-10 Thomas Schwinge <thomas@schwinge.name>
2694
be971a2b
TS
2695 [BZ #3748]
2696 * bits/libc-lock.h (__libc_once_get): New macro.
2697 * sysdeps/mach/bits/libc-lock.h: Likewise.
2698 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
2699 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
2700 instead of using implementation details.
2701
37233df9
TS
2702 * libio/fileops.c: Unconditionally include <kernel-features.h>.
2703 * libio/freopen.c: Likewise.
2704 * libio/freopen64.c: Likewise.
2705 * misc/syslog.c: Likewise.
2706 * nscd/connections.c: Likewise.
2707 * nscd/netgroupcache.c: Likewise.
2708 * sysdeps/posix/getcwd.c: Likewise.
2709
38de94a5
RM
27102012-05-10 Roland McGrath <roland@hack.frob.com>
2711
2712 * math/w_ilogbf.c: Add #include <limits.h>.
2713
67530489
ST
27142012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
2715
a4186cff 2716 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
bbc49098
ST
2717 path instead of returning without unlocking.
2718
67530489
ST
2719 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
2720 immediate-write ioctls.
2721 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
2722
5aa3a74a
TS
27232012-05-10 Thomas Schwinge <thomas@schwinge.name>
2724
18bad2ae
TS
2725 * sysdeps/mach/hurd/i386/init-first.c (init): Use
2726 __builtin_frame_address instead of making assumptions about the
2727 location of the return address relative to DATA. Force early load of
2728 the return address.
2729 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
2730 __builtin_frame_address.
2731
5aa3a74a
TS
2732 dup3 for GNU Hurd.
2733 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
2734 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
2735 implement dup3 and do some further code clean-ups.
2736 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
2737 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
2738
ecd0de9a
ST
27392012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
2740
cd9fa985
ST
2741 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
2742
a4186cff
PT
2743 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
2744 HURD_CRITICAL_END around holding _hurd_dtable_lock.
2745 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
2746 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
2747 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
2748 d->port.lock.
802ca5a5 2749
a4186cff
PT
2750 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
2751 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
2752 when handler == SIG_ERR, not when handler != SIG_ERR.
ecd0de9a 2753
bcf55240
TS
27542012-05-10 Thomas Schwinge <thomas@schwinge.name>
2755
6960eb42
TS
2756 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
2757 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
2758 definitions.
2759
eb43375f
TS
2760 accept4 for GNU Hurd.
2761 * include/sys/socket.h (__libc_accept4): New prototype.
2762 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
2763 to implement __libc_accept4.
2764 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
2765 __libc_accept4.
2766 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
2767
bcf55240
TS
2768 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
2769 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
2770 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
2771 signal-defines.sym.
2772
6178c55b
ST
27732012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
2774
a4186cff 2775 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
6178c55b 2776
6f080c2f
TS
27772012-05-10 Thomas Schwinge <thomas@schwinge.name>
2778
2779 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
2780 assertion on O_CLOEXEC flag.
2781 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
2782 * hurd/intern-fd.c: Likewise.
2783 * hurd/port2fd.c: Likewise.
2784
bcfe3a54
ST
27852012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
2786
2787 [BZ #3906]
2788 * bits/in.h (IPV6_PKTINFO): Define new macro.
2789 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
2790
89c9aa49
AZ
27912012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2792
2793 [BZ #13954]
2794 [BZ #13955]
2795 [BZ #13956]
2796 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
2797 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
2798 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
2799 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
2800 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
2801 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
2802 * math/libm-test.inc (logb_test) : Additional logb tests.
2803
021db4be
AJ
28042012-05-09 Andreas Schwab <schwab@linux-m68k.org>
2805 Andreas Jaeger <aj@suse.de>
2806
2807 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
2808 * configure: Regenerated.
2809 * config.h.in (LINK_OBSOLETE_RPC): New macro.
2810 * config.make.in (link-obsolete-rpc): New substituted variable.
2811 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
2812 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
2813 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
2814 (shared-only-routines): Don't set it under [link-obsolete-rpc],
2815 so that libc.a contains the symbols.
2816 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
2817 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
2818 * sunrpc/auth_none.c: Likewise.
2819 * sunrpc/auth_unix.c: Likewise.
2820 * sunrpc/authdes_prot.c: Likewise.
2821 * sunrpc/authuxprot.c: Likewise.
2822 * sunrpc/clnt_gen.c: Likewise.
2823 * sunrpc/clnt_perr.c: Likewise.
2824 * sunrpc/clnt_raw.c: Likewise.
2825 * sunrpc/clnt_simp.c: Likewise.
2826 * sunrpc/clnt_tcp.c: Likewise.
2827 * sunrpc/clnt_udp.c: Likewise.
2828 * sunrpc/clnt_unix.c: Likewise.
2829 * sunrpc/des_crypt.c: Likewise.
2830 * sunrpc/des_soft.c: Likewise.
2831 * sunrpc/get_myaddr.c: Likewise.
2832 * sunrpc/key_call.c: Likewise.
2833 * sunrpc/key_prot.c: Likewise.
2834 * sunrpc/netname.c: Likewise.
2835 * sunrpc/pm_getmaps.c: Likewise.
2836 * sunrpc/pm_getport.c: Likewise.
2837 * sunrpc/pmap_clnt.c: Likewise.
2838 * sunrpc/pmap_prot.c: Likewise.
2839 * sunrpc/pmap_prot2.c: Likewise.
2840 * sunrpc/pmap_rmt.c: Likewise.
2841 * sunrpc/publickey.c: Likewise.
2842 * sunrpc/rpc_cmsg.c: Likewise.
2843 * sunrpc/rpc_common.c: Likewise.
2844 * sunrpc/rpc_dtable.c: Likewise.
2845 * sunrpc/rpc_prot.c: Likewise.
2846 * sunrpc/rpc_thread.c: Likewise.
2847 * sunrpc/rtime.c: Likewise.
2848 * sunrpc/svc.c: Likewise.
2849 * sunrpc/svc_auth.c: Likewise.
2850 * sunrpc/svc_raw.c: Likewise.
2851 * sunrpc/svc_run.c: Likewise.
2852 * sunrpc/svc_tcp.c: Likewise.
2853 * sunrpc/svc_udp.c: Likewise.
2854 * sunrpc/svc_unix.c: Likewise.
2855 * sunrpc/svcauth_des.c: Likewise.
2856 * sunrpc/xcrypt.c: Likewise.
2857 * sunrpc/xdr.c: Likewise.
2858 * sunrpc/xdr_array.c: Likewise.
2859 * sunrpc/xdr_float.c: Likewise.
2860 * sunrpc/xdr_intXX_t.c: Likewise.
2861 * sunrpc/xdr_mem.c: Likewise.
2862 * sunrpc/xdr_rec.c: Likewise.
2863 * sunrpc/xdr_ref.c: Likewise.
2864 * sunrpc/xdr_sizeof.c: Likewise.
2865 * sunrpc/xdr_stdio.c: Likewise.
2866
b5c086a2
RM
28672012-05-10 Roland McGrath <roland@hack.frob.com>
2868
2869 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
2870 change. Update copyright years.
2871
6d74dd09
JM
28722012-05-10 Joseph Myers <joseph@codesourcery.com>
2873
2874 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
2875
28e72501
MK
28762012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
2877 Joseph Myers <joseph@codesourcery.com>
2878 Paul Pluzhnikov <ppluzhnikov@google.com>
2879
2880 [BZ #14012]
2881 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
2882 requiring rpcgen.
2883 [cross-compiling] (extra-libs): Likewise.
2884 [cross-compiling] (extra-libs-others): Likewise.
2885 [cross-compiling] (librpcsvc-routines): Likewise.
2886 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
2887 [cross-compiling] (omit-deps): Likewise.
2888 (sunrpc-CPPFLAGS): New variable.
2889 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
2890 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
2891 (cross-rpcgen-objs): New variable.
2892 (extra-objs): Append $(cross-rpcgen-objs).
2893 ($(cross-rpcgen-objs)): New rule.
2894 ($(objpfx)cross-rpcgen): Likewise.
2895 (rpcgen-cmd): Define to use $(built-program-file). Expand
2896 comment.
2897 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
2898 ($(objpfx)x%.stmp): Likewise.
2899 * sunrpc/proto.h [IS_IN_build] (_): Define.
2900 [IS_IN_build] (_libc_intl_domainname): Likewise.
2901
c8c59454
L
29022012-05-10 H.J. Lu <hongjiu.lu@intel.com>
2903
2904 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
2905 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
2906 and R_X86_64_TPOFF64.
2907
6f27cd16
JM
29082012-05-10 Joseph Myers <joseph@codesourcery.com>
2909
2910 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
2911 sysdeps/unix/sysv/syscalls.list.
2912 (stime): Likewise.
2913 (utime): Likewise.
2914 * sysdeps/unix/sysv/syscalls.list: Remove file.
2915
02467e1c
PE
29162012-05-10 Paul Eggert <eggert@cs.ucla.edu>
2917
2918 [BZ #3440]
2919 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
2920 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
2921 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
2922 (__LC_IDENTIFICATION): Make these macros useful in #if
2923 expressions, as required by C99.
2924
da392631
AS
29252012-05-10 Andreas Schwab <schwab@linux-m68k.org>
2926
2927 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
2928 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
2929 after this.
2930
8115f29b
L
29312012-05-09 H.J. Lu <hongjiu.lu@intel.com>
2932
2933 * stdlib/longlong.h: Updated from GCC.
2934
bdd74070
AJ
29352012-05-09 Andreas Jaeger <aj@suse.de>
2936
edfe0dbe
AJ
2937 * nscd/nscd.c (run_modes): Make named enum, reorder so that
2938 default is first entry.
2939 (run_mode): Set type.
2940 (main): Remove informal message about syslog.
2941 (options): Fix typo.
2942
bcfe3a54
ST
2943 [BZ #14053]
2944 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
bdd74070 2945 to asm.
bcfe3a54
ST
2946 (lrint): Likewise.
2947 (llrintf): Likewise.
2948 (llrint): Likewise.
2949 (rint): Likewise.
2950 (rintf): Likewise.
2951 (nearbyint): Likewise.
2952 (nearbyintf): Likewise.
bdd74070 2953
91d8d69e
AJ
29542012-05-09 Andreas Jaeger <aj@suse.de>
2955 Pedro Alves <palves@redhat.com>
2956
2957 * nscd/nscd.c (run_mode): Use enum.
2958 (main): Cleanup coding style issue.
2959
bb90b80b
AJ
29602012-05-09 Alexandre Oliva <aoliva@redhat.com>
2961 Andreas Jaeger <aj@suse.de>
2962
bcfe3a54
ST
2963 * nscd/nscd.c (go_background): Replaced with...
2964 (run_mode): ... this.
bb90b80b 2965 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
bcfe3a54
ST
2966 (options): Add -F --foreground.
2967 (main): Implement it.
2968 (parse_opt): Parse it.
bb90b80b 2969
1a4b75a1
AJ
29702012-05-09 Andreas Jaeger <aj@suse.de>
2971
2972 [BZ #14083]
2973 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
2974 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
2975 -Wconversion warning.
2976 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
2977 Likewise.
2978
b1cc2472
JM
29792012-05-09 Joseph Myers <joseph@codesourcery.com>
2980
2981 * conform/data/locale.h-data (NULL): Use macro-constant. Require
2982 == 0.
2983 (LC_ALL): Use macro-int-constant.
2984 (LC_COLLATE): Likewise.
2985 (LC_CTYPE): Likewise.
2986 (LC_MESSAGES): Likewise.
2987 (LC_MONETARY): Likewise.
2988 (LC_NUMERIC): Likewise.
2989 (LC_TIME): Likewise.
2990 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
2991 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
2992 [ISO || ISO99 || ISO11] (*_t): Do not allow.
2993 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
2994 Specify type.
2995 [C99-based standards] (float_t): Expect type.
2996 [C99-based standards] (double_t): Expect type.
2997 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
2998 type.
2999 [C99-based standards] (HUGE_VALL): Likewise.
3000 [C99-based standards] (INFINITY): Likewise.
3001 [C99-based standards] (NAN): Likewise.
3002 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
3003 [C99-based standards] (FP_NAN): Likewise.
3004 [C99-based standards] (FP_NORMAL): Likewise.
3005 [C99-based standards] (FP_SUBNORMAL): Likewise.
3006 [C99-based standards] (FP_ZERO): Likewise.
3007 [C99-based standards] (FP_FAST_FMA): Use
3008 optional-macro-int-constant. Specify type. Require == 1.
3009 [C99-based standards] (FP_FAST_FMAF): Likewise.
3010 [C99-based standards] (FP_FAST_FMAL): Likewise.
3011 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
3012 [C99-based standards] (FP_ILOGBNAN): Likewise.
3013 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
3014 Specify type.
3015 [C99-based standards] (MATH_ERREXCEPT): Likewise.
3016 [C99-based standards] (math_errhandling): Specify type.
3017 [ISO99 || ISO11] (signgam): Do not allow.
3018 [non-C99-based standards] (copysignf): Do not allow.
3019 [non-C99-based standards] (exp2f): Likewise.
3020 [non-C99-based standards] (log2f): Likewise.
3021 [non-C99-based standards] (modff): Allow.
3022 [non-C99-based standards] (erff): Do not allow.
3023 [non-C99-based standards] (erfcf): Likewise.
3024 [non-C99-based standards] (gammaf): Likewise.
3025 [non-C99-based standards] (hypotf): Likewise.
3026 [non-C99-based standards] (j0f): Likewise.
3027 [non-C99-based standards] (j1f): Likewise.
3028 [non-C99-based standards] (jnf): Likewise.
3029 [non-C99-based standards] (lgammaf): Likewise.
3030 [non-C99-based standards] (tgammaf): Likewise.
3031 [non-C99-based standards] (y0f): Likewise.
3032 [non-C99-based standards] (y1f): Likewise.
3033 [non-C99-based standards] (ynf): Likewise.
3034 [non-C99-based standards] (isnanf): Likewise.
3035 [non-C99-based standards] (acoshf): Likewise.
3036 [non-C99-based standards] (asinhf): Likewise.
3037 [non-C99-based standards] (atanhf): Likewise.
3038 [non-C99-based standards] (cbrtf): Likewise.
3039 [non-C99-based standards] (expm1f): Likewise.
3040 [non-C99-based standards] (ilogbf): Likewise.
3041 [non-C99-based standards] (log1pf): Likewise.
3042 [non-C99-based standards] (logbf): Likewise.
3043 [non-C99-based standards] (nextafterf): Likewise.
3044 [non-C99-based standards] (remainderf): Likewise.
3045 [non-C99-based standards] (rintf): Likewise.
3046 [non-C99-based standards] (scalbf): Likewise.
3047 [non-C99-based standards] (copysignl): Likewise.
3048 [non-C99-based standards] (exp2l): Likewise.
3049 [non-C99-based standards] (log2l): Likewise.
3050 [non-C99-based standards] (modfl): Allow.
3051 [non-C99-based standards] (erfl): Do not allow.
3052 [non-C99-based standards] (erfcl): Likewise.
3053 [non-C99-based standards] (gammal): Likewise.
3054 [non-C99-based standards] (hypotl): Likewise.
3055 [non-C99-based standards] (j0l): Likewise.
3056 [non-C99-based standards] (j1l): Likewise.
3057 [non-C99-based standards] (jnl): Likewise.
3058 [non-C99-based standards] (lgammal): Likewise.
3059 [non-C99-based standards] (tgammal): Likewise.
3060 [non-C99-based standards] (y0l): Likewise.
3061 [non-C99-based standards] (y1l): Likewise.
3062 [non-C99-based standards] (ynl): Likewise.
3063 [non-C99-based standards] (isnanl): Likewise.
3064 [non-C99-based standards] (acoshl): Likewise.
3065 [non-C99-based standards] (asinhl): Likewise.
3066 [non-C99-based standards] (atanhl): Likewise.
3067 [non-C99-based standards] (cbrtl): Likewise.
3068 [non-C99-based standards] (expm1l): Likewise.
3069 [non-C99-based standards] (ilogbl): Likewise.
3070 [non-C99-based standards] (log1pl): Likewise.
3071 [non-C99-based standards] (logbl): Likewise.
3072 [non-C99-based standards] (nextafterl): Likewise.
3073 [non-C99-based standards] (remainderl): Likewise.
3074 [non-C99-based standards] (rintl): Likewise.
3075 [non-C99-based standards] (scalbl): Likewise.
3076 [ISO || ISO99 || ISO11] (*_t): Do not allow.
3077 [non-C99-based standards] (FP_*): Do not allow.
3078 [C99-based standards] (FP_*): Change to
3079 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
3080 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
3081 allow.
3082 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
3083 (SIG_ERR): Likewise.
3084 [X/Open-based standards] (SIG_HOLD): Likewise.
3085 (SIG_IGN): Likewise.
3086 (SIGABRT): Use macro-int-constant. Specify type. Require
3087 positive value.
3088 (SIGFPE): Likewise.
3089 (SIGILL): Likewise.
3090 (SIGINT): Likewise.
3091 (SIGSEGV): Likewise.
3092 (SIGTER): Likewise.
3093 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
3094 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
3095 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
3096 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
3097 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
3098 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
3099 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
3100 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
3101 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
3102 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
3103 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
3104 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
3105 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
3106 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
3107 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
3108 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
3109 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
3110 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
3111 [X/Open-based standards] (SIGTRAP): Likewise.
3112 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
3113 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
3114 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
3115 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
3116 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
3117 allow.
3118
b9f1922d
IW
31192012-05-08 Ian Wienand <ianw@vmware.com>
3120
3121 [BZ #14080]
3122 * time/tzset.c (__tzset_parse_tz): Update default rules for
3123 daylight time changes in the Energy Policy Act of 2005.
3124
1db86e88
AJ
31252012-05-09 Andreas Jaeger <aj@suse.de>
3126
3127 [BZ #13983]
3128 * elf/ldconfig.c (parse_conf): Change string to make clear that
3129 ldconfig only issued a warning if ld.so.conf does not exist.
3130
dee4a4e3
DM
31312012-05-08 David S. Miller <davem@davemloft.net>
3132
ee0db190
DM
3133 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
3134 movxtod instead of popping the value on the stack.
3135
dee4a4e3
DM
3136 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3137
6a43ec98
CD
31382012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
3139
3140 * config.h.in: Add HAVE_ARM_PCS_VFP.
3141
05c2c961
RMG
31422012-05-08 Roland Mc Grath <roland@hack.frob.com>
3143
bcfe3a54
ST
3144 [BZ #13979]
3145 * include/features.h: Warn if user requests __FORTIFY_SOURCE
3146 checking but the checks are disabled for any reason.
05c2c961 3147
4b30f61a
L
31482012-05-08 H.J. Lu <hongjiu.lu@intel.com>
3149
3150 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
3151 and ELF64_R_TYPE with ELFW(R_TYPE).
3152
eee2bc67
JM
31532012-05-08 Joseph Myers <joseph@codesourcery.com>
3154
7ea5391a
JM
3155 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
3156 (ulimit): Likewise.
3157
eee2bc67
JM
3158 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
3159 (settimeofday): Likewise.
3160
abb66a67
MF
31612012-05-08 Mike Frysinger <vapier@gentoo.org>
3162
3163 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
3164 a struct th_u2 inside the union, and move tu_block/tu_code into
3165 a new th_u3 union of tu_block/tu_code inside of that. Move
3166 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
3167 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
3168 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
3169 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
3170 (th_stuff): Change to th_u1.tu_stuff.
3171 (th_data): Define.
3172 (th_msg): Change to th_u1.th_u2.tu_data.
3173
7f18b530
DM
31742012-05-07 David S. Miller <davem@davemloft.net>
3175
05760585
DM
3176 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3177
7f18b530
DM
3178 [BZ #14074]
3179 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
3180 (SETUP_PIC_REG): Use it.
3181 (SETUP_PIC_REG_LEAF): Use it.
3182
495fd99f
JM
31832012-05-07 Joseph Myers <joseph@codesourcery.com>
3184
3185 [BZ #13885]
3186 [BZ #13923]
3187 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
3188 USE_AS_EXPM1L.
3189 (EXPL_FINITE): Likewise.
3190 (FLDLOG): Likewise.
3191 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
3192 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
3193 e_expl.S.
3194 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
3195 USE_AS_EXPM1L.
3196 (EXPL_FINITE): Likewise.
3197 (FLDLOG): Likewise.
3198 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
3199 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
3200 e_expl.S.
3201 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
3202 test of -max_value argument for long double.
3203 * sysdeps/i386/fpu/libm-test-ulps: Update.
3204 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3205
6693d694
DM
32062012-05-06 David S. Miller <davem@davemloft.net>
3207
3208 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
3209 quad soft-float symbols whose references which are compiler
3210 generated.
3211 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
3212
6c23e11c
JM
32132012-05-06 Joseph Myers <joseph@codesourcery.com>
3214
d8b82cad
JM
3215 [BZ #13884]
3216 [BZ #13914]
3217 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
3218 USE_AS_EXP10L.
3219 (EXPL_FINITE): Likewise.
3220 (FLDLOG): Likewise.
3221 (c0): Likewise.
3222 (c1): Likewise.
3223 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
3224 Adjust comments for base varying.
3225 (__expl_finite): Change alias to EXPL_FINITE.
3226 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
3227 e_expl.S.
3228 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
3229 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
3230 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
3231 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
3232 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
3233 USE_AS_EXP10L.
3234 (EXPL_FINITE): Likewise.
3235 (FLDLOG): Likewise.
3236 (c0): Likewise.
3237 (c1): Likewise.
3238 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
3239 Adjust comments for base varying.
3240 (__expl_finite): Change alias to EXPL_FINITE.
3241 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
3242 tests for bugs.
3243 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3244
6c23e11c
JM
3245 [BZ #14064]
3246 * math/libm-test.inc (check_float_internal): Correct ulp
3247 calculation for subnormal expected results.
3248
29ba805c
AJ
32492012-05-06 Andreas Jaeger <aj@suse.de>
3250
3251 * Makeconfig (+math-flags): New, set to -frounding-math.
3252 (+cflags): Add +math-flags so that all of glibc gets compiled with
3253 it.
3254
3255 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
3256
7b17aeda
JM
32572012-05-05 Joseph Myers <joseph@codesourcery.com>
3258
5779f134
JM
3259 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
3260 Disable one test.
3261
41498f4d
JM
3262 [BZ #13787]
3263 [BZ #13922]
3264 [BZ #14036]
3265 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
3266 (__ieee754_expl): Allow for and saturate large arguments.
3267 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
3268 (u_threshold): Likewise.
3269 (__exp): Call __ieee754_exp before checking for overflow and
3270 underflow.
3271 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
3272 (u_threshold): Likewise.
3273 (__expf): Call __ieee754_expf before checking for overflow and
3274 underflow.
3275 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
3276 (u_threshold): Likewise.
3277 (__expl): Call __ieee754_expl before checking for overflow and
3278 underflow.
3279 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
3280 (__ieee754_expl): Allow for and saturate large arguments.
3281 * math/libm-test.inc (exp_test): Add another test. Do not allow
3282 missing overflow exception on overflow.
3283 (expm1_test): Do not allow missing overflow exception on overflow.
3284
6698b8bf
JM
3285 * sysdeps/i386/fpu/e_expl.c: Move to ...
3286 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
3287 rather than using inline asm.
3288 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
3289 * sysdeps/x86_64/fpu/e_expl.S: Copy from
3290 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
3291
7b17aeda
JM
3292 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
3293 (nice): Likewise.
3294 (poll): Likewise.
3295 (signal): Likewise.
3296 (time): Likewise.
3297 (times): Likewise.
3298
f7c85819
JM
32992012-05-04 Joseph Myers <joseph@codesourcery.com>
3300
3301 * sysdeps/unix/syscalls.list (adjtime): Add entry from
3302 sysdeps/unix/common/syscalls.list.
3303 (fchmod): Likewise.
3304 (fchown): Likewise.
3305 (ftruncate): Likewise.
3306 (getrusage): Likewise.
3307 (gettimeofday): Likewise.
3308 (setpgid): Likewise.
3309 (setregid): Likewise.
3310 (setreuid): Likewise.
3311 (sigaction): Likewise.
3312 (truncate): Likewise.
3313 (vhangup): Likewise.
3314 * sysdeps/unix/common/syscalls.list: Remove file.
3315 * sysdeps/unix/bsd/Implies: Don't include unix/common.
3316 * sysdeps/unix/sysv/linux/Implies: Likewise.
3317
336270d0
L
33182012-05-04 H.J. Lu <hongjiu.lu@intel.com>
3319
3320 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
3321 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
3322 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
3323 Moved to ...
3324 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
3325 Here.
3326 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
3327 to ...
3328 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
3329 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
3330 to ...
3331 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
3332 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
3333 to ...
3334 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
3335 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
3336 to ...
3337 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
3338 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
3339 to ...
3340 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
3341 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
3342 to ...
3343 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
3344 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
3345 to ...
3346 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
3347 Here.
3348 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
3349 to ...
3350 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
3351 Here.
3352 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
3353 to ...
3354 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
3355 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
3356 Moved to ...
3357 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
3358 Here.
3359 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
3360 to ...
3361 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
3362
d128e450
JM
33632012-05-04 Joseph Myers <joseph@codesourcery.com>
3364
fa8ee516
JM
3365 * sysdeps/unix/common/bits/dirent.h: Remove file.
3366 * sysdeps/unix/common/bits/fcntl.h: Likewise.
3367
d128e450
JM
3368 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
3369 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
3370 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
3371 * sysdeps/unix/bsd/isatty.c: Likewise.
3372 * sysdeps/unix/bsd/tcdrain.c: Likewise.
3373 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
3374 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
3375
ff8faaf0 33762012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31dc8730 3377
62881be4 3378 [BZ #13563]
31dc8730
AZ
3379 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
3380 long double comparison inaccuracies.
3381 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
3382 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3383
6fef930c
AS
33842012-05-04 Andreas Schwab <schwab@linux-m68k.org>
3385
3386 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
3387 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
3388
8f203e6c
JM
33892012-05-04 Joseph Myers <joseph@codesourcery.com>
3390
3391 [BZ #14049]
3392 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
3393 nonzero digits before rounding a hex value.
3394 * stdlib/tst-strtod.c (tests): Add another test.
3395
5197d9c2
AK
33962012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3397
3398 * sysdeps/s390/fpu/libm-test-ulps: Update.
3399
f0c1dedf
AJ
34002012-05-03 Andreas Jaeger <aj@suse.de>
3401
3402 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
3403 does not get optimized out.
3404 (malloc_opt_barrier): New.
3405
a65ef2ae 34062012-05-03 Andreas Jaeger <aj@suse.de>
461b8e5a 3407 Roland McGrath <roland@hack.frob.com>
a65ef2ae 3408
2b942cb7 3409 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
a65ef2ae 3410 intermediate file deletion.
2b942cb7 3411 (generated): Add .symlist files.
a65ef2ae 3412
54b71e02
JM
34132012-05-03 Joseph Myers <joseph@codesourcery.com>
3414
3415 [BZ #13775]
3416 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
3417 Redirect under this condition.
3418 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
3419 [__USE_GNU] (__dprintf_chk): Not under this condition.
3420 [__USE_GNU] (__vdprintf_chk): Likewise.
3421 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
3422 under this condition.
3423 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
3424 [__USE_XOPEN2K8] (dprintf): Define under this condition.
3425 [__USE_XOPEN2K8] (vdprintf): Likewise.
3426 [__USE_GNU] (__dprintf_chk): Not under this condition.
3427 [__USE_GNU] (__vdprintf_chk): Likewise.
3428 [__USE_GNU] (dprintf): Likewise.
3429 [__USE_GNU] (vdprintf): Likewise.
3430
d3dfcc41
RM
34312012-05-03 Roland McGrath <roland@hack.frob.com>
3432
3433 * elf/Makefile (common-generated): Set this instead of generated for
3434 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
3435 $(all-built-dso)-derived lists.
3436
7ac30cc5
AJ
34372012-05-03 Andreas Jaeger <aj@suse.de>
3438
0c51e550
AJ
3439 * sysdeps/i386/fpu/libm-test-ulps: Update.
3440
7ac30cc5
AJ
3441 * FAQ: Removed.
3442 * FAQ.in: Likewise.
3443 * scripts/gen-FAQ.pl: Likewise.
3444 * manual/install.texi (Installation): Point to online location of
3445 FAQ.
3446 * Makefile (files-for-dist): Remove FAQ.
3447 (FAQ): Remove.
3448
d4c2917f
AM
34492012-05-02 Allan McRae <allan@archlinux.org>
3450
3451 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
3452 (LDFLAGS-reldepmod5.so): Likewise.
3453 (LDFLAGS-reldep6mod1.so): Likewise.
3454 (LDFLAGS-reldep6mod4.so): Likewise.
3455 (LDFLAGS-reldep8mod3.so): Likewise.
3456 (LDFLAGS-unload4mod1.so): Likewise.
3457 (LDFLAGS-unload4mod2.so): Likewise.
3458 (LDFLAGS-tst-initorder): Likewise.
3459 (LDFLAGS-tst-initordera2.so): Likewise.
3460 (LDFLAGS-tst-initordera3.so): Likewise.
3461 (LDFLAGS-tst-initordera4.so): Likewise.
3462 (LDFLAGS-tst-initorderb2.so): Likewise.
3463 (LDFLAGS-noload): Likewise.
3464 (LDFLAGS-next): Likewise.
3465 (LDFLAGS-order2mod1.so): Likewise.
3466 (LDFLAGS-order2mod2.so): Likewise.
3467 (LDFLAGS-tst-initorder2): Likewise.
3468 (LDFLAGS-tst-initorder2a.so): Likewise.
3469 (LDFLAGS-tst-initorder2b.so): Likewise.
3470 (LDFLAGS-tst-initorder2c.so): Likewise.
3471 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
3472
d77f993f
DM
34732012-05-02 David S. Miller <davem@davemloft.net>
3474
3475 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3476
171a70b4
PP
34772012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
3478
3479 [BZ #14055]
3480 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
3481
0be196ad
AJ
34822012-05-02 Andreas Jaeger <aj@suse.de>
3483
3484 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
3485 since we manipulate rounding mode.
3486 (CPPFLAGS-test-idouble.c): Likewise.
3487 (CPPFLAGS-test-ifloat.c): Likewise.
3488 (CFLAGS-test-ldouble.c): Likewise.
3489 (CFLAGS-test-double.c): Likewise.
3490 (CFLAGS-test-float.c): Likewise.
3491 (CFLAGS-test-misc.c): Likewise.
3492 (CFLAGS-test-test-fenv.c): Likewise.
3493
4f9d04aa
AZ
34942012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3495
2b942cb7
RM
3496 [BZ #2550]
3497 [BZ #2570]
3498 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
3499 comparisons to determine direction to adjust input.
4f9d04aa 3500
82a79e7d
RM
35012012-05-01 Roland McGrath <roland@hack.frob.com>
3502
f5a01ca9
RM
3503 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
3504 output to the target.
3505
90fe4186
RM
3506 * scripts/localplt.awk: New file.
3507 * elf/Makefile ($(objpfx)check-localplt): Target removed.
3508 (check-localplt-CFLAGS): Variable removed.
3509 ($(all-built-dso:=.jmprel)): New static pattern rule.
3510 (generated): Add those targets.
3511 (localplt-built-dso): New variable.
3512 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
3513
3514 * elf/check-localplt.c: File removed.
3515
82397ed6
RM
3516 * scripts/check-execstack.awk: New file.
3517 * elf/Makefile ($(objpfx)check-execstack): Target removed.
3518 (check-execstack-CFLAGS): Variable removed.
3519 ($(objpfx)check-execstack.h): Target removed.
3520 ($(objpfx)execstack-default): New target.
3521 (generated): Add that instead of check-execstack.h.
3522 ($(all-built-dso:=.phdr)): New static pattern rule.
3523 (generated): Add those targets.
3524 * elf/check-execstack.c: File removed.
3525
82a79e7d
RM
3526 * scripts/check-textrel.awk: New file.
3527 * elf/Makefile ($(objpfx)check-textrel): Target removed.
3528 (check-textrel-CFLAGS): Variable removed.
3529 (all-built-dso): Use := to define.o
3530 ($(all-built-dso:=.dyn)): New static pattern rule.
3531 (generated): Add those targets.
3532 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
3533 * config.make.in (READELF): New substituted variable.
3534 * elf/check-textrel.c: File removed.
3535
62fde54f 35362012-05-01 Joseph Myers <joseph@codesourcery.com>
ee74b9cb 3537
615605c9
JM
3538 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
3539 allow.
3540 * conform/data/ctype.h-data [C99-based standards] (isblank):
3541 Expect function.
3542 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
3543 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
3544 [ISO || ISO99 || ISO11] (*_t): Do not allow.
3545 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
3546 Specify type. Require positive value.
3547 (EILSEQ): Likewise.
3548 (ERANGE): Likewise.
3549 [ISO || POSIX] (EILSEQ): Do not expect.
3550 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
3551 Specify type. Require positive value.
3552 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
3553 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
3554 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
3555 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
3556 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
3557 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
3558 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
3559 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
3560 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
3561 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
3562 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
3563 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
3564 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
3565 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
3566 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
3567 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
3568 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
3569 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
3570 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
3571 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
3572 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
3573 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
3574 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
3575 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
3576 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
3577 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
3578 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
3579 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
3580 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
3581 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
3582 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
3583 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
3584 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
3585 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
3586 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
3587 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
3588 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
3589 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
3590 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
3591 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
3592 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
3593 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
3594 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
3595 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
3596 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
3597 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
3598 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
3599 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
3600 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
3601 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
3602 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
3603 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
3604 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
3605 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
3606 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
3607 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
3608 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
3609 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
3610 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
3611 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
3612 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
3613 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
3614 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
3615 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
3616 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
3617 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
3618 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
3619 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
3620 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
3621 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
3622 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
3623 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
3624 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
3625 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
3626 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
3627 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
3628 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
3629 Require >= 2.
3630 (FLT_ROUNDS): Expect as macro, not constant.
3631 (FLT_MANT_DIG): Use macro-int-constant.
3632 (DBL_MANT_DIG): Likewise.
3633 (LDBL_MANT_DIG): Likewise.
3634 (FLT_DIG): Likewise.
3635 (DBL_DIG): Likewise.
3636 (LDBL_DIG): Likewise.
3637 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
3638 (DBL_MIN_EXP): Likewise.
3639 (LDBL_MIN_EXP): Likewise.
3640 (FLT_MAX_EXP): Use macro-int-constant.
3641 (DBL_MAX_EXP): Likewise.
3642 (LDBL_MAX_EXP): Likewise.
3643 (FLT_MAX_10_EXP): Likewise.
3644 (DBL_MAX_10_EXP): Likewise.
3645 (LDBL_MAX_10_EXP): Likewise.
3646 (FLT_MAX): Use macro-constant.
3647 (DBL_MAX): Likewise.
3648 (LDBL_MAX): Likewise.
3649 (FLT_EPSILON): Use macro-constant. Give upper bound.
3650 (DBL_EPSILON): Likewise.
3651 (LDBL_EPSILON): Likewise.
3652 (FLT_MIN): Likewise.
3653 (DBL_MIN): Likewise.
3654 (LDBL_MIN): Likewise.
3655 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
3656 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
3657 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
3658 [ISO11] (FLT_HAS_SUBNORM): Likewise.
3659 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
3660 [ISO11] (DBL_DECIMAL_DIG): Likewise.
3661 [ISO11] (FLT_DECIMAL_DIG): Likewise.
3662 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
3663 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
3664 [ISO11] (FLT_TRUE_MIN): Likewise.
3665 [ISO11] (LDBL_TRUE_MIN): Likewise.
3666 [ISO || ISO99 || ISO11] (*_t): Do not allow.
3667 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
3668 (SCHAR_MIN): Use macro-int-constant. Specify type.
3669 (SCHAR_MAX): Likewise.
3670 (UCHAR_MAX): Likewise.
3671 (CHAR_MIN): Likewise.
3672 (CHAR_MAX): Likewise.
3673 (MB_LEN_MAX): Use macro-int-constant.
3674 (SHRT_MIN): Use macro-int-constant. Specify type.
3675 (SHRT_MAX): Likewise.
3676 (USHRT_MAX): Likewise.
3677 (INT_MAX): Likewise.
3678 (INT_MIN): Use macro-int-constant. Specify type. Make upper
3679 bound negative.
3680 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
3681 bound with "U".
3682 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
3683 bound with "L".
3684 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
3685 bound negative. Suffix upper bound with "L".
3686 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
3687 bound with "UL".
3688 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
3689 Specify type.
3690 [C99-based standards] (LLONG_MAX): Likewise.
3691 [C99-based standards] (ULLONG_MAX): Likewise.
3692 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
3693 == 0.
3694 [ISO11] (max_align_t): Require type.
3695 [ISO || ISO99 || ISO11] (*_t): Do not allow.
3696
c9140a62
JM
3697 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
3698 from $CFLAGS, without defining away __attribute__ calls.
3699 (checknamespace): Use $CFLAGS_namespace.
3700
9af0bf29
JM
3701 * conform/conformtest.pl (@keywords): Only include C99 keywords
3702 for standards based on C99 or C11.
3703
343222a2
JM
3704 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
3705 Disable tests.
3706 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
3707 UNIX98]: Likewise.
3708
661f8cf0
JM
3709 * conform/conformtest.pl: Handle "macro-int-constant" and test for
3710 usability of symbols in #if.
3711
ee74b9cb
JM
3712 * conform/conformtest.pl: If macro or constant types start
3713 "promoted:", expect the symbol to be of the following type
3714 promoted by the integer promotions.
62fde54f 3715
aafc49b3
JM
3716 * conform/conformtest.pl: Parse all "constant" and "macro" lines
3717 in one place. Also handle "macro-constant".
3718
fefdf574
JM
3719 * conform/conformtest.pl: Only accept expected macro values with
3720 "==". Parse all "macro" lines in one place.
3721 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
3722
f2d922fe
JM
3723 * conform/conformtest.pl: Handle braced types on "constant" lines
3724 instead of handling "typed-constant".
3725 * conform/data/signal.h-data: Use "constant" instead of
3726 "typed-constant".
3727
d22956c9
JM
3728 * conform/conformtest.pl: Handle "optional-" at start of lines in
3729 one place rather than duplicating several cases. Handle each
3730 format of "macro" line with initial "optional-".
3731
028e2e38
JM
3732 * conform/conformtest.pl: Only accept expected constant or
3733 optional-constant values with "==". Parse all "constant" lines in
3734 one place. Parse all "optional-constant" lines in one place.
3735 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
3736 * conform/data/fmtmsg.h-data: Likewise.
3737 * conform/data/netinet/in.h-data: Likewise.
3738 * conform/data/tar.h-data: Likewise.
3739 * conform/data/limits.h-data: Use "==" form on "constant" and
3740 "optional-constant" lines.
3741
1b8f2850
JM
3742 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
3743 Use -std=c99 for XOPEN2K.
3744 (@knownproblems): Remove.
3745 (newtoken): Don't check %isknown.
3746
a05a144b
JM
3747 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
3748 Do not expect macro.
3749 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
3750 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
3751 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
3752 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
3753 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
3754 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
3755 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
3756 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
3757 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
3758 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
3759 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
3760 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
3761 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
3762 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
3763 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
3764 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
3765 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
3766 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
3767 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
3768 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
3769 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
3770 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
3771 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
3772 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
3773 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
3774 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
3775 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
3776 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
3777 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
3778 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
3779 [XPG3] (acosh): Likewise.
3780 [XPG3] (asinh): Likewise.
3781 [XPG3] (atanh): Likewise.
3782 [XPG3] (cbrt): Likewise.
3783 [XPG3] (expm1): Likewise.
3784 [XPG3] (ilogb): Likewise.
3785 [XPG3] (log1p): Likewise.
3786 [XPG3] (logb): Likewise.
3787 [XPG3] (nextafter): Likewise.
3788 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
3789 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
3790 [XPG3] (remainder): Likewise.
3791 [XPG3] (rint): Likewise.
3792 [XPG3 || XPG4 || UNIX98] (round): Likewise.
3793 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
3794 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
3795 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
3796 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
3797 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
3798 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
3799 [UNIX98 || XOPEN2K] (scalb): Expect.
3800 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
3801 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
3802 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
3803 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
3804 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
3805 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
3806 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
3807 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
3808 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
3809 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
3810 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
3811 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
3812 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
3813 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
3814 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
3815 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
3816 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
3817 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
3818 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
3819 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
3820 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
3821 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
3822 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
3823 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
3824 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
3825 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
3826 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
3827 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
3828 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
3829 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
3830 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
3831 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
3832 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
3833 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
3834 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
3835 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
3836 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
3837 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
3838 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
3839 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
3840 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
3841 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
3842 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
3843 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
3844 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
3845 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
3846 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
3847 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
3848 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
3849 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
3850 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
3851 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
3852 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
3853 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
3854 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
3855 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
3856 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
3857 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
3858 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
3859 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
3860 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
3861 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
3862 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
3863 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
3864 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
3865 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
3866 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
3867 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
3868 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
3869 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
3870 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
3871 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
3872 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
3873 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
3874 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
3875 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
3876 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
3877 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
3878 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
3879 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
3880 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
3881 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
3882 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
3883 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
3884 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
3885 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
3886 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
3887 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
3888 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
3889 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
3890 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
3891 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
3892 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
3893 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
3894 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
3895 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
3896 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
3897 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
3898 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
3899 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
3900 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
3901 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
3902 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
3903 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
3904 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
3905 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
3906 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
3907 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
3908 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
3909 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
3910 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
3911 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
3912 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
3913 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
3914 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
3915 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
3916 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
3917 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
3918 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
3919 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
3920 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
3921 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
3922 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
3923 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
3924 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
3925 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
3926 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
3927 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
3928 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
3929 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
3930 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
3931 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
3932 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
3933 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
3934 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
3935 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
3936 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
3937
73c5ebe3
JM
3938 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
3939 _XOPEN_SOURCE_EXTENDED for XPG4.
3940
39c33b6c
JM
3941 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
3942
62fde54f
JM
3943 * Makeconfig (localtime): Remove variable.
3944 (inst_localtime-file): Likewise.
3945
0741d64c
AS
39462012-05-01 Andreas Schwab <schwab@linux-m68k.org>
3947
3948 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
3949 Update.
3950 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
3951 Update.
3952 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
3953 Update.
3954 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
3955 Update.
3956 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
3957 Update.
3958 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
3959 Update.
3960 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
3961 Update.
3962 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
3963 Update.
3964 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
3965 Update.
3966
7cb029ee
JM
39672012-05-01 Joseph Myers <joseph@codesourcery.com>
3968
3969 [BZ #2550]
3970 [BZ #2570]
3971 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
3972 comparisons to determine direction to adjust input.
3973 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
3974 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
3975 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
3976 Likewise.
3977 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
3978 Likewise.
3979 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
3980 Likewise.
3981 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
3982 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
3983 Likewise.
3984 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
3985 Likewise.
3986 * math/libm-test.inc (nexttoward_test): Add more tests.
3987
412bd966
AS
39882012-05-01 Andreas Schwab <schwab@linux-m68k.org>
3989
3990 [BZ #14040]
3991 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
3992 in version GLIBC_2.1, not GLIBC_2.0.
3993 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
3994 Likewise.
3995
9568c0c2
JM
39962012-04-30 Joseph Myers <joseph@codesourcery.com>
3997
adfbc8ac
JM
3998 [BZ #13942]
3999 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
4000 (1 - x) * (1 + x).
4001 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
4002 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
4003 * math/libm-test.inc (acos_test): Add more tests.
4004 (asin_test): Likewise.
4005 * sysdeps/i386/fpu/libm-test-ulps: Update.
4006 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4007
5ba3cc69
JM
4008 [BZ #14034]
4009 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
4010 of square root.
4011 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
4012 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
4013 * math/libm-test.inc (acos_test_tonearest): New function.
4014 (acos_test_towardzero): Likewise.
4015 (acos_test_downward): Likewise.
4016 (acos_test_upward): Likewise.
4017 (asin_test_tonearest): Likewise.
4018 (asin_test_towardzero): Likewise.
4019 (asin_test_downward): Likewise.
4020 (asin_test_upward): Likewise.
4021 (main): Call the new functions.
4022 * sysdeps/i386/fpu/libm-test-ulps: Update.
4023 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4024
9568c0c2
JM
4025 [BZ #13884]
4026 [BZ #13924]
4027 * math/e_exp10.c: Include <float.h>.
4028 (__ieee754_exp10): Handle underflow here rather than multiplying
4029 large negative argument by M_LN10.
4030 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
4031 of __ieee754_expf.
4032 * math/e_exp10l.c: Include <float.h>.
4033 (__ieee754_exp10l): Handle underflow here rather than multiplying
4034 large negative argument by M_LN10l.
4035 * math/libm-test.inc (exp10_test): Add another test. Do not allow
4036 spurious overflow exception on underflow.
4037
5ac3ea17
MP
40382012-04-29 Marek Polacek <polacek@redhat.com>
4039
4040 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
4041 (__fortify_function): New macro.
4042 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
4043 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
4044 __extern_always_inline.
4045 * libio/bits/stdio2.h: Likewise.
4046 * libio/bits/stdio.h: Likewise.
4047 * string/string.h: Likewise.
4048 * string/bits/string3.h: Likewise.
4049 * include/stdio.h: Likewise.
4050 * stdlib/bits/stdlib.h: Likewise.
4051 * stdlib/stdlib.h: Likewise.
4052 * rt/bits/mqueue2.h: Likewise.
4053 * rt/mqueue.h: Likewise.
4054 * posix/bits/unistd.h: Likewise.
4055 * posix/unistd.h: Likewise.
4056 * io/bits/poll2.h: Likewise.
4057 * io/bits/fcntl2.h: Likewise.
4058 * io/fcntl.h: Likewise.
4059 * io/sys/poll.h: Likewise.
4060 * misc/bits/syslog.h: Likewise.
4061 * misc/bits/syslog-ldbl.h: Likewise.
4062 * misc/sys/syslog.h: Likewise.
4063 * socket/bits/socket2.h: Likewise.
4064 * socket/sys/socket.h: Likewise.
4065 * debug/tst-chk1.c: Likewise.
4066 * wcsmbs/bits/wchar2.h: Likewise.
4067 * wcsmbs/bits/wchar-ldbl.h: Likewise.
4068 * wcsmbs/wchar.h: Likewise.
4069
ecf0ebfb
AJ
40702012-04-29 Andreas Jaeger <aj@suse.de>
4071
4072 * Makerules (tests): Remove enable-check-abi protection.
4073 (check-abi-warn): Remove.
4074 (check-abi-%): Remove check-abi-warn usage.
4075
4076 * configure.in: Remove check-abi configure option.
4077 * configure: Regenerated.
4078 * config.make.in (enable-check-abi): Remove.
4079
6d5c57fa
AS
40802012-04-28 Andreas Schwab <schwab@linux-m68k.org>
4081
24c5d07e 4082 [BZ #14033]
ded5180a
AS
4083 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
4084 double functions to double *_finite functions.
4085
7e0d315d
AS
4086 [BZ #13941]
4087 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
4088 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
4089 LDBL_MIN_EXP.
4090 * stdio-common/Makefile (tests): Add tst-sprintf3.
4091 * stdio-common/tst-sprintf3.c: New file.
4092
6d5c57fa
AS
4093 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
4094 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
4095
0749ff8b
JM
40962012-04-28 Joseph Myers <joseph@codesourcery.com>
4097
4098 * conform/conformtest.pl: Remove duplicate typed-constant
4099 handling.
4100
8dbd5d7b
DM
41012012-04-28 David S. Miller <davem@davemloft.net>
4102
4103 * Makerules (%.abilist): Add vpath on sysdep_dirs.
4104 (check-abi-%): Remove AWK script prerequisite and explicit
4105 abilist directory.
4106 (check-abi): Rewrite to just diff the symlist with the abilist.
4107 (config-tls, config-abi-config): Delete, no longer used.
4108 (update-abi-%): Remove AWK script and explicit abilist directory.
4109 (update-abi): Rewrite to simply compare and conditionally copy the
4110 symlist and the sysdep abilist file. Remove update-abi-config
4111 checks.
4112 * abilist/ld.abilist: Remove.
4113 * abilist/libBrokenLocale.abilist: Remove.
4114 * abilist/libanl.abilist: Remove.
4115 * abilist/libcrypt.abilist: Remove.
4116 * abilist/libdl.abilist: Remove.
4117 * abilist/librt.abilist: Remove.
4118 * abilist/libthread_db.abilist: Remove.
4119 * abilist/libutil.abilist: Remove.
4120 * scripts/extract-abilist.awk: Remove.
4121 * scripts/merge-abilist.awk: Remove.
4122 * sysdeps/generic/libcidn.abilist: New file.
4123 * sysdeps/generic/libnss_compat.abilist: New file.
4124 * sysdeps/generic/libnss_db.abilist: New file.
4125 * sysdeps/generic/libnss_dns.abilist: New file.
4126 * sysdeps/generic/libnss_files.abilist: New file.
4127 * sysdeps/generic/libnss_hesiod.abilist: New file.
4128 * sysdeps/generic/libnss_nis.abilist: New file.
4129 * sysdeps/generic/libnss_nisplus.abilist: New file.
4130 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
4131 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
4132 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
4133 file.
4134 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
4135 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
4136 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
4137 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
4138 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
4139 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
4140 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
4141 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
4142 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
4143 file.
4144 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
4145 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
4146 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
4147 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
4148 file.
4149 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
4150 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
4151 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
4152 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
4153 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
4154 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
4155 file.
4156 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
4157 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
4158 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
4159 file.
4160 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
4161 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
4162 New file.
4163 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
4164 New file.
4165 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
4166 New file.
4167 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
4168 New file.
4169 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
4170 New file.
4171 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
4172 New file.
4173 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
4174 New file.
4175 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
4176 New file.
4177 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
4178 New file.
4179 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
4180 New file.
4181 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
4182 New file.
4183 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
4184 New file.
4185 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
4186 New file.
4187 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
4188 file.
4189 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
4190 New file.
4191 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
4192 New file.
4193 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
4194 file.
4195 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
4196 New file.
4197 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
4198 New file.
4199 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
4200 file.
4201 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
4202 New file.
4203 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
4204 New file.
4205 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
4206 New file.
4207 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
4208 New file.
4209 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
4210 New file.
4211 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
4212 New file.
4213 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
4214 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
4215 file.
4216 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
4217 New file.
4218 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
4219 file.
4220 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
4221 file.
4222 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
4223 file.
4224 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
4225 file.
4226 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
4227 file.
4228 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
4229 New file.
4230 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
4231 file.
4232 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
4233 file.
4234 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
4235 New file.
4236 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
4237 file.
4238 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
4239 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
4240 file.
4241 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
4242 New file.
4243 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
4244 file.
4245 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
4246 file.
4247 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
4248 file.
4249 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
4250 file.
4251 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
4252 file.
4253 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
4254 New file.
4255 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
4256 file.
4257 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
4258 file.
4259 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
4260 New file.
4261 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
4262 file.
4263 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
4264 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
4265 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
4266 file.
4267 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
4268 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
4269 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
4270 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
4271 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
4272 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
4273 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
4274 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
4275 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
4276 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
4277 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
4278 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
4279 file.
4280 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
4281 New file.
4282 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
4283 file.
4284 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
4285 file.
4286 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
4287 file.
4288 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
4289 file.
4290 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
4291 file.
4292 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
4293 New file.
4294 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
4295 New file.
4296 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
4297 file.
4298 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
4299 New file.
4300 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
4301 file.
4302 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
4303 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
4304 file.
4305 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
4306 New file.
4307 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
4308 file.
4309 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
4310 file.
4311 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
4312 file.
4313 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
4314 file.
4315 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
4316 file.
4317 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
4318 New file.
4319 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
4320 New file.
4321 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
4322 file.
4323 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
4324 New file.
4325 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
4326 file.
4327
41d73a1b
JM
43282012-04-28 Joseph Myers <joseph@codesourcery.com>
4329
4330 * conform/conformtest.pl: Fix typo in handling typed-constant from
4331 allow-header.
4332
28aeeda4
JM
43332012-04-27 Joseph Myers <joseph@codesourcery.com>
4334
adae8f5e
JM
4335 * README: Cut down references to pre-2.6 Linux kernels and
4336 Linuxthreads. Update lists of configurations in libc and ports
4337 and sort alphabetically. Say "or newer" with Linux kernel version
4338 requirements.
4339
28aeeda4
JM
4340 * config.h.in [IS_IN_build]: Allow compiling without optimization.
4341
a462cb63
RA
43422012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
4343
4344 [BZ #887]
4345 * math/libm-test.inc (logb_test_downward): New test to expose
4346 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
4347 rounding mode.
4348
6ad3493e
JM
43492012-04-27 Joseph Myers <joseph@codesourcery.com>
4350
4351 [BZ #14027]
4352 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
4353 to be done.
4354 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
4355 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
4356
2ce4f015
JM
43572012-04-26 Joseph Myers <joseph@codesourcery.com>
4358
5aeb141a
JM
4359 * sysdeps/unix/i386/brk.S: Remove file.
4360 * sysdeps/unix/i386/dl-brk.S: Likewise.
4361 * sysdeps/unix/i386/pipe.S: Likewise.
4362 * sysdeps/unix/i386/sigreturn.S: Likewise.
4363 * sysdeps/unix/i386/syscall.S: Likewise.
4364 * sysdeps/unix/i386/vfork.S: Likewise.
4365 * sysdeps/unix/i386/wait.S: Likewise.
4366
7143acae
JM
4367 * sysdeps/unix/common/tcsendbrk.c: Move to ...
4368 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
4369
2ce4f015
JM
4370 * configure.in (arm*-none*): Do not allow without
4371 --enable-hacker-mode.
4372 (netbsd*): Remove case setting base_os.
4373 (386bsd*): Likewise.
4374 (freebsd*): Likewise.
4375 (bsdi*): Likewise.
4376 (osf*): Likewise.
4377 (sunos*): Likewise.
4378 (ultrix*): Likewise.
4379 (newsos*): Likewise.
4380 (dynix*): Likewise.
4381 (*bsd*): Likewise.
4382 (sysv*): Likewise.
4383 (isc*): Likewise.
4384 (esix*): Likewise.
4385 (sco*): Likewise.
4386 (minix*): Likewise.
4387 (irix4*): Likewise.
4388 (irix6*): Likewise.
4389 (solaris[2-9]*): Likewise.
4390 (none): Likewise.
4391 * configure: Regenerated.
4392
0ac229c8
AZ
43932012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4394
4395 [BZ #11521]
4396 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
4397 overflow or cancellation in calculating denominator.
4398 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
4399 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
4400 down expression to avoid unexpected rounding in newer GCCs.
4401 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
4402
33f244f4
DM
44032012-04-26 David S. Miller <davem@davemloft.net>
4404
4405 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
4406 long-double compat symbols.
4407 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
4408 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
4409 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
4410 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
4411 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
4412 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
4413 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
4414 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
4415 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
4416 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
4417 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
4418 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
4419 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
4420
cfa1f3e8
DM
44212012-04-25 David S. Miller <davem@davemloft.net>
4422
4423 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
4424 HWCAP_* values only after the memory barriers have been defined.
4425 (atomic_full_barrier): Define.
4426 (atomic_read_barrier): Define.
4427 (atomic_write_barrier): Define.
4428
6e236b92
SP
44292012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
4430
4431 * shlib-versions: Add libgcc_s version information.
4432 * sysdeps/generic/libgcc_s.h: Remove.
4433 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
4434 libgcc_s.h.
4435 * sysdeps/gnu/unwind-resume.c: Likewise.
4436 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
4437
aab39a09
DM
44382012-04-25 David S. Miller <davem@davemloft.net>
4439
4440 * sysdeps/unix/sparc/brk.S: Delete.
4441 * sysdeps/unix/sparc/dl-brk.S: Delete.
4442 * sysdeps/unix/sparc/pipe.S: Delete.
4443 * sysdeps/unix/sparc/sysdep.S: Delete.
4444 * sysdeps/unix/sparc/sysdep.h: Delete.
4445 * sysdeps/unix/sparc/vfork.S: Delete.
4446 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
4447 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
4448 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
4449 ret_ERRVAL, r0, r1, MOVE): Define.
4450 (JUMPTARGET): Remove.
4451 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
4452 sysdeps/unix/sparc/sysdep.h
4453 (ENTRY, END): Remove.
4454 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
4455
a3cc4f48
JM
44562012-04-25 Joseph Myers <joseph@codesourcery.com>
4457
2ed8cda2
JM
4458 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
4459 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
4460 -DIS_IN_build.
4461
35d76d59
JM
4462 * timezone/README: Update upstream location and email address for
4463 tzcode and tzdata.
4464 * timezone/zdump.c: Update from tzcode 2012b.
4465 * timezone/zic.c: Likewise.
4466
a3cc4f48
JM
4467 * configure.in (libc_cv_as_needed): Remove test.
4468 * configure: Regenerated.
4469 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
4470 conditional definition.
4471 [$(have-as-needed) != yes] (no-as-needed): Likewise.
4472 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
4473 * config.make.in (have-as-needed): Remove variable.
4474
ceab42c3
SP
44752012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
4476 Paul Pluzhnikov <ppluzhnikov@google.com>
4477
4478 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
4479 strings correctly.
4480
3ce2865f
CLT
44812012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
4482
4483 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
4484 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
4485 * sysdeps/sh/strlen.S: Likewise.
4486
f37e0d68
JM
44872012-04-24 Joseph Myers <joseph@codesourcery.com>
4488
ae186e9a
JM
4489 * sysdeps/unix/fork.S: Remove file.
4490 * sysdeps/unix/i386/fork.S: Likewise.
4491 * sysdeps/unix/sparc/fork.S: Likewise.
4492
b96914af
JM
4493 * sysdeps/unix/system.c: Remove file.
4494 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
4495
f37e0d68
JM
4496 * sysdeps/unix/getegid.S: Remove file.
4497 * sysdeps/unix/geteuid.S: Likewise.
4498
87ef29ca
RM
44992012-04-24 Roland McGrath <roland@hack.frob.com>
4500
83bcd236
RM
4501 * scripts/check-localplt.awk: New file.
4502 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
4503 of diff.
4504 * scripts/data/localplt-generic.data: Add a comment.
4505
87ef29ca
RM
4506 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
4507 NODE when __dir_mkfile failed.
4508 * sysdeps/mach/hurd/symlinkat.c: Likewise.
4509 Reported by Ludovic Courtès <ludo@gnu.org>.
4510
e5a6e567
AJ
45112012-04-24 Andreas Jaeger <aj@suse.de>
4512
4513 * Makerules (common-clean): Also remove gen-as-const-headers
4514 files.
4515
c1820385
JM
45162012-04-24 Joseph Myers <joseph@codesourcery.com>
4517
4518 * Makerules (native-compile): Do not change working directory for
4519 build. Use $(OUTPUT_OPTION) in command.
4520 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
4521
94e02fc4
AZ
45222012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4523
4524 [BZ #13886]
4525 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
4526 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
4527 * math/libm-test.inc (floor_test): Add more tests.
4528 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
4529
3a533ca3
JM
45302012-04-24 Joseph Myers <joseph@codesourcery.com>
4531
940ab4b3
JM
4532 * sysdeps/unix/getdents.c: Remove file.
4533 * sysdeps/unix/sysv/getdents.c: Likewise.
4534 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
4535
90e037bd
JM
4536 * sysdeps/unix/syscalls.list (madvise): Add syscall from
4537 sysdeps/unix/mman/syscalls.list.
4538 (mmap): Likewise.
4539 (mprotect): Likewise.
4540 (msync): Likewise.
4541 (munmap): Likewise.
4542 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
4543 * sysdeps/unix/mman/syscalls.list: Remove.
4544 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
4545
3a533ca3
JM
4546 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
4547 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
4548 * configure: Regenerated.
4549 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
4550 $(libgcc_s_suffix).
4551 * config.make.in (libgcc_s_suffix): Remove variable.
4552
1ad743de
JM
45532012-04-23 Joseph Myers <joseph@codesourcery.com>
4554
4ad451e2
JM
4555 * sysdeps/unix/sysv/gethostname.c: Move to ...
4556 * sysdeps/posix/gethostname.c: ... here.
4557
5e37ce39
JM
4558 * sysdeps/unix/execve.S: Remove file.
4559
1ad743de
JM
4560 * sysdeps/unix/_exit.S: Remove file.
4561
4e681b5b
AJ
45622012-04-23 Andreas Jaeger <aj@suse.de>
4563
4564 [BZ #13739]
4565 * manual/Makefile: Remove make dist support, there's no
4566 need for a stand-alone documentation tar ball.
4567 (TEXI2DVI): Define always, it's not in Makeconfig.
4568 (dist): Removed.
4569 (tar-it): Removed.
4570 (edition): Removed.
4571 (glibc-doc-$(edition).tar): Removed
4572 (%.Z): Removed.
4573 (%.gz): Removed.
4574 (%.uu): Removed.
4575 (ETAGS): Remove, it's in Makeconfig.
4576 (move-if-change): Remove, it's in Makeconfig.
4577
c0baea34
PE
45782013-04-23 Paul Eggert <eggert@cs.ucla.edu>
4579
4580 [BZ #13970]
4581 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
4582 (strtod, strtof, strtold, strtol, strtoul, strtoq)
4583 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
4584 (strtod_l, strtof_l, strtold_l): Remove __wur.
4585 It is not necessarily an error to ignore strtol's return value.
4586 One can reliably look at the stored endptr to decide whether
4587 the number had valid syntax.
4588
7c0616fa
AJ
45892012-04-21 Andreas Jaeger <aj@suse.de>
4590
803cb6b7 4591 [BZ #13739]
7c0616fa
AJ
4592 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
4593
b0fe253f
JM
45942012-04-21 Joseph Myers <joseph@codesourcery.com>
4595
4596 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
4597 * sysdeps/unix/sysv/Versions: Remove file.
4598
8280f22d
MT
45992012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
4600
4601 [BZ #13927]
4602 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4603
75ce411f 46042012-04-21 Nick Alcock <nick.alcock@oracle.com>
b8e33728
N
4605
4606 [BZ #7064]
4607 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
4608 version from __vm86.
4609
097d59fa
JM
46102012-04-20 Joseph Myers <joseph@codesourcery.com>
4611
a90f3bcb
JM
4612 * sysdeps/unix/common/lxstat.c: Remove file.
4613 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
4614
edc7ea78
JM
4615 * sysdeps/unix/sysv/Makefile: Remove file.
4616
cb78c221
JM
4617 * sysdeps/unix/sysv/direct.h: Remove file.
4618
efa6a45f
JM
4619 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
4620 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
4621 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
4622 * sysdeps/unix/sysv/bits/signum.h: Likewise.
4623 * sysdeps/unix/sysv/bits/stat.h: Likewise.
4624 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
4625 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
4626
9c9f2d0c
JM
4627 * sysdeps/unix/sysv/setrlimit.c: Remove file.
4628
4541c83b
JM
4629 * sysdeps/unix/xmknod.c: Remove file.
4630 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
4631
f5d153a0
JM
4632 * sysdeps/unix/sysv/settimeofday.c: Remove file.
4633
aa746595
JM
4634 * sysdeps/unix/sysv/i386/time.S: Remove file.
4635
cce5905e
JM
4636 * sysdeps/unix/fxstat.c: Remove file.
4637 * sysdeps/unix/xstat.c: Likewise.
4638 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
4639
37fa3841
JM
4640 * sysdeps/unix/sysv/sigaction.c: Remove file.
4641
ff1962a3
JM
4642 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
4643 (sysdep_headers): Remove variable.
4644 [termio.h not in sysdep_headers] (generated): Likewise.
4645 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
4646 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
4647 * sysdeps/unix/sysv/tcdrain.c: Likewise.
4648 * sysdeps/unix/sysv/tcflow.c: Likewise.
4649 * sysdeps/unix/sysv/tcflush.c: Likewise.
4650 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
4651 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
4652 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
4653 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
4654 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
4655
e7740d31
JM
4656 * sysdeps/unix/siglist.c: Remove file.
4657
ee06f18b
JM
4658 * sysdeps/unix/getppid.S: Remove file.
4659
097d59fa
JM
4660 * sysdeps/unix/mkdir.c: Remove file.
4661 * sysdeps/unix/rmdir.c: Likewise.
4662
ff3d51ec
AS
46632012-04-19 Andreas Schwab <schwab@linux-m68k.org>
4664
4665 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
4666 ERR_MAX value.
4667 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
4668 errlist-compat value.
4669
50f81fd7
DM
46702012-04-18 David S. Miller <davem@davemloft.net>
4671
4672 * sysdeps/generic/memcopy.h (reg_char): Delete.
4673 * debug/strcat_chk.c: Use char, not reg_char.
4674 * debug/strcpy_chk.c: Likewise.
4675 * debug/strncat_chk.c: Likewise.
4676 * debug/strncpy_chk.c: Likewise.
4677 * string/memchr.c: Likewise.
4678 * string/memrchr.c: Likewise.
4679 * string/rawmemchr.c: Likewise.
4680 * string/strcat.c: Likewise.
4681 * string/strchr.c: Likewise.
4682 * string/strchrnul.c: Likewise.
4683 * string/strcmp.c: Likewise.
4684 * string/strcpy.c: Likewise.
4685 * string/strncat.c: Likewise.
4686 * string/strncmp.c: Likewise.
4687 * string/strncpy.c: Likewise.
4688
8ff41c46
WS
46892012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
4690
4691 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
4692 __builtin_memcopy is called when src and dest ranges are known to not
4693 overlap.
4694
6b652f46
WS
46952012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
4696
4697 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
4698 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
4699 fwd_align_merge macro call.
4700 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
4701 bwd_align_merge macro call.
4702 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
4703
b282631e
WS
47042012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
4705
4706 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
4707 bwd_align_merge macros.
4708 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
4709 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
4710 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
4711
95aa737c
DM
47122012-04-18 David S. Miller <davem@davemloft.net>
4713
4714 * sysdeps/sparc/sparc64/memcopy.h: Delete.
4715
7a99a614
AJ
47162012-04-18 Andreas Jaeger <aj@suse.de>
4717
4718 [BZ# 6794]
4719 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
4720 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
4721 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
4722
4723 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
4724 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
4725 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
4726
4727 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
4728 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
4729 Adjust for changed ldbl-128 files.
4730
4731 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
4732 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
4733 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
4734
e5270c23
DM
47352012-04-17 David S. Miller <davem@davemloft.net>
4736
4737 * sysdeps/sparc/sparc32/memcopy.h: Delete.
4738
fb5e92c9
AS
47392012-04-17 Andreas Schwab <schwab@linux-m68k.org>
4740
4741 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
4742 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
4743 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
4744 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
4745 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
4746 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
4747
76da7265
AZ
47482012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4749
4750 [BZ #6794]
4751 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
4752 * math/libm-test.inc: Add ilogb errno and exception tests.
4753 * math/w_ilogb.c: New file: ilogb wrapper.
4754 * math/w_ilogbf.c: New file: ilogbf wrapper.
4755 * math/w_ilogbl.c: New file: ilogbl wrapper.
4756 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
4757 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
4758 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
4759 exception being thrown with 0.0 as argument.
4760 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
4761 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
4762 exception being thrown with 0.0 as argument.
4763 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
4764 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
4765 exception being thrown with 0.0 as argument.
4766 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
4767 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
4768 exception being thrown with 0.0 as argument.
4769 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
4770 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
7a99a614 4771 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
76da7265
AZ
4772 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
4773 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
4774 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
4775 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
4776 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
4777 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
4778
0396e69d
PB
47792012-04-17 Petr Baudis <pasky@ucw.cz>
4780
4781 * include/sys/uio.h: Change __vector to __iovec to avoid clash
4782 with altivec.
4783
750b5926
MP
47842012-04-16 Marek Polacek <polacek@redhat.com>
4785
4786 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
4787
751728a1
MP
47882012-04-16 Marek Polacek <polacek@redhat.com>
4789
4790 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
4791 operands of fdivp instruction.
4792
34a27407
L
47932012-04-13 H.J. Lu <hongjiu.lu@intel.com>
4794
4795 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
4796 * elf/tst-auditmod3b.c: Likewise.
4797 * elf/tst-auditmod4b.c: Likewise.
4798 * elf/tst-auditmod5b.c: Likewise.
4799 * elf/tst-auditmod6b.c: Likewise.
4800 * elf/tst-auditmod6c.c: Likewise.
4801 * elf/tst-auditmod7b.c: Likewise.
4802 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
4803 * sysdeps/x86_64/preconfigure.in: Likewise.
4804 * sysdeps/x86_64/preconfigure: Regenerated.
4805
7e73e17d
L
48062012-04-13 H.J. Lu <hongjiu.lu@intel.com>
4807
4808 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
4809 __ILP32__.
4810
c7a6ab72
AB
48112012-04-13 Antoine Balestrat <merkil33@gmail.com>
4812
4813 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
4814 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
4815
a9e8e0e0
CL
48162012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
4817
4818 [BZ #13973]
4819 * locale/iso-639.def: Fix gl language name. Spotted by
4820 Yaron Shahrabani.
4821
ec98af7d
RM
48222012-04-12 Roland McGrath <roland@hack.frob.com>
4823
4824 [BZ #2074]
4825 * libio/libio.h (__io_write_fn): Update comment.
4826
247c3ede
PB
48272012-04-12 Petr Baudis <pasky@ucw.cz>
4828
4829 [BZ #2074]
4830 * stdio.texi (Hook Functions): The user provided writer function
4831 is not allowed to return -1.
4832
55939d6d
DM
48332012-04-11 David S. Miller <davem@davemloft.net>
4834
4835 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4836
90020f5a
MF
48372012-04-11 Mike Frysinger <vapier@gentoo.org>
4838
4839 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
4840 Add a leading slash to rtkaio.
4841
288f9098
JM
48422012-04-11 Jim Meyering <meyering@redhat.com>
4843
90020f5a
MF
4844 [BZ #11959]
4845 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
4846 It is not necessarily an error to ignore fwrite's return
4847 value. One can reliably use ferror to test for errors after
4848 the fact.
288f9098 4849
4be2b570
L
48502012-04-10 H.J. Lu <hongjiu.lu@intel.com>
4851
4852 * bits/types.h (__snseconds_t): New type.
4853 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
4854
4855 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
4856 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
4857 (__SNSECONDS_T_TYPE): Likewise.
4858 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
4859 (__SNSECONDS_T_TYPE): Likewise.
4860 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
4861 (__SNSECONDS_T_TYPE): Likewise.
4862
288f9098 48632012-04-10 Andreas Jaeger <aj@suse.de>
4cfd8026
AJ
4864
4865 [BZ #2636]
4866 * manual/time.texi (Processor Time): Return type of times is
4867 elapsed real time since an arbitrary point in the past.
4868 (CPU Time): Move CLK_TCK from here...
4869 (Processor Time): ...to here. Correct description.
4870 * manual/conf.texi (Constants for Sysconf): Correct description of
4871 _SC_CLK_TCK.
4872
d7dd4413
DM
48732012-04-10 David S. Miller <davem@davemloft.net>
4874
4875 [BZ #13967]
4876 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
4877 where the is a gap between DT_REL(A) and DT_JMPREL.
4878
b46068fc
L
48792012-04-10 H.J. Lu <hongjiu.lu@intel.com>
4880
4881 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
4882 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
4883 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
4884
73d65cc3
SP
48852012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
4886
4887 * elf/dl-support.c (_dl_inhibit_cache): New variable.
4888 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
4889 (dl_main): Handle --inhibit-cache.
4890 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
4891 _dl_inhibit_cache.
4892 * elf/dl-load.c (_dl_map_object): Use it.
4893 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
4894
bcc8d661
JM
48952012-04-09 Joseph Myers <joseph@codesourcery.com>
4896
8f9a2fae
JM
4897 [BZ #13872]
4898 * sysdeps/i386/fpu/e_powl.S (p78): New object.
4899 (__ieee754_powl): Saturate large exponents rather than testing for
4900 overflow of y*log2(x).
4901 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
4902 * math/libm-test.inc (pow_test): Do not permit spurious overflow
4903 exceptions.
4904
bcc8d661
JM
4905 [BZ #11521]
4906 * math/s_ctan.c: Include <float.h>.
4907 (__ctan): Avoid internal overflow or cancellation in calculating
4908 denominator.
4909 * math/s_ctanf.c: Likewise.
4910 * math/s_ctanl.c: Likewise.
4911 * math/s_ctanh.c: Likewise.
4912 * math/s_ctanhf.c: Likewise.
4913 * math/s_ctanhl.c: Likewise.
4914 * math/libm-test.inc (ctan_test): Add more tests.
4915 (ctanh_test): Likewise.
4916 * sysdeps/i386/fpu/libm-test-ulps: Update.
4917 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4918
823fbbb4
AJ
49192012-04-09 Andreas Jaeger <aj@suse.de>
4920
03879793
AJ
4921 [BZ #6894]
4922 * manual/filesys.texi (Directory Entries): Mention that d_namlen
4923 is an optional BSD extension.
4924
823fbbb4
AJ
4925 [BZ #10254]
4926 * manual/stdio.texi (Opening Streams): Document additional fopen
4927 parameters.
4928
8de131cb
RM
49292012-04-09 Roland McGrath <roland@hack.frob.com>
4930
4931 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
4932 %eax without telling the compiler.
4933
c0ed9d7d
CD
49342012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
4935
4936 [BZ # 13963]
4937 * manual/install.texi: Use sourceware.org.
4938
c483f6b4
JM
49392012-04-09 Joseph Myers <joseph@codesourcery.com>
4940
d7dd9453
JM
4941 [BZ #13873]
4942 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
4943 (__ieee754_pow): Generate overflow and underflow using huge*huge
4944 and tiny*tiny rather than just returning constant infinity or zero
4945 for large exponents.
4946 * math/libm-test.inc (pow_test): Require overflow exceptions for
4947 applicable cases of large exponents.
4948
c483f6b4
JM
4949 [BZ #706]
4950 * sysdeps/i386/fpu/e_pow.S (p10): New object.
4951 (__ieee754_pow): Use iterative multiplication algorithm only for
4952 integer exponents with absolute value below 1024. Check for odd
4953 integer exponents when using algorithm for real exponents.
4954 * math/libm-test.inc (pow_test): Add more tests.
4955 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4956
d2de7579
JM
49572012-04-08 Joseph Myers <joseph@codesourcery.com>
4958
4959 [BZ #13705]
4960 * math/libm-test.inc (exp_test): Do not allow overflow exception
4961 on underflow test.
4962
f77f1232
AJ
49632012-04-08 Aurelien Jarno <aurelien@aurel32.net>
4964
4965 [BZ #13705]
4966 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
4967 instead of __kernel_standard_f.
4968
3884932b
MF
49692012-04-08 Mike Frysinger <vapier@gentoo.org>
4970
4971 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
4972 * sysdeps/x86_64/memset_chk.S: Likewise.
4973
54472e9c
AJ
49742012-04-08 Andreas Jaeger <aj@suse.de>
4975
6ab0fbfc
AJ
4976 [BZ #10153]
4977 * manual/startup.texi (Environment Access): Describe return value
4978 for putenv and setenv.
4979
61efba8c
AJ
4980 [BZ #6895]
4981 * manual/filesys.texi (Directory Entries): Add description for
4982 DT_LNK.
4983
95c3f29a
AJ
4984 [BZ #6890]
4985 * manual/filesys.texi (Directory Entries): Clarify that it's file
4986 system not operating system in the description of DT_UNKNOWN.
4987
54472e9c
AJ
4988 [BZ #6578]
4989 * manual/syslog.texi (closelog): Fix reference, it's openlog.
4990
624254b1
SC
49912012-04-08 Stephen Compall <s11@member.fsf.org>
4992
4993 [BZ #6649]
4994 * manual/llio.texi (Opening and Closing Files): Add cross
4995 reference to explain mode argument.
4996
1e4920e0
MF
49972012-04-07 Mike Frysinger <vapier@gentoo.org>
4998
4999 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
5000 * sysdeps/x86_64/memset_chk.S: Likewise.
5001
5ed848f3
DM
50022012-04-07 David S. Miller <davem@davemloft.net>
5003
5004 * elf/elf.h (R_SPARC_WDISP10): Define.
5005 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
5006 R_SPARC_SIZE32.
5007 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
5008 R_SPARC_SIZE64 and R_SPARC_H34.
5009
96154cd8
CD
50102012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
5011
5012 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
5013 conditions and remove no longer applicable assertion.
5014
9904dc47
L
50152012-04-06 H.J. Lu <hongjiu.lu@intel.com>
5016
5017 * bits/byteswap.h: Include <features.h>.
5018 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
5019 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
5020
f8887d0a
L
50212012-04-06 H.J. Lu <hongjiu.lu@intel.com>
5022
5023 * bits/byteswap.h (__bswap_16): Removed.
5024 Include <bits/byteswap-16.h> to get __bswap_16.
5025 * sysdeps/i386/bits/byteswap.h: Likewise.
5026 * sysdeps/s390/bits/byteswap.h: Likewise.
5027 * sysdeps/x86_64/bits/byteswap.h: Likewise.
5028 * bits/byteswap-16.h: New file.
5029 * sysdeps/i386/bits/byteswap-16.h: Likewise.
5030 * sysdeps/s390/bits/byteswap-16.h: Likewise.
5031 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
5032 * string/Makefile (headers): Add bits/byteswap-16.h.
5033
62470f60
PP
50342012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
5035
5036 [BZ #13895]
5037 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
5038 extra indirection.
5039 * nss/Makefile (tests-static, tests): Add tst-nss-static.
5040 * nss/tst-nss-static.c: New.
5041
4dad7bab
RM
50422012-04-06 Robert Millan <rmh@gnu.org>
5043
5044 [BZ #6486]
5045 * manual/llio.texi (File Position Primitive): lseek
5046 refers to WHENCE when it really means OFFSET.
5047
e9142a17
AJ
50482012-04-06 Andreas Jaeger <aj@suse.de>
5049
2c040eff
AJ
5050 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
5051 strncmp declarations.
5052
e9142a17
AJ
5053 * abilist/libc.abilist: Add __poll and __ppoll.
5054
ff9f1c5f
DM
50552012-04-05 David S. Miller <davem@davemloft.net>
5056
dcd2ae90
DM
5057 * scripts/check-local-headers.sh: Accept a host triplet in the
5058 path matched by the exclude regexp.
5059
993eb054
DM
5060 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
5061 definition.
5062 * sysdeps/powerpc/powerpc32/dl-machine.h
5063 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
5064 * sysdeps/s390/s390-32/dl-machine.h
5065 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
5066 * sysdeps/sparc/sparc32/dl-machine.h
5067 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
5068 * sysdeps/sparc/sparc64/dl-machine.h
5069 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
5070
ff9f1c5f
DM
5071 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
5072 lazy binding.
48e2e132 5073 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
ff9f1c5f
DM
5074 undefined symbol errors.
5075
48e2e132 5076 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
ff9f1c5f
DM
5077 DT_NEEDED entries.
5078
e80d6f94
MM
50792012-04-05 Michael Matz <matz@suse.de>
5080
5081 [BZ #13592]
5082 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
5083
349fa79f
AJ
50842012-04-05 Andreas Jaeger <aj@suse.de>
5085
5086 [BZ #13908]
5087 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
5088 comment.
5089
f402708f
KK
50902012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
5091
5092 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
5093 which ROUND is no valid rounding mode.
5094
2ecccfc9
KK
50952012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
5096
5097 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
5098 read again.
5099 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
5100
8a53f50f
KK
51012012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
5102
5103 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
5104 an exception using FPU order intentionally.
5105
51062012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
5107
5108 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
5109 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
5110 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
5111 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
5112
d653abb7
SJ
51132012-04-05 Simon Josefsson <simon@josefsson.org>
5114
5115 [BZ #12340]
5116 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
5117 EINVAL when BUFLEN is too smal.
5118
c3b1bf7d
TS
51192012-04-05 Thomas Schwinge <thomas@codesourcery.com>
5120
5121 [BZ #13553]
5122 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
5123 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
5124
b1aa60f3
AJ
51252012-04-03 Andreas Jaeger <aj@suse.de>
5126
c3b1bf7d 5127 [BZ #13938]
67f60a26
AJ
5128 * manual/setjmp.texi (System V contexts): Fix sentence.
5129
b1aa60f3
AJ
5130 [BZ #13926]
5131 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
5132 New macro for this case.
5133 [!__GNUC__] (__bswap_64): New inline function for this case.
5134 * sysdeps/x86_64/bits/byteswap.h: Likewise.
5135 * bits/byteswap.h: Likewise.
5136 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
5137 ull, guard with __GLIBC_HAVE_LONG_LONG.
5138
5139 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
5140 __GLIBC_HAVE_LONG_LONG.
5141
5142 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
5143 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
5144
39c59c35
TMQMF
51452012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
5146
5147 [BZ #13691]
5148 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
5149 inptr and inend, rather than using last_ch.
5150
135ffda8
DM
51512012-04-02 David S. Miller <davem@davemloft.net>
5152
5153 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
5154 * stdio-common/printf-parse.h (read_int): Change return type to
5155 'int', return -1 on INT_MAX overflow.
5156 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
5157 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
5158 overflows INT_MAX. Check for overflow of in-format-string precision
5159 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
5160 SIZE_MAX not INT_MAX for integer overflow test.
5161 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
5162 skip the construct in the format string but do not record anything.
5163 * stdio-common/bug22.c: Adjust to test both width/prevision
5164 INT_MAX overflow as well as total length INT_MAX overflow. Check
5165 explicitly for proper errno values.
5166
228c019e
TS
51672012-04-02 Thomas Schwinge <thomas@codesourcery.com>
5168
302cadd3
TS
5169 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
5170 CHAR_MAX.
5171 * string/test-strcmp.c [! WIDE]: Likewise.
5172 * time/tst-mktime2.c: Likewise for INT_MAX.
5173 * string/test-string.h: #include <sys/param.h> for MIN.
5174
228c019e
TS
5175 * csu/init-first.c (__libc_init_first): Call __ctype_init.
5176 * sysdeps/i386/init-first.c (init): Likewise.
5177 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
5178 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
5179 * sysdeps/sh/init-first.c (init): Likewise.
5180
cfa633f5
UD
51812012-04-01 Ulrich Drepper <drepper@gmail.com>
5182
5183 * po/ru.po: Update from translation team.
d1635ef8 5184 * po/vi.po: Likewise.
cfa633f5 5185
6cd0a5ea
SP
51862012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
5187
5188 * resolv/nss_dns/dns-host.c: Merge copyright years.
5189
4b43400f
LD
51902012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
5191
5192 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
5193 Optimize memcpy with prefetch if
5194 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
5195 src, dst pointers have unequal 16 byte alignments.
5196
48c41d04
SP
51972012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
5198
5199 [BZ #13928]
5200 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
5201 from a CNAME entry and return the minimum ttl for the query.
5202 (gaih_getanswer_slice): Likewise.
5203
b8dc394d
JL
52042012-03-30 Jeff Law <law@redhat.com>
5205
5206 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
5207 due to long keys.
5208 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
5209 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
5210
2f5a5ed0
JL
5211 * resolv/nss_dns/dns-host.c: Update copyright year.
5212
1d39e359
UD
52132012-03-30 Ulrich Drepper <drepper@gmail.com>
5214
c030f70c 5215 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8e6d1083 5216 requests to save a system call. Fix check that all bytes are sent.
c030f70c 5217
1d39e359
UD
5218 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
5219 comments for sendmmsg.
5220
52212012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
e64d2de5
TMQMF
5222
5223 [BZ #13691]
5224 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
5225 with only 1 character between 0x0041 and 0x01b0.
5226 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
5227 * wcsmbs/tst-mbsnrtowcs.c: New file.
5228
20fde227
DM
52292012-03-29 David S. Miller <davem@davemloft.net>
5230
5231 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
5232 small copies by hand.
5233
984a4237
JL
52342012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
5235
5236 [BZ #13761]
5237 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
5238 _nss_compat_initgroups_dyn): Fall back to malloc/free
5239 for large group memberships.
5240
18c9d62b
DM
52412012-03-28 David S. Miller <davem@davemloft.net>
5242
88d85d4f
DM
5243 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
5244 that branches into memcpy.
5245 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
5246 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
5247 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
5248 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
5249 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
5250 bits.
5251 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
5252 implementation too.
5253 * sysdeps/sparc/mempcpy.S: New file.
5254
e5aa83e1
DM
5255 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
5256 the IFUNC routine in the libc case.
5257 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
5258
88570753
DM
5259 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
5260 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
5261 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
5262 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
5263 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
5264 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
5265 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
5266 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
5267
249d7567
DM
5268 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
5269 loop to 256 bytes instead of 64 bytes and fix test signedness.
5270
18c9d62b
DM
5271 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
5272 * sysdeps/sparc/sparc32/Makefile: rather than here...
5273 * sysdeps/sparc/sparc64/Makefile: and here.
5274
05f3d1f6
UD
52752012-03-28 Ulrich Drepper <drepper@gmail.com>
5276
5277 * malloc/mallocbug.c: Avoid warnings about unused variables.
5278
86ae07a8
JL
52792012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
5280
5281 [BZ #13760]
5282 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
5283 in the right place. Discard and retry query if response is
5284 larger than input buffer size.
5285
41bf21a1
JM
52862012-03-28 Joseph Myers <joseph@codesourcery.com>
5287
d6270972
JM
5288 [BZ #369]
5289 [BZ #2678]
5290 [BZ #3866]
5291 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
5292 x for large integer exponent.
5293 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
5294 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
5295 sign of result as needed afterwards.
5296 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
5297 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
5298 result for underflowing pow the same as for overflow.
5299 (__kernel_standard_l): Handle powl overflow and underflow here
5300 rather than calling __kernel_standard.
5301 * math/libm-test.inc (pow_test): Add more tests.
5302
414fca03 5303 [BZ #3868]
41bf21a1
JM
5304 [BZ #13879]
5305 [BZ #13910]
5306 [BZ #13911]
5307 [BZ #13912]
5308 [BZ #13913]
5309 [BZ #13915]
5310 [BZ #13916]
5311 [BZ #13917]
5312 [BZ #13918]
5313 [BZ #13919]
5314 [BZ #13920]
5315 [BZ #13921]
5316 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
5317 * sysdeps/ieee754/k_standard.c: Include <float.h>.
5318 (__kernel_standard_l): New function.
5319 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
5320 __kernel_standard.
5321 * math/w_acosl.c (__acosl): Likewise.
5322 * math/w_asinl.c (__asinl): Likewise.
5323 * math/w_atan2l.c (__atan2l): Likewise.
5324 * math/w_atanhl.c (__atanhl): Likewise.
5325 * math/w_coshl.c (__coshl): Likewise.
5326 * math/w_exp10l.c (__exp10l): Likewise.
5327 * math/w_exp2l.c (__exp2l): Likewise.
5328 * math/w_fmodl.c (__fmodl): Likewise.
5329 * math/w_hypotl.c (__hypotl): Likewise.
5330 * math/w_j0l.c (__j0l, __y0l): Likewise.
5331 * math/w_j1l.c (__j1l, __y1l): Likewise.
5332 * math/w_jnl.c (__jnl, __ynl): Likewise.
5333 * math/w_lgammal.c (__lgammal): Likewise.
5334 * math/w_log10l.c (__log10l): Likewise.
5335 * math/w_log2l.c (__log2l): Likewise.
5336 * math/w_logl.c (__logl): Likewise.
5337 * math/w_powl.c (__powl): Likewise.
5338 * math/w_remainderl.c (__remainderl): Likewise.
5339 * math/w_scalbl.c (sysv_scalbl): Likewise.
5340 * math/w_sinhl.c (__sinhl): Likewise.
5341 * math/w_sqrtl.c (__sqrtl): Likewise.
5342 * math/w_tgammal.c (__tgammal): Likewise.
5343 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
5344 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
5345 * math/libm-test.inc (acos_test): Add more tests.
5346 (acosh_test): Likewise.
5347 (asin_test): Likewise.
5348 (atanh_test): Likewise.
5349 (exp_test): Likewise.
5350 (exp10_test): Likewise.
5351 (exp2_test): Likewise.
5352 (expm1_test): Likewise.
5353 (lgamma_test): Likewise.
5354 (log_test): Likewise.
5355 (log10_test): Likewise.
5356 (log1p_test): Likewise.
5357 (log2_test): Likewise.
5358 (pow_test): Do not allow some spurious overflow exceptions.
5359 (sqrt_test): Add more tests.
5360 (tgamma_test): Likewise.
5361 (y0_test): Likewise.
5362 (y1_test): Likewise.
5363 (yn_test): Likewise.
5364
dd62fda6
AB
53652012-03-27 Anton Blanchard <anton@samba.org>
5366
5367 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
5368 MAP_HUGETLB.
5369 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
5370 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
5371 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
5372
1e3cdfda
AJ
53732012-03-27 David S. Miller <davem@davemloft.net>
5374
b855ab85
DM
5375 * conform/Makefile: Run run-conformtest.sh using $(BASH).
5376
1e3cdfda
AJ
5377 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
5378 have-as-vis3 check.
5379
53802012-03-27 Andreas Jaeger <aj@suse.de>
5381
5382 * sysdeps/x86_64/elf/configure.in: Moved to ...
5383 * sysdeps/x86_64/configure.in: ... here.
5384 * sysdeps/x86_64/elf/start.S: Moved to ...
5385 * sysdeps/x86_64/start.S: ... here.
5386 * sysdeps/x86_64/elf/configure: Delete.
5387
5388 * sysdeps/x86_64/configure.in: Merge contents from
5389 sysdeps/i386/configure.in (without i686 check).
5390
5391 * sysdeps/i386/elf/Versions: Merge into ...
5392 * sysdeps/i386/Versions: ... this.
5393 * sysdeps/i386/elf/Versions: Delete file.
5394 * sysdeps/i386/elf/start.S: Moved to ...
5395 * sysdeps/i386/start.S: ...here.
5396 * sysdeps/i386/elf/configure.in: Merge into...
5397 * sysdeps/i386/configure.in: ...here.
5398 * sysdeps/i386/elf/configure.in: Delete file.
5399 * sysdeps/i386/elf/configure: Delete file.
5400
5401 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
5402 * debug/backtracesyms.c: ... here.
5403 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
5404 * debug/backtracesymsfd.c: ... here.
5405 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
5406 * sysdeps/generic/ifunc-sel.h: ... here.
5407
5408 * sysdeps/unix/i386/start.c: Delete file.
5409 * sysdeps/unix/sparc/start.c: Delete file.
5410 * sysdeps/unix/start.c: Delete file.
5411
5412 * sysdeps/sh/elf/configure.in: Moved to ...
5413 * sysdeps/sh/configure.in: ... here.
5414 * sysdeps/sh/elf/start.S: Moved to ...
5415 * sysdeps/sh/start.S: ... here.
5416 * sysdeps/sh/elf/configure: Delete file.
5417
5418 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
5419 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
5420 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
5421 * sysdeps/powerpc/powerpc64/entry.h: ... here.
5422 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
5423 * sysdeps/powerpc/powerpc64/start.S: here.
5424 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
5425 * sysdeps/powerpc/powerpc64/Makefile: ... this.
5426 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
5427 * sysdeps/powerpc/powerpc64/configure.in: ... this.
5428 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
5429
5430 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
5431 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
5432 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
5433 * sysdeps/powerpc/powerpc32/start.S: ... here.
5434 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
5435 * sysdeps/powerpc/powerpc32/configure.in: ... this.
5436 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
5437
5438 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
5439 * sysdeps/powerpc/ifunc-sel.h: ... here.
5440 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
5441 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
5442
5443 * sysdeps/sparc/elf/configure.in: Moved to ...
5444 * sysdeps/sparc/configure.in: ... here.
5445 * sysdeps/sparc/elf/configure: Delete file.
5446 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
5447 * sysdeps/sparc/sparc32/start.S: ... here.
5448 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
5449 * sysdeps/sparc/sparc64/start.S: ... here.
5450 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
5451 * sysdeps/sparc/sparc32/Makefile: ... this.
5452 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
5453 * sysdeps/sparc/sparc64/Makefile: ... this.
5454
5455 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
5456 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
5457 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
5458 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
5459 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
5460 * sysdeps/s390/s390-32/setjmp.S: ... here.
5461 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
5462 * sysdeps/s390/s390-32/configure.in: ... here.
5463 * sysdeps/s390/s390-32/elf/configure: Delete file.
5464 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
5465 * sysdeps/s390/s390-32/start.S: ... here.
5466
5467 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
5468 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
5469 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
5470 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
5471 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
5472 * sysdeps/s390/s390-64/setjmp.S: ... here.
5473 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
5474 * sysdeps/s390/s390-64/configure.in: ... here
5475 * sysdeps/s390/s390-64/elf/configure: Delete file.
5476 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
5477 * sysdeps/s390/s390-64/start.S: ... here.
5478 * sysdeps/s390/s390-64/elf/configure: Delete.
5479
5480 * configure.in: Remove support for elf directories in sysdeps.
5481
5482 * configure: Regenerated.
5483 * sysdeps/i386/configure: Regenerated.
5484 * sysdeps/powerpc/powerpc32/configure: Regenerated.
5485 * sysdeps/powerpc/powerpc64/configure: Regenerated.
5486 * sysdeps/s390/s390-32/configure: Regenerated.
5487 * sysdeps/s390/s390-64/configure: Regenerated.
5488 * sysdeps/sh/configure: Regenerated.
5489 * sysdeps/sparc/configure: Regenerated.
5490 * sysdeps/x86_64/configure: Regenerated.
5491
a3f61311
AS
54922012-03-26 Andreas Schwab <schwab@linux-m68k.org>
5493
c876e002
AS
5494 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5495
a3f61311
AS
5496 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
5497 denormal result into account.
5498
ac4c54f0
RM
54992012-03-25 Roland McGrath <roland@hack.frob.com>
5500
5501 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
5502 Reported by Allan McRae <allan@archlinux.org>.
5503
6a9b9c02
JL
55042012-03-23 Jeff Law <law@redhat.com>
5505
5506 * nss/getnssent.c (__nss_getent): Fix typo.
5507
4c42a0c1
DM
55082012-03-23 David S. Miller <davem@davemloft.net>
5509
5510 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5511
1532c7ac
L
55122012-03-23 H.J. Lu <hongjiu.lu@intel.com>
5513
5514 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
5515 to pad to uint64_t for each field.
5516 (dl_tls_index): Replace unsigned long with uint64_t.
5517
3ff42526
PP
55182012-03-23 Daniel Jacobowitz <dmj@google.com>
5519 Paul Pluzhnikov <ppluzhnikov@google.com>
5520
5521 [BZ #6528]
5522 * grp/Makefile (otherlibs): Don't set it.
5523 * inet/Makefile (otherlibs): Likewise.
5524 * login/Makefile (otherlibs): Likewise.
5525 * nscd/Makefile (otherlibs): Likewise.
5526 * posix/Makefile (otherlibs): Likewise.
5527 * pwd/Makefile (otherlibs): Likewise.
5528 * rt/Makefile (otherlibs): Likewise.
5529 * sunrpc/Makefile (otherlibs): Likewise.
5530 * nss/Makefile (otherlibs): Likewise.
5531 Add libnss_files to routines and static-only-routines.
5532 ($(objpfx)getent): Remove rule.
5533 * resolv/Makefile: Add libnss_dns and libresolv to routines and
5534 static-only-routines.
5535
7c69cd14
JM
55362012-03-22 Joseph Myers <joseph@codesourcery.com>
5537
5538 [BZ #13892]
5539 * math/s_cexp.c: Include <float.h>.
5540 (__cexp): Handle exp result overflowing not necessarily
5541 overflowing both real and imaginary parts of result.
5542 * math/s_cexpf.c: Likewise.
5543 * math/s_cexpl.c: Likewise.
5544 * math/libm-test.inc (cexp_test): Add more tests.
5545 * sysdeps/i386/fpu/libm-test-ulps: Update.
5546 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5547
81b035fe
L
55482012-03-22 H.J. Lu <hongjiu.lu@intel.com>
5549
5550 * include/link.h (ELFW): New macro.
5551 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
5552 Replace ELF64_R_TYPE with ELFW(R_TYPE).
5553
1da7940c
L
55542012-03-22 H.J. Lu <hongjiu.lu@intel.com>
5555
5556 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
5557 with uint64_t.
5558
b749dbb9
L
55592012-03-22 H.J. Lu <hongjiu.lu@intel.com>
5560
5561 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
5562 declaration.
5563 (struct La_x32_retval): Likewise.
5564
2ff87f3f
L
55652012-03-22 H.J. Lu <hongjiu.lu@intel.com>
5566
5567 * sysdeps/x86_64/preconfigure.in: New file.
5568 * sysdeps/x86_64/preconfigure: New generated file.
5569
c0df8e69
JM
55702012-03-22 Joseph Myers <joseph@codesourcery.com>
5571
48e44791
JM
5572 [BZ #13824]
5573 * math/e_exp2l.c: Include <float.h>.
5574 (__ieee754_exp2l): Handle overflow and underflow cases
5575 separately. Only pass fractional part of argument to
5576 __ieee754_expl.
5577 * math/libm-test.inc (exp2_test): Add more tests.
5578
c0df8e69
JM
5579 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
5580 negating x to take absolute value.
5581 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
5582 Likewise.
5583 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
5584 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
5585 Likewise.
5586 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
5587 computing low part if x was negated.
5588 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
5589
c8e43ba7
L
55902012-03-21 H.J. Lu <hongjiu.lu@intel.com>
5591
5592 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
5593 la_x32_gnu_pltexit.
5594 (pltexit): Cast int_retval to ptrdiff_t.
5595 * elf/tst-auditmod3b.c: Likewise.
5596 * elf/tst-auditmod4b.c: Likewise.
5597 * elf/tst-auditmod5b.c: Likewise.
5598 * elf/tst-auditmod6b.c: Likewise.
5599 * elf/tst-auditmod6c.c: Likewise.
5600 * elf/tst-auditmod7b.c: Likewise.
5601
5602 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
5603 and x32_gnu_pltexit.
5604
5605 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
5606 __ELF_NATIVE_CLASS.
5607 (La_x32_regs): New macro.
5608 (La_x32_retval): Likewise.
5609 (la_x32_gnu_pltenter): New function prototype.
5610 (la_x32_gnu_pltexit): Likewise.
5611
7998fa78
AS
56122012-03-21 Andreas Schwab <schwab@linux-m68k.org>
5613
dcb33988
AS
5614 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
5615 exponent.
5616
233fc563
AS
5617 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5618
7998fa78
AS
5619 * configure.in (libc_cv_cc_nofma): Check for option to disable
5620 generation of FMA instructions.
5621 * configure: Regenerate.
5622 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
5623 * sysdeps/ieee754/dbl-64/Makefile: New file.
5624 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
5625 Remove brandred-fma4.
5626 (CFLAGS-brandred-fma4.c): Remove.
5627 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
5628 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
5629 define.
5630 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
5631 define.
5632
8e95c99a
L
56332012-03-21 H.J. Lu <hongjiu.lu@intel.com>
5634
5635 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
5636 LLONG_MAX != LONG_MAX.
5637 (_itoa_word): Use _ITOA_WORD_TYPE on value.
5638 (_fitoa_word): Likewise.
5639 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
5640 LLONG_MAX != LONG_MAX.
5641 * stdio-common/_itowa.h: Include <_itoa.h>.
5642 (_itowa_word): Use _ITOA_WORD_TYPE on value.
5643 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
5644 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
5645 only if not defined.
5646 (_ITOA_WORD_TYPE): Likewise.
5647 (_itoa_word): Use _ITOA_WORD_TYPE on value.
5648 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
5649
6f4db457
DM
56502012-03-21 David S. Miller <davem@davemloft.net>
5651
5652 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5653
7785fe5a
L
56542012-03-21 H.J. Lu <hongjiu.lu@intel.com>
5655
5656 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
5657 of x86_64 when setting libc_cv_slibdir, libdir and
5658 libc_cv_localedir.
5659 * sysdeps/unix/sysv/linux/configure: Regenerated.
5660
4535cd55
JM
56612012-03-21 Joseph Myers <joseph@codesourcery.com>
5662
5663 * manual/lang.texi (Old Varargs): Remove section.
5664 (How Variadic): Update menu.
5665 (va_start): Do not mention varargs.h.
5666
17228132
TS
56672012-03-21 Thomas Schwinge <thomas@codesourcery.com>
5668 Joseph Myers <joseph@codesourcery.com>
5669
5670 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
5671 link test.
5672 * configure: Regenerated.
5673
8149f976
TS
56742012-03-21 Thomas Schwinge <thomas@codesourcery.com>
5675
05f3d1f6
UD
5676 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
5677 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
5678 conformtest.pl
8149f976 5679
1a4ac776
JM
56802012-03-21 Joseph Myers <joseph@codesourcery.com>
5681
be22ce65
JM
5682 * NOTES: Remove.
5683 * Makefile (files-for-dist): Remove NOTES.
5684 (NOTES): Remove rule.
5685 * README: Don't refer to NOTES.
5686 * manual/creature.texi: Don't include macros.texi.
5687 * manual/intro.texi (creature.texi): Remove comment referring to
5688 NOTES.
5689
40b601fb
JM
5690 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
5691 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
5692 * configure: Regenerated.
5693 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
5694 LIBC_TRY_CC_OPTION.
5695 (libc_cv_as_i686): Likewise.
5696 (libc_cv_cc_avx): Likewise.
5697 (libc_cv_cc_sse2avx): Likewise.
5698 (libc_cv_cc_fma4): Likewise.
5699 (libc_cv_cc_novzeroupper): Likewise.
5700 * sysdeps/i386/configure: Regenerated.
5701
1a4ac776
JM
5702 [BZ #13883]
5703 * sysdeps/i386/fpu/s_cexp.S: Remove.
5704 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
5705 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
5706 * math/libm-test.inc (cexp_test): Add more tests.
5707 * sysdeps/i386/fpu/libm-test-ulps: Update.
5708 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5709
a458e7fe
AM
57102012-03-21 Allan McRae <allan@archlinux.org>
5711
5712 * timezone/Makefile: Do not install iso3166.tab and zone.tab
5713
0cb7efc5
JM
57142012-03-21 Joseph Myers <joseph@codesourcery.com>
5715
5716 [BZ #13871]
5717 * math/w_exp2.c: Do not include <float.h>.
5718 (o_threshold, u_threshold): Remove.
5719 (__exp2): Calculate result before checking finiteness and calling
5720 __kernel_standard.
5721 * math/w_exp2f.c: Likewise.
5722 * math/w_exp2l.c: Likewise.
5723 * math/libm-test.inc (exp2_test): Require overflow exception for
5724 1e6 input.
2460d3aa
JM
5725
5726 [BZ #3866]
5727 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
5728 range of signed 64-bit integers before using fistpll. Remove
5729 checks for whether integers fit in mantissa bits.
5730 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
5731 the range of signed 32-bit integers before using fistpl. Remove
5732 checks for whether integers fit in mantissa bits.
5733 * sysdeps/i386/fpu/e_powl.S (p64): New object.
5734 (__ieee754_powl): Test for y outside the range of signed 64-bit
5735 integers before using fistpll. Reduce 64-bit values to 63-bit
5736 ones as needed.
5737 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
5738 divide-by-zero is raised for zero to large negative powers.
5739 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
5740 (__ieee754_powl): Test for y outside the range of signed 64-bit
5741 integers before using fistpll. Reduce 64-bit values to 63-bit
5742 ones as needed.
5743 * math/libm-test.inc (pow_test): Add more tests.
5744
eb96ffb0
L
57452012-03-20 H.J. Lu <hongjiu.lu@intel.com>
5746
5747 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
5748 <stdio-common/_itoa.h>.
5749 * debug/segfault.c: Likewise.
5750 * elf/dl-cache.c: Likewise.
5751 * elf/dl-minimal.c: Likewise.
5752 * elf/dl-misc.c: Likewise.
5753 * elf/dl-sysdep.c: Likewise.
5754 * elf/dl-version.c: Likewise.
5755 * elf/rtld.c: Likewise.
5756 * hurd/hurdsock.c: Likewise.
5757 * hurd/lookup-retry.c: Likewise.
5758 * malloc/malloc.c: Likewise.
5759 * malloc/mtrace.c: Likewise.
5760 * nscd/nscd_getgr_r.c: Likewise.
5761 * nscd/nscd_getpw_r.c: Likewise.
5762 * nscd/nscd_getserv_r.c: Likewise.
5763 * posix/getopt_init.c: Likewise.
5764 * posix/wordexp.c: Likewise.
5765 * stdio-common/_itoa.c: Likewise.
5766 * stdio-common/printf_fphex.c: Likewise.
5767 * stdio-common/vfprintf.c: Likewise.
5768 * string/_strerror.c: Likewise.
5769 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
5770 * sysdeps/i386/i686/hp-timing.h: Likewise.
5771 * sysdeps/mach/_strerror.c: Likewise.
5772 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
5773 * sysdeps/mach/hurd/sethostid.c: Likewise.
5774 * sysdeps/mach/hurd/xmknodat.c: Likewise.
5775 * sysdeps/mach/xpg-strerror.c: Likewise.
5776 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
5777 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
5778 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
5779 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
5780 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
5781 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
5782 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
5783 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
5784 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
5785 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
5786 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
5787 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
5788 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
5789 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
5790 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
5791 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
5792 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
5793 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
5794 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
5795 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
5796 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
5797
5798 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
5799
5800 * stdio-common/_itoa.h: Moved to ...
5801 * sysdeps/generic/_itoa.h: Here.
5802
5803 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
5804
5805 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
5806 instead of "_itoa.h" and "_itowa.h".
5807 * stdio-common/vfprintf.: Likewise.
5808
d1af992d
L
58092012-03-20 H.J. Lu <hongjiu.lu@intel.com>
5810
5811 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
5812 <bits/wordsize.h>.
5813 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
5814 (__signbit): Likwise.
5815 (llrintf): Likwise.
5816 (llrint): Likwise.
5817
114883e0
L
58182012-03-20 H.J. Lu <hongjiu.lu@intel.com>
5819
5820 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
5821 __WORDSIZE != 64.
5822
c135cc1b
JM
58232012-03-20 Joseph Myers <joseph@codesourcery.com>
5824
5825 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
5826 OVERFLOW_EXCEPTION_OK.
5827 * math/libm-test.inc ("Philosophy"): Update comment about
5828 exception testing.
5829 (OVERFLOW_EXCEPTION): Define.
5830 (OVERFLOW_EXCEPTION_OK): Likewise.
5831 (INVALID_EXCEPTION_OK): Renumber.
5832 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
5833 (IGNORE_ZERO_INF_SIGN): Likewise.
5834 (test_exceptions): Handle FE_OVERFLOW.
5835 (exp10_test): Expect overflow exceptions.
5836 (exp2_test): Likewise.
5837 (expm1_test): Likewise.
5838 (nextafter_test): Likewise.
5839 (pow_test): Likewise.
5840 (scalbn_test): Likewise.
5841 (scalbln_test): Likewise.
5842
95443d88
L
58432012-03-19 H.J. Lu <hongjiu.lu@intel.com>
5844
5845 * sysdeps/x86_64/bits/atomic.h
5846 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
5847 64bit integer.
5848 (atomic_exchange_acq): Likewise.
5849 (__arch_exchange_and_add_body): Likewise.
5850 (__arch_add_body): Likewise.
5851 (atomic_add_negative): Likewise.
5852 (atomic_add_zero): Likewise.
5853
490df6c4
L
58542012-03-19 H.J. Lu <hongjiu.lu@intel.com>
5855
c2722551 5856 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
5857 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
5858
5e52b189
L
58592012-03-19 H.J. Lu <hongjiu.lu@intel.com>
5860
5861 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
5862 Check __x86_64__ instead of __WORDSIZE.
5863
a9879d4c
L
58642012-03-19 H.J. Lu <hongjiu.lu@intel.com>
5865
5866 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
5867
5df98260
DM
58682012-03-19 David S. Miller <davem@davemloft.net>
5869
e1497744
DM
5870 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5871
5df98260
DM
5872 * sysdeps/sparc/fpu/fenv_private.h: New file.
5873 * sysdeps/sparc/fpu/math_private.h: Use it.
5874 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
5875 Remove.
5876 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
5877 (libc_feholdexcept_setroundl): Remove.
5878 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
5879 Remove.
5880 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
5881 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
5882
b4c35121
L
58832012-03-19 H.J. Lu <hongjiu.lu@intel.com>
5884
5885 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
5886 int64_t instead of long int.
5887 (INSERT_WORDS64): Likwise.
5888
56965fd7
L
58892012-03-19 H.J. Lu <hongjiu.lu@intel.com>
5890
5891 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
5892 _Unwind_GetCFA return to _Unwind_Ptr first.
5893
83d1aec8
JM
58942012-03-19 Joseph Myers <joseph@codesourcery.com>
5895
1897ad44
JM
5896 [BZ #13629]
5897 * math/s_clog.c: Include <float.h>.
5898 (__clog): Scale large or subnormal inputs.
5899 * math/s_clogf.c: Likewise.
5900 * math/s_clogl.c: Likewise.
5901 * math/s_clog10.c: Include <float.h>.
5902 (M_LOG10_2): Define.
5903 (__clog10): Scale large or subnormal inputs.
5904 * math/s_clog10f.c: Likewise.
5905 * math/s_clog10l.c: Likewise.
5906 * math/libm-test.inc (clog_test): Add more tests.
5907 (clog10_test): Likewise.
5908 * sysdeps/i386/fpu/libm-test-ulps: Update.
5909 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5910
7726d6a9
JM
5911 [BZ #11451]
5912 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
5913 x and y.
5914 * math/libm-test.inc (atan2_test): Add another test.
5915
83d1aec8
JM
5916 * Makerules (common-objdir-compile): Remove.
5917 * sysdeps/unix/Makefile (config-generated): Do not add
5918 $(unix-generated) to variable.
5919 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
5920 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
5921 Remove rule.
5922 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
5923 Likewise.
5924 [generic bits/local_lim.h] (before-compile): Do not append to
5925 variable.
5926 [generic bits/local_lim.h] (common-generated): Likewise.
5927 [generic sys/param.h] (before-compile): Do not append to variable.
5928 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
5929 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
5930 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
5931 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
5932 include.
5933 [generic sys/param.h] (sys/param.h-includes): Remove variable.
5934 [generic sys/param.h] (sys/param.h-includes): Remove rule.
5935 [generic sys/param.h] ($(addprefix
5936 $(common-objpfx),$(sys/param.h-includes))): Likewise.
5937 [generic sys/param.h] (common-generated): Do not append to
5938 variable.
5939 [generic sys/param.h] (sysdep_headers): Likewise.
5940 [generic bits/errno.h] (before-compile): Do not append to
5941 variable.
5942 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
5943 rule.
5944 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
5945 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
5946 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
5947 [generic bits/errno.h] (common-generated): Do not append to
5948 variable.
5949 [generic bits/ioctls.h] (before-compile): Do not append to
5950 variable.
5951 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
5952 rule.
5953 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
5954 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
5955 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
5956 rule.
5957 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
5958 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
5959 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
5960 [generic bits/ioctls.h] (common-generated): Do not append to
5961 variable.
5962 [generic sys/syscall.h] (syscall.h): Remove variable.
5963 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
5964 rule.
5965 [generic sys/syscall.h] (before-compile): Do not append to
5966 variable.
5967 [generic sys/syscall.h] (common-generated): Likewise.
5968 * sysdeps/unix/errnos-tmpl.c: Remove file.
5969 * sysdeps/unix/errnos.awk: Likewise.
5970 * sysdeps/unix/ioctls-tmpl.c: Likewise.
5971 * sysdeps/unix/ioctls.awk: Likewise.
5972 * sysdeps/unix/mk-local_lim.c: Likewise.
5973 * sysdeps/unix/snarf-ioctls: Likewise.
5974
4851a949
RH
59752012-03-19 Richard Henderson <rth@twiddle.net>
5976
bd37f2ee
RH
5977 * sysdeps/i386/fpu/fenv_private.h: New file.
5978 * sysdeps/i386/fpu/math_private.h: Use it.
5979 (math_opt_barrier, math_force_eval): Remove.
5980 (libc_feholdexcept_setround_53bit): Remove.
5981 (libc_feupdateenv_53bit): Remove.
5982 * sysdeps/x86_64/fpu/math_private.h: Likewise.
5983 (math_opt_barrier, math_force_eval): Remove.
5984 (libc_feholdexcept): Remove.
5985 (libc_feholdexcept_setround): Remove.
5986 (libc_fetestexcept, libc_fesetenv): Remove.
5987 (libc_feupdateenv_test): Remove.
5988 (libc_feupdateenv, libc_feholdsetround): Remove.
5989 (libc_feresetround): Remove.
5990
d0adc922
RH
5991 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
5992 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
5993
0fe0f1f8
RH
5994 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
5995 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
5996 (libc_feupdateenv_testl): New.
5997 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
5998 (libc_feupdateenv_testf): New.
5999 (libc_feupdateenv): Use libc_feupdateenv_test.
6000 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
6001 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
6002
eb92c487
RH
6003 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
6004 (libc_feholdsetroundf, libc_feholdsetroundl): New.
6005 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
6006 (libc_feresetround_noex): New.
6007 (libc_feresetround_noexf): New.
6008 (libc_feresetround_noexl): New.
6009 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
6010 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
6011 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
6012 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
6013 SET_RESTORE_ROUND.
6014 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
6015 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
6016 (__cos): Likewise.
6017 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
6018 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
6019 SET_RESTORE_ROUND_NOEX.
6020 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
6021 SET_RESTORE_ROUND_NOEXF.
6022 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
6023 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
6024 (libc_feholdsetroundf): New.
6025 (libc_feresetround, libc_feresetroundf): New.
6026
7d2e8012
RH
6027 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
6028 (libc_feholdexcept_setround_53bit): Convert from macro to function.
6029 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
6030
b4dabbb4
RH
6031 * sysdeps/generic/math_private.h: Include <fenv.h>.
6032 (default_libc_feholdexcept): New.
6033 (default_libc_feholdexcept_setround): New.
6034 (default_libc_fesetenv, default_libc_feupdateenv): New.
6035 (libc_feholdexcept): Only define if undefined.
6036 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
6037 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
6038 (libc_feholdexcept_setroundl): Likewise.
6039 (libc_feholdexcept_setround_53bit): Likewise.
6040 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
6041 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
6042 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
6043 (libc_feupdateenv_53bit): Likewise.
6044 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
6045 (libc_feholdexcept): Convert from macro to inline function.
6046 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
6047 (libc_fesetenv, libc_feupdateenv): Likewise.
6048
4851a949
RH
6049 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
6050 not previously defined.
6051 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
6052 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
6053 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
6054 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
6055 * sysdeps/ieee754/flt-32/math_private.h: New file.
6056 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
6057 math_private.h below SET_FLOAT_WORD.
6058 (__isnan, __isinf_ns, __finite): Remove.
6059 (__isnanf, __isinf_nsf, __finitef): Remove.
6060
e79d442e
AS
60612012-03-18 Andreas Schwab <schwab@linux-m68k.org>
6062
6063 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6064
90b80344
DM
60652012-03-17 David S. Miller <davem@davemloft.net>
6066
6067 [BZ #6471]
6068 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
6069 for 2.16.
6070
edc21804
DM
60712012-03-16 David S. Miller <davem@davemloft.net>
6072
77e927af
DM
6073 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
6074 warnings.
6075
374976dd
DM
6076 [BZ #6471]
6077 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
6078 properly.
6079 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
6080 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
6081 sysdep_routines when subdir is sysvipc.
6082 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
6083 __getshmlba helper.
6084
edc21804
DM
6085 * sysdeps/sparc/fpu/libm-test/ulps: Update.
6086
473c3ef3
L
60872012-03-16 H.J. Lu <hongjiu.lu@intel.com>
6088
6089 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
6090 [__LP64__].
6091
eb0f39b6
L
60922012-03-16 H.J. Lu <hongjiu.lu@intel.com>
6093
6094 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
6095 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
6096 (__lround): Renamed to ...
6097 (__llround): This. Replace long int with long long int.
6098 Define lround functions as aliases of llround functions.
6099 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
6100
6b6cd74b
L
61012012-03-16 H.J. Lu <hongjiu.lu@intel.com>
6102
6103 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
6104 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
6105 adresses to uintptr_t. Replace "long int" and "unsigned long
6106 int" with "greg_t" on va_arg.
6107
f1a77b01
L
61082012-03-16 H.J. Lu <hongjiu.lu@intel.com>
6109
6110 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
6111 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
6112
6113 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
6114 Move e_machine check before EI_CLASS check. Handle x32
6115 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
6116 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
6117 SKIP_EM_IA_64 and include
6118 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
6119
6120 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
6121 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
6122 (add_system_dir): New macro.
6123
6124 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
6125 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
6126
11b90b9f
JM
61272012-03-16 Joseph Myers <joseph@codesourcery.com>
6128
c36e1d23
JM
6129 [BZ #2551]
6130 [BZ #2552]
6131 [BZ #2553]
6132 [BZ #2554]
6133 [BZ #2562]
6134 [BZ #2563]
6135 [BZ #2565]
6136 [BZ #2566]
6137 [BZ #2576]
6138 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
6139 (y0): Likewise.
6140 * math/w_j0f.c (j0f): Likewise.
6141 (y0f): Likewise.
6142 * math/w_j0l.c (__j0l): Likewise.
6143 (__y0l): Likewise.
6144 * math/w_j1.c (j1): Likewise.
6145 (y1): Likewise.
6146 * math/w_j1f.c (j1f): Likewise.
6147 (y1f): Likewise.
6148 * math/w_j1l.c (__j1l): Likewise.
6149 (__y1l): Likewise.
6150 * math/w_jn.c (jn): Likewise.
6151 (yn): Likewise.
6152 * math/w_jnf.c (jnf): Likewise.
6153 (ynf): Likewise.
6154 * math/w_jnl.c (__jnl): Likewise.
6155 (__ynl): Likewise.
6156 * math/libm-test.inc (j0_test): Add more tests.
6157 (j1_test): Likewise.
6158 (jn_test): Likewise. Add trailing semicolon to existing test.
6159 (y0_test): Likewise.
6160 (y1_test): Likewise.
6161 * sysdeps/i386/fpu/libm-test-ulps: Update.
6162 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6163
11b90b9f
JM
6164 [BZ #13851]
6165 [BZ #13854]
6166 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
6167 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
6168 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
6169 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
6170 (__tanl): Set errno for infinite argument.
6171 * sysdeps/i386/fpu/mptan.c: Remove.
6172 * sysdeps/i386/fpu/s_tan.S: Likewise.
6173 * sysdeps/i386/fpu/s_tanl.S: Likewise.
6174 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
6175 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
6176 * math/libm-test.inc (tan_test): Add more tests and enable more
6177 tests for double and long double.
6178 * sysdeps/i386/fpu/libm-test-ulps: Update.
6179 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6180
6a1bd2a1
JK
61812012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
6182
6183 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
6184 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
6185
10a803e0
RM
61862012-03-16 Roland McGrath <roland@hack.frob.com>
6187
6188 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
6189 * configure.in: Use it for both main tree and add-ons.
6190 * configure: Regenerated.
6191
f196c7f7
L
61922012-03-16 H.J. Lu <hongjiu.lu@intel.com>
6193
6194 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
6195
8848d99d
JM
61962012-03-16 Joseph Myers <joseph@codesourcery.com>
6197
96cbe7f4
JM
6198 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
6199 in comment.
6200
8848d99d
JM
6201 [BZ #13851]
6202 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
6203 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
6204 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
6205 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
6206 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
6207 infinite argument.
6208 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
6209 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
6210 != 0 for prec == 2.
6211 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
6212 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
6213 * sysdeps/i386/fpu/s_cosl.S: Likewise.
6214 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
6215 * sysdeps/i386/fpu/s_sinl.S: Likewise.
6216 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
6217 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
6218 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
6219 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
6220 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
6221 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
6222 * math/libm-test.inc (cos_test): Add more tests and enable more
6223 tests for long double.
6224 (sin_test): Likewise.
6225 (sincos_test): Likewise.
6226 * sysdeps/i386/fpu/libm-test-ulps: Update.
6227 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6228
dd7f4703
DM
62292012-03-16 David S. Miller <davem@davemloft.net>
6230
6231 * sysdeps/sparc/fpu/math_private.h: New file.
6232
006f1daa
DM
62332012-03-15 David S. Miller <davem@davemloft.net>
6234
c0c83bc8
DM
6235 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
6236 file.
e6a62e18 6237 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
6238 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
6239 file.
e6a62e18
DM
6240 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
6241 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
6242 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
6243 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
6244 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
6245 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
6246 sysdep routines.
6247 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
6248
88cb87d9
DM
6249 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
6250 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
6251
006f1daa 6252 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
6253 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
6254 sparc-ifunc.h
006f1daa 6255 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
6256 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
6257 Likewise.
6258 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
6259 Likewise.
006f1daa
DM
6260 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
6261 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
6262 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
6263 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
6264 Likewise.
006f1daa
DM
6265 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
6266 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
6267 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
6268 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
6269 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
6270 Likewise.
6271 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
6272 Likewise.
006f1daa
DM
6273 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
6274 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
6275 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
6276 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
6277 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
6278 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
6279 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
6280 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
6281 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
6282 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
6283 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
6284 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
6285 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
6286 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
6287 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
6288 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
6289 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
6290 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
6291 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
6292 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
6293 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
6294 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
6295 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
6296 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
6297
11e0098e
AS
62982012-03-15 Andreas Schwab <schwab@linux-m68k.org>
6299
6300 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
6301 scaling.
6302 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6303
e85b09d0
AJ
63042012-03-15 Andreas Jaeger <aj@suse.de>
6305
6306 [BZ #13852]
6307 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
6308 ieee754/flt-32 implementation for sin, cos and sincos.
6309 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
6310 * sysdeps/i386/fpu/s_cosf.S: Likewise.
6311 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
6312 * sysdeps/i386/fpu/s_sinf.S: Likewise.
6313 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
6314 ieee754/flt-32 implementation for tan.
6315
6316 * math/libm-test.inc (cos_test): Enable some large input tests for
6317 float as well
6318 (sin_test): Likewise.
6319 (sincos_test): Likewise.
6320 (tan_test): Add tests for large input.
6321
6322 * sysdeps/i386/fpu/libm-test-ulps: Update.
6323
81c64153
AJ
63242012-03-15 Andreas Jaeger <aj@suse.de>
6325
6326 [BZ #13658]
6327 * math/libm-test.inc (cos_test): Add more test cases.
6328 (sin_test): Likewise.
6329 (sincos_test): Likewise.
6330
7bbfa5c6
AJ
63312012-03-15 Andreas Jaeger <aj@suse.de>
6332
6333 [BZ #13837]
6334 * math/libm-test.inc (cos_test): Add a test case for large input
6335 value.
6336 (sin_test): Likewise.
6337 (sincos_test): Likewise.
6338
63392012-03-15 Andreas Jaeger <aj@suse.de>,
6340 Joseph Myers <joseph@codesourcery.com>
6341
6342 [BZ #13658]
0671f479 6343 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
6344 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
6345 * sysdeps/i386/fpu/branred.c: Likewise.
6346 * sysdeps/i386/fpu/dosincos.c: Likewise.
6347 * sysdeps/i386/fpu/mpa.c: Likewise.
6348 * sysdeps/i386/fpu/s_cos.S: Likewise.
6349 * sysdeps/i386/fpu/s_sin.S: Likewise.
6350 * sysdeps/i386/fpu/s_sincos.S: Likewise.
6351 * sysdeps/i386/fpu/sincos32.c: Likewise.
6352
6353 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
6354 Define.
6355 (libc_feupdateenv_53bit): Define.
6356 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
6357 Define.
6358 (libc_feupdateenv_53bit): Define.
6359
6360 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
6361 53 bit (without extend i386 double precision).
6362
6363 * math/libm-test.inc (sincos_test): Add tests for large input.
6364 (sin): Likewise.
6365 (cos): Likewise.
6366
6367 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
6368
9cad04ea
AS
63692012-03-15 Andreas Schwab <schwab@linux-m68k.org>
6370
6371 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6372
f7062b9a
DM
63732012-03-15 David S. Miller <davem@davemloft.net>
6374
6375 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
6376 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
6377 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
6378 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
6379 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
6380 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
6381 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
6382 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
6383 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
6384 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
6385 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
6386 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
6387 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
6388 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
6389 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
6390 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
6391 file.
f7062b9a 6392 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
6393 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
6394 file.
f7062b9a 6395 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
6396 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
6397 file.
f7062b9a 6398 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
6399 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
6400 file.
f7062b9a
DM
6401 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
6402 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
6403 fmin/fmax sysdep routines.
6404 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
6405
7bd951ff
DM
64062012-03-14 David S. Miller <davem@davemloft.net>
6407
559398ab
DM
6408 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
6409 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
6410 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
6411 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
6412 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
6413 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
6414 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
6415 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
6416 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
6417 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
6418 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
6419 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
6420 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
6421 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
6422 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
6423 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
6424 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
6425 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
6426 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
6427 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
6428 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
6429 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
6430 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
6431 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
6432 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
6433 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
6434 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
6435 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
6436 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
6437 routines.
6438 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
6439 file.
559398ab 6440 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
6441 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
6442 file.
559398ab 6443 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
6444 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
6445 file.
559398ab 6446 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
6447 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
6448 file.
559398ab 6449 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
6450 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
6451 file.
559398ab 6452 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
6453 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
6454 file.
6455 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
6456 file.
6457 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
6458 file.
6459 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
6460 file.
6461 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
6462 New file.
6463 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
6464 file.
6465 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
6466 file.
559398ab 6467 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
6468 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
6469 file.
559398ab 6470 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
6471 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
6472 file.
559398ab 6473 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
6474 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
6475 file.
559398ab 6476 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
6477 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
6478 VIS3 routines.
559398ab
DM
6479
6480 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
6481 New file.
6482
5a1c1e32
DM
6483 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6484
eae47a36
DM
6485 * sysdeps/sparc/configure.in: New file.
6486 * sysdeps/sparc/configure: Generate.
6487 * configure.in (libc_cv_sparc_as_vis3): Substitute.
6488 * configure: Regenerate.
6489 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
6490 * config.make.in (have-as-vis3): New.
6491 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
6492 available use -Av9d instead of -Av9a.
6493 * sysdeps/sparc/sparc64/Makefile: Likewise.
6494 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
6495 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
6496 New file.
6497 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
6498 file.
6499 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
6500 New file.
6501 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
6502 file.
eae47a36
DM
6503 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
6504 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
6505 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
6506 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
6507 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
6508
c0c83bc8
DM
6509 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
6510 fzeros/fnegs to load 0x80000000 into a float register instead of
6511 using the stack.
7bd951ff
DM
6512 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
6513
bd951ccb
JM
65142012-03-14 Joseph Myers <joseph@codesourcery.com>
6515
6516 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
6517 bits/syscall.h.
6518 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
6519 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
6520 ($(inst_includedir)/bits/syscall.h): Remove rule.
6521 ($(objpfx)bits/syscall.d): Include instead of
6522 $(objpfx)syscall-list.d.
6523 (generated): Change syscall-list.h and syscall-list.d to
6524 bits/syscall.h and bits/syscall.d.
6525
bb4e6db2
RM
65262012-03-14 Roland McGrath <roland@hack.frob.com>
6527
6528 [BZ #13846]
6529 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
6530
aa4a2ae1
JM
65312012-03-14 Joseph Myers <joseph@codesourcery.com>
6532
e456826d
JM
6533 [BZ #13841]
6534 * math/s_csqrt.c: Include <float.h>.
6535 (__csqrt): Scale large or subnormal inputs.
6536 * math/s_csqrtf.c: Likewise.
6537 * math/s_csqrtl.c: Likewise.
6538 * math/libm-test.inc (csqrt_test): Add more tests.
6539 * sysdeps/i386/fpu/libm-test-ulps: Update.
6540 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6541
aa4a2ae1
JM
6542 [BZ #13840]
6543 * math/libm-test.inc (hypot_test): Add more tests.
6544
7c10fd35
DM
65452012-03-13 David S. Miller <davem@davemloft.net>
6546
6547 [BZ #13840]
6548 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
6549 double-precision for the calculation instead of scaling.
6550
f453b98b
JM
65512012-03-13 Joseph Myers <joseph@codesourcery.com>
6552
6553 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
6554 manipulate bits before adding and subtracting TWO52[sx].
6555 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
6556 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
6557 Likewise.
6558 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
6559
09a3453f
DM
65602012-03-13 David S. Miller <davem@davemloft.net>
6561
8e59da90
DM
6562 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
6563 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
6564 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
6565 rtld-global-offsets.h
6566 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
6567
2a8ab7f2
DM
6568 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
6569 large parameters.
6570
10f62770
DM
6571 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
6572
5f0bdb18
DM
6573 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
6574 'err' in the ifdef scope in which it is actually used.
6575
09a3453f
DM
6576 * nss/nss_db/db-init.c: Include string.h
6577
b4b2eb5e
DM
65782012-03-12 David S. Miller <davem@davemloft.net>
6579
98bb2f1c
DM
6580 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
6581 masking out of the most significant byte of random value used.
6582 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
6583 Fix coding style in previous change.
6584
b4b2eb5e
DM
6585 * sysdeps/unix/sysv/linux/kernel-features.h
6586 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
6587 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
6588 expression.
6589 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
6590 later.
6591
6e226b09
DM
65922012-03-11 David S. Miller <davem@davemloft.net>
6593
a1bcbd40
DM
6594 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
6595 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
6596 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
6597 for 'resultvar' otherwise things get truncated on 64-bit.
6598
cb9d6174
DM
6599 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
6600 Fix masking out of the most significant byte of random value used.
6601
6e226b09
DM
6602 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6603
058c132d
AS
66042012-03-10 Andreas Schwab <schwab@linux-m68k.org>
6605
6606 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6607
2d2cd515
DM
66082012-03-09 David S. Miller <davem@davemloft.net>
6609
6610 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
6611 variables with appropriate CPP guards.
6612 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
6613 frame pointer, not the stack pointer. Correct layout comments. Fix test
6614 on resulting framesize and the management of the outregs buffer for pltexit.
6615 Preserve floating point return values across _dl_call_pltexit call.
6616 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
6617 framesize and the management of the outregs buffer for pltexit.
6618 Preserve floating point return values across _dl_call_pltexit
6619 call.
6620 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
6621 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
6622 (print_exit): Fix format string for return register value.
6623
9a07f9d0
JM
66242012-03-10 Joseph Myers <joseph@codesourcery.com>
6625
6626 * sunrpc/Makefile (others): Add rpcgen.
6627 ($(objpfx)rpcgen): Remove special build rule and dependency on
6628 libc.
6629 * sunrpc/rpcgen.c: New file.
6630
547b5e30
PE
66312012-03-09 Paul Eggert <eggert@cs.ucla.edu>
6632
c524201a
PE
6633 [BZ #13673]
6634 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
6635 * stdio-common/bug-vfprintf-nargs.c: Likewise.
6636 * sysdeps/i386/crti.S: Likewise.
6637 * sysdeps/i386/crtn.S: Likewise.
6638 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
6639 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
6640 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
6641 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
6642 * sysdeps/sh/crti.S: Likewise.
6643 * sysdeps/sh/crtn.S: Likewise.
6644 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
6645
7b6235f2
PE
6646 [BZ #13673]
6647 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
6648 with URL.
6649 * locale/programs/locfile-kw.gperf: Likewise.
6650 * locale/programs/charmap-kw.h: Regenerated.
6651 * locale/programs/locfile-kw.h: Likewise.
6652
547b5e30
PE
6653 [BZ #13673]
6654 * intl/plural.y: Replace FSF snail mail address with URL.
6655 * intl/plural.c: Regenerated.
6656
5f0a5dae
RH
66572012-03-09 Richard Henderson <rth@twiddle.net>
6658
6659 * include/math_private.h: Remove file.
6660 * math/math_private.h: Move file ...
6661 * sysdeps/generic/math_private.h: ... here.
6662
b8c03620
RH
6663 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
6664 * sysdeps/powerpc/fpu/math_private.h: Likewise.
6665 * sysdeps/x86_64/fpu/math_private.h: Likewise.
6666
4e234f5d 6667 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
6668 and <math_private.h>.
6669 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
6670 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
6671 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
6672 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
6673 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
6674 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
6675 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
6676 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
6677 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
6678 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
6679 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
6680 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
6681 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
6682 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
6683 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
6684 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
6685 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
6686 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
6687 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
6688 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
6689 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
6690 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
6691 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
6692 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
6693 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
6694 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
6695 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
6696 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
6697 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
6698 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
6699 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
6700 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
6701 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
6702 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
6703 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
6704 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
6705 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
6706 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
6707 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
6708 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
6709 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
6710 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
6711 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
6712 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
6713 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
6714 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
6715 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
6716 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
6717 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
6718 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
6719 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
6720 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
6721 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
6722 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
6723 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
6724 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
6725 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
6726 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
6727 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
6728 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
6729 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
6730 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
6731 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
6732 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
6733 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
6734 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
6735 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
6736 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
6737 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
6738 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
6739 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
6740 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
6741 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
6742 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
6743 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
6744 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
6745 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
6746 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
6747 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
6748 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
6749 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
6750 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
6751 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
6752 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
6753 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
6754 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
6755 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
6756 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
6757 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
6758 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
6759 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
6760 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
6761 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
6762 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
6763 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
6764 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
6765 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
6766 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
6767 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
6768 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
6769 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
6770 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
6771 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
6772 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
6773 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
6774 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
6775 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
6776 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
6777 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
6778 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
6779 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
6780 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
6781 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
6782 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
6783 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
6784 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
6785 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
6786 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
6787 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
6788 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
6789 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
6790 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
6791 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
6792 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
6793 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
6794 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
6795 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
6796 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
6797 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
6798 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
6799 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
6800 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
6801 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
6802 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
6803 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
6804 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
6805 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
6806 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
6807 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
6808 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
6809 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
6810 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
6811 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
6812 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
6813 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
6814 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
6815 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
6816 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
6817 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
6818 * sysdeps/ieee754/k_standard.c: Likewise.
6819 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
6820 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
6821 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
6822 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
6823 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
6824 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
6825 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
6826 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
6827 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
6828 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
6829 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
6830 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
6831 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
6832 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
6833 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
6834 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
6835 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
6836 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
6837 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
6838 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
6839 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
6840 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
6841 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
6842 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
6843 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
6844 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
6845 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
6846 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
6847 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
6848 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
6849 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
6850 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
6851 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
6852 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
6853 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
6854 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
6855 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
6856 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
6857 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
6858 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
6859 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
6860 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
6861 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
6862 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
6863 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
6864 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
6865 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
6866 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
6867 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
6868 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
6869 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
6870 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
6871 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
6872 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
6873 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
6874 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
6875 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
6876 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
6877 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
6878 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
6879 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
6880 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
6881 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
6882 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
6883 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
6884 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
6885 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
6886 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
6887 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
6888 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
6889 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
6890 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
6891 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
6892 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
6893 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
6894 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
6895 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
6896 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
6897 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
6898 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
6899 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
6900 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
6901 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
6902 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
6903 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
6904 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
6905 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
6906 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
6907 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
6908 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
6909 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
6910 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
6911 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
6912 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
6913 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
6914 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
6915 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
6916 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
6917 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
6918 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
6919 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
6920 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
6921 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
6922 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
6923 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
6924 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
6925 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
6926 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
6927 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
6928 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
6929 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
6930 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
6931 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
6932 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
6933 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
6934 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
6935 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
6936 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
6937 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
6938 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
6939 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
6940 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
6941 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
6942 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
6943 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
6944 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
6945 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
6946 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
6947 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
6948 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
6949 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
6950 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
6951 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
6952 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
6953 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
6954 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
6955 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
6956 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
6957 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
6958 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
6959 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
6960 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
6961 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
6962 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
6963 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
6964 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
6965 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
6966 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
6967 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
6968 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
6969 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
6970 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
6971 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
6972 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
6973 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
6974 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
6975 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
6976 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
6977 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
6978 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
6979 * sysdeps/ieee754/s_lib_version.c: Likewise.
6980 * sysdeps/ieee754/s_matherr.c: Likewise.
6981 * sysdeps/ieee754/s_signgam.c: Likewise.
6982 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
6983 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
6984 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
6985 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
6986 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
6987 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
6988 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
6989 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
6990 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
6991 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
6992 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
6993 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
6994 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
6995 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
6996 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
6997 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
6998 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
6999 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
7000 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
7001 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
7002 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 7003
1991fa03
JM
70042012-03-09 Joseph Myers <joseph@codesourcery.com>
7005
7006 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
7007 * sunrpc/rpc_main.c: Likewise.
7008 * sunrpc/rpc_svcout.c: Likewise.
7009
60d6f5a6
DM
70102012-03-09 David S. Miller <davem@davemloft.net>
7011
7012 * include/math_private.h: New file.
7013
4962050e
JM
70142012-03-09 Joseph Myers <joseph@codesourcery.com>
7015
02a6f887
JM
7016 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
7017 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
7018 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
7019 from <bits/socket_type.h>.
7020 (enum __socket_type): Don't define here.
7021 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
7022 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
7023 bits/socket_type.h.
7024
c6e013c1
JM
7025 [BZ #13566]
7026 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
7027 checking __USE_GNU.
7028
4962050e
JM
7029 * Makerules ($(inst_includedir)/%.h): New rule.
7030 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
7031 (install-others): Remove variable setting.
7032 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
7033
38842f45
RH
70342012-03-08 Richard Henderson <rth@twiddle.net>
7035
67bb6da6
RH
7036 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
7037 from macro to inline function; merge with the
7038 !__LIBC_INTERNAL_MATH_INLINES version.
7039 (__ieee754_sqrtf): Likewise.
7040
15194b4b
RH
7041 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
7042 to inline function.
7043 (__rintf, __floor, __floorf): Likewise.
7044
64e21ede
RH
7045 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
7046 macro to inline function.
7047 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
7048
38842f45
RH
7049 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
7050 not <math/math_private.h>.
7051
c64bf5fe
DM
70522012-03-08 David S. Miller <davem@davemloft.net>
7053
7054 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
7055 copyright year.
7056 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
7057
82d86f28
TS
70582012-03-08 Thomas Schwinge <thomas@codesourcery.com>
7059
7060 * resolv/gai_misc.c (handle_requests): Fix struct timespec
7061 normalization.
7062 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
7063 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
7064
aea5d727
UD
70652012-03-08 Ulrich Drepper <drepper@gmail.com>
7066
7067 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
7068 be defined individually, they must be defined as a block. Define
7069 S for printing a string instead of hidint the different by using a
7070 macro for adding the 'l'.
7071 * stdio-common/tst-fphex-wide.c: Adjust.
7072
70bca0a3
MP
70732012-03-07 Marek Polacek <polacek@redhat.com>
7074
7075 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
7076
65b81130
MP
70772012-03-08 Marek Polacek <polacek@redhat.com>
7078
7079 [BZ #13806]
7080 * stdio-common/Makefile (tests): Add tst-fphex-wide.
7081 * stdio-common/tst-fphex.c: Define a few macros to make the
7082 test reusable. Use them.
7083 * stdio-common/tst-fphex-wide.c: New file.
7084
07037eeb
JM
70852012-03-08 Joseph Myers <joseph@codesourcery.com>
7086
a7a93d50
JM
7087 [BZ #6911]
7088 * manual/macros.texi (gnusystems): New macro.
7089 (nongnusystems): Likewise.
7090 (gnulinuxhurdsystems): Likewise.
7091 (gnuhurdsystems): Likewise..
7092 (gnulinuxsystems): Likewise.
7093 * manual/charset.texi: Use new macros or @theglibc{} to refer to
7094 variants of the GNU system, not "GNU system".
7095 * manual/conf.texi: Likewise.
7096 * manual/errno.texi: Likewise. Update example of errno macro
7097 expansion.
7098 * manual/filesys.texi: Likewise.
7099 (getumask): Document as specific to GNU/Hurd.
7100 * manual/install.texi: Likewise. Reword some references to
7101 GNU/Linux.
7102 * manual/intro.texi: Likewise.
7103 * manual/io.texi: Likewise.
7104 (File Name Portability): Detail which constraints are inapplicable
7105 to all GNU systems and which are only inapplicable to GNU/Hurd.
7106 * manual/job.texi: Likewise.
7107 * manual/llio.texi: Likewise.
7108 (O_NOCTTY): Document as present on GNU/Linux.
7109 * manual/maint.texi: Likewise.
7110 * manual/memory.texi: Likewise.
7111 * manual/pattern.texi: Likewise.
7112 * manual/pipe.texi: Likewise.
7113 * manual/process.texi: Likewise.
7114 * manual/resource.texi: Likewise.
7115 (RUSAGE_CHILDREN): Remove statement about specifying a particular
7116 child on GNU/Hurd.
7117 * manual/setjmp.texi: Likewise.
7118 * manual/signal.texi: Likewise.
7119 * manual/startup.texi: Likewise.
7120 * manual/stdio.texi: Likewise.
7121 * manual/terminal.texi: Likewise.
7122 (ONLCR): Document as POSIX.
7123 (OXTABS): Document availability on GNU/Linux as XTABS.
7124 (ONOEOT): Document availability separately from other bits.
7125 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
7126 * manual/time.texi: Likewise.
7127 * manual/users.texi: Likewise.
7128 * INSTALL: Regenerated.
7129 * sysdeps/gnu/errlist.c: Regenerated.
7130
07037eeb
JM
7131 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
7132 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
7133 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
7134 puts.
7135 * configure: Regenerated.
7136
d1d3431a
JM
71372012-03-07 Joseph Myers <joseph@codesourcery.com>
7138
af6a1e37
JM
7139 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
7140 default includes instead of AC_HEADER_CHECK.
7141 * sysdeps/i386/configure: Regenerated.
7142
d1d3431a
JM
7143 [BZ #10716]
7144 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
7145 * math/s_cacoshf.c (__cacoshf): Likewise.
7146 * math/s_cacoshl.c (__cacoshl): Likewise.
7147 * math/s_casinh.c (__casinh): Set signs of result from argument.
7148 * math/s_casinhf.c (__casinhf): Likewise.
7149 * math/s_casinhl.c (__casinhl): Likewise.
7150 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
7151 (casinh_test): Add more tests.
7152 * sysdeps/i386/fpu/libm-test-ulps: Update.
7153 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7154
482ff4da
UD
71552012-03-07 Ulrich Drepper <drepper@gmail.com>
7156
872fda05
UD
7157 * po/zh_TW.po: Update from translation team.
7158
a4300c7a
UD
7159 * login/Makefile (distribute): Remove variable.
7160 * catgets/Makefile: Likewise.
7161 * mach/Makefile: Likewise.
7162 * malloc/Makefile: Likewise.
7163 * misc/Makefile: Likewise.
7164 * iconv/Makefile: Likewise.
7165 * nscd/Makefile: Likewise.
7166 * hurd/Makefile: Likewise.
7167 * manual/Makefile: Likewise.
7168 * locale/Makefile: Likewise.
7169 * intl/Makefile: Likewise.
7170 * conform/Makefile: Likewise.
7171 * nss/Makefile: Likewise.
7172 * time/Makefile: Likewise.
7173 * soft-fp/Makefile: Likewise.
7174 * dirent/Makefile: Likewise.
7175 * gmon/Makefile: Likewise.
7176 * po/Makefile: Likewise.
7177 * rt/Makefile: Likewise.
7178 * socket/Makefile: Likewise.
7179 * math/Makefile: Likewise.
7180 * signal/Makefile: Likewise.
7181 * debug/Makefile: Likewise.
7182 * elf/Makefile: Likewise.
7183 * timezone/Makefile: Likewise.
7184 * stdlib/Makefile: Likewise.
7185 * iconvdata/Makefile: Likewise.
7186 * sunrpc/Makefile: Likewise.
7187 * io/Makefile: Likewise.
7188 * argp/Makefile: Likewise.
7189 * inet/Makefile: Likewise.
7190 * hesiod/Makefile: Likewise.
7191 * grp/Makefile: Likewise.
7192 * csu/Makefile: Likewise.
7193 * wctype/Makefile: Likewise.
7194 * crypt/Makefile: Likewise.
7195 * libio/Makefile: Likewise.
7196 * string/Makefile: Likewise.
7197 * nis/Makefile: Likewise.
7198 * resolv/Makefile: Likewise.
7199 * stdio-common/Makefile: Likewise.
7200 * wcsmbs/Makefile: Likewise.
7201 * dlfcn/Makefile: Likewise.
7202 * posix/Makefile: Likewise.
7203
3b7c4e74 7204 [BZ #6959]
482ff4da
UD
7205 * timezone/Makefile: Don't install timezone files, just the programs
7206 and scripts.
7207
f72ed77d
UD
72082012-03-06 Ulrich Drepper <drepper@gmail.com>
7209
a000466f
UD
7210 * nss/databases.def: Add missing gshadow entry.
7211
f72ed77d
UD
7212 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
7213
a53b7a4e
MP
72142012-03-06 Marek Polacek <polacek@redhat.com>
7215
7216 [BZ #13726]
7217 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
7218 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
7219 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
7220 * stdio-common/tst-long-dbl-fphex.c: New file.
7221
e9258400
DM
72222012-03-06 David S. Miller <davem@davemloft.net>
7223
7224 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
7225 (set_obp_int): New function.
7226 (get_obp_int): New function.
7227 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
7228 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
7229 Avoid unused variable warnings on 'val' and use builtin_expect.
7230 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
7231 __builtin_expect.
e9258400
DM
7232 (INLINE_CLONE_SYSCALL): Likewise.
7233
3bd2c723
DM
72342012-03-05 David S. Miller <davem@davemloft.net>
7235
7236 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7237
bbb78d03
AS
72382012-03-05 Andreas Schwab <schwab@linux-m68k.org>
7239
884c5db4
AS
7240 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7241
bbb78d03
AS
7242 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
7243 only for |x| >= 40.
7244 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
7245
1c9f702a 72462012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
7247
7248 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
7249 Replace gettimeofday with __vdso_gettimeofday.
7250
7be16f82
RM
7251 * sysdeps/unix/sysv/linux/x86_64/init-first.c
7252 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
7253 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
7254
7255 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
7256 time with __vdso_time.
7257
ed58a00f
JM
72582012-03-05 Joseph Myers <joseph@codesourcery.com>
7259
7260 * manual/lang.texi (size_t): Note types to which size_t may be
7261 equivalent with the GNU C Library, but do not describe when
7262 differences between them are significant.
7263
30ee4ced
AJ
72642012-03-05 Andreas Jaeger <aj@suse.de>
7265
7266 * sysdeps/i386/fpu/libm-test-ulps: Update.
7267
b7cd39e8
JM
72682012-03-05 Joseph Myers <joseph@codesourcery.com>
7269
7270 [BZ #3976]
7271 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
7272 (__ieee754_pow): Save and restore rounding mode and use
7273 round-to-nearest for main computations.
7274 * math/libm-test.inc (pow_test_tonearest): New function.
7275 (pow_test_towardzero): Likewise.
7276 (pow_test_downward): Likewise.
7277 (pow_test_upward): Likewise.
7278 (main): Call the new functions.
7279 * sysdeps/i386/fpu/libm-test-ulps: Update.
7280 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
7281
7282 [BZ #3976]
7283 * math/libm-test.inc (cosh_test_tonearest): New function.
7284 (cosh_test_towardzero): Likewise.
7285 (cosh_test_downward): Likewise.
7286 (cosh_test_upward): Likewise.
7287 (sinh_test_tonearest): Likewise.
7288 (sinh_test_towardzero): Likewise.
7289 (sinh_test_downward): Likewise.
7290 (sinh_test_upward): Likewise.
7291 (main): Call the new functions.
7292 * sysdeps/i386/fpu/libm-test-ulps: Update.
7293 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7294
6c6a98c9
TV
72952012-03-05 Tom de Vries <tom@codesourcery.com>
7296
7297 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
7298 default stack guard is set in last bytes.
7299 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
7300
21bb2d2e 73012012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 7302
21bb2d2e 7303 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 7304
21bb2d2e
AJ
7305 [BZ #13656]
7306 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
7307 possibly allocate from heap instead of stack.
7308 * stdio-common/bug-vfprintf-nargs.c: New file.
7309 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 7310
c6922934
AS
73112012-03-03 Andreas Schwab <schwab@linux-m68k.org>
7312
7313 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7314
bc957d53
MP
73152012-03-03 Marek Polacek <polacek@redhat.com>
7316
7317 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
7318 * math/math_private.h: Likewise.
7319 * stdlib/tst-strtod.c: Likewise.
7320 * sysdeps/i386/i486/bits/atomic.h: Likewise.
7321 * sysdeps/x86_64/bits/atomic.h: Likewise.
7322
6358490d
DM
73232012-03-02 David S. Miller <davem@davemloft.net>
7324
7325 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
7326 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
7327 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
7328 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
7329 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
7330 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
7331 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
7332 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
7333
01ae168d
RM
73342012-03-02 Roland McGrath <roland@hack.frob.com>
7335
d9a17c07
RM
7336 [BZ #13792]
7337 * manual/examples/README: New file, says the example source files
7338 can be used under GPL>=2.
7339 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
7340 line containing just "*/".
7341 * manual/examples/add.c: Add copyright header (GPL>=2).
7342 * manual/examples/argp-ex1.c: Likewise.
7343 * manual/examples/argp-ex2.c: Likewise.
7344 * manual/examples/argp-ex3.c: Likewise.
7345 * manual/examples/argp-ex4.c: Likewise.
7346 * manual/examples/atexit.c: Likewise.
7347 * manual/examples/db.c: Likewise.
7348 * manual/examples/dir.c: Likewise.
7349 * manual/examples/dir2.c: Likewise.
7350 * manual/examples/execinfo.c: Likewise.
7351 * manual/examples/filecli.c: Likewise.
7352 * manual/examples/filesrv.c: Likewise.
7353 * manual/examples/fmtmsgexpl.c: Likewise.
7354 * manual/examples/genpass.c: Likewise.
7355 * manual/examples/inetcli.c: Likewise.
7356 * manual/examples/inetsrv.c: Likewise.
7357 * manual/examples/isockad.c: Likewise.
7358 * manual/examples/longopt.c: Likewise.
7359 * manual/examples/memopen.c: Likewise.
7360 * manual/examples/memstrm.c: Likewise.
7361 * manual/examples/mkfsock.c: Likewise.
7362 * manual/examples/mkisock.c: Likewise.
7363 * manual/examples/mygetpass.c: Likewise.
7364 * manual/examples/pipe.c: Likewise.
7365 * manual/examples/popen.c: Likewise.
7366 * manual/examples/rprintf.c: Likewise.
7367 * manual/examples/search.c: Likewise.
7368 * manual/examples/select.c: Likewise.
7369 * manual/examples/setjmp.c: Likewise.
7370 * manual/examples/sigh1.c: Likewise.
7371 * manual/examples/sigusr.c: Likewise.
7372 * manual/examples/stpcpy.c: Likewise.
7373 * manual/examples/strdupa.c: Likewise.
7374 * manual/examples/strftim.c: Likewise.
7375 * manual/examples/strncat.c: Likewise.
7376 * manual/examples/subopt.c: Likewise.
7377 * manual/examples/swapcontext.c: Likewise.
7378 * manual/examples/termios.c: Likewise.
7379 * manual/examples/testopt.c: Likewise.
7380 * manual/examples/testpass.c: Likewise.
7381 * manual/examples/timeval_subtract.c: Likewise.
7382
01ae168d
RM
7383 [BZ #13792]
7384 * manual/time.texi (Elapsed Time): Move timeval_subtract example
7385 function to ...
7386 * manual/timeval_subtract.c.texi: ... here, new file.
7387
49efa33d
DM
73882012-03-02 David S. Miller <davem@davemloft.net>
7389
7390 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
7391
28afd92d
JM
73922012-03-02 Joseph Myers <joseph@codesourcery.com>
7393
804360ed
JM
7394 [BZ #3976]
7395 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
7396 (__sin): Save and restore rounding mode and use round-to-nearest
7397 for all computations.
7398 (__cos): Save and restore rounding mode and use round-to-nearest
7399 for all computations.
7400 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
7401 <fenv.h>.
7402 (tan): Save and restore rounding mode and use round-to-nearest for
7403 all computations.
7404 * math/libm-test.inc (cos_test_tonearest): New function.
7405 (cos_test_towardzero): Likewise.
7406 (cos_test_downward): Likewise.
7407 (cos_test_upward): Likewise.
7408 (sin_test_tonearest): Likewise.
7409 (sin_test_towardzero): Likewise.
7410 (sin_test_downward): Likewise.
7411 (sin_test_upward): Likewise.
7412 (tan_test_tonearest): Likewise.
7413 (tan_test_towardzero): Likewise.
7414 (tan_test_downward): Likewise.
7415 (tan_test_upward): Likewise.
7416 (main): Call the new functions.
7417 * sysdeps/i386/fpu/libm-test-ulps: Update.
7418 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7419
a6d06d7b
JM
7420 [BZ #10135]
7421 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
7422 small n, then large n, before computing and testing k+n.
7423 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
7424 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
7425 Likewise.
7426 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
7427 Likewise.
7428 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
7429 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
7430 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
7431 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
7432 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
7433 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
7434 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
7435 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
7436 * math/libm-test.inc (scalbn_test): Add more tests.
7437 (scalbln_test): Likewise.
7438
07e12bb3
JM
7439 * manual/filesys.texi (mode_t): Describe constraints on size and
7440 signedness, not exact equivalence to a particular type.
7441 (ino_t): Likewise.
7442 (ino64_t): Likewise.
7443 (dev_t): Likewise.
7444 (nlink_t): Likewise.
7445 (blkcnt_t): Likewise.
7446 (blkcnt64_t): Likewise.
7447 * manual/llio.texi (off_t): Likewise.
7448
28afd92d
JM
7449 [BZ #3976]
7450 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
7451 (__ieee754_exp): Save and restore rounding mode and use
7452 round-to-nearest for all computations.
7453 * math/libm-test.inc (exp_test_tonearest): New function.
7454 (exp_test_towardzero): Likewise.
7455 (exp_test_downward): Likewise.
7456 (exp_test_upward): Likewise.
7457 (main): Call the new functions.
7458 * sysdeps/i386/fpu/libm-test-ulps: Update.
7459 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7460
b1eeb65d
CD
74612012-03-01 Chris Demetriou <cgd@google.com>
7462
7463 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
7464 have predictable order.
7465
53362a4b
DM
74662012-03-01 David S. Miller <davem@davemloft.net>
7467
3c969083
DM
7468 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
7469
759707de
DM
7470 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
7471 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
7472 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
7473 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
7474
dfdb8ff2
DM
7475 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
7476 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
7477 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
7478 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
7479 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
7480 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
7481 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
7482 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
7483 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
7484
ead89f96
DM
7485 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7486
7f66bd07
DM
7487 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
7488 * sysdeps/sparc/fpu/libm-test-ulps: to here.
7489 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
7490
53362a4b
DM
7491 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
7492 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
7493 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
7494 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
7495 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
7496 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
7497 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
7498 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
7499 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
7500 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
7501 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
7502 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
7503 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
7504 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
7505 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
7506 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
7507 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
7508 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
7509 * sysdeps/sparc/elf/configure: Regenerated.
7510
7b1902cb
JM
75112012-03-01 Joseph Myers <joseph@codesourcery.com>
7512
bec039bc
JM
7513 * configure.in (AS, LD): Require binutils 2.20 or later.
7514 * configure: Regenerated.
7515 * manual/install.texi (Tools for Compilation): Give binutils 2.20
7516 as required minimum version.
7517 * INSTALL: Regenerated.
7518
7b1902cb
JM
7519 [BZ #2541]
7520 [BZ #4108]
7521 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
7522 before squaring exponent.
7523 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
7524 bottom long double and 27 bits of top long double before squaring
7525 exponent.
7526 * math/libm-test.inc (erfc_test): Add more tests.
7527 * sysdeps/i386/fpu/libm-test-ulps: Update.
7528 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
7529 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7530
f775c276
KT
75312012-03-01 Kai Tietz <ktietz@redhat.com>
7532
7533 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
7534 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
7535 containing bit-fields.
7536 * soft-fp/extended.h (_FP_UNION_E): Likewise.
7537 * soft-fp/single.h (_FP_UNION_S): Likewise.
7538 * soft-fp/double.h (_FP_UNION_D): Likewise.
7539
5b8a4d4a
JM
75402012-02-29 Joseph Myers <joseph@codesourcery.com>
7541
0bab47b6
JM
7542 [BZ #13786]
7543 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
7544 not include ../strcmp.S.
7545 [USE_AS_STRNCASECMP_L]: Likewise.
7546 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
7547 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
7548 * sysdeps/i386/i686/multiarch/strncase_l-c.c
7549 (__strncasecmp_l_ia32): Define as alias to
7550 __strncasecmp_l_nonascii.
7551
0fcad3e2
JM
7552 [BZ #5794]
7553 * math/libm-test.inc (expm1_test): Add test for bug 5794.
7554 * sysdeps/i386/fpu/libm-test-ulps: Update.
7555 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7556
5b8a4d4a
JM
7557 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
7558 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7559
8fdceb2e
JL
75602012-02-29 Jeff Law <law@redhat.com>
7561
7562 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
7563 out of bounds read.
7564
1f393a11
MP
75652012-02-29 Marek Polacek <polacek@redhat.com>
7566
7567 [BZ #13706]
7568 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
7569 * elf/Makefile: Add rules to run tst-unused-dep.out.
7570
8847f037
DM
75712012-02-28 David S. Miller <davem@davemloft.net>
7572
7573 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
7574 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
7575 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
7576 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
7577 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
7578 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
7579
169d7f11
JM
75802012-02-29 Joseph Myers <joseph@codesourcery.com>
7581
7582 * math/libm-test.inc (llround_test): Move one test from
7583 lround_test. Use TEST_f_L in moved test.
7584 (lround_test): Move misplaced test to llround_test. Add testcase
7585 from bug 2561.
7586
39adf059
UD
75872012-02-28 Ulrich Drepper <drepper@gmail.com>
7588
7589 * sysdeps/x86_64/fpu/e_expf.S: New file.
7590 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
7591
71b5d1c5
SB
75922012-02-28 Stanislav Brabec <sbrabec@suse.cz>
7593
7594 [BZ #13637]
7595 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
7596 of remain_len that may cause incomplete multi-byte character and
7597 false match.
7598 * posix/bug-regex33.c: New file.
7599 * posix/Makefile (tests): Add bug-regex33.
7600
1f77f049
JM
76012012-02-28 Joseph Myers <joseph@codesourcery.com>
7602
7603 * manual/macros.texi: New file.
7604 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
7605 * manual/libc.texinfo: Include macros.texi.
7606 * manual/creatute.texi: Likewise.
7607 * manual/install.texi: Likewise.
7608 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
7609 @glibcadj{} in references to the GNU C Library.
7610 * manual/charset.texi: Likewise.
7611 * manual/conf.texi: Likewise.
7612 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
7613 when not using those macros.
7614 * manual/creature.texi: Likewise.
7615 * manual/crypt.texi: Likewise.
7616 * manual/errno.texi: Likewise.
7617 * manual/filesys.texi: Likewise.
7618 * manual/header.texi: Likewise.
7619 * manual/install.texi: Likewise.
7620 * manual/intro.texi: Likewise.
7621 * manual/io.texi: Likewise.
7622 * manual/job.texi: Likewise.
7623 * manual/lang.texi: Likewise.
7624 * manual/libc.texiinfo: Likewise.
7625 * manual/llio.texi: Likewise.
7626 * manual/locale.texi: Likewise.
7627 * manual/maint.texi: Likewise.
7628 * manual/math.texi: Likewise.
7629 * manual/memory.texi: Likewise.
7630 * manual/message.texi: Likewise.
7631 * manual/nss.texi: Likewise.
7632 * manual/pattern.texi: Likewise.
7633 * manual/process.texi: Likewise.
7634 * manual/resource.texi: Likewise.
7635 * manual/search.texi: Likewise.
7636 * manual/setjmp.texi: Likewise.
7637 * manual/signal.texi: Likewise.
7638 * manual/socket.texi: Likewise.
7639 * manual/startup.texi: Likewise.
7640 * manual/stdio.texi: Likewise.
7641 * manual/string.texi: Likewise.
7642 * manual/sysinfo.texi: Likewise.
7643 * manual/syslog.texi: Likewise.
7644 * manual/terminal.texi: Likewise.
7645 * manual/time.texi: Likewise.
7646 * manual/users.texi: Likewise.
7647 * INSTALL: Regenerated.
7648 * NOTES: Regenerated.
d40c5d54 7649 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 7650
450bf206
AS
76512012-02-28 Andreas Schwab <schwab@linux-m68k.org>
7652
7653 * include/dirent.h: Include <dirstream.h> before
7654 <dirent/dirent.h>.
7655
741a235b
DM
76562012-02-28 David S. Miller <davem@davemloft.net>
7657
7658 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
7659 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
7660 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
7661 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
7662
d6b5aa58
DM
76632012-02-27 David S. Miller <davem@davemloft.net>
7664
1aff59a3
DM
7665 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
7666 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
7667 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
7668 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
7669
d6b5aa58
DM
7670 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
7671 frame pointer instead of stack pointer relative arg slot.
7672 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
7673 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
7674 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
7675
433f48bf
CD
76762012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
7677
7678 [BZ #3992]
7679 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
7680
d674b76d
DM
76812012-02-27 David S. Miller <davem@davemloft.net>
7682
7683 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
7684 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
7685 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
7686 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
7687 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
7688 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
7689 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
7690 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
7691
0e7727f7
JM
76922012-02-27 Joseph Myers <joseph@codesourcery.com>
7693
7694 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
7695 later. Allow versions 5-9.
43be4ca2 7696 * configure: Regenerated.
0e7727f7
JM
7697 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
7698 required minimum version and 4.6 as recommended version. Do not
7699 mention bugs in GCC 2.7 and 2.8.
43be4ca2 7700 * INSTALL: Regenerated.
0e7727f7 7701
a78bc654
DM
77022012-02-27 David S. Miller <davem@davemloft.net>
7703
428d5830
DM
7704 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
7705 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
7706 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
7707 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
7708 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
7709 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
7710 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
7711 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
7712
a78bc654
DM
7713 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
7714 manipulate bits before adding and subtracting TWO112[sx].
7715 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
7716
4579f81c
RM
77172012-02-27 Roland McGrath <roland@hack.frob.com>
7718
36c8acb4
RM
7719 [BZ #13775]
7720 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
7721 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
7722 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
7723 being in POSIX, because they are in 1003.1-2008.
7724
84ad622b
RM
7725 * rt/tst-aio.c: Include <fcntl.h>.
7726 * rt/tst-aio7.c: Likewise.
7727 * rt/tst-aio64.c: Likewise.
7728
4579f81c
RM
7729 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
7730
abd923db
JM
77312012-02-27 Joseph Myers <joseph@codesourcery.com>
7732
7733 * manual/install.texi (--with-headers): Describe headers as
7734 interface headers, not private headers.
7735 (Specific advice for GNU/Linux systems): Describe use of headers
7736 from "make headers_install", not private headers from older
7737 kernels.
43be4ca2 7738 * INSTALL: Regenerated.
abd923db
JM
7739 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
7740 Change to 2.6.19.
7741 * sysdeps/unix/sysv/linux/configure: Regenerated.
7742
6664049b
JM
7743 * manual/llio.texi (fclean): Remove documentation.
7744
bb8b6697
JM
7745 * manual/Makefile (libc-texi-generated): New variable. Include
7746 version.texi.
7747 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
7748 $(libc-texi-generated), not duplicated list of files.
7749 (version.texi, stamp-version): New rules.
7750 (realclean): Remove $(libc-texi-generated), not individual files
7751 from that list. Do not remove dir-add.texinfo.
7752 * manual/libc.texinfo: Comment out uses of edition numbers and
7753 references to printed manual. Remove last-updated dates.
7754 (EDITION): Comment out.
7755 (ISBN): Likewise.
7756 (VERSION, UPDATED): Remove.
7757 (version.texi): Include.
7758
12e5c3b9
AS
77592012-02-27 Andreas Schwab <schwab@linux-m68k.org>
7760
7761 * sysdeps/posix/spawni.c: Include <signal.h>.
7762 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
7763 * sysdeps/pthread/aio_fsync.c: Likewise.
7764
4efeffc1 77652012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 7766
ba63ba08
UD
7767 * conform/Makefile (tests): Run only when not cross-compiling and
7768 when fast-check is not defined.
7769
d94a4670
UD
7770 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
7771 * conform/data/limits.h-data: Fixes for POSIX2008.
7772 * conform/run-conformtest.sh: Run all tests.
7773 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
7774 headers.
7775 * include/bits/dlfcn.h: Likewise.
7776 * include/langinfo.h: Likewise.
7777 * include/monetary.h: Likewise.
7778 * include/sys/poll.h: Likewise.
7779
7780 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
7781 for __USE_GNU.
7782 * posix/spawn.h: Define __need_sigset_t.
7783 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
7784 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
7785 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
7786 to get sigevent_t only.
7787 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
7788 only for __USE_GNU.
7789 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
7790 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
7791 process_vm_writev only for __USE_GNU.
7792 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
7793
7794 * conform/Makefile: For now ignore errors from run-conformtest.
7795 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
7796 POSIX to avoid namespace pollution. Don't prepend headers.
7797 * conform/data/aio.h-data: Fixes for POSIX testing.
7798 * conform/data/fcntl.h-data: Likewise.
7799 * conform/data/glob.h-data: Likewise.
7800 * conform/data/grp.h-data: Likewise.
7801 * conform/data/pthread.h-data: Likewise.
7802 * conform/data/pwd.h-data: Likewise.
7803 * conform/data/signal.h-data: Likewise.
7804 * conform/data/spawn.h-data: Likewise.
7805 * conform/data/stdio.h-data: Likewise.
7806 * conform/data/stdlib.h-data: Likewise.
7807 * conform/data/stropts.h-data: Likewise.
7808 * conform/data/sys/mman.h-data: Likewise.
7809 * conform/data/sys/stat.h-data: Likewise.
7810 * conform/data/sys/types.h-data: Likewise.
7811 * conform/data/sys/wait.h-data: Likewise.
7812 * conform/data/time.h-data: Likewise.
7813 * conform/data/unistd.h-data: Likewise.
7814 * conform/data/utime.h-data: Likewise.
7815
7816 * io/sys/stat.h: fchmod was always in POSIX.
7817 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
7818 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
7819 * rt/aio.h: Define __need_timespec before including <time.h>.
7820 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
7821 struct. Add forward declaration of pthread_attr_t and use it in
7822 sigevent.
7823 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
7824 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
7825 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
7826 always remove CLK_TCK definition.
7827
c20105c3
AS
78282012-02-26 Andreas Schwab <schwab@linux-m68k.org>
7829
7830 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
7831
7a270350
UD
78322012-02-25 Ulrich Drepper <drepper@gmail.com>
7833
31341567
UD
7834 * conform/run-conformtest.sh: New file.
7835 * conform/Makefile: Run run-conformtest for tests.
7836 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
7837 support.
7838
7839 * conform/data/uchar.h-data: New file.
7840 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
7841 * conform/data/arpa/inet.h-data: Likewise.
7842 * conform/data/assert.h-data: Likewise.
7843 * conform/data/complex.h-data: Likewise.
7844 * conform/data/cpio.h-data: Likewise.
7845 * conform/data/ctype.h-data: Likewise.
7846 * conform/data/dirent.h-data: Likewise.
7847 * conform/data/dlfcn.h-data: Likewise.
7848 * conform/data/errno.h-data: Likewise.
7849 * conform/data/fcntl.h-data: Likewise.
7850 * conform/data/float.h-data: Likewise.
7851 * conform/data/fmtmsg.h-data: Likewise.
7852 * conform/data/fnmatch.h-data: Likewise.
7853 * conform/data/ftw.h-data: Likewise.
7854 * conform/data/glob.h-data: Likewise.
7855 * conform/data/grp.h-data: Likewise.
7856 * conform/data/iconv.h-data: Likewise.
7857 * conform/data/inttypes.h-data: Likewise.
7858 * conform/data/langinfo.h-data: Likewise.
7859 * conform/data/libgen.h-data: Likewise.
7860 * conform/data/limits.h-data: Likewise.
7861 * conform/data/locale.h-data: Likewise.
7862 * conform/data/math.h-data: Likewise.
7863 * conform/data/monetary.h-data: Likewise.
7864 * conform/data/mqueue.h-data: Likewise.
7865 * conform/data/ndbm.h-data: Likewise.
7866 * conform/data/net/if.h-data: Likewise.
7867 * conform/data/netdb.h-data: Likewise.
7868 * conform/data/netinet/in.h-data: Likewise.
7869 * conform/data/nl_types.h-data: Likewise.
7870 * conform/data/poll.h-data: Likewise.
7871 * conform/data/pthread.h-data: Likewise.
7872 * conform/data/pwd.h-data: Likewise.
7873 * conform/data/regex.h-data: Likewise.
7874 * conform/data/sched.h-data: Likewise.
7875 * conform/data/search.h-data: Likewise.
7876 * conform/data/semaphore.h-data: Likewise.
7877 * conform/data/setjmp.h-data: Likewise.
7878 * conform/data/signal.h-data: Likewise.
7879 * conform/data/spawn.h-data: Likewise.
7880 * conform/data/stdarg.h-data: Likewise.
7881 * conform/data/stdio.h-data: Likewise.
7882 * conform/data/stdlib.h-data: Likewise.
7883 * conform/data/string.h-data: Likewise.
7884 * conform/data/strings.h-data: Likewise.
7885 * conform/data/stropts.h-data: Likewise.
7886 * conform/data/sys/ipc.h-data: Likewise.
7887 * conform/data/sys/mman.h-data: Likewise.
7888 * conform/data/sys/msg.h-data: Likewise.
7889 * conform/data/sys/resource.h-data: Likewise.
7890 * conform/data/sys/select.h-data: Likewise.
7891 * conform/data/sys/sem.h-data: Likewise.
7892 * conform/data/sys/shm.h-data: Likewise.
7893 * conform/data/sys/socket.h-data: Likewise.
7894 * conform/data/sys/stat.h-data: Likewise.
7895 * conform/data/sys/statvfs.h-data: Likewise.
7896 * conform/data/sys/time.h-data: Likewise.
7897 * conform/data/sys/timeb.h-data: Likewise.
7898 * conform/data/sys/times.h-data: Likewise.
7899 * conform/data/sys/types.h-data: Likewise.
7900 * conform/data/sys/uio.h-data: Likewise.
7901 * conform/data/sys/un.h-data: Likewise.
7902 * conform/data/sys/utsname.h-data: Likewise.
7903 * conform/data/sys/wait.h-data: Likewise.
7904 * conform/data/syslog.h-data: Likewise.
7905 * conform/data/tar.h-data: Likewise.
7906 * conform/data/termios.h-data: Likewise.
7907 * conform/data/utime.h-data: Likewise.
7908 * conform/data/utmpx.h-data: Likewise.
7909 * conform/data/varargs.h-data: Likewise.
7910 * conform/data/wchar.h-data: Likewise.
7911 * conform/data/wctype.h-data: Likewise.
7912 * conform/data/wordexp.h-data: Likewise.
7913
7914 * include/stropts.h: New file.
7915 * include/uchar.h: New file.
7916 * include/aio.h: Changes to allow conformtest.pl to use the headers.
7917 * include/assert.h: Likewise.
7918 * include/ctype.h: Likewise.
7919 * include/dirent.h: Likewise.
7920 * include/dlfcn.h: Likewise.
7921 * include/fcntl.h: Likewise.
7922 * include/fnmatch.h: Likewise.
7923 * include/glob.h: Likewise.
7924 * include/grp.h: Likewise.
7925 * include/libio.h: Likewise.
7926 * include/locale.h: Likewise.
7927 * include/math.h: Likewise.
7928 * include/net/if.h: Likewise.
7929 * include/netdb.h: Likewise.
7930 * include/netinet/in.h: Likewise.
7931 * include/pthread.h: Likewise.
7932 * include/pwd.h: Likewise.
7933 * include/regex.h: Likewise.
7934 * include/sched.h: Likewise.
7935 * include/search.h: Likewise.
7936 * include/setjmp.h: Likewise.
7937 * include/signal.h: Likewise.
7938 * include/stdio.h: Likewise.
7939 * include/stdlib.h: Likewise.
7940 * include/string.h: Likewise.
7941 * include/sys/cdefs.h: Likewise.
7942 * include/sys/mman.h: Likewise.
7943 * include/sys/msg.h: Likewise.
7944 * include/sys/resource.h: Likewise.
7945 * include/sys/select.h: Likewise.
7946 * include/sys/socket.h: Likewise.
7947 * include/sys/stat.h: Likewise.
7948 * include/sys/statvfs.h: Likewise.
7949 * include/sys/time.h: Likewise.
7950 * include/sys/times.h: Likewise.
7951 * include/sys/uio.h: Likewise.
7952 * include/sys/utsname.h: Likewise.
7953 * include/sys/wait.h: Likewise.
7954 * include/termios.h: Likewise.
7955 * include/time.h: Likewise.
7956 * include/ulimit.h: Likewise.
7957 * include/unistd.h: Likewise.
7958 * include/utime.h: Likewise.
7959 * include/wchar.h: Likewise.
7960 * include/wctype.h: Likewise.
7961 * include/wordexp.h: Likewise.
7962
7963 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
7964
7a270350
UD
7965 * time/time.h: TIME_UTC must be a macro.
7966 Make timespec_get available for ISO C11 only as well.
7967
7724defc
UD
79682012-02-24 Ulrich Drepper <drepper@gmail.com>
7969
7970 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
7971 Reported by Peng Haitao <penght@cn.fujitsu.com>.
7972
6b1d1d46
JM
79732012-02-24 Joseph Myers <joseph@codesourcery.com>
7974
7975 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 7976
0f8bbd69
JM
79772012-02-24 Joseph Myers <joseph@codesourcery.com>
7978
7979 * manual/texinfo.tex: Update to version 2012-01-19.16.
7980
66ab80bc
JM
79812012-02-24 Joseph Myers <joseph@codesourcery.com>
7982
7983 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
7984
74981cc5
RM
79852012-02-24 Roland McGrath <roland@hack.frob.com>
7986
ee968201
RM
7987 [BZ #13738]
7988 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
7989 * manual/fdl-1.3.texi: New file.
7990 * manual/fdl-1.1.texi: File removed.
7991
74981cc5
RM
7992 [BZ #13738]
7993 * manual/libc.texinfo (FDL_VERSION): New @set.
7994 Use it for mention of FDL in cover text.
7995 (Documentation License): Use it in @include file name.
7996
7bb764bc
JM
79972012-02-22 Joseph Myers <joseph@codesourcery.com>
7998 Roland McGrath <roland@hack.frob.com>
7999
8000 [BZ #5461]
8001 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
8002 not LONG_LONG_MAX and LONG_LONG_MIN.
8003 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
8004 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
8005 name.
8006 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
8007
6cbeae47
JM
80082012-02-22 Joseph Myers <joseph@codesourcery.com>
8009
8010 [BZ #2547]
8011 [BZ #11365]
8012 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
8013 manipulate bits before adding and subtracting TWO23[sx].
8014 * math/libm-test.inc (nearbyint_test): Add more tests.
8015
fe45ce09
JM
80162012-02-22 Joseph Myers <joseph@codesourcery.com>
8017
8018 [BZ #2548]
8019 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
8020 bits before adding and subtracting TWO23[sx].
8021 * math/libm-test.inc (rint_test): Add more tests.
8022 (rint_test_tonearest): Likewise.
8023 (rint_test_towardzero): Likewise.
8024 (rint_test_downward): Likewise.
8025 (rint_test_upward: Likewise.
8026
ff3b3d82
JM
80272012-02-22 Joseph Myers <joseph@codesourcery.com>
8028
8029 [BZ #10110]
8030 * include/stdc-predef.h: New file. Extracted from features.h.
8031 * include/features.h: Include stdc-predef.h.
8032 * Makefile (headers): Add stdc-predef.h.
8033 * CONFORMANCE (Compiler limitations): Update.
8034
ef0aab35
JM
80352012-02-22 Joseph Myers <joseph@codesourcery.com>
8036
8037 * manual/libc.texinfo (VERSION, UPDATED): Revert.
8038
58639409
DM
80392012-02-21 David S. Miller <davem@davemloft.net>
8040
8041 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
8042 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
8043
c0e70b25
DM
80442012-02-20 David S. Miller <davem@davemloft.net>
8045
8046 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
8047 using a normal save/restore sequence, rather than allocating a
8048 dummy stack frame just to store a frame pointer and restore.
8049 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
8050
fb06851d
JM
80512012-02-21 Joseph Myers <joseph@codesourcery.com>
8052
8053 * manual/install.texi: Fix stray word in line-wrapped comment.
8054
7a8b71c3
DM
80552012-02-20 David S. Miller <davem@davemloft.net>
8056
d510c123
DM
8057 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
8058 both binutils and gcc support GOTDATA.
8059
0722d7c2
DM
8060 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
8061 "rd %pc" in the PIC register setup sequences.
8062
3d2b3019
DM
8063 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
8064 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
8065 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
8066 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
8067 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
8068 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
8069 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
8070 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
8071 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
8072 (SYSCALL_ERROR_HANDLER): Likewise.
8073 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
8074 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
8075 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
8076 (SYSCALL_ERROR_HANDLER): Likewise.
8077
c80098a9
DM
8078 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
8079 (HAVE_GCC_GOTDATA): New.
8080 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
8081 relocation support in both binutils and gcc.
8082 * sysdeps/sparc/elf/configure: Regenerate.
8083
3a2545a0
DM
8084 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
8085 * sysdeps/sparc/sparc32/elf/configure: Delete.
8086 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
8087 * sysdeps/sparc/sparc64/elf/configure: Delete.
8088 * sysdeps/sparc/elf/configure.in: New file.
8089 * sysdeps/sparc/elf/configure: Generate.
8090
7a8b71c3
DM
8091 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
8092 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
8093 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
8094 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
8095 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
8096
f1e86fca
JM
80972012-02-21 Joseph Myers <joseph@codesourcery.com>
8098
8099 * manual/install.texi: Do not mention specific glibc version
8100 numbers.
8101 * manual/libc.texinfo (VERSION, UPDATED): Update.
8102 (@copying): Use @copyright{} and range of years.
8103
0e7dfaef
JM
81042012-02-21 Joseph Myers <joseph@codesourcery.com>
8105
8106 [BZ #13695]
8107 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
8108 [crti.S not in sysdirs] (generated): Do not append.
8109 [crti.S not in sysdirs] (omit-deps): Likewise.
8110 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
8111 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
8112 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
8113 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
8114 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
8115 Likewise.
8116 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
8117 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
8118 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
8119 * csu/defs.awk: Remove file.
8120 * sysdeps/generic/initfini.c: Likewise.
8121 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
8122 variable.
8123 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
8124 Likewise.
8125
599af3ca
JM
81262012-02-20 Joseph Myers <joseph@codesourcery.com>
8127
8128 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
8129 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
8130 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
8131 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
8132 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
8133 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
8134 <bits/epoll.h>.
8135 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
8136 (__EPOLL_PACKED): Define to empty if not defined by
8137 <bits/epoll.h>.
8138 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
8139 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
8140 bits/epoll.h.
8141
0e499750
JM
81422012-02-20 Joseph Myers <joseph@codesourcery.com>
8143
8144 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
8145 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
8146 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
8147 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
8148 <bits/timerfd.h>.
8149 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
8150 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
8151 bits/timerfd.h.
8152
5ad91f6e
JM
81532012-02-20 Joseph Myers <joseph@codesourcery.com>
8154
8155 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
8156 in C locale.
8157 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
8158 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
8159 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
8160 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8161
06b99b02
AJ
81622012-02-20 Aurelien Jarno <aurelien@aurel32.net>
8163
8164 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
8165 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
8166
7638c0fd
AS
81672012-02-19 Andreas Schwab <schwab@linux-m68k.org>
8168
8169 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
8170 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
8171 defined.
8172 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
8173 Likewise.
8174 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
8175 entry for 2.16.
8176
92221550
AJ
81772012-02-19 Aurelien Jarno <aurelien@aurel32.net>
8178
8179 * math/w_acos.c: Use non-signaling floating-point comparisons.
8180 * math/w_acosf.c: Likewise.
8181 * math/w_acosh.c: Likewise.
8182 * math/w_acoshf.c: Likewise.
8183 * math/w_acoshl.c: Likewise.
8184 * math/w_acosl.c: Likewise.
8185 * math/w_asin.c: Likewise.
8186 * math/w_asinf.c: Likewise.
8187 * math/w_asinl.c: Likewise.
8188 * math/w_atanh.c: Likewise.
8189 * math/w_atanhf.c: Likewise.
8190 * math/w_atanhl.c: Likewise.
8191 * math/w_exp2.c: Likewise.
8192 * math/w_exp2f.c: Likewise.
8193 * math/w_exp2l.c: Likewise.
8194 * math/w_j0.c: Likewise.
8195 * math/w_j0f.c: Likewise.
8196 * math/w_j0l.c: Likewise.
8197 * math/w_j1.c: Likewise.
8198 * math/w_j1f.c: Likewise.
8199 * math/w_j1l.c: Likewise.
8200 * math/w_jn.c: Likewise.
8201 * math/w_jnf.c: Likewise.
8202 * math/w_log.c: Likewise.
8203 * math/w_log10.c: Likewise.
8204 * math/w_log10f.c: Likewise.
8205 * math/w_log10l.c: Likewise.
8206 * math/w_log2.c: Likewise.
8207 * math/w_log2f.c: Likewise.
8208 * math/w_log2l.c: Likewise.
8209 * math/w_logf.c: Likewise.
8210 * math/w_logl.c: Likewise.
8211 * math/w_sqrt.c: Likewise.
8212 * math/w_sqrtf.c: Likewise.
8213 * math/w_sqrtl.c: Likewise.
8214 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
8215 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
8216 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
8217 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
8218 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
8219
ebaf36eb
JM
82202012-02-19 Joseph Myers <joseph@codesourcery.com>
8221
8222 [BZ #9739]
8223 * manual/string.texi (strnlen): Use correct parameter name in
8224 equivalent expression.
8225
71c254a6
JM
82262012-02-19 Joseph Myers <joseph@codesourcery.com>
8227
8228 [BZ #11174]
8229 * manual/users.texi (seteuid): Consistently use neweuid for
8230 argument name.
8231
16d2c631
JM
82322012-02-19 Joseph Myers <joseph@codesourcery.com>
8233
8234 [BZ #13704]
8235 * manual/nss.texi (Services in the NSS configuration): Correct
8236 list of services in example configuration file.
8237
cd837b09
NB
82382012-02-19 Nick Bowler <nbowler@draconx.ca>
8239
8240 [BZ #11322]
8241 * manual/arith.texi: Remove statements about negative zero
8242 behaving identically to zero.
8243
02c4bbad
JM
82442012-02-18 Joseph Myers <joseph@codesourcery.com>
8245
8246 [BZ #5993]
8247 * manual/install.texi: Do not document upgrading from libc5.
8248
366842e7
JM
82492012-02-18 Joseph Myers <joseph@codesourcery.com>
8250
8251 [BZ #4596]
8252 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
8253
dd54084d
DM
82542012-02-18 David S. Miller <davem@davemloft.net>
8255
8256 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
8257 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
8258 %o7 across the call.
8259 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
8260 instead.
8261 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
8262 SETUP_PIC_REG_LEAF.
8263 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
8264 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
8265 * sysdeps/sparc/crtn.S: Likewise.
8266
2bcc53a3
UD
82672012-02-17 Ulrich Drepper <drepper@gmail.com>
8268
8269 * aout/Makefile: Remove.
8270
09c093b5
RK
82712012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
8272
8273 [BZ #13058]
8274 * manual/examples/argp-ex1.c (main): Format definition in GNU
8275 style.
8276 * manual/examples/argp-ex2.c (main): Likewise.
8277 * manual/examples/argp-ex3.c (main): Likewise.
8278 * manual/examples/argp-ex4.c (main): Likewise.
8279 * manual/examples/longopt.c (main): Use new-style prototype
8280 definition.
8281 * manual/examples/strncat.c (main): Specify return type and use
8282 (void) for arguments.
8283 * manual/examples/subopt.c (main): Use char **argv argument.
8284
2ee633a2
JM
82852012-02-17 Joseph Myers <joseph@codesourcery.com>
8286
8287 [BZ #5077]
8288 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
8289 rounding modes.
8290
0520adde
FB
82912012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
8292
8293 [BZ #6907]
8294 * manual/string.texi (strchr): Change when strchrnul is
8295 recommended.
8296
3f4081cd
DGM
82972012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
8298
8299 [BZ #174]
8300 * manual/locale.texi (setlocale): Document LOCPATH.
8301
d1b10e78
JM
83022012-02-17 Joseph Myers <joseph@codesourcery.com>
8303
8304 [BZ #10210]
8305 * manual/process.texi (execle): Move @dots{} before last argument.
8306
79c6869c
PB
83072012-02-17 Paul Bolle <pebolle@tiscali.nl>
8308
8309 [BZ #12047]
8310 * manual/charset.texi (Generic Charset Conversion): Fix typo
8311 (LC_TYPE -> LC_CTYPE).
8312
cc6e48bc
NB
83132012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
8314
8315 [BZ #5805]
8316 * manual/arith.texi (scalbn): Use @var{} on parameter names.
8317 (scalbnf): Likewise.
8318 (scalbnl): Likewise.
8319 (scalbln): Likewise.
8320 (scalblnf): Likewise.
8321 (scalblnl): Likewise.
8322 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
8323 (vwarnx): Likewise.
8324 (verr): Likewise.
8325 (verrx): Likewise.
8326 * manual/filesys.texi (telldir): Use braces around return type.
8327 * manual/llio.texi (mmap): Add space after comma.
8328 (mmap64): Likewise.
8329 * manual/math.texi (jn): Use @var{} on parameter names.
8330 (jnf): Likewise.
8331 (jnl): Likewise.
8332 (yn): Likewise.
8333 (ynf): Likewise.
8334 (ynl): Likewise.
8335 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
8336 line.
8337 * manual/resource.texi (ulimit): Use @dots{} instead of literal
8338 "...".
8339 (sched_get_priority_min): Remove semicolon on @deftypefun line.
8340 (sched_get_priority_max): Likewise.
8341 * manual/signal.texi (sigvec): Add space after comma.
8342 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
8343 names.
8344 (if_indextoname): Likewise.
8345 (if_freenameindex): Likewise.
8346 (sendto): Use ',' instead of '.' in prototype.
8347 * manual/startup.texi (syscall): Use @dots{} instead of literal
8348 "...".
8349 * manual/stdio.texi (__fpending): Separate initial words of
8350 paragraph from @deftypefun line.
8351 * manual/syslog.texi (syslog): Use @dots{} instead of literal
8352 "...".
8353 (vsyslog): Use @var{} on parameter names.
8354 * manual/terminal.texi (stty): Use @var{} on parameter names.
8355 * manual/users.texi (getutmp): Use @var{} on parameter names.
8356 (getutmpx): Likewise.
8357
5b23062f
JM
83582012-02-17 Joseph Myers <joseph@codesourcery.com>
8359
8360 [BZ #6884]
8361 * manual/stdio.texi (fopen): Fix typos in description of
8362 ",ccs=STRING".
8363
8dee4833
AJ
83642012-02-17 Aurelien Jarno <aurelien@aurel32.net>
8365
8366 [BZ #4026]
8367 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
8368 get clock_id definition.
8369
9078ce93
TS
83702012-02-17 Thomas Schwinge <thomas@schwinge.name>
8371
8372 [BZ #4822]
8373 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
8374 (madvise): Cast every argument to void on its own.
8375
3835c55f
JM
83762012-02-17 Joseph Myers <joseph@codesourcery.com>
8377
8378 [BZ #9902]
8379 * manual/startup.texi (Exit Status): Fix typo.
8380
35c47e37
JM
83812012-02-17 Joseph Myers <joseph@codesourcery.com>
8382
8383 [BZ #10140]
8384 * manual/examples/argp-ex1.c: Include <stdlib.h>.
8385 * manual/examples/argp-ex2.c: Likewise.
8386 * manual/examples/argp-ex3.c: Likewise.
8387
e3b69ca7
RH
83882012-02-16 Richard Henderson <rth@redhat.com>
8389
8390 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
8391 * sysdeps/s390/s390-32/initfini.c: Remove.
8392 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
8393 * sysdeps/s390/s390-64/initfini.c: Remove.
8394
df83af67
KK
83952012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
8396
8397 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
8398 compiler output for sysdeps/generic/initfini.c.
8399 * sysdeps/sh/elf/initfini.c: Remove file.
8400
f63f3380
DM
84012012-02-16 David S. Miller <davem@davemloft.net>
8402
fb59b3a4
DM
8403 [BZ #11494]
8404 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
8405
f63f3380
DM
8406 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
8407 * sysdeps/sparc/crti.S: New file.
8408 * sysdeps/sparc/crtn.S: New file.
8409 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
8410 * sysdeps/sparc/sparc64/Makefile: Likewise.
8411
df6a4a4a
MF
84122012-02-15 Mike Frysinger <vapier@gentoo.org>
8413
6dd8f3dc 8414 [BZ #3335]
df6a4a4a
MF
8415 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
8416
1cac7236
RM
84172012-02-15 Roland McGrath <roland@hack.frob.com>
8418
d2c736f8
RM
8419 [BZ #4822]
8420 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
8421
1cac7236
RM
8422 * mach/devstream.c (cookie_io_functions_t): Macro removed.
8423 (write, read, close): Likewise.
8424 Patch by Aurelien Jarno <aurelien@aurel32.net>.
8425
8e475601
JM
84262012-02-15 Joseph Myers <joseph@codesourcery.com>
8427
8428 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
8429 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
8430 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
8431 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
8432 <bits/signalfd.h>.
8433 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
8434 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
8435 bits/signalfd.h.
8436
ed656b40
MP
84372012-02-14 Marek Polacek <polacek@redhat.com>
8438
8439 * sysdeps/x86_64/crti.S: New file.
8440 * sysdeps/x86_64/crtn.S: New file.
8441 * sysdeps/x86_64/elf/initfini.c: Remove file.
8442
2a979d3a
JM
84432012-02-13 Joseph Myers <joseph@codesourcery.com>
8444
8445 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
8446 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
8447 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
8448 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
8449 <bits/inotify.h>.
8450 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
8451 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
8452 bits/inotify.h.
8453
2a418ac3
JM
84542012-02-13 Joseph Myers <joseph@codesourcery.com>
8455
8456 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
8457 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
8458 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
8459 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
8460 <bits/eventfd.h>.
8461 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
8462 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
8463 bits/eventfd.h.
8464
fb779be7
TS
84652012-02-10 Thomas Schwinge <thomas@codesourcery.com>
8466
e19e83c5
RM
8467 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
8468 __feraiseexcept instead of feraiseexcept.
7c35ffed 8469
fb779be7
TS
8470 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
8471 nanosleep invocations.
8472 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
8473 strings, and add error checking for a nanosleep invocations.
8474
59ba27a6
PE
84752012-02-09 Paul Eggert <eggert@cs.ucla.edu>
8476
8477 Replace FSF snail mail address with URLs, as per GNU coding standards.
8478 Most of the snail mail addresses were wrong anyway, and omitting
8479 them makes the source code easier to maintain. Almost all of the
8480 changes are to license notices and to locale LC_IDENTIFICATION
8481 addresses, except for this one:
8482 * manual/libc.texinfo: In "Published by", give the FSF's URL,
8483 not its snail mail address.
8484
57b957eb
RH
84852012-02-09 Richard Henderson <rth@twiddle.net>
8486
af850b1c
RH
8487 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
8488 of kernel-features.h.
8489
57b957eb
RH
8490 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
8491
6b73181a
MP
84922012-02-08 Marek Polacek <polacek@redhat.com>
8493
8494 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
8495 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
8496 * sysdeps/gnu/_G_config.h: Likewise.
8497 * sysdeps/generic/_G_config.h: Likewise.
8498
26ecc33a
AS
84992012-02-08 Andreas Schwab <schwab@linux-m68k.org>
8500
6c6dbc63
AS
8501 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
8502 tests.
8503 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8504
e216c012
AS
8505 * sysdeps/powerpc/powerpc32/crti.S: New file.
8506 * sysdeps/powerpc/powerpc32/crtn.S: New file.
8507 * sysdeps/powerpc/powerpc64/crti.S: New file.
8508 * sysdeps/powerpc/powerpc64/crtn.S: New file.
8509
26ecc33a
AS
8510 * Makeconfig (have-initfini): Don't set.
8511 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
8512 * configure.in (nopic_initfini): Don't substitute.
8513 * config.h.in (HAVE_INITFINI): Don't #undef.
8514 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
8515 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
8516
3add8e13
JM
85172012-02-08 Joseph Myers <joseph@codesourcery.com>
8518
8519 Support crti.S and crtn.S provided directly by architectures.
8520 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
8521 [crti.S in sysdirs] (omit-deps): Likewise.
8522 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
8523 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
8524 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
8525 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
8526 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
8527 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
8528 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
8529 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
8530 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
8531 compiler output for sysdeps/generic/initfini.c.
8532 * sysdeps/i386/elf/Makefile: Remove file.
8533 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
8534
a22f12b4
MP
85352012-02-07 Marek Polacek <polacek@redhat.com>
8536
8537 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
8538 * sysdeps/gnu/_G_config.h: Likewise.
8539 * sysdeps/mach/hurd/_G_config.h: Likewise.
8540
148cf100
MP
85412012-02-07 Marek Polacek <polacek@redhat.com>
8542
8543 * math/Makefile (tests): Add tst-CMPLX2.
8544 * math/tst-CMPLX2.c: New file.
8545
cfdc0dd7
AS
85462012-02-07 Andreas Schwab <schwab@linux-m68k.org>
8547
84ba42c4
AS
8548 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
8549
cfdc0dd7
AS
8550 * math/libm-test.inc (jn_test): Add missing L suffix.
8551
622c86f4
MP
85522012-02-06 Marek Polacek <polacek@redhat.com>
8553
8554 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
8555 * sysdeps/i386/fpu/e_powf.S: Likewise.
8556 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
8557 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
8558 * sysdeps/i386/fpu/e_acosh.S: Likewise.
8559 * sysdeps/i386/fpu/e_pow.S: Likewise.
8560 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
8561 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
8562 * sysdeps/i386/fpu/s_expm1.S: Likewise.
8563 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
8564 * sysdeps/i386/fpu/e_log2.S: Likewise.
8565 * sysdeps/i386/fpu/e_log2l.S: Likewise.
8566 * sysdeps/i386/fpu/e_scalb.S: Likewise.
8567 * sysdeps/i386/fpu/e_powl.S: Likewise.
8568 * sysdeps/i386/fpu/s_log1p.S: Likewise.
8569 * sysdeps/i386/fpu/e_log10f.S: Likewise.
8570 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
8571 * sysdeps/i386/fpu/e_logl.S: Likewise.
8572 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
8573 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
8574 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
8575 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
8576 * sysdeps/i386/fpu/e_log2f.S: Likewise.
8577 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
8578 * sysdeps/i386/fpu/e_log.S: Likewise.
8579 * sysdeps/i386/fpu/s_cexp.S: Likewise.
8580 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
8581 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
8582 * sysdeps/i386/fpu/e_logf.S: Likewise.
8583 * sysdeps/i386/fpu/e_log10l.S: Likewise.
8584 * sysdeps/i386/fpu/e_atanh.S: Likewise.
8585 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
8586 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
8587 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
8588 * sysdeps/i386/fpu/e_log10.S: Likewise.
8589 * sysdeps/i386/fpu/s_frexp.S: Likewise.
8590 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
8591 * sysdeps/i386/fpu/s_asinh.S: Likewise.
8592 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
8593 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
8594 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
8595 * sysdeps/i386/asm-syntax.h: Likewise.
8596 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
8597 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
8598 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
8599 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
8600 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
8601 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
8602 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
8603 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
8604 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
8605 * sysdeps/powerpc/sysdep.h: Likewise.
8606 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
8607 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
8608
d4a54ac6
JM
86092012-02-06 Joseph Myers <joseph@codesourcery.com>
8610
8611 [BZ #411]
8612 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
8613
314054ea
JM
86142012-02-06 Joseph Myers <joseph@codesourcery.com>
8615
8616 * sysdeps/i386/sysdep.h: Include <features.h>.
8617 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
8618 version.
8619
d8e0ca50
JM
86202012-02-05 Joseph Myers <joseph@codesourcery.com>
8621
8622 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
8623 Define.
8624 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
8625 LOAD_PIC_REG_STR.
8626
b1da7dd9
JM
86272012-02-03 Joseph Myers <joseph@codesourcery.com>
8628
8629 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
8630 (SETUP_PIC_REG): Use GET_PC_THUNK.
8631 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
8632 macro.
8633
9a1d9254
JM
86342012-02-03 Joseph Myers <joseph@codesourcery.com>
8635
8636 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
8637 for non-PIC compilation.
8638 (SETUP_PIC_REG): Add .p2align directive.
8639 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
8640 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
8641 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
8642 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
8643 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
8644 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
8645 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
8646 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
8647 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
8648 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
8649 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
8650 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
8651 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
8652 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
8653 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
8654 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
8655 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
8656 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
8657 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
8658 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
8659 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
8660 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
8661 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
8662 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
8663 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
8664 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
8665 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
8666 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
8667 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
8668 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
8669 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
8670 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
8671 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
8672 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
8673 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
8674 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
8675 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
8676 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
8677 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
8678 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
8679 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
8680
65dc3b75
JM
86812012-02-03 Joseph Myers <joseph@codesourcery.com>
8682
8683 * math/tst-CMPLX.c: Include <stdio.h>.
8684
d55bf177
JM
86852012-01-31 Joseph Myers <joseph@codesourcery.com>
8686
8687 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
8688 float.
8689 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
8690 * sysdeps/sparc/bits/mathdef.h: Likewise.
8691
69db4f8f
MP
86922012-01-31 Marek Polacek <polacek@redhat.com>
8693
8694 * libio/libio.h: Don't define _PARAMS.
8695 * locale/programs/config.h: Don't define PARAMS.
8696 * stdlib/strtol_l.c: Likewise.
8697 (__strtol_l): Remove PARAMS from the prototype.
8698
41b81892
UD
86992012-01-31 Ulrich Drepper <drepper@gmail.com>
8700
3b49edc0
UD
8701 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
8702 names. Just use the correct names. Remove unnecessary wrapper
8703 functions.
8704 * malloc/arena.c: Likewise.
8705 * malloc/hooks.c: Likewise.
8706
41b81892
UD
8707 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
8708 ARENA_TEST says not to. Simplify test for creation of a new arena.
8709 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
8710
27a25b6e
UD
87112012-01-30 Ulrich Drepper <drepper@gmail.com>
8712
8713 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
8714 into tail calls.
8715 (update_get_addr): New function.
8716 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
8717 GET_ADDR_MODULE parameter.
8718
c8a89e7d
JM
87192012-01-30 Joseph Myers <joseph@codesourcery.com>
8720
8721 * crypt/cert.c: Remove __STDC__ conditionals.
8722 * crypt/crypt-entry.c: Likewise.
8723 * crypt/crypt_util.c: Likewise.
8724 * libio/filedoalloc.c: Likewise.
8725 * libio/fileops.c: Likewise.
8726 * libio/genops.c: Likewise.
8727 * libio/iofclose.c: Likewise.
8728 * libio/iofdopen.c: Likewise.
8729 * libio/iofopen.c: Likewise.
8730 * libio/iofopen64.c: Likewise.
8731 * libio/iogetdelim.c: Likewise.
8732 * libio/iopopen.c: Likewise.
8733 * libio/obprintf.c: Likewise.
8734 * libio/oldfileops.c: Likewise.
8735 * libio/oldiofclose.c: Likewise.
8736 * libio/oldiofdopen.c: Likewise.
8737 * libio/oldiofopen.c: Likewise.
8738 * libio/oldiopopen.c: Likewise.
8739 * libio/wfiledoalloc.c: Likewise.
8740 * libio/wgenops.c: Likewise.
8741 * locale/programs/xmalloc.c: Likewise.
8742 * misc/syslog.c: Likewise.
8743 * stdio-common/xbug.c: Likewise.
8744 * string/memchr.c: Likewise.
8745 * string/memcmp.c: Likewise.
8746 * string/memrchr.c: Likewise.
8747 * string/rawmemchr.c: Likewise.
8748 * sysdeps/posix/getcwd.c: Likewise.
8749 * time/strftime_l.c: Likewise.
8750
3b100462
JM
87512012-01-30 Joseph Myers <joseph@codesourcery.com>
8752
8753 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
8754 * config.make.in (config-cflags-sse2avx): Define.
8755 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
8756 Fix typo.
8757
607998af
CM
87582012-01-29 Chris Metcalf <cmetcalf@tilera.com>
8759
8760 * scripts/config.guess: Update from upstream config git repository.
8761 * scripts/config.sub: Likewise.
8762
3601428f
CM
87632012-01-28 Chris Metcalf <cmetcalf@tilera.com>
8764
3ac8b282
CM
8765 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
8766 (EM_NUM): Update.
8767 (R_TILEPRO_*, R_TILEGX_*): New macros.
8768
e034841e
CM
8769 * scripts/firstversions.awk: Fix bug in version range handling.
8770
540d7568
CM
8771 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
8772
3601428f
CM
8773 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
8774
463de862
CM
8775 * include/sys/epoll.h: New file.
8776 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
8777 libc_hidden_def.
8778
73139a76
UD
87792012-01-28 Ulrich Drepper <drepper@gmail.com>
8780
96bc5b45
UD
8781 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
8782 Avoid unnecessary __WORDSIZE == 64 test.
8783 (fmaxf): Use VEX format if possible.
8784 (fmax): Likewise.
8785 (fminf): Likewise.
8786 (fmin): Likewise.
8787
56f6f6a2
UD
8788 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
8789 * math/math_private.h: Remove libc_fegetround* and
8790 libc_fesetround*.
8791 * sysdeps/i386/configure.in: Check for -msse2avx.
8792 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
8793 also if SSE2AVX is defined.
8794 Remove libc_fegetround* and libc_fesetround*.
8795 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
8796 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
8797 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
8798 of HAS_YMM_USABLE.
8799 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
8800 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
8801 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
8802 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
8803 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
8804
73139a76
UD
8805 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
8806
d73f93a4
AZ
88072012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8808
8809 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
8810 size is not set.
8811 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
8812
6ee65ed6
UD
88132012-01-27 Ulrich Drepper <drepper@gmail.com>
8814
8815 [BZ #13618]
8816 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
8817 relocation.
8818 * Makeconfig (libm): Define.
8819 * elf/Makefile: Add rules to build and run tst-relsort1.
8820 * elf/tst-relsort1.c: New file.
8821 * elf/tst-relsort1mod1.c: New file.
8822 * elf/tst-relsort1mod2.c: New file.
8823
8db21882
JM
88242012-01-27 Joseph Myers <joseph@codesourcery.com>
8825
8826 * math/s_ldexp.c: Remove __STDC__ conditionals.
8827 * math/s_ldexpf.c: Likewise.
8828 * math/s_ldexpl.c: Likewise.
8829 * math/s_nextafter.c: Likewise.
8830 * math/s_nexttowardf.c: Likewise.
8831 * math/s_significand.c: Likewise.
8832 * math/s_significandf.c: Likewise.
8833 * math/s_significandl.c: Likewise.
8834 * math/w_jnl.c: Likewise.
8835 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
8836 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
8837 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
8838 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
8839 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
8840 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
8841 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
8842 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
8843 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
8844 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
8845 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
8846 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
8847 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
8848 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
8849 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
8850 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
8851 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
8852 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
8853 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
8854 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
8855 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
8856 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
8857 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
8858 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
8859 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
8860 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
8861 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
8862 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
8863 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
8864 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
8865 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
8866 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
8867 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
8868 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
8869 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
8870 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
8871 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
8872 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
8873 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
8874 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
8875 * sysdeps/ieee754/k_standard.c: Likewise.
8876 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
8877 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
8878 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
8879 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
8880 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
8881 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
8882 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
8883 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
8884 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
8885 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
8886 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
8887 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
8888 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
8889 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
8890 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
8891 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
8892 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
8893 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
8894 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
8895 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
8896 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
8897 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
8898 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
8899 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
8900 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
8901 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
8902 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
8903 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
8904 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
8905 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
8906 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
8907 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
8908 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
8909 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
8910 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
8911 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
8912 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
8913 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
8914 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
8915 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
8916 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
8917 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
8918 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
8919 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
8920 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
8921 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
8922 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
8923 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
8924 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
8925 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
8926 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
8927 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
8928 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
8929 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
8930 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
8931 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
8932 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
8933 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
8934 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
8935 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
8936 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
8937 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
8938 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
8939 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
8940 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
8941 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
8942 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
8943 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
8944 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
8945 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
8946 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
8947 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
8948 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
8949 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
8950 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
8951 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
8952 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
8953 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
8954 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
8955 * sysdeps/ieee754/s_matherr.c: Likewise.
8956 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
8957 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
8958 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
8959 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
8960
965a54a4
JM
89612012-01-26 Joseph Myers <joseph@codesourcery.com>
8962
8963 * crypt/md5.h: Remove __STDC__ conditionals.
8964 * libio/libioP.h: Likewise.
8965 * locale/programs/config.h: Likewise.
8966 * sysdeps/generic/sysdep.h: Likewise.
8967 * sysdeps/i386/asm-syntax.h: Likewise.
8968 * sysdeps/s390/asm-syntax.h: Likewise.
8969 * sysdeps/unix/sysdep.h: Likewise.
8970 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
8971 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
8972
7071ad79
JM
89732012-01-26 Joseph Myers <joseph@codesourcery.com>
8974
8975 * libio/libio.h: Remove __STDC__ conditionals.
8976 * malloc/obstack.h: Likewise.
8977 * math/complex.h: Likewise.
8978 * math/math.h: Likewise.
8979 * sysdeps/generic/_G_config.h: Likewise.
8980 * sysdeps/gnu/_G_config.h: Likewise.
8981 * sysdeps/mach/hurd/_G_config.h: Likewise.
8982 * sysdeps/powerpc/bits/mathdef.h: Likewise.
8983 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
8984 * sysdeps/sparc/bits/mathdef.h: Likewise.
8985
afc5ed09
UD
89862012-01-26 Ulrich Drepper <drepper@gmail.com>
8987
8988 [BZ #13583]
8989 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 8990 Clean up HAS_* macros.
afc5ed09 8991 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
8992 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
8993 possible.
8994 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
8995 HAS_AVX.
8996 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
8997 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
8998 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
8999 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
9000 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 9001
bdb6de1d
JM
90022012-01-25 Joseph Myers <joseph@codesourcery.com>
9003
9004 * elf/tst-unique3.cc (gets): Remove declaration.
9005 * elf/tst-unique3lib.cc (gets): Likewise.
9006 * elf/tst-unique3lib2.cc (gets): Likewise.
9007 * elf/tst-unique4.cc (gets): Likewise.
9008
b15549e6
UD
90092012-01-24 Ulrich Drepper <drepper@gmail.com>
9010
9011 * include/stdio.h: Add C++ protection. Add gets declarations and
9012 definitions.
9013 * debug/tst-chk1.c: Don't declare gets here.
9014 * stdio-common/tst-gets.c: Likewise.
9015
a037381f
JM
90162012-01-24 Joseph Myers <joseph@codesourcery.com>
9017
9018 * posix/glob: Remove directory.
9019
f1d4aa75
JM
90202012-01-24 Joseph Myers <joseph@codesourcery.com>
9021
9022 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
9023
81c0c964
PT
90242012-01-22 Pino Toscano <toscano.pino@tiscali.it>
9025
9026 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
9027 of the non-standard EPFNOSUPPORT.
9028
0ea698ae
ST
90292011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
9030
9031 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
9032 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
9033 ANYWHERE set to 1 only on KERN_NO_SPACE error.
9034
d220b117
UD
90352012-01-21 Ulrich Drepper <drepper@gmail.com>
9036
9037 * wcsmbs/uchar.h: Test __STDC_VERSION__.
9038
3e1aa84e
UD
90392012-01-20 Ulrich Drepper <drepper@gmail.com>
9040
9041 * nscd/aicache.c (addhstaiX): Do not cache negative results of
9042 transient errors.
9043 * nscd/grpcache.c (cache_addgr): Likewise.
9044 * nscd/hstcache.c (cache_addhst): Likewise.
9045 * nscd/initgrcache.c (addinitgroupsX): Likewise.
9046 * nscd/pwdcache.c (cache_addpw): Likewise.
9047 * nscd/servicescache.c (cache_addserv): Likewise.
9048
400aa020
UD
90492012-01-16 Ulrich Drepper <drepper@gmail.com>
9050
d77e7869
UD
9051 * malloc/malloc.c: Various cleanups.
9052 * malloc/hooks.c: Likewise.
9053
400aa020
UD
9054 * stdlib/Makefile (tests): Add bug-fmtmsg1.
9055 * stdlib/bug-fmtmsg1.c: New file.
9056
9057 * stdlib/fmtmsg.c (init): Add missing unlock.
9058 Patch by Peng Haitao <penght@cn.fujitsu.com>.
9059
e0a309cf
MP
90602012-01-12 Marek Polacek <polacek@redhat.com>
9061
9062 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
9063 and _GNU_SOURCE.
9064
929d11c7
WS
90652012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
9066
9067 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
9068 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
9069 macro to ensure uniqueness of label name.
9070 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
9071 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
9072
41d0e869
UD
90732012-01-11 Ulrich Drepper <drepper@gmail.com>
9074
0cc5ed3b
UD
9075 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
9076
41d0e869
UD
9077 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
9078 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
9079 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
9080 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
9081
a47a831a
UD
90822012-01-10 Ulrich Drepper <drepper@gmail.com>
9083
daa891c0
UD
9084 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
9085
9086 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
9087 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
9088 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
9089
e58ef0f2
UD
9090 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
9091
a47a831a 9092 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
9093 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
9094 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 9095 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
9096
9097 * math/bits/math-finite.h: Add ldexp support.
9098
a0bfc9c7
MP
90992012-01-10 Marek Polacek <polacek@redhat.com>
9100
9101 * locale/programs/localedef.h (show_archive_content): Add noreturn
9102 attribute.
9103
d6e97a1d
UD
91042012-01-09 Ulrich Drepper <drepper@gmail.com>
9105
9106 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
9107
d5835c26
UD
91082012-01-08 Ulrich Drepper <drepper@gmail.com>
9109
e5f484c6
UD
9110 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
9111
d5835c26
UD
9112 * io/Makefile (headers): Add bits/poll2.h.
9113
d1f741e9
WS
91142011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
9115
9116 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
9117 typo #include statement.
9118
ec09c1c4
UD
91192012-01-08 Ulrich Drepper <drepper@gmail.com>
9120
9121 * include/sys/cdefs.h: Define __attribute_alloc_size.
9122 * catgets/gencat.c: Add alloc_size attribute and apply consistently
9123 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
9124 * elf/pldd.c: Likewise.
9125 * iconv/iconv_charmap.c: Likewise.
9126 * iconv/iconvconfig.c: Likewise.
9127 * iconv/strtab.c: Likewise.
9128 * locale/programs/locale.c: Likewise.
9129 * locale/programs/localedef.h: Likewise.
9130 * locale/programs/simple-hash.c: Likewise.
9131 * nscd/nscd.h: Likewise.
9132 * nss/makedb.c: Likewise.
9133 * sysdeps/generic/ldconfig.h: Likewise.
9134 * locale/programs/localedef.c: Remove xmalloc prototype.
9135 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
9136
20b38e03
PP
91372012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
9138
9139 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
9140 appropriate.
9141
a0da5fe1
UD
91422012-01-08 Ulrich Drepper <drepper@gmail.com>
9143
1d5a644a 9144 * math/Makefile (tests): Add tst-CMPLX.
669704fd 9145 * math/tst-CMPLX.c: New file.
1d5a644a 9146
8784a6db
UD
9147 * math/complex.h (CMPLXL): Fix typo.
9148
d9a216c0
UD
9149 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
9150 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
9151 GLIBC_2.16.
9152 * debug/tst-chk1.c: Add poll and ppoll tests.
9153 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
9154 * include/sys/poll.h: Add hidden proto for ppoll.
9155 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
9156 * sysdeps/mach/hurd/ppoll.c: Likewise.
9157 * io/ppoll.c: Likewise.
9158 * debug/poll_chk.c: New file.
9159 * debug/ppoll_chk.c: New file.
9160 * include/bits/poll2.h: New file.
9161 * io/bits/poll2.h: New file.
9162
ac097f5c
UD
9163 [BZ #1350]
9164 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
9165
2119dcfa
UD
9166 * configure.in: static is always set to yes. Remove.
9167 * config.make.in: Don't set build-static.
9168 * Makeconfig: Remove use of build-static.
9169 * dlfcn/Makefile: Likewise.
9170 * elf/Makefile: Likewise.
9171 * math/Makefile: Likewise.
9172 * misc/Makefile: Likewise.
9173 * nptl/Makefile: Likewise.
9174 * sysdeps/mach/hurd/Makefile: Likewise.
9175
121766a9
UD
9176 * configure.in: PWD_P is not used anymore.
9177 * config.make.in: Remove PWD_P entry.
9178
51a1d39c 9179 * configure.in: Remove last remnants of RANLIB.
8720d066 9180 No need to check for signed size_t anymore.
215f4bdc
UD
9181 Don't set libc_commonpagesize and libc_relro_required here for Alpha
9182 and IA-64.
3857022a 9183 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
9184 * aclocal.m4: Likewise.
9185
d3ed7225
UD
9186 * wcsmbs/mbrtoc16.c: Implement using towc function.
9187 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
9188 * wcsmbs/wcsmbsload.c: Likewise.
9189 * iconv/gconv_simple.c: Likewise.
9190 * iconv/gconv_int.h: Likewise.
9191 * iconv/gconv_builtin.h: Likewise.
9192 * iconv/iconv_prog.c: Remove CHAR16 handling.
9193
9194 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
9195
9196 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
9197
a0da5fe1
UD
9198 * configure.in: Remove --with-elf and --enable-bounded options.
9199 Dont set base_machine for ia64. More non-ELF conditions removed.
9200 Remove testing and setting of leading underscore information.
9201 * config.make.in (build-bounded): Set to no.
9202 * config.h.in: Remove NO_UNDERSCORES entry.
9203 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
9204 them.
9205 * csu/start.c: Remove !NO_UNDERSCORE code.
9206 * locale/localeinfo.h: Likewise.
9207 * sysdeps/generic/machine-gmon.h: Likewise.
9208 * sysdeps/generic/sysdep.h: Likewise.
9209 * sysdeps/i386/sysdep.h: Likewise.
9210 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
9211 * sysdeps/mach/sysdep.h: Likewise.
9212 * sysdeps/s390/s390-32/sysdep.h: Likewise.
9213 * sysdeps/s390/s390-64/sysdep.h: Likewise.
9214 * sysdeps/sh/sysdep.h: Likewise.
9215 * sysdeps/sparc/sparc32/alloca.S: Likewise.
9216 * sysdeps/unix/i386/sysdep.S: Likewise.
9217 * sysdeps/unix/sparc/start.c: Likewise.
9218 * sysdeps/unix/sparc/sysdep.S: Likewise.
9219 * sysdeps/unix/sparc/sysdep.h: Likewise.
9220 * sysdeps/unix/start.c: Likewise.
9221 * sysdeps/unix/x86_64/sysdep.S: Likewise.
9222 * sysdeps/x86_64/sysdep.h: Likewise.
9223
df78418a
UD
92242012-01-07 Ulrich Drepper <drepper@gmail.com>
9225
a784e502
UD
9226 [BZ #13553]
9227 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
9228 for non-gcc.
9229 * argp/argp-fmtstream.h: Use const instead __const.
9230 * argp/argp.h: Likewise.
9231 * assert/assert.h: Likewise.
9232 * bits/fenv.h: Likewise.
9233 * bits/sched.h: Likewise.
9234 * bits/sigset.h: Likewise.
9235 * bits/sigthread.h: Likewise.
9236 * catgets/nl_types.h: Likewise.
9237 * conform/data/pthread.h-data: Likewise.
9238 * crypt/crypt-private.h: Likewise.
9239 * crypt/crypt.h: Likewise.
9240 * crypt/crypt_util.c: Likewise.
9241 * ctype/ctype.h: Likewise.
9242 * debug/execinfo.h: Likewise.
9243 * debug/mbsnrtowcs_chk.c: Likewise.
9244 * debug/mbsrtowcs_chk.c: Likewise.
9245 * debug/wcsnrtombs_chk.c: Likewise.
9246 * debug/wcsrtombs_chk.c: Likewise.
9247 * debug/wcstombs_chk.c: Likewise.
9248 * dirent/dirent.h: Likewise.
9249 * dlfcn/dlfcn.h: Likewise.
9250 * elf/neededtest4.c: Likewise.
9251 * grp/grp.h: Likewise.
9252 * gshadow/gshadow.h: Likewise.
9253 * iconv/gconv.h: Likewise.
9254 * iconv/gconv_int.h: Likewise.
9255 * iconv/gconv_simple.c: Likewise.
9256 * iconv/iconv.h: Likewise.
9257 * iconv/loop.c: Likewise.
9258 * iconv/skeleton.c: Likewise.
9259 * include/aio.h: Likewise.
9260 * include/aliases.h: Likewise.
9261 * include/argz.h: Likewise.
9262 * include/arpa/inet.h: Likewise.
9263 * include/assert.h: Likewise.
9264 * include/dirent.h: Likewise.
9265 * include/dlfcn.h: Likewise.
9266 * include/execinfo.h: Likewise.
9267 * include/fcntl.h: Likewise.
9268 * include/fenv.h: Likewise.
9269 * include/glob.h: Likewise.
9270 * include/grp.h: Likewise.
9271 * include/libintl.h: Likewise.
9272 * include/mntent.h: Likewise.
9273 * include/netdb.h: Likewise.
9274 * include/pwd.h: Likewise.
9275 * include/rpc/netdb.h: Likewise.
9276 * include/sched.h: Likewise.
9277 * include/search.h: Likewise.
9278 * include/shadow.h: Likewise.
9279 * include/signal.h: Likewise.
9280 * include/stdio.h: Likewise.
9281 * include/stdlib.h: Likewise.
9282 * include/string.h: Likewise.
9283 * include/sys/socket.h: Likewise.
9284 * include/sys/stat.h: Likewise.
9285 * include/sys/statfs.h: Likewise.
9286 * include/sys/statvfs.h: Likewise.
9287 * include/sys/syslog.h: Likewise.
9288 * include/sys/time.h: Likewise.
9289 * include/sys/uio.h: Likewise.
9290 * include/time.h: Likewise.
9291 * include/unistd.h: Likewise.
9292 * include/utmp.h: Likewise.
9293 * include/wchar.h: Likewise.
9294 * include/wctype.h: Likewise.
9295 * inet/aliases.h: Likewise.
9296 * inet/arpa/inet.h: Likewise.
9297 * inet/netinet/ether.h: Likewise.
9298 * inet/netinet/in.h: Likewise.
9299 * intl/libintl.h: Likewise.
9300 * io/bits/fcntl2.h: Likewise.
9301 * io/fcntl.h: Likewise.
9302 * io/ftw.h: Likewise.
9303 * io/sys/poll.h: Likewise.
9304 * io/sys/stat.h: Likewise.
9305 * io/sys/statfs.h: Likewise.
9306 * io/sys/statvfs.h: Likewise.
9307 * io/utime.h: Likewise.
9308 * libio/bits/stdio.h: Likewise.
9309 * libio/bits/stdio2.h: Likewise.
9310 * libio/libio.h: Likewise.
9311 * libio/libioP.h: Likewise.
9312 * libio/stdio.h: Likewise.
9313 * locale/lc-ctype.c: Likewise.
9314 * locale/locale.h: Likewise.
9315 * login/utmp.h: Likewise.
9316 * malloc/arena.c: Likewise.
9317 * malloc/malloc.c: Likewise.
9318 * malloc/malloc.h: Likewise.
9319 * malloc/mcheck.c: Likewise.
9320 * malloc/mtrace.c: Likewise.
9321 * math/bits/mathcalls.h: Likewise.
9322 * math/fenv.h: Likewise.
9323 * math/math_private.h: Likewise.
9324 * misc/bits/error.h: Likewise.
9325 * misc/bits/syslog.h: Likewise.
9326 * misc/err.h: Likewise.
9327 * misc/error.h: Likewise.
9328 * misc/fstab.h: Likewise.
9329 * misc/mntent.h: Likewise.
9330 * misc/regexp.h: Likewise.
9331 * misc/search.h: Likewise.
9332 * misc/sgtty.h: Likewise.
9333 * misc/sys/mman.h: Likewise.
9334 * misc/sys/syslog.h: Likewise.
9335 * misc/sys/uio.h: Likewise.
9336 * misc/sys/xattr.h: Likewise.
9337 * misc/ttyent.h: Likewise.
9338 * nis/rpcsvc/ypclnt.h: Likewise.
9339 * nss/nss.h: Likewise.
9340 * posix/bits/unistd.h: Likewise.
9341 * posix/fnmatch.h: Likewise.
9342 * posix/glob.h: Likewise.
9343 * posix/sched.h: Likewise.
9344 * posix/spawn.h: Likewise.
9345 * posix/sys/wait.h: Likewise.
9346 * posix/unistd.h: Likewise.
9347 * posix/wordexp.h: Likewise.
9348 * pwd/pwd.h: Likewise.
9349 * resolv/netdb.h: Likewise.
9350 * resource/sys/resource.h: Likewise.
9351 * rt/aio.h: Likewise.
9352 * rt/bits/mqueue2.h: Likewise.
9353 * rt/mqueue.h: Likewise.
9354 * shadow/shadow.h: Likewise.
9355 * signal/signal.h: Likewise.
9356 * socket/send.c: Likewise.
9357 * socket/sendto.c: Likewise.
9358 * socket/sys/socket.h: Likewise.
9359 * stdio-common/printf.h: Likewise.
9360 * stdlib/bits/stdlib.h: Likewise.
9361 * stdlib/fmtmsg.h: Likewise.
9362 * stdlib/monetary.h: Likewise.
9363 * stdlib/stdlib.h: Likewise.
9364 * stdlib/ucontext.h: Likewise.
9365 * streams/stropts.h: Likewise.
9366 * string/argz.h: Likewise.
9367 * string/bits/string2.h: Likewise.
9368 * string/string.h: Likewise.
9369 * string/strings.h: Likewise.
9370 * sunrpc/rpc/auth.h: Likewise.
9371 * sunrpc/rpc/auth_des.h: Likewise.
9372 * sunrpc/rpc/clnt.h: Likewise.
9373 * sunrpc/rpc/netdb.h: Likewise.
9374 * sunrpc/rpc/pmap_clnt.h: Likewise.
9375 * sunrpc/rpc/xdr.h: Likewise.
9376 * sysdeps/generic/inttypes.h: Likewise.
9377 * sysdeps/generic/net/if.h: Likewise.
9378 * sysdeps/generic/sys/swap.h: Likewise.
9379 * sysdeps/gnu/net/if.h: Likewise.
9380 * sysdeps/gnu/utmpx.h: Likewise.
9381 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
9382 * sysdeps/i386/i486/bits/string.h: Likewise.
9383 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
9384 * sysdeps/s390/bits/string.h: Likewise.
9385 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
9386 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
9387 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
9388 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
9389 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
9390 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
9391 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
9392 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
9393 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
9394 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
9395 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
9396 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
9397 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
9398 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
9399 * sysdeps/unix/sysv/linux/readv.c: Likewise.
9400 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
9401 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
9402 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
9403 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
9404 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
9405 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
9406 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
9407 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
9408 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
9409 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
9410 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
9411 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
9412 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
9413 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
9414 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
9415 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
9416 * sysvipc/sys/ipc.h: Likewise.
9417 * sysvipc/sys/msg.h: Likewise.
9418 * sysvipc/sys/sem.h: Likewise.
9419 * sysvipc/sys/shm.h: Likewise.
9420 * termios/termios.h: Likewise.
9421 * time/sys/time.h: Likewise.
9422 * time/time.h: Likewise.
9423 * wcsmbs/bits/wchar2.h: Likewise.
9424 * wcsmbs/uchar.h: Likewise.
9425 * wcsmbs/wchar.h: Likewise.
9426 * wctype/wctype.h: Likewise.
9427
0269750c
UD
9428 [BZ #13551]
9429 * Makeconfig: Remove all but ELF support including AIX support.
9430 * Makerules: Likewise.
9431 * config.h.in: Likewise.
9432 * config.make.in: Likewise.
9433 * configure: Likewise.
9434 * configure.in: Likewise.
9435 * csu/Makefile: Likewise.
9436 * csu/version.c: Likewise.
9437 * debug/Makefile: Likewise.
9438 * dlfcn/Makefile: Likewise.
9439 * elf/Makefile: Likewise.
9440 * extra-lib.mk: Likewise.
9441 * iconv/Makefile: Likewise.
9442 * include/libc-symbols.h: Likewise.
9443 * include/shlib-compat.h: Likewise.
9444 * resolv/Makefile: Likewise.
9445 * resolv/res_libc.c: Likewise.
9446 * rt/Makefile: Likewise.
9447 * sysdeps/i386/asm-syntax.h: Likewise.
9448 * sysdeps/i386/sysdep.h: Likewise.
9449 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
9450 * sysdeps/mach/sysdep.h: Likewise.
9451 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
9452 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
9453 * sysdeps/s390/asm-syntax.h: Likewise.
9454 * sysdeps/s390/s390-32/sysdep.h: Likewise.
9455 * sysdeps/s390/s390-64/sysdep.h: Likewise.
9456 * sysdeps/sh/sysdep.h: Likewise.
9457 * sysdeps/unix/sparc/sysdep.h: Likewise.
9458 * sysdeps/wordsize-32/divdi3.c: Likewise.
9459 * sysdeps/x86_64/sysdep.h: Likewise.
9460
00bbd29b
UD
9461 * argp/Versions: Remove _argp_unlock_xxx.
9462
9463 [BZ #13559]
9464 * abilist/ld.abilist: Update. Adjust for removal of tls option.
9465 * abilist/libBrokenLocale.abilist: Likewise.
9466 * abilist/libanl.abilist: Likewise.
9467 * abilist/libc.abilist: Likewise.
9468 * abilist/libcrypt.abilist: Likewise.
9469 * abilist/libdl.abilist: Likewise.
9470 * abilist/libm.abilist: Likewise.
9471 * abilist/libnsl.abilist: Likewise.
9472 * abilist/libpthread.abilist: Likewise.
9473 * abilist/libresolv.abilist: Likewise.
9474 * abilist/librt.abilist: Likewise.
9475 * abilist/libthread_db.abilist: Likewise.
9476 * abilist/libutil.abilist: Likewise.
9477 * abilist/libnss_db.abilist: New file.
9478
9479 * scripts/abilist.awk: Add support for indirect functions.
9480
a2693a0e
UD
9481 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
9482
3f05895f
UD
9483 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
9484
ecb6fb48
UD
9485 * shlib-versions: Remove entries for ports architectures.
9486
664f8cb9
UD
9487 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
9488 files in ports.
9489 * elf/stackguard-macros.h: Remove support for IA-64.
9490 * elf/tst-auditmod1.c: Likewise.
9491 * sysdeps/generic/ldsodefs.h: Likewise.
9492
7ae81d88
UD
9493 * sysdeps/unix/sysv/linux/configure.in: Ports should define
9494 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
9495 configure files.
9496
bdeba135
UD
9497 [BZ #13552]
9498 * configure.in: Remove --enable-omitfp support.
9499 * FAQ.in: Adjust.
9500 * config.make.in: Likewise.
9501 * Makeconfig: Likewise.
9502 * manual/install.texi: Likewise.
9503
d75a0a62
UD
9504 In case anyone cares, the IA-64 architecture could move to ports.
9505 * sysdeps/ia64/*: Removed.
9506 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 9507 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 9508
dcc9756b
UD
9509 [BZ #13555]
9510 * configure.in: Remove entries for unsupported architectures.
9511
d3761ebc 9512 [BZ #13533]
9954432e
UD
9513 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
9514 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
9515 routines.
9516 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
9517 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
9518 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
9519 fall back to using wcrtomb.
9520 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
9521 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
9522 renaming.
9523 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
9524 * wcsmbs/tst-c16c32-1.c: New file.
9525
9526 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
9527 local variable.
9528
c3a87236
UD
9529 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
9530
28926a1b
UD
9531 * elf/tst-unique3.cc: Add explicit declaration of gets.
9532 * elf/tst-unique3lib.cc: Likewise.
9533 * elf/tst-unique3lib2.cc: Likewise.
9534 * elf/tst-unique4.cc: Likewise.
9535
df78418a
UD
9536 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
9537
8ecd6b2a
JM
95382012-01-06 Joseph Myers <joseph@codesourcery.com>
9539
9540 [BZ #13566]
9541 * assert/assert.h (static_assert): Don't define for C++.
9542 * libio/stdio.h (gets): Do declare for C++ <= C++11.
9543 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
9544
9f115170
UD
95452012-01-03 Ulrich Drepper <drepper@gmail.com>
9546
5e0d0300
UD
9547 * iconv/loop.c (single loop): Fix assertion in storing of
9548 remaining bytes.
9549
9f115170
UD
9550 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
9551
81fb02b0
UD
95522012-01-01 Ulrich Drepper <drepper@gmail.com>
9553
9554 * posix/getconf.c: Update copyright year.
9555 * nss/getent.c: Likewise.
a316c1f6 9556 * nss/makedb.c: Likewise.
81fb02b0
UD
9557 * iconv/iconvconfig.c: Likewise.
9558 * iconv/iconv_prog.c: Likewise.
9559 * elf/ldconfig.c: Likewise.
a316c1f6
UD
9560 * elf/pldd.c: Likewise.
9561 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
9562 * catgets/gencat.c: Likewise.
9563 * csu/version.c: Likewise.
9564 * elf/ldd.bash.in: Likewise.
9565 * elf/sprof.c (print_version): Likewise.
9566 * locale/programs/locale.c: Likewise.
9567 * locale/programs/localedef.c: Likewise.
a316c1f6 9568 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
9569 * nscd/nscd.c (print_version): Likewise.
9570 * debug/xtrace.sh: Likewise.
9571 * malloc/memusage.sh: Likewise.
9572 * malloc/mtrace.pl: Likewise.
9573 * debug/catchsegv.sh: Likewise.
9574
2ba92745
JJ
95752011-12-30 Jakub Jelinek <jakub@redhat.com>
9576
9577 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
9578 pure attribute.
9579
dadebdae
UD
95802011-12-24 Ulrich Drepper <drepper@gmail.com>
9581
d3761ebc 9582 [BZ #13533]
db6af3eb
UD
9583 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
9584 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
9585 transformations.
9586 * iconv/gconv_int.h: Likewise.
9587 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
9588 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
9589 from libc for GLIBC_2.16.
9590 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
9591 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
9592 * wcsmbs/uchar.h: Really define mbstate_t.
9593 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
9594 * wcsmbs/c16rtomb.c: New file.
9595 * wcsmbs/mbrtoc16.c: New file.
9596 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
9597 for C/POSIX locale.
9598 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
9599 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
9600
dadebdae
UD
9601 * wcsmbs/wchar.h: Add missing __restrict.
9602
67371b56
UD
96032011-12-23 Ulrich Drepper <drepper@gmail.com>
9604
74033a25
UD
9605 [BZ #13532]
9606 * time/Makefile (routines): Add timespec_get.
9607 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
9608 * time/time.h: Define TIME_UTC and declare timespec_get. Define
9609 timespec for ISO C11.
9610 * time/timespec_get.c: New file.
9611 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
9612 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
9613
380d7e87
UD
9614 [BZ #13531]
9615 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
9616 * stdlib/stdlib.h: Declare aligned_alloc.
9617 * Versions.def: Add GLIBC_2.16 for libc.
9618 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
9619
4e9e7a35
UD
9620 [BZ 13527]
9621 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
9622 ISO C11.
9623
380d7e87 9624 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
9625 code.
9626
03a71829
UD
9627 [BZ #13528]
9628 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
9629
839e283e
UD
9630 [BZ #13529]
9631 * assert/assert.h (static_assert): Define.
9632
ce5294e2 9633 * version.h: Update for 2.16 development version.
90fa7312 9634
8d44e150 9635 [BZ #13526]
d7809905
UD
9636 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
9637 _ISOC11_SOURCE.
9638
c0da14cd
UD
9639 * version.h (RELEASE): Bump for 2.15 release.
9640 * include/features.h (__GLIBC_MINOR__): Bump to 15.
9641
530a3249
MP
9642 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
9643 Patch by Marek Polacek <mpolacek@redhat.com>.
9644
67371b56
UD
9645 * bits/byteswap.h: Protect long long constants with __extension__.
9646 * sysdeps/i386/bits/byteswap.h: Likewise.
9647 * sysdeps/ia64/bits/byteswap.h: Likewise.
9648 * sysdeps/s390/bits/byteswap.h: Likewise.
9649 * sysdeps/x86_64/bits/byteswap.h: Likewise.
9650
15db4de1
LD
96512011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9652
9653 [BZ #13540]
bbe315ea
LD
9654 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
9655 destination buffer.
15db4de1
LD
9656 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
9657
2b2596b1
MP
96582011-12-23 Marek Polacek <polacek@redhat.com>
9659
9660 * elf/dl-addr.c (determine_info): Add inline keyword.
9661 * elf/tst-auditmod4b.c (check_avx): Likewise.
9662 * elf/tst-auditmod6b.c (check_avx): Likewise.
9663 * elf/tst-auditmod6c.c (check_avx): Likewise.
9664 * elf/tst-auditmod7b.c (check_avx): Likewise.
9665
70c6c246
UD
96662011-12-23 Ulrich Drepper <drepper@gmail.com>
9667
9668 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
9669 !__SSE_MATH__.
9670
c044cf14
LD
96712011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9672
15db4de1 9673 [BZ #13540]
c044cf14
LD
9674 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
9675 processing for last bytes.
9676
6b13d9d9
BH
96772011-08-06 Bruno Haible <bruno@clisp.org>
9678
d455f537
BH
9679 [BZ #13061]
9680 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
9681 U+0385, not to U+1FEE.
9682
6b13d9d9
BH
9683 [BZ #13062]
9684 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
9685 entry for U+00A5 U+0301.
9686
db910efd
UD
96872011-12-22 Ulrich Drepper <drepper@gmail.com>
9688
27deeafc
UD
9689 [BZ #13166]
9690 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
9691 buffer for the output is too small.
9692
aed9d171
UD
9693 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
9694 optimization.
9695
db910efd
UD
9696 [BZ #13185]
9697 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
9698 SSE flags if possible.
9699
2bd779ae
LD
97002011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9701
e7f9dac3 9702 [BZ #13540]
2bd779ae
LD
9703 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
9704 processing for last bytes.
9705
154bfc16
JM
97062011-12-22 Joseph Myers <joseph@codesourcery.com>
9707
9708 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
9709 (syscall-list-default-options, syscall-list-default-condition)
9710 (syscall-list-includes): Define.
9711 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
9712 list of ABIs and options and #if conditions for each ABI. Do not
9713 handle common syscalls between ABIs specially.
9714 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
9715 Remove.
9716 (syscall-list-variants, syscall-list-32bit-options)
9717 (syscall-list-32bit-condition, syscall-list-64bit-options)
9718 (syscall-list-64bit-condition): Define.
9719 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
9720 (syscall-list-variants, syscall-list-32bit-options)
9721 (syscall-list-32bit-condition, syscall-list-64bit-options)
9722 (syscall-list-64bit-condition): Define.
9723 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
9724 Remove.
9725 (syscall-list-variants, syscall-list-32bit-options)
9726 (syscall-list-32bit-condition, syscall-list-64bit-options)
9727 (syscall-list-64bit-condition): Define.
9728 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
9729 Remove.
9730 (syscall-list-variants, syscall-list-32bit-options)
9731 (syscall-list-32bit-condition, syscall-list-64bit-options)
9732 (syscall-list-64bit-condition): Define.
9733
21eaf3a5
UD
97342011-12-22 Ulrich Drepper <drepper@gmail.com>
9735
16c6f992
UD
9736 * locale/iso-639.def: Add brx entry.
9737
41043168
UD
9738 [BZ #13328]
9739 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
9740 Proposed by Mariusz_Cukr <marcukr@op.pl>.
9741
21eaf3a5
UD
9742 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
9743 __feraiseexcept_renamed.
9744
e3a851a2
UD
97452011-12-21 Ulrich Drepper <drepper@gmail.com>
9746
4920765e
UD
9747 [BZ #13538]
9748 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
9749 EPOLLET with unsigned values.
9750 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
9751 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
9752
e3a851a2
UD
9753 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
9754 to large cancellation.
9755 * math/s_cacoshf.c: Likewise.
9756 * math/s_cacoshl.c: Likewise.
9757
b27e24b8
RK
97582011-11-18 Richard B. Kreckel <kreckel@ginac.de>
9759
9760 [BZ #13305]
aebefeee 9761 [BZ #12786]
b27e24b8
RK
9762 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
9763 * math/s_cacoshf.c: Likewise.
9764 * math/s_cacoshl.c: Likewise.
9765
ee190f67
UD
97662011-12-21 Ulrich Drepper <drepper@gmail.com>
9767
9768 [BZ #13439]
9769 * iconv/gconv.h: Define __GCONV_SWAP.
9770 * iconvdata/unicode.c: The swap bit must be stored in __flags.
9771 * iconvdata/utf-16.c: Likewise.
9772 * iconvdata/utf-32.c: Likewise.
9773
707f25df
AS
97742011-12-21 Andreas Schwab <schwab@linux-m68k.org>
9775
9776 [BZ #13524]
9777 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
9778 numerator after shifting it by one limb.
9779
d2daaa1e
RÁE
97802011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
9781
9782 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
9783 under [__USE_EXTERN_INLINES].
9784
a4647e72
UD
97852011-12-17 Ulrich Drepper <drepper@gmail.com>
9786
9787 [BZ #13446]
9788 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
9789
f0b264f1
AZ
97902011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9791
9792 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
9793 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
9794 optimized code.
9795 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
9796 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
9797 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
9798 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
9799 for strncasecmp/strncasecmp_l compilation.
9800 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
9801 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
9802
8ef4f244
MP
98032011-12-08 Marek Polacek <mpolacek@redhat.com>
9804
9805 [BZ #13484]
9806 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
9807 of __asm__.
9808
97ac2654
UD
98092011-12-17 Ulrich Drepper <drepper@gmail.com>
9810
9811 [BZ #13506]
9812 * time/tzfile.c (__tzfile_read): Check values from file header.
9813
91d2a845
WS
98142011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
9815
9816 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
9817 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
9818 * powerpc/powerpc32/dl-start.S: Likewise.
9819 * powerpc/powerpc32/elf/start.S: Likewise.
9820 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
9821 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
9822 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
9823 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
9824 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
9825 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
9826 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
9827 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
9828 * powerpc/powerpc32/fpu/s_round.S: Likewise.
9829 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
9830 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
9831 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
9832 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
9833 * powerpc/powerpc32/memset.S: Likewise.
9834 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
9835 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
9836 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
9837 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
9838 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
9839 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
9840 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
9841 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
9842 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
9843 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
9844 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
9845 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
9846 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
9847
a1267ba1
AZ
98482011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9849
9850 * math/libm-test.inc: Added more nearbyint tests.
9851 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
9852 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
9853 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
9854 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
9855
ad8ac1bd
RL
98562011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
9857
9858 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
9859 FD_CLOEXEC.
9860
1d3e4b61
UD
98612011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9862
9863 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
9864 Add wcscpy-ssse3 wcscpy-c.
9865 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
9866 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
9867 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
9868 * sysdeps/x86_64/wcschr.S: New file.
9869 * sysdeps/x86_64/wcsrchr.S: New file.
9870 * string/test-strcmp.c: Remove checking of wcscmp function for
9871 wrong alignments.
9872 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
9873 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
9874 wcsrchr-sse2 wcsrchr-c.
9875 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
9876 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
9877 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
9878 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
9879 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
9880 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
9881 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
9882 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
9883 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
9884 * wcsmbc/wcschr.c (WCSCHR): New macro.
9885
5b330a2d
UD
98862011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9887
9888 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
9889 * wcsmbs/test-wcsrchr.c: New file.
9890 * string/test-strrchr.c: Add wcsrchr support.
9891 (WIDE): New macro.
9892 * wcsmbs/test-wcscpy.c: New file.
9893 * string/test-strcpy.c: Add wcscpy support.
9894 (WIDE): New macro.
26428b7c 9895
f039c043
UD
98962011-12-10 Ulrich Drepper <drepper@gmail.com>
9897
9898 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
9899 the inner loop.
9900
850fb039
AS
99012011-12-06 Andreas Schwab <schwab@linux-m68k.org>
9902
9903 [BZ #13472]
9904 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
9905
4efbd5cb
UD
99062011-12-04 Ulrich Drepper <drepper@gmail.com>
9907
52ff5dd0 9908 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 9909 Minor optimizations.
52ff5dd0 9910
4efbd5cb
UD
9911 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
9912 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
9913 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
9914
8a426e12
UD
99152011-12-03 Ulrich Drepper <drepper@gmail.com>
9916
aff2453d
UD
9917 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
9918 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
9919 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
9920 for gcc to avoid warnings.
9921 * inet/Makefile (tests): Add tst-checks.
9922 * inet/tst-checks.c: New file.
9923
9924 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
9925 warning.
9926
9927 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
9928 __wmemcmp_sse2.
9929
9930 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
9931 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
9932
8a426e12
UD
9933 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
9934
9bea3473
UD
99352011-12-02 Ulrich Drepper <drepper@gmail.com>
9936
3a965496
UD
9937 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
9938 problem.
9939
9bea3473
UD
9940 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
9941
f101631b
UD
99422011-11-29 Joseph Myers <joseph@codesourcery.com>
9943
9944 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
9945 conditional on GCC version.
9946 (__arch_compare_and_exchange_val_8_acq)
9947 (__arch_compare_and_exchange_val_16_acq)
9948 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
9949 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
9950 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
9951
a98275aa
UD
99522011-12-02 Joseph Myers <joseph@codesourcery.com>
9953
9954 * sysdeps/sh/backtrace.c: New file.
9955
d4cc29a2
AS
99562011-12-02 Andreas Schwab <schwab@redhat.com>
9957
9958 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
9959 parenthesis.
9960
6257af2d
AS
99612011-12-01 Andreas Schwab <schwab@redhat.com>
9962
9963 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
9964 falling back to utime.
9965
b5f44c1a
AS
99662011-11-30 Andreas Schwab <schwab@redhat.com>
9967
9968 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
9969 expectations for float.
9970
f3a6cc0a
AS
99712011-11-29 Andreas Schwab <schwab@redhat.com>
9972
9973 * locale/weight.h (findidx): Add parameter len.
9974 * locale/weightwc.h (findidx): Likewise.
9975 * posix/fnmatch_loop.c (FCT): Adjust caller.
9976 * posix/regcomp.c (build_equiv_class): Likewise.
9977 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
9978 * posix/regexec.c (check_node_accept_bytes): Likewise.
9979 * string/strcoll_l.c (STRCOLL): Likewise.
9980 * string/strxfrm_l.c (STRXFRM): Likewise.
9981
9d65ea3a
UD
99822011-11-17 Ulrich Drepper <drepper@gmail.com>
9983
9984 * Makefile.in: Remove CVSOPT handling.
9985 * configure.in: Remove use of AC_REVISION.
9986 * iconvdata/Makefile (distribute): No need to filter out CVS.
9987 * scripts/list-sources.sh: Remove CVS, subversion and monotone
9988 handling.
9989
5583a086
AS
99902011-11-16 Andreas Schwab <schwab@redhat.com>
9991
9992 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
9993 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
9994 [USE_AS_STRNCASECMP_L]: Likewise.
9995 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
9996 NO_TLS_DIRECT_SEG_REFS.
9997 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
9998 Fix argument offsets for non-PIC.
9999 [USE_AS_STRNCASECMP_L]: Likewise.
10000 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
10001 NO_TLS_DIRECT_SEG_REFS.
10002
d62a8200
UD
100032011-11-15 Ulrich Drepper <drepper@gmail.com>
10004
9d65ea3a 10005 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
10006 O_CLOEXEC.
10007 * locale/loadlocale.c (_nl_load_locale): Likewise.
10008
09f93bd3
AS
100092011-11-15 Andreas Schwab <schwab@redhat.com>
10010
446514f9
AS
10011 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
10012 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
10013 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
10014 (SYSCALL_GETTIME): Set errno on error.
10015
09f93bd3
AS
10016 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
10017 count references to noai6ai_cached.
10018
312be3f9
UD
100192011-11-15 Ulrich Drepper <drepper@gmail.com>
10020
10021 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
10022
10023 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
10024 FD_CLOEXEC for /proc/self/maps.
10025
10026 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
10027 FD_CLOEXEC for /proc/meminfo.
10028
10029 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
10030 gai.conf.
10031
10032 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
10033 FD_CLOEXEC for given file.
10034
10035 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
10036
10037 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
10038 FD_CLOEXEC for /etc/hosts.
10039 (_gethtent): Likewise.
10040
10041 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
10042
10043 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
10044 cancellation and set FD_CLOEXEC for /etc/netgroup.
10045
10046 * nss/nss_files/files-key.c (search): Don't allow cancellation when
10047 reading /etc/publickey.
10048
10049 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
10050 allow cancellation when reading /etc/group.
10051
10052 * nss/nss_files/files-alias.c (internal_setent): Don't allow
10053 cancellation.
10054 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
10055
10056 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
10057 when using data file.
10058
10059 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
10060
10061 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
10062 (write_nis_obj): Use "c" and "e" in fopen.
10063
10064 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
10065
10066 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
10067
10068 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
10069
10070 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
10071
10072 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
10073 locale.alias.
10074
10075 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
10076
10077 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
10078
10079 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
10080
10081 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
10082 file parsing and set FD_CLOEXEC.
10083
82af0fa8
UD
100842011-11-14 Ulrich Drepper <drepper@gmail.com>
10085
10086 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
10087
a5fb313c
AS
100882011-11-14 Andreas Schwab <schwab@redhat.com>
10089
10090 * malloc/arena.c (arena_get2): Don't call reused_arena when
10091 _int_new_arena failed.
10092
6abf3465
UD
100932011-11-14 Ulrich Drepper <drepper@gmail.com>
10094
10095 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
10096 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
10097 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
10098 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
10099 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
10100 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
10101 to compile strcasecmp and strncasecmp.
10102 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
10103 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
10104
10105 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
10106
76e3966e
UD
101072011-11-13 Ulrich Drepper <drepper@gmail.com>
10108
10109 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
10110 locale-defines.sym to gen-as-const-headers.
10111 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
10112 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
10113 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
10114 to compile strcasecmp and strncasecmp.
10115 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
10116 strcasecmp_l and strncasecmp_l.
10117 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
10118 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
10119 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
10120 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
10121 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
10122 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
10123 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
10124 * sysdeps/i386/i686/multiarch/strncase.S: New file.
10125 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
10126 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
10127 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
10128
ab26144e
UD
101292011-11-12 Ulrich Drepper <drepper@gmail.com>
10130
7edb22ef
UD
10131 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
10132 result of SYSDEP_GETTIME_CPU to retval.
10133 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
10134 parameter list to macro. Remove trailing semicolon. Adjust users.
10135
9694fc44
UD
10136 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
10137 variable.
10138
8ad89ef8
UD
10139 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
10140 mantissa words.
10141 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
10142
0c822ef9
UD
10143 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
10144 from unused variable.
10145
874e0564
UD
10146 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
10147 DWARF definitions.
10148 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
10149 for assembling.
10150
3a2edc79
UD
10151 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
10152 over namespaces.
10153
f3c2577f
UD
10154 * sunrpc/rpc_prot.c (rejected): Fix case value.
10155
294ce126
UD
10156 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
10157 unsigned long long int to avoid warnings in shift.
10158
5e2b63c6
UD
10159 * posix/regex_internal.c (re_string_reconstruct): Actually use result
10160 of use of trans.
10161 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
10162 variable tmp.
10163
e7f4b08e
UD
10164 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
10165 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
10166 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
10167
ab26144e
UD
10168 * nis/nis_table.c (nis_list): Use variable of correct type for
10169 result of __follow_path call.
10170
8a6d5255
AZ
101712011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10172
10173 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
10174 of math functions ceil, trunc, floor, round, and sqrt, when
10175 avaliable on the platform.
10176 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
10177 name clash.
10178 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
10179 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
10180 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
10181
aaddc98c
MP
101822011-10-30 Marek Polacek <mpolacek@redhat.com>
10183
10184 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
10185 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
10186
95b7042b
RM
101872011-11-11 Roland McGrath <roland@hack.frob.com>
10188
10189 * include/unistd.h: Fix __readlink return type.
10190 Reported by Chris Metcalf <cmetcalf@tilera.com>.
10191
57769839
UD
101922011-11-11 Ulrich Drepper <drepper@gmail.com>
10193
10194 * stdlib/ucontext.h: Undo last change for makecontext.
10195
edc5984d
AS
101962011-11-11 Andreas Schwab <schwab@redhat.com>
10197
98591e58
AS
10198 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
10199
edc5984d
AS
10200 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
10201 * setjmp/setjmp.h: Mark functions as non-leaf.
10202 * setjmp/bits/setjmp2.h: Likewise.
10203 * stdlib/ucontext.h: Likewise.
10204
77cdc054
AS
102052011-11-10 Andreas Schwab <schwab@redhat.com>
10206
10207 * malloc/arena.c (_int_new_arena): Don't increment narenas.
10208 (reused_arena): Don't check arena limit.
10209 (arena_get2): Atomically check arena limit.
10210
fe72eebd
UD
102112011-11-08 Ulrich Drepper <drepper@gmail.com>
10212
5f078c32
UD
10213 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
10214 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
10215
fe72eebd
UD
10216 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
10217 instructions.
10218
ae1bc2fa
AS
102192011-11-07 Andreas Schwab <schwab@redhat.com>
10220
7583a88d
AS
10221 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
10222 handler when locking.
10223
ae1bc2fa
AS
10224 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
10225 Fix size of allocated buffer.
10226
10fb0bfa
AS
102272011-11-04 Andreas Schwab <schwab@redhat.com>
10228
998832a4
AS
10229 [BZ #10103]
10230 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
10231 declarations for long double functions.
10232 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
10233
10fb0bfa
AS
10234 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
10235
3d7ba52b
AS
102362011-11-03 Andreas Schwab <schwab@redhat.com>
10237
a9ae54a1
AS
10238 * nscd/nscd.c (main): Don't start AVC thread until credentials are
10239 installed.
10240
3d7ba52b
AS
10241 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
10242 is disabled.
10243
bc8db248
ST
102442011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
10245
10246 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
10247
45b96dd6
AS
102482011-11-01 Andreas Schwab <schwab@linux-m68k.org>
10249
647776f6
AS
10250 * include/alloca.h (stackinfo_alloca_round): Define.
10251 (extend_alloca): Use it.
10252 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
10253 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
10254 here.
10255
d91a8b93
AS
10256 * scripts/check-local-headers.sh: Ignore libaudit.h.
10257
45b96dd6
AS
10258 * nscd/Makefile (extra-objs): Make recursively expanded.
10259
432d41ce
UD
102602011-11-01 Ulrich Drepper <drepper@gmail.com>
10261
34372fc6
UD
10262 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
10263 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
10264
fadb59f8
UD
10265 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
10266 * posix/tst-rfc3484-2.c: Likewise.
10267 * posix/tst-rfc3484-3.c: Likewise.
10268
78239589
UD
10269 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
10270 process_vm_writev.
10271 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
10272 process_vm_writev.
10273 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
10274 process_vm_writev from libc using GLIBC_2.15 version.
10275
432d41ce
UD
10276 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
10277
02f9c6cf
PP
102782011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
10279
10280 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
10281 stack usage.
10282
3a2c0242
UD
102832011-10-31 Ulrich Drepper <drepper@gmail.com>
10284
f4ec4833
UD
10285 [BZ #13367]
10286 * nss/getent.c (initgroups_keys): Show error message in case no group
10287 names are given.
10288
3a2c0242
UD
10289 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
10290 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
10291 __bump_nl_timestamp.
10292 * nscd/connections (nscd_init): When host database is served open
10293 netlink socket and request notification about configuration changes.
10294 (main_loop_poll): Track netlink file descriptor and bump timestamp
10295 in case data becomes available.
10296 (main_loop_epoll): Likewise.
10297 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
10298 (database_pers_head): Add extra_data fileds.
10299 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
10300 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
10301 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
10302 Adjust caller.
10303 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
10304 in6ai data, call __free_in6ai.
10305 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
10306 Add -DHAVE_NETLINK.
10307 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
10308 interface information. Reuse previous data if netlink timestamp
10309 is not changed.
10310 (__bump_nl_timestamp): New function.
10311 (__free_in6ai): New function.
10312
636064eb
UD
103132011-10-30 Ulrich Drepper <drepper@gmail.com>
10314
10315 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
10316 close_not_cancel_no_status here.
10317 (__check_pf): Reorganize code a bit to not call close twice if OOM.
10318
9beb2334
UD
103192011-10-29 Ulrich Drepper <drepper@gmail.com>
10320
6ef76f3b
UD
10321 [BZ #13276]
10322 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
10323 return value.
10324
0ffc4f3e 10325 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
10326 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
10327 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
10328
cb95113e
UD
103292011-07-03 Andreas Jaeger <aj@suse.de>
10330
10331 [BZ #10709]
10332 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
10333 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
10334 * math/libm-test.inc (sin_test): Add test case.
10335
a1b560ff
UD
103362011-10-29 Ulrich Drepper <drepper@gmail.com>
10337
c9aaface
UD
10338 [BZ #13337]
10339 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
10340 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
10341
d272e7f1
UD
10342 * elf/chroot_canon.c (chroot_canon): Cleanups.
10343
1bc33071
UD
10344 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
10345
1760874d
TJ
10346 [BZ #13335]
10347 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
10348 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
10349
51d91b18
UD
10350 * string/test-strchr.c: Make usable for strchrnul testing.
10351 * string/test-strchrnul.c: New file.
10352 * string/Makefile (strop-tests): Add strchrnul.
10353
a1b560ff 10354 * po/it.po: Update from translation team.
b611fb81 10355 * po/es.po: Likewise.
a1b560ff 10356
a5b81e1f
UD
103572011-10-28 Ulrich Drepper <drepper@gmail.com>
10358
fd52bc6d
UD
10359 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
10360 the three constants needed as parameters. Drop the others.
10361 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
10362 __m128i_strloadu_tolower.
52e4b9eb
UD
10363 Create and initialize variable zero and use it in all the places
10364 where _mm_setzero_si128 was used.
fd52bc6d 10365
a5b81e1f
UD
10366 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
10367 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
10368 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
10369 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
10370 anymore.
10371 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
10372 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
10373 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
10374 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
10375 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
10376 __mpranred, __mptan.
10377 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
10378 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
10379 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
10380 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
10381 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
10382 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
10383 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
10384 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
10385 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
10386
b4343346
AS
103872011-10-28 Andreas Schwab <schwab@redhat.com>
10388
0c92d8a8
AS
10389 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
10390 redefine if SHARED.
10391 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
10392
b4343346
AS
10393 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
10394 wide char related routines to wcsmbs subdir.
10395
3871f58f
AS
103962011-10-27 Andreas Schwab <schwab@redhat.com>
10397
10398 [BZ #13344]
10399 * misc/sys/cdefs.h (__THROWNL): Define.
10400 * posix/unistd.h: Use __THREADNL instead of __THREAD
10401 for memory synchronization functions.
10402
94d44d9f
RM
104032011-10-26 Roland McGrath <roland@hack.frob.com>
10404
21b64b15 10405 [BZ #13349]
94d44d9f
RM
10406 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
10407 doesn't exist.
10408 * manual/stdio.texi (Obstack Streams): Node removed.
10409
f6ce9294
AS
104102011-10-26 Andreas Schwab <schwab@redhat.com>
10411
80479147
AS
10412 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
10413 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
10414 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
10415
f6ce9294
AS
10416 * math/math_private.h (math_force_eval): Allow non-addressable
10417 arguments.
10418 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
10419
618280a1
UD
104202011-10-25 Ulrich Drepper <drepper@gmail.com>
10421
e0016b11
UD
10422 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
10423 file is not needed.
10424
10425 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
10426 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
10427 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
10428 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
10429 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
10430 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
10431 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
10432 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
10433 Add AVX variants.
10434 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
10435 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
10436 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
10437 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
10438 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
10439 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
10440 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
10441 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
10442 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
10443 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
10444 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
10445 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
10446 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
10447 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
10448 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
10449 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
10450 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
10451 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
10452 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
10453
10454 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
10455 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
10456
618280a1
UD
10457 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
10458 place. Use VEX encoding when compiling for AVX.
10459
37822576
AS
104602011-10-25 Andreas Schwab <schwab@redhat.com>
10461
1f1e1947
AS
10462 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
10463 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
10464
37822576
AS
10465 * string/test-strchr.c (do_test): Don't generate NUL bytes.
10466
31ea014d
UD
104672011-10-25 Ulrich Drepper <drepper@gmail.com>
10468
d7826aa1 10469 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 10470 useless if() expression.
d7826aa1
UD
10471 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
10472 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
10473 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
10474 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
10475 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
10476 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
10477 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
10478 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
10479 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
10480 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
10481 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
10482 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
10483 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
10484 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
10485 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
10486 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
10487 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
10488 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
10489 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
10490
31ea014d
UD
10491 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
10492
16437fec
AS
104932011-10-25 Andreas Schwab <schwab@redhat.com>
10494
10495 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
10496 condition.
10497 * elf/dl-fini.c (_dl_sort_fini): Likewise.
10498
31d3cc00
UD
104992011-10-25 Ulrich Drepper <drepper@gmail.com>
10500
10501 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
10502 .text section. Avoid duplicate constants.
10503 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
10504 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
10505 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
10506 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
10507 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
10508 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
10509 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
10510 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
10511 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
10512 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
10513 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
10514 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
10515 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
10516 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
10517 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
10518 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
10519 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
10520 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
10521 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
10522 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
10523 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
10524 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
10525 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
10526 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
10527 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
10528 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
10529 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
10530 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
10531 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
10532 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
10533 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
10534 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
10535 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
10536 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
10537 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
10538 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
10539 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
10540 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
10541 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
10542 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
10543 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
10544 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
10545 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
10546 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
10547 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
10548
58985aa9
UD
105492011-10-24 Ulrich Drepper <drepper@gmail.com>
10550
202c9deb
UD
10551 * sysdeps/x86_64/dla.h: Move to ...
10552 * sysdeps/x86_64/fpu/dla.h: ...here.
10553 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
10554 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 10555
af968f62
UD
10556 * config.make.in: Add have-mfma4 entry.
10557 * configure.in: Substitute libc_cv_cc_fma4.
10558 * math/Makefile (dbl-only-routines): Add sincostab.
10559 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
10560 Use __sincostab not sincos.
10561 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
10562 name is a macro.
10563 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
10564 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
10565 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
10566 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
10567 using __copysign.
10568 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
10569 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
10570 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
10571 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
10572 and __inv.
10573 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
10574 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
10575 __copysign.
10576 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
10577 define aliases when function name is a macro.
10578 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
10579 sysdeps/ieee754/dbl-64/sincos.tbl.
10580 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
10581 fma4-enabled routines.
10582 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
10583 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
10584 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
10585 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
10586 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
10587 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
10588 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
10589 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
10590 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
10591 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
10592 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
10593 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
10594 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
10595 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
10596 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
10597 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
10598 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
10599 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
10600 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
10601 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
10602 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
10603 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
10604 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
10605 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
10606 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
10607 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
10608 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
10609 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
10610 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
10611 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
10612
58985aa9
UD
10613 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
10614 rename.
10615 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
10616 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
10617 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
10618 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
10619 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
10620 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
10621 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
10622 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
10623
a201fbcf
AS
106242011-10-24 Andreas Schwab <schwab@redhat.com>
10625
10626 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
10627
fc2ee42a
LD
106282011-10-23 Ulrich Drepper <drepper@gmail.com>
10629
bb3129bd
UD
10630 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
10631
0275fff8
UD
10632 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
10633 prediction.
10634 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
10635
2fa2ae85
UD
10636 * string/strnlen.c: Don't define STRNLEN, reverse logic.
10637 Remove unused variable magic_bits.
10638 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
10639
fc2ee42a
LD
10640 * string/strnlen.c: Define and use STRNLEN macro.
10641 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
10642 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
10643 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
10644 * wcsmbs/wcslen.c: Define and use WCSLEN.
10645 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
10646 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
10647 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
10648 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
10649 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
10650 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
10651 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
10652
ce7dd29f
LD
106532011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10654
10655 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
10656 strnlen-sse2-no-bsf.
10657 Rename strlen-no-bsf to strlen-sse2-no-bsf.
10658 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
10659 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
10660 Add strnlen support.
10661 (USE_AS_STRNLEN): New macro.
10662 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
10663 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
10664 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
10665 * sysdeps/x86_64/wcslen.S: New file.
10666
979c70a3
MZ
106672011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
10668
10669 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
10670 XMM-moves are used for copying on small sizes.
10671
2d09f82f
LD
106722011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10673
10674 * wcsmbs/Makefile (strop-tests): Add wcschr.
10675 * wcsmbs/test-wcschr.c: New file.
10676 * string/test-strchr.c: Update.
10677 Add wcschr support.
10678 (WIDE): New macro.
10679
619fccca
LD
106802011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10681
2d09f82f 10682 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
10683 * wcsmbs/test-wcslen.c: New file.
10684 * string/test-strlen.c: Update.
10685 Add wcslen support.
10686 (WIDE): New macro.
10687
09f699ea
UD
106882011-10-23 Ulrich Drepper <drepper@gmail.com>
10689
10690 * po/it.po: Update from translation team.
10691
95584d3b
LD
106922011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10693
10694 * sysdeps/x86_64/wcscmp.S: Update.
10695 Fix wrong comparison semantics.
10696 wcscmp shall use signed comparison not unsigned.
10697 Don't use substraction to avoid overflow bug.
10698 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
10699 * wcsmbc/wcscmp.c: Likewise.
10700 * string/test-strcmp.c: Likewise.
10701 Add new tests to check cases with negative values.
10702
c8b3296b
UD
107032011-10-23 Ulrich Drepper <drepper@gmail.com>
10704
10705 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
10706 * sysdeps/x86_64/dla.h: ...here. New file.
10707 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
10708 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
10709 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
10710 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
10711 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
10712 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
10713 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
10714 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
10715 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
10716
246ad57a
AS
107172011-10-23 Andreas Schwab <schwab@linux-m68k.org>
10718
10719 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
10720 __ynl_finite aliases.
10721
a1a87169
UD
107222011-10-22 Ulrich Drepper <drepper@gmail.com>
10723
0d355eb7
UD
10724 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10725
a1a87169
UD
10726 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
10727 define DLA_FMA.
10728 [DLA_FMA] (EMULV): Use DLA_FMA.
10729 [DLA_FMA] (MUL12): Use EMULV.
10730 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
10731 that are not needed.
10732 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
10733 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
10734 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
10735 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
10736 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
10737 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
10738 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
10739
ee2aafe0
AS
107402011-10-22 Andreas Schwab <schwab@linux-m68k.org>
10741
10742 * math/s_nan.c: Undef __nan.
10743 * math/s_nanf.c: Undef __nanf.
10744 * math/s_nanl.c: Undef __nanl.
10745 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
10746 "math_private.h".
10747
bc62c2fb
UD
107482011-10-22 Ulrich Drepper <drepper@gmail.com>
10749
77425c63
UD
10750 * math/s_catan.c: Add branch predictions.
10751 * math/s_catanf.c: Likewise.
10752 * math/s_catanh.c: Likewise.
10753 * math/s_catanhf.c: Likewise.
10754 * math/s_catanhl.c: Likewise.
10755 * math/s_catanl.c: Likewise.
10756 * math/s_cexp.c: Likewise.
10757 * math/s_cexpf.c: Likewise.
10758 * math/s_cexpl.c: Likewise.
10759 * math/s_clog.c: Likewise.
10760 * math/s_clog10.c: Likewise.
10761 * math/s_clog10f.c: Likewise.
10762 * math/s_clog10l.c: Likewise.
10763 * math/s_clogf.c: Likewise.
10764 * math/s_clogl.c: Likewise.
10765 * math/s_csqrt.c: Likewise.
10766 * math/s_csqrtf.c: Likewise.
10767 * math/s_csqrtl.c: Likewise.
10768 * math/s_ctanf.c: Likewise.
10769 * math/s_ctanh.c: Likewise.
10770 * math/s_ctanhf.c: Likewise.
10771 * math/s_ctanhl.c: Likewise.
10772 * math/s_ctanl.c: Likewise.
10773
bc62c2fb
UD
10774 * math/math_private.h: Define __nan, __nanf, __nanl.
10775 * math/s_cacosh.c: Include <math_private.h>.
10776 * math/s_cacoshl.c: Likewise.
10777 * math/s_casinh.c: Likewise.
10778 * math/s_casinhf.c: Likewise.
10779 * math/s_casinhl.c: Likewise.
10780 * math/s_ccos.c: Rely entire on ccosh.
10781 * math/s_ccosf.c: Rely entire on ccoshf.
10782 * math/s_ccosl.c: Rely entirely on ccoshl.
10783 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
10784 Remove tests for FE_INVALID.
10785 * math/s_ccoshf.c: Likewise.
10786 * math/s_ccoshl.c: Likewise.
10787 * math/s_csin.c: Likewise.
10788 * math/s_csinf.c: Likewise.
10789 * math/s_csinh.c Likewise.
10790 * math/s_csinhf.c: Likewise.
10791 * math/s_csinhl.c: Likewise.
10792 * math/s_csinl.c: Likewise.
10793 * math/s_ctan.c: Likewise.
10794 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
10795 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
10796 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
10797
8ec250a4
UD
107982011-10-21 Ulrich Drepper <drepper@gmail.com>
10799
c196fed8
UD
10800 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
10801 compilation problems.
10802
8ec250a4
UD
10803 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
10804 __builtin_expect.
10805
8d4f46c6
UD
108062011-10-20 Ulrich Drepper <drepper@gmail.com>
10807
ed72b654
UD
10808 * sysdeps/i386/configure.in: Test for -mfma4 option.
10809 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
10810 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
10811 COMMON_CPUID_INDEX_80000001.
10812 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
10813 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
10814 use it if FMA3 is not supported.
10815 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
10816
8d4f46c6
UD
10817 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
10818 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
10819
d45c60c2
AS
108202011-10-20 Andreas Schwab <schwab@redhat.com>
10821
10822 [BZ #12892]
10823 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
10824 it would create a cycle with a link time dependency.
10825
d9a4d2ab
UD
108262011-10-19 Ulrich Drepper <drepper@gmail.com>
10827
855d1560
UD
10828 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
10829 instruction.
10830 * string/Makefile (strop-tests): Add rawmemchr.
10831 * string/test-rawmemchr.c: New file.
10832
d9a4d2ab
UD
10833 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
10834 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
10835 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
10836 when compiling str{,n}casecmp and when AVX is available. Hook up
10837 new optimized code in initializers.
10838
8f3b1ffe
AS
108392011-10-19 Andreas Schwab <schwab@redhat.com>
10840
10841 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
10842 __feraiseexcept instead of feraiseexcept.
10843
d38f1dba
UD
108442011-10-18 Ulrich Drepper <drepper@gmail.com>
10845
d9a8d0ab
UD
10846 * math/math_private.h: Define defaults for libc_fetestexcept and
10847 libc_feupdateenv.
10848 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
10849 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
10850 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
10851 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
10852 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
10853 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
10854 libc_fetestexcept and libc_feupdateenv.
10855
4855e3dd
UD
10856 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
10857 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
10858 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
10859 * sysdeps/x86_64/fpu/math_private.h: Define special version of
10860 libc_feholdexcept_setround.
10861
581d30e3
UD
10862 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
10863 Add s_nearbyint-c and s_nearbyintf-c.
10864 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
10865 nearbyintf inlines.
10866 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
10867 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
10868 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
10869 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
10870
d38f1dba
UD
10871 * math/math_private.h: Define defaults for libc_fegetround,
10872 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
10873 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
10874 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
10875 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
10876 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
10877 standard functions.
10878 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
10879 Remove comments and hacks for old compiler versions.
10880 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
10881 libc_fegetround, libc_fesetround, libc_feholdexcept, and
10882 libc_feholdexceptl.
10883
caa6c9d8
AS
108842011-10-18 Andreas Schwab <schwab@redhat.com>
10885
10886 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
10887 (__feraiseexcept_renamed): Add __NTH.
10888 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
10889 namespace violations.
10890
97c066e6
UD
108912011-10-17 Ulrich Drepper <drepper@gmail.com>
10892
99ce7b04
UD
10893 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
10894
1004d182
UD
10895 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
10896
228a984d
UD
10897 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
10898 recently added interfaces.
10899 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
10900
c8553a6a
UD
10901 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
10902 about macro parameter expansion.
10903
ed22dcf6
UD
10904 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
10905 __NO_MATH_INLINES is defined. Cleanups.
10906
10907 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
10908 and __floorf is target has SSE4.1.
10909 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
10910 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
10911 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
10912 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
10913
b171c137
UD
10914 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
10915 name.
10916 (floorf): Likewise.
10917
97c066e6
UD
10918 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
10919
629f62ef
AS
109202011-10-17 Andreas Schwab <schwab@redhat.com>
10921
49a43d80
AS
10922 * misc/sys/cdefs.h: Fix last change.
10923
629f62ef
AS
10924 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
10925 database lookup.
10926
e453f6cd
UD
109272011-10-16 Ulrich Drepper <drepper@gmail.com>
10928
aa78043a
UD
10929 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
10930
ad0f5cad
UD
10931 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
10932 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
10933 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
10934 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
10935 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
10936 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
10937 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
10938 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
10939 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
10940 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
10941 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
10942 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
10943 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
10944 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
10945 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
10946 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
10947 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
10948 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
10949 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
10950 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
10951 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
10952 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
10953
10954 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
10955 ceil, ceilf, floor, floorf.
10956
10957 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
10958 Perform IRELATIVE relocations last.
10959
e453f6cd
UD
10960 * elf/do-rel.h: Add another parameter nrelative, replacing the
10961 local variable with the same name. Change name of the function
10962 to end in Rel or Rela (uppercase).
10963 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
10964 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
10965 elf_dynamic_do_##reloc function.
10966
fd5bdc09
UD
109672011-10-15 Ulrich Drepper <drepper@gmail.com>
10968
79b195b5
UD
10969 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
10970 is sufficient, at least on modern CPUs.
10971
d4a28569
UD
10972 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
10973
b61099b5
UD
10974 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
10975 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
10976
bcf01e6d
UD
10977 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
10978 __expl_finite.
10979 * math/bits/math-finite.h: Add entries for exp.
10980 * math/e_expl.c: Add __*_finite alias.
10981 * sysdeps/i386/fpu/e_exp.S: Likewise.
10982 * sysdeps/i386/fpu/e_expf.S: Likewise.
10983 * sysdeps/i386/fpu/e_expl.c: Likewise.
10984 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
10985 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
10986 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
10987 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
10988 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
10989 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
10990 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
10991
ba1a0d59
UD
10992 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
10993 is sufficient, at least on modern CPUs.
10994
fd5bdc09
UD
10995 * ctype/ctype-info.c (__ctype_init): Define.
10996 * include/ctype.h (__ctype_init): Declare.
10997 (__ctype_b_loc): The variable is always initialized.
10998 (__ctype_toupper_loc): Likewise.
10999 (__ctype_tolower_loc): Likewise.
11000 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
11001 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
11002
7872cfb0
AS
110032011-10-15 Andreas Schwab <schwab@linux-m68k.org>
11004
b468825a
AS
11005 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
11006
7872cfb0
AS
11007 * configure.in: Also look in $cxxmachine/include for C++ system
11008 headers.
11009
be13f7bf
LD
110102011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
11011
11012 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
11013 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
11014 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
11015 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
11016 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
11017 (USE_AS_WMEMCMP): New macro.
11018 Fixing indents.
11019 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
11020 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
11021 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
11022 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
11023 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
11024 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
11025 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
11026 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
11027 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
11028 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
11029 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
11030 (USE_AS_WMEMCMP): New macro.
11031 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
11032 * sysdeps/string/test-memcmp.c: Update.
11033 Fix simple_wmemcmp.
11034 Add new tests.
11035 * wcsmbs/wmemcmp.c: Update.
11036 (WMEMCMP): New macro.
11037 Fix overflow bug.
11038
556a2007
AJ
110392011-10-12 Andreas Jaeger <aj@suse.de>
11040
11041 [BZ #13268]
11042 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
11043
538faaa7
UD
110442011-10-15 Ulrich Drepper <drepper@gmail.com>
11045
ab6737ff
UD
11046 * libio/iofwide.c (do_length): Avoid warning.
11047
538faaa7
UD
11048 * ctype/ctype.h (__isctype_f): Add missing __THROW.
11049
396a21b1
UD
110502011-10-14 Ulrich Drepper <drepper@gmail.com>
11051
cdf2901f
UD
11052 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
11053
38ad40ce
UD
11054 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
11055 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
11056 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
11057 * sysdeps/i386/i686/fpu/e_log.S: New file.
11058 * sysdeps/i386/i686/fpu/e_logf.S: New file.
11059 * sysdeps/i386/i686/fpu/e_logl.S: New file.
11060
396a21b1
UD
11061 * ctype/ctype.h: Add support for inlined isXXX functions when
11062 compiling C++ code.
11063
6b1f68c9
AS
110642011-10-14 Andreas Schwab <schwab@redhat.com>
11065
349290c0
AS
11066 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
11067
6b1f68c9
AS
11068 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
11069
f2282d42
RM
110702011-10-13 Roland McGrath <roland@hack.frob.com>
11071
11072 [BZ #13291]
11073 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
11074
5298ffa8
AS
110752011-10-13 Andreas Schwab <schwab@redhat.com>
11076
714fad23
AS
11077 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
11078 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
11079 feraiseexcept.
11080
81dcc7fb
AS
11081 * sysdeps/x86_64/memrchr.S: Check for zero size.
11082
5298ffa8
AS
11083 * string/stratcliff.c: Add memrchr tests.
11084
951fbcec
LD
110852011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
11086
11087 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
11088 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
11089 rawmemchr-sse2 rawmemchr-sse2-bsf.
11090 * sysdeps/i386/i686/multiarch/memchr.S: New file.
11091 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
11092 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
11093 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
11094 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
11095 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
11096 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
11097 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
11098 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
11099 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
11100 * string/memrchr.c (MEMRCHR): New macro.
11101
0ac5ae23
UD
111022011-10-12 Ulrich Drepper <drepper@gmail.com>
11103
11104 Add integration with gcc's -ffinite-math-only and optimize wrapper
11105 functions in libm.
11106 * Versions.def: Define GLIBC_2.15 version for libm.
11107 * math/Makefile (headers): Add bits/math-finite.h.
11108 * math/bits/math-finite.h: New file.
11109 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
11110 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
11111 * math/e_acoshl.c: Add __*_finite alias.
11112 * math/e_acosl.c: Likewise.
11113 * math/e_asinl.c: Likewise.
11114 * math/e_atan2l.c: Likewise.
11115 * math/e_atanhl.c: Likewise.
11116 * math/e_coshl.c: Likewise.
11117 * math/e_exp10.c: Likewise.
11118 * math/e_exp10f.c: Likewise.
11119 * math/e_exp10l.c: Likewise.
11120 * math/e_exp2l.c: Likewise.
11121 * math/e_fmodl.c: Likewise.
11122 * math/e_gammal_r.c: Likewise.
11123 * math/e_hypotl.c: Likewise.
11124 * math/e_j0l.c: Likewise.
11125 * math/e_j1l.c: Likewise.
11126 * math/e_jnl.c: Likewise.
11127 * math/e_lgammal_r.c: Likewise.
11128 * math/e_log10l.c: Likewise.
11129 * math/e_log2l.c: Likewise.
11130 * math/e_logl.c: Likewise.
11131 * math/e_powl.c: Likewise.
11132 * math/e_sinhl.c: Likewise.
11133 * math/e_sqrtl.c: Likewise.
11134 * math/e_scalb.c: Completely rewritten and optimized.
11135 * math/e_scalbf.c: Likewise.
11136 * math/e_scalbl.c: Likewise.
11137 * math/w_acos.c: Likewise.
11138 * math/w_acosf.c: Likewise.
11139 * math/w_acosl.c: Likewise.
11140 * math/w_acosh.c: Likewise.
11141 * math/w_acoshf.c: Likewise.
11142 * math/w_acoshl.c: Likewise.
11143 * math/w_asin.c: Likewise.
11144 * math/w_asinf.c: Likewise.
11145 * math/w_asinl.c: Likewise.
11146 * math/w_atan2.c: Likewise.
11147 * math/w_atan2f.c: Likewise.
11148 * math/w_atan2l.c: Likewise.
11149 * math/w_atanh.c: Likewise.
11150 * math/w_atanhf.c: Likewise.
11151 * math/w_atanhl.c: Likewise.
11152 * math/w_exp10.c: Likewise.
11153 * math/w_exp10f.c: Likewise.
11154 * math/w_exp10l.c: Likewise.
11155 * math/w_fmod.c: Likewise.
11156 * math/w_fmodf.c: Likewise.
11157 * math/w_fmodl.c: Likewise.
11158 * math/w_j0.c: Likewise.
11159 * math/w_j0f.c: Likewise.
11160 * math/w_j0l.c: Likewise.
11161 * math/w_j1.c: Likewise.
11162 * math/w_j1f.c: Likewise.
11163 * math/w_j1l.c: Likewise.
11164 * math/w_jn.c: Likewise.
11165 * math/w_jnf.c: Likewise.
11166 * math/w_log.c: Likewise.
11167 * math/w_logf.c: Likewise.
11168 * math/w_logl.c: Likewise.
11169 * math/w_log10.c: Likewise.
11170 * math/w_log10f.c: Likewise.
11171 * math/w_log10l.c: Likewise.
11172 * math/w_log2.c: Likewise.
11173 * math/w_log2f.c: Likewise.
11174 * math/w_log2l.c: Likewise.
11175 * math/w_pow.c: Likewise.
11176 * math/w_powf.c: Likewise.
11177 * math/w_powl.c: Likewise.
11178 * math/w_remainder.c: Likewise.
11179 * math/w_remainderf.c: Likewise.
11180 * math/w_remainderl.c: Likewise.
11181 * math/w_scalb.c: Likewise.
11182 * math/w_scalbf.c: Likewise.
11183 * math/w_scalbl.c: Likewise.
11184 * math/w_sqrt.c: Likewise.
11185 * math/w_sqrtf.c: Likewise.
11186 * math/w_sqrtl.c: Likewise.
11187 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
11188 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
11189 used.
11190 * math/math_private.h: Declare __kernel_standard_f.
11191 * math/w_cosh.c: Remove cruft and optimize a bit.
11192 * math/w_coshf.c: Likewise.
11193 * math/w_coshl.c: Likewise.
11194 * math/w_exp2.c: Likewise.
11195 * math/w_exp2f.c: Likewise.
11196 * math/w_exp2l.c: Likewise.
11197 * math/w_hypot.c: Likewise.
11198 * math/w_hypotf.c: Likewise.
11199 * math/w_hypotl.c: Likewise.
11200 * math/w_lgamma.c: Likewise.
11201 * math/w_lgamma_r.c: Likewise.
11202 * math/w_lgammaf.c: Likewise.
11203 * math/w_lgammaf_r.c: Likewise.
11204 * math/w_lgammal.c: Likewise.
11205 * math/w_lgammal_r.c: Likewise.
11206 * math/w_sinh.c: Likewise.
11207 * math/w_sinhf.c: Likewise.
11208 * math/w_sinhl.c: Likewise.
11209 * math/w_tgamma.c: Likewise.
11210 * math/w_tgammaf.c: Likewise.
11211 * math/w_tgammal.c: Likewise.
11212 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
11213 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
11214 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
11215 Minor optimizations. Pretty printing. Remove cruft.
11216 * sysdeps/i386/fpu/e_acosf.S: Likewise.
11217 * sysdeps/i386/fpu/e_acosh.S: Likewise.
11218 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
11219 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
11220 * sysdeps/i386/fpu/e_acosl.c: Likewise.
11221 * sysdeps/i386/fpu/e_asin.S: Likewise.
11222 * sysdeps/i386/fpu/e_asinf.S: Likewise.
11223 * sysdeps/i386/fpu/e_atan2.S: Likewise.
11224 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
11225 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
11226 * sysdeps/i386/fpu/e_atanh.S: Likewise.
11227 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
11228 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
11229 * sysdeps/i386/fpu/e_exp10.S: Likewise.
11230 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
11231 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
11232 * sysdeps/i386/fpu/e_exp2.S: Likewise.
11233 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
11234 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
11235 * sysdeps/i386/fpu/e_fmod.S: Likewise.
11236 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
11237 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
11238 * sysdeps/i386/fpu/e_hypot.S: Likewise.
11239 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
11240 * sysdeps/i386/fpu/e_log.S: Likewise.
11241 * sysdeps/i386/fpu/e_log10.S: Likewise.
11242 * sysdeps/i386/fpu/e_log10f.S: Likewise.
11243 * sysdeps/i386/fpu/e_log10l.S: Likewise.
11244 * sysdeps/i386/fpu/e_log2.S: Likewise.
11245 * sysdeps/i386/fpu/e_log2f.S: Likewise.
11246 * sysdeps/i386/fpu/e_log2l.S: Likewise.
11247 * sysdeps/i386/fpu/e_logf.S: Likewise.
11248 * sysdeps/i386/fpu/e_logl.S: Likewise.
11249 * sysdeps/i386/fpu/e_pow.S: Likewise.
11250 * sysdeps/i386/fpu/e_powf.S: Likewise.
11251 * sysdeps/i386/fpu/e_powl.S: Likewise.
11252 * sysdeps/i386/fpu/e_remainder.S: Likewise.
11253 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
11254 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
11255 * sysdeps/i386/fpu/e_scalb.S: Likewise.
11256 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
11257 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
11258 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
11259 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
11260 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
11261 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
11262 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
11263 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
11264 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
11265 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
11266 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
11267 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
11268 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
11269 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
11270 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
11271 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
11272 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
11273 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
11274 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
11275 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
11276 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
11277 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
11278 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
11279 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
11280 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
11281 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
11282 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
11283 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
11284 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
11285 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
11286 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
11287 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
11288 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
11289 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
11290 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
11291 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
11292 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
11293 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
11294 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
11295 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
11296 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
11297 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
11298 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
11299 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
11300 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
11301 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
11302 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
11303 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
11304 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
11305 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
11306 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
11307 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
11308 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
11309 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
11310 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
11311 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
11312 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
11313 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
11314 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
11315 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
11316 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
11317 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
11318 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
11319 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
11320 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
11321 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
11322 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
11323 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
11324 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
11325 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
11326 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
11327 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
11328 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
11329 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
11330 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
11331 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
11332 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
11333 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
11334 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
11335 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
11336 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
11337 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
11338 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
11339 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
11340 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
11341 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
11342 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
11343 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
11344 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
11345 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
11346 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
11347 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
11348 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
11349 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
11350 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
11351 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
11352 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
11353 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
11354 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
11355 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
11356 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
11357 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
11358 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
11359 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
11360 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
11361 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
11362 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
11363 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
11364 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
11365 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
11366 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
11367 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
11368 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
11369 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
11370 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
11371 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
11372 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
11373 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
11374 (__isnanf): Likewise.
11375 (__isinf_ns): Likewise.
11376 (__isinf_nsf): Likewise.
11377 (__finite): Likewise.
11378 (__finitef): Likewise.
11379 (__ieee754_sqrt): Define as macro.
11380 (__ieee754_sqrtf): Define as macro.
11381 (__ieee754_sqrtl): Define as macro.
11382 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
11383 inlined copy.
11384 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
11385 __FINITE_MATH_ONLY__ consistent.
11386 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
11387
12cc2fcd
AS
113882011-10-10 Andreas Schwab <schwab@linux-m68k.org>
11389
a843a204
AS
11390 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
11391 of rawmemchr.
11392
12cc2fcd
AS
11393 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
11394
c853acd5
UD
113952011-10-09 Ulrich Drepper <drepper@gmail.com>
11396
11397 * po/ja.po: Update from translation team.
11398
c658d255
RM
113992011-10-08 Roland McGrath <roland@hack.frob.com>
11400
110946e4
RM
11401 * locale/programs/locarchive.c (prepare_address_space): New function.
11402 (create_archive, enlarge_archive, open_archive): Use it.
11403
50604220
RM
11404 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
11405 inside [SHARED], where it is used.
11406
c658d255
RM
11407 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
11408
11409 * nss/getent.c (netgroup_keys): Remove unused variable.
11410 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
11411
6a621eb7
UD
114122011-10-08 Ulrich Drepper <drepper@gmail.com>
11413
7edb55ce
UD
11414 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
11415 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
11416 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
11417 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
11418 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
11419 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
11420 * math/Makefile (libm-calls): Add s_isinf_ns.
11421 * math/divtc3.c: Use __isinf_nsl instead of isinf.
11422 * math/multc3.c: Likewise.
11423 * math/s_casin.c: Likewise.
11424 * math/s_casinf.c: Likewise.
11425 * math/s_casinl.c: Likewise.
11426 * math/s_ccos.c: Likewise.
11427 * math/s_ccosf.c: Likewise.
11428 * math/s_ccosl.c: Likewise.
11429 * math/s_ctan.c: Likewise.
11430 * math/s_ctanf.c: Likewise.
11431 * math/s_ctanh.c: Likewise.
11432 * math/s_ctanhf.c: Likewise.
11433 * math/s_ctanhl.c: Likewise.
11434 * math/s_ctanl.c: Likewise.
11435 * math/w_fmod.c: Likewise.
11436 * math/w_fmodf.c: Likewise.
11437 * math/w_fmodl.c: Likewise.
11438 * math/w_remainder.c: Likewise.
11439 * math/w_remainderf.c: Likewise.
11440 * math/w_remainderl.c: Likewise.
11441 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
11442 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
11443 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
11444 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
11445 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
11446 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
11447 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
11448 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
11449
187da0ae
UD
11450 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
11451 of the number.
11452 * stdio-common/printf_fphex.c: Likewise.
11453 * stdio-common/printf_size.c: Likewise.
11454
9277c064
UD
11455 * math/e_exp10.c: Include math_private.h using <...> not "...".
11456 * math/e_exp10f.c: Likewise.
11457 * math/e_exp10l.c: Likewise.
11458 * math/e_exp2l.c: Likewise.
11459 * math/e_j0l.c: Likewise.
11460 * math/e_j1l.c: Likewise.
11461 * math/e_jnl.c: Likewise.
11462 * math/e_lgammal_r.c: Likewise.
11463 * math/e_rem_pio2l.c: Likewise.
11464 * math/e_scalb.c: Likewise.
11465 * math/e_scalbf.c: Likewise.
11466 * math/e_scalbl.c: Likewise.
11467 * math/k_cosl.c: Likewise.
11468 * math/k_sinl.c: Likewise.
11469 * math/k_tanl.c: Likewise.
11470 * math/s_cacoshf.c: Likewise.
11471 * math/s_catan.c: Likewise.
11472 * math/s_catanf.c: Likewise.
11473 * math/s_catanh.c: Likewise.
11474 * math/s_catanhf.c: Likewise.
11475 * math/s_catanhl.c: Likewise.
11476 * math/s_catanl.c: Likewise.
11477 * math/s_ccosh.c: Likewise.
11478 * math/s_ccoshf.c: Likewise.
11479 * math/s_ccoshl.c: Likewise.
11480 * math/s_cexp.c: Likewise.
11481 * math/s_cexpf.c: Likewise.
11482 * math/s_cexpl.c: Likewise.
11483 * math/s_clog.c: Likewise.
11484 * math/s_clog10.c: Likewise.
11485 * math/s_clog10f.c: Likewise.
11486 * math/s_clog10l.c: Likewise.
11487 * math/s_clogf.c: Likewise.
11488 * math/s_clogl.c: Likewise.
11489 * math/s_csin.c: Likewise.
11490 * math/s_csinf.c: Likewise.
11491 * math/s_csinh.c: Likewise.
11492 * math/s_csinhf.c: Likewise.
11493 * math/s_csinhl.c: Likewise.
11494 * math/s_csinl.c: Likewise.
11495 * math/s_csqrt.c: Likewise.
11496 * math/s_csqrtf.c: Likewise.
11497 * math/s_csqrtl.c: Likewise.
11498 * math/s_ctan.c: Likewise.
11499 * math/s_ctanf.c: Likewise.
11500 * math/s_ctanh.c: Likewise.
11501 * math/s_ctanhf.c: Likewise.
11502 * math/s_ctanhl.c: Likewise.
11503 * math/s_ctanl.c: Likewise.
11504 * math/s_ldexp.c: Likewise.
11505 * math/s_ldexpf.c: Likewise.
11506 * math/s_ldexpl.c: Likewise.
11507 * math/s_significand.c: Likewise.
11508 * math/s_significandf.c: Likewise.
11509 * math/s_significandl.c: Likewise.
11510 * math/w_acos.c: Likewise.
11511 * math/w_acosf.c: Likewise.
11512 * math/w_acosh.c: Likewise.
11513 * math/w_acoshf.c: Likewise.
11514 * math/w_acoshl.c: Likewise.
11515 * math/w_acosl.c: Likewise.
11516 * math/w_asin.c: Likewise.
11517 * math/w_asinf.c: Likewise.
11518 * math/w_asinl.c: Likewise.
11519 * math/w_atan2.c: Likewise.
11520 * math/w_atan2f.c: Likewise.
11521 * math/w_atan2l.c: Likewise.
11522 * math/w_atanh.c: Likewise.
11523 * math/w_atanhf.c: Likewise.
11524 * math/w_atanhl.c: Likewise.
11525 * math/w_cosh.c: Likewise.
11526 * math/w_coshf.c: Likewise.
11527 * math/w_coshl.c: Likewise.
11528 * math/w_dremf.c: Likewise.
11529 * math/w_exp10.c: Likewise.
11530 * math/w_exp10f.c: Likewise.
11531 * math/w_exp10l.c: Likewise.
11532 * math/w_exp2.c: Likewise.
11533 * math/w_exp2f.c: Likewise.
11534 * math/w_fmod.c: Likewise.
11535 * math/w_fmodf.c: Likewise.
11536 * math/w_fmodl.c: Likewise.
11537 * math/w_hypot.c: Likewise.
11538 * math/w_hypotf.c: Likewise.
11539 * math/w_hypotl.c: Likewise.
11540 * math/w_j0.c: Likewise.
11541 * math/w_j0f.c: Likewise.
11542 * math/w_j0l.c: Likewise.
11543 * math/w_j1.c: Likewise.
11544 * math/w_j1f.c: Likewise.
11545 * math/w_j1l.c: Likewise.
11546 * math/w_jn.c: Likewise.
11547 * math/w_jnf.c: Likewise.
11548 * math/w_jnl.c: Likewise.
11549 * math/w_lgamma.c: Likewise.
11550 * math/w_lgamma_r.c: Likewise.
11551 * math/w_lgammaf.c: Likewise.
11552 * math/w_lgammaf_r.c: Likewise.
11553 * math/w_lgammal.c: Likewise.
11554 * math/w_lgammal_r.c: Likewise.
11555 * math/w_log.c: Likewise.
11556 * math/w_log10.c: Likewise.
11557 * math/w_log10f.c: Likewise.
11558 * math/w_log10l.c: Likewise.
11559 * math/w_log2.c: Likewise.
11560 * math/w_log2f.c: Likewise.
11561 * math/w_log2l.c: Likewise.
11562 * math/w_logf.c: Likewise.
11563 * math/w_logl.c: Likewise.
11564 * math/w_pow.c: Likewise.
11565 * math/w_powf.c: Likewise.
11566 * math/w_powl.c: Likewise.
11567 * math/w_remainder.c: Likewise.
11568 * math/w_remainderf.c: Likewise.
11569 * math/w_remainderl.c: Likewise.
11570 * math/w_scalb.c: Likewise.
11571 * math/w_scalbf.c: Likewise.
11572 * math/w_scalbl.c: Likewise.
11573 * math/w_sinh.c: Likewise.
11574 * math/w_sinhf.c: Likewise.
11575 * math/w_sinhl.c: Likewise.
11576 * math/w_sqrt.c: Likewise.
11577 * math/w_sqrtf.c: Likewise.
11578 * math/w_sqrtl.c: Likewise.
11579 * math/w_tgamma.c: Likewise.
11580 * math/w_tgammaf.c: Likewise.
11581 * math/w_tgammal.c: Likewise.
11582
6a621eb7
UD
11583 * po/ja.po: Update from translation team.
11584
bf582445
AJ
115852011-09-29 Andreas Jaeger <aj@suse.de>
11586
f9efbf3a
AJ
11587 [BZ #13179]
11588 * sunrpc/netname.c (netname2host): Fix logic.
11589
bf582445
AJ
11590 [BZ #6779]
11591 [BZ #6783]
11592 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
11593 correctly.
11594 * math/w_remainder.c (__remainder): Likewise.
11595 * math/w_remainderf.c (__remainderf): Likewise.
11596 * math/libm-test.inc (remainder_test): Add test cases.
11597
48693bea
AK
115982011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11599
11600 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
11601 sdiv_qrnnd.
11602
42622229
LD
116032011-10-07 Ulrich Drepper <drepper@gmail.com>
11604
11605 * string/test-memcmp.c: Avoid unncessary #defines.
11606 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
11607
093ecf92
LD
116082011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
11609
11610 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
11611 Use new sse2 version for core i3 - i7 as it's faster
11612 than sse42 version.
11613 (bit_Prefer_PMINUB_for_stringop): New.
11614 * sysdeps/x86_64/rawmemchr.S: Update.
11615 Replace with faster SSE2 version.
11616 * sysdeps/x86_64/memrchr.S: New file.
11617 * sysdeps/x86_64/memchr.S: Update.
11618 Replace with faster SSE2 version.
11619
fde56e5c
MP
116202011-09-12 Marek Polacek <mpolacek@redhat.com>
11621
11622 * elf/dl-load.c (lose): Add cast to avoid warning.
11623
21fd49a9
UD
116242011-10-07 Ulrich Drepper <drepper@gmail.com>
11625
5a06e643
UD
11626 * po/ca.po: Update from translation team.
11627
684ae515
UD
11628 * inet/getnetgrent_r.c: Hook up nscd.
11629 * nscd/Makefile (routines): Add nscd_netgroup.
11630 (nscd-modules): Add netgroupcache.
11631 (CFLAGS-netgroupcache.c): Define.
11632 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
11633 (cache_search): Add const to second parameter.
11634 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
11635 INNETGR.
11636 (dbs): Add netgrdb entry.
11637 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
11638 (verify_persistent_db): Handle netgrdb.
11639 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
11640 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
11641 GETFDNETGR.
11642 (netgroup_response_header): Define.
11643 (innetgroup_response_header): Define.
11644 (datahead): Add netgroup_response_header and innetgroup_response_header
11645 elements.
11646 * nscd/nscd.conf: Add entries for netgroup cache.
11647 * nscd/nscd.h (dbtype): Add netgrdb.
11648 (_PATH_NSCD_NETGROUP_DB): Define.
11649 (netgroup_iov_disabled): Declare.
11650 (xmalloc, xcalloc, xrealloc): Move declarations here.
11651 (cache_search): Adjust prototype.
11652 Add netgroup-related prototypes.
11653 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
11654 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
11655 (__nscd_innetgr): Declare.
11656 * nscd/selinux.c (perms): Use access_vector_t as element type and
11657 add netgroup-related initializers.
11658 * nscd/netgroupcache.c: New file.
11659 * nscd/nscd_netgroup.c: New file.
11660 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
11661 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
11662 For four parameters use innetgr.
11663 * nss/nss_files/files-init.c: Add definition and callback for netgr.
11664 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
11665 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
11666 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
11667
21fd49a9
UD
11668 * nscd/connections.c (register_traced_file): Don't register file
11669 for disabled databases.
11670
054c0457
UD
116712011-10-06 Ulrich Drepper <drepper@gmail.com>
11672
32b63198
UD
11673 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
11674
054c0457
UD
11675 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
11676 from tree and freeing node.
11677
64031225
JO
116782011-09-25 Jiri Olsa <jolsa@redhat.com>
11679
11680 * nss/nsswitch.c (__nss_database_lookup): Handle
11681 nss_parse_service_list out of memory case.
11682
0490345c
JO
116832011-09-15 Jiri Olsa <jolsa@redhat.com>
11684
11685 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
11686 out of memory case.
11687
3a62d00d
AS
116882011-10-04 Andreas Schwab <schwab@redhat.com>
11689
11690 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
11691 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
11692 pass it down.
11693 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
11694 elf_machine_rela, elf_machine_lazy_rel.
11695 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
11696 (ELF_DYNAMIC_DO_REL): Likewise.
11697 (ELF_DYNAMIC_DO_RELA): Likewise.
11698 (ELF_DYNAMIC_RELOCATE): Likewise.
11699 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
11700 to ELF_DYNAMIC_DO_REL.
11701 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
11702 (dl_main): In trace mode always set __RTLD_NOIFUNC.
11703 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
11704 elf_machine_rela.
11705 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
11706 skip_ifunc, don't call ifunc function if non-zero.
11707 (elf_machine_rela): Likewise.
11708 (elf_machine_lazy_rel): Likewise.
11709 (elf_machine_lazy_rela): Likewise.
11710 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
11711 (elf_machine_lazy_rel): Likewise.
11712 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
11713 Likewise.
11714 (elf_machine_lazy_rel): Likewise.
11715 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
11716 Likewise.
11717 (elf_machine_lazy_rel): Likewise.
11718 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
11719 (elf_machine_lazy_rel): Likewise.
11720 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
11721 (elf_machine_lazy_rel): Likewise.
11722 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
11723 (elf_machine_lazy_rel): Likewise.
11724 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
11725 (elf_machine_lazy_rel): Likewise.
11726 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
11727 (elf_machine_lazy_rel): Likewise.
11728 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
11729 (elf_machine_lazy_rel): Likewise.
11730
68577918
UD
117312011-09-28 Ulrich Drepper <drepper@gmail.com>
11732
11733 * nss/nss_files/files-init.c (_nss_files_init): Use static
11734 initialization for all the *_traced_file variables.
11735
68822d74
AS
117362011-09-28 Andreas Schwab <schwab@redhat.com>
11737
11738 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
11739
2056100b
RM
117402011-09-27 Roland McGrath <roland@hack.frob.com>
11741
11742 [BZ #13226]
11743 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
11744
32c76b63
AS
117452011-09-27 Andreas Schwab <schwab@redhat.com>
11746
11747 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
11748 Reread the line before reparsing it.
11749
bf972c9d
AS
117502011-09-26 Andreas Schwab <schwab@redhat.com>
11751
11752 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
11753
e057a1b5
JM
117542011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
11755 Maxim Kuvyrkov <maxim@codesourcery.com>
11756 Joseph Myers <joseph@codesourcery.com>
11757
11758 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
11759 if needed for __stack_chk_guard.
11760
bc7e1c36
RM
117612011-09-19 Roland McGrath <roland@hack.frob.com>
11762
ecb1482f
RM
11763 * sysdeps/posix/spawni.c (script_execute): Always define it.
11764 It will be optimized away if unused.
11765 (maybe_script_execute): New function.
11766 (__spawni): Call it.
11767
bc7e1c36
RM
11768 * Makerules: Don't include tls.make.
11769 (config-tls): Always set to thread.
11770 * tls.make.c: File removed.
11771
1c3b002b
MF
117722011-09-19 Mike Frysinger <vapier@gentoo.org>
11773
11774 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
11775 * config.make.in (CPPFLAGS-config): New substituted variable.
11776
2840865d
UD
117772011-09-15 Ulrich Drepper <drepper@gmail.com>
11778
88738eb6
UD
11779 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
11780
cbf645a6 11781 [BZ #13192]
2840865d
UD
11782 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
11783 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
11784
b402e91a
RM
117852011-09-15 Roland McGrath <roland@hack.frob.com>
11786
11787 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
11788 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
11789 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
11790 (CALL_FAIL): Likewise.
11791 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
11792 (CALL_FAIL): Macro removed.
11793 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
11794
4c1a1f71
UD
117952011-09-15 Ulrich Drepper <drepper@gmail.com>
11796
11797 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
11798 for __FINITE_MATH_ONLY__ == 1.
11799
edc121be
AS
118002011-09-15 Andreas Schwab <schwab@redhat.com>
11801
11802 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
11803 __ieee754_sqrt instead of sqrt.
11804 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
11805 __ieee754_sqrtf instead of sqrtf.
11806 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
11807 __floorf instead of floorf.
11808 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
11809 __floorf, __truncf instead of floorf, truncf.
11810
cd205654
UD
118112011-09-14 Ulrich Drepper <drepper@gmail.com>
11812
ee4d0315
UD
11813 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
11814
cd205654
UD
11815 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
11816 __extern_always_inline.
11817 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
11818 32-bit.
11819
48b67d71
AS
118202011-09-14 Andreas Schwab <schwab@redhat.com>
11821
11822 * elf/rtld.c (dl_main): Also relocate in dependency order when
11823 doing symbol dependency testing.
11824
1ae12c75
AS
118252011-09-13 Andreas Schwab <schwab@linux-m68k.org>
11826
11827 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
11828 Always define `refsym'.
11829
995a80df
AS
118302011-09-13 Andreas Schwab <schwab@redhat.com>
11831
e529793b
AS
11832 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
11833 (__FD_ELT): Renamed from __FDELT.
11834 * misc/bits/select2.h (__FD_ELT): Likewise.
11835 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
11836 __FD_MASK instead of __FDELT, __FDMASK.
11837 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
11838 Likewise.
11839 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
11840 Likewise.
11841
52d4fef8
AS
11842 * elf/Makefile (gen-ldd): Fix pattern.
11843
995a80df
AS
11844 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
11845 (init_tls): Likewise.
11846
8682f8b0
UD
118472011-09-12 Ulrich Drepper <drepper@gmail.com>
11848
11849 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
11850
de82006d
AS
118512011-09-12 Andreas Schwab <schwab@redhat.com>
11852
a7c8e6a1
AS
11853 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
11854 `struct cmsghdr *' instead of `void *'.
11855 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
11856 Likewise.
11857
0f31fe77
AS
118582011-09-11 Andreas Schwab <schwab@linux-m68k.org>
11859
11860 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
11861 if non-absolute.
11862 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
11863 ldd_rewrite_script.
0f31fe77 11864
32b4c839
UD
118652011-09-11 Ulrich Drepper <drepper@gmail.com>
11866
83cd1420
UD
11867 * configure.in: Remove --with-tls option.
11868 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
11869 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
11870 out in case it is missing.
11871 * sysdeps/ia64/elf/configure.in: Likewise.
11872 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
11873 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
11874 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
11875 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
11876 * sysdeps/sh/elf/configure.in: Likewise.
11877 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
11878 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
11879 * sysdeps/x86_64/elf/configure.in: Likewise.
11880 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
11881 * sysdeps/mach/hurd/tls.h: Likewise.
11882
633f745d
UD
11883 [BZ #13067]
11884 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
11885
f318beb8
UD
11886 [BZ #13090]
11887 * configure.in: Fix use of AC_INIT.
11888
32b4c839
UD
11889 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
11890
3ce1f295
UD
118912011-09-10 Ulrich Drepper <drepper@gmail.com>
11892
bb016596
UD
11893 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
11894 __set_errno.
8e58439c
UD
11895 * malloc/hooks.c: Likewise.
11896
aebae053 11897 [BZ #11929]
02d46fc4
UD
11898 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
11899 variables statically.
11900 (narenas): Initialize.
11901 (list_lock): Initialize.
bb016596
UD
11902 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
11903 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
11904 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
11905 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
11906 Add initializers to main_arena and mp_.
11907 (malloc_state): Remove pagesize member. Change all users to use
11908 GLRO(dl_pagesize).
11909
11910 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
11911 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
11912 is always initialized.
11913
22a89187
UD
11914 * malloc/malloc.c: Removed unused configurations and dead code.
11915 * malloc/arena.c: Likewise.
11916 * malloc/hooks.c: Likewise.
02d46fc4 11917 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 11918
d063d164
UD
11919 * include/tls.h: Removed. USE___THREAD must always be defined.
11920 * bits/libc-tsd.h: Don't handle !USE___THREAD.
11921 * elf/dl-libc.c: Likewise.
11922 * elf/dl-tsd.c: Likewise.
11923 * include/errno.h: Likewise.
11924 * include/netdb.h: Likewise.
11925 * include/resolv.h: Likewise.
11926 * inet/herrno-loc.c: Likewise.
11927 * inet/herrno.c: Likewise.
11928 * malloc/arena.c: Likewise.
11929 * malloc/hooks.c: Likewise.
11930 * malloc/malloc.c: Likewise.
11931 * resolv/res-state.c: Likewise.
11932 * resolv/res_libc.c: Likewise.
11933 * sysdeps/i386/dl-machine.h: Likewise.
11934 * sysdeps/ia64/dl-machine.h: Likewise.
11935 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
11936 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
11937 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
11938 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
11939 * sysdeps/sh/dl-machine.h: Likewise.
11940 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
11941 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
11942 * sysdeps/unix/i386/sysdep.S: Likewise.
11943 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
11944 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
11945 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
11946 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
11947 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
11948 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
11949 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
11950 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
11951 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
11952 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
11953 * sysdeps/unix/x86_64/sysdep.S: Likewise.
11954 * sysdeps/x86_64/dl-machine.h: Likewise.
11955 * tls.make.c: Likewise.
11956
3ce1f295
UD
11957 * configure.in: Remove --with-__thread option. Make tests for
11958 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
11959 tls_model attribute fail if no support is available. Remove
11960 USE_IN_LIBIO.
11961 * Makeconfig: Adjust for dropped configure option. All features are
11962 now mandatory.
11963 * Makerules: Likewise.
11964 * Versions.def: Likewise.
11965 * argp/argp-fmtstream.c: Likewise.
11966 * argp/argp-fmtstream.h: Likewise.
11967 * argp/argp-help.c: Likewise.
11968 * assert/assert.c: Likewise.
11969 * config.h.in: Likewise.
11970 * config.make.in: Likewise.
11971 * configure: Likewise.
11972 * configure.in: Likewise.
11973 * csu/Versions: Likewise.
11974 * csu/init.c: Likewise.
11975 * elf/tst-audit2.c: Likewise.
11976 * elf/tst-tls10.c: Likewise.
11977 * elf/tst-tls10.h: Likewise.
11978 * elf/tst-tls11.c: Likewise.
11979 * elf/tst-tls12.c: Likewise.
11980 * elf/tst-tls14.c: Likewise.
11981 * elf/tst-tlsmod11.c: Likewise.
11982 * elf/tst-tlsmod12.c: Likewise.
11983 * elf/tst-tlsmod13.c: Likewise.
11984 * elf/tst-tlsmod13a.c: Likewise.
11985 * elf/tst-tlsmod14a.c: Likewise.
11986 * elf/tst-tlsmod15b.c: Likewise.
11987 * elf/tst-tlsmod16a.c: Likewise.
11988 * elf/tst-tlsmod16b.c: Likewise.
11989 * elf/tst-tlsmod7.c: Likewise.
11990 * elf/tst-tlsmod8.c: Likewise.
11991 * elf/tst-tlsmod9.c: Likewise.
11992 * gmon/gmon.c: Likewise.
11993 * grp/fgetgrent_r.c: Likewise.
11994 * grp/putgrent.c: Likewise.
11995 * hurd/fopenport.c: Likewise.
11996 * include/libc-symbols.h: Likewise.
11997 * include/tls.h: Likewise.
11998 * intl/gettextP.h: Likewise.
11999 * intl/loadinfo.h: Likewise.
12000 * locale/global-locale.c: Likewise.
12001 * locale/localeinfo.h: Likewise.
12002 * mach/devstream.c: Likewise.
12003 * malloc/arena.c: Likewise.
12004 * malloc/set-freeres.c: Likewise.
12005 * misc/err.c: Likewise.
12006 * misc/getttyent.c: Likewise.
12007 * misc/mntent_r.c: Likewise.
12008 * posix/getopt.c: Likewise.
12009 * posix/wordexp.c: Likewise.
12010 * pwd/fgetpwent_r.c: Likewise.
12011 * resolv/Versions: Likewise.
12012 * resolv/res_hconf.c: Likewise.
12013 * shadow/fgetspent_r.c: Likewise.
12014 * shadow/putspent.c: Likewise.
12015 * stdio-common/printf_fphex.c: Likewise.
12016 * stdio-common/tmpfile.c: Likewise.
12017 * stdlib/abort.c: Likewise.
12018 * stdlib/fmtmsg.c: Likewise.
12019 * sunrpc/auth_unix.c: Likewise.
12020 * sunrpc/clnt_perr.c: Likewise.
12021 * sunrpc/clnt_tcp.c: Likewise.
12022 * sunrpc/clnt_udp.c: Likewise.
12023 * sunrpc/clnt_unix.c: Likewise.
12024 * sunrpc/openchild.c: Likewise.
12025 * sunrpc/svc_simple.c: Likewise.
12026 * sunrpc/svc_tcp.c: Likewise.
12027 * sunrpc/svc_udp.c: Likewise.
12028 * sunrpc/svc_unix.c: Likewise.
12029 * sunrpc/xdr.c: Likewise.
12030 * sunrpc/xdr_array.c: Likewise.
12031 * sunrpc/xdr_rec.c: Likewise.
12032 * sunrpc/xdr_ref.c: Likewise.
12033 * sunrpc/xdr_stdio.c: Likewise.
12034
1248c1c4
PB
120352011-09-09 Ulrich Drepper <drepper@gmail.com>
12036
12037 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
12038
120392011-07-03 Andreas Jaeger <aj@suse.de>
12040
12041 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
12042 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
12043 regenerate with gen-libm-tests.pl.
12044
120452010-05-12 Petr Baudis <pasky@suse.cz>
12046
12047 [BZ #11589]
12048 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
12049 around j0() zero points by switching to j1().
12050 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
12051 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
12052 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
12053 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
12054
f22e1074
UD
120552011-09-09 Ulrich Drepper <drepper@gmail.com>
12056
f19009c1
UD
12057 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
12058 instead of 0.
12059 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
12060 instead of 0. .
12061 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
12062 Patch in part by Pavel Roskin <proski@gnu.org>.
12063
3f8cc204
UD
12064 [BZ #13138]
12065 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
12066 realloc.
12067 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
12068 Free memory block if necessary.
12069
f22e1074
UD
12070 [BZ #12847]
12071 * libio/genops.c (INTDEF): For string streams the _lock pointer can
12072 be NULL. Don't lock in this case.
12073
0a2349f9
RM
120742011-09-09 Roland McGrath <roland@hack.frob.com>
12075
12076 * elf/elf.h (ELFOSABI_GNU): New macro.
12077 (ELFOSABI_LINUX): Define to that.
12078
f3cdd467
DZ
120792011-07-29 Denis Zaitceff <zaitceff@gmail.com>
12080
12081 * string/strncat.c (strncat): Undef the symbol in case it has been
12082 defined in bits/string.h.
12083
74718d13
UD
120842011-09-09 Ulrich Drepper <drepper@gmail.com>
12085
633e9e0f
UD
12086 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
12087
0a2349f9 12088 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
12089 link map.
12090
f9924780
AJ
120912011-08-17 Andreas Jaeger <aj@suse.de>
12092
12093 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
12094
7f5517aa
PP
120952011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
12096 Ian Lance Taylor <iant@google.com>
12097
12098 * math/libm-test.inc (lround_test): New testcase.
12099 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
12100
762011fe
UD
121012011-09-08 Ulrich Drepper <drepper@gmail.com>
12102
92963737
UD
12103 * Makefile: Remove support for automatic cvs check-ins.
12104 * Makerules: Likewise.
12105 * config.make.in: Likewise.
12106 * configure.in: Likewise.
12107 * intl/Makefile: Likewise.
12108 * locale/Makefile: Likewise.
12109 * po/Makefile: Likewise.
12110 * posix/Makefile: Likewise.
12111 * sysdeps/gnu/Makefile: Likewise.
12112 * sysdeps/mach/hurd/Makefile: Likewise.
12113 * sysdeps/sparc/sparc32/Makefile: Likewise.
12114
b0727fd8
JS
12115 [BZ #13118]
12116 * posix/Makefile (bug-regex32-ENV): Define.
12117 Patch by John Stanley <jpsinthemix@verizon.net>.
12118
a0f33f99
UD
12119 * misc/Makefile (headers): Add bits/select2.h.
12120 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
12121 * misc/bits/select2.h: New file.
12122 * include/bits/select2.h: New file.
12123 * debug/Makefile (routines): Add fdelt_chk.
12124 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
12125 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
12126 FD_ISSET.
12127 * debug/fdelt_chk.c: New file.
12128
762011fe
UD
12129 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
12130 * wcsmbs/test-wmemcmp.c: Likewise.
12131 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 12132 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
12133
121342011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12135
12136 * string/Makefile (strop-tests): Add memcmp.
12137 * string/test-wmemcmp.c: New file.
12138 * string/test-memcmp.c: Add wmemcmp support.
12139
7f513ec8
RM
121402011-09-08 Roland McGrath <roland@hack.frob.com>
12141
0442afb4
RM
12142 [BZ #13153]
12143 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
12144 2011-07-19 change.
12145
7f513ec8
RM
12146 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
12147 garbage value in a __mach_port_mod_refs call in the cases of the
12148 task-self and thread-self ports.
12149
a12b2239
ST
121502011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
12151
12152 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
12153
610f9ab4
AS
121542011-09-08 Andreas Schwab <schwab@redhat.com>
12155
7f513ec8 12156 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 12157
48882a1a
LD
121582011-09-07 Ulrich Drepper <drepper@gmail.com>
12159
b49865be
UD
12160 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
12161
fdc86bc9
UD
12162 * elf/dl-libc.c (dlerror_run): Pass back error code from
12163 dl_catch_error.
12164
c966526a
UD
12165 [BZ #13123]
12166 * elf/dl-load.c (lose): Free l_origin if it is valid.
12167
48882a1a
LD
12168 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
12169 names.
12170 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
12171 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
12172 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
12173 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
12174 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
12175 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
12176
77a2a8b4
AZ
121772011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12178
12179 * sysdeps/powerpc/fpu/e_hypot.c: New file.
12180 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
12181 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
12182 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
12183 * sysdeps/powerpc/fpu/k_cosf.c: New file.
12184 * sysdeps/powerpc/fpu/k_sinf.c: New file.
12185 * sysdeps/powerpc/fpu/s_cosf.c: New file.
12186 * sysdeps/powerpc/fpu/s_sinf.c: New file.
12187 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
12188 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
12189
24f579d8
AM
121902011-08-15 Alan Modra <amodra@gmail.com>
12191
12192 [BZ #13092]
12193 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
12194 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
12195 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
12196 ppc_mcount to static-only-routines.
12197 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
12198 __mcount_internal.
12199 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
12200 __mcount_internal with usual JUMPTARGET. Remove useless nop.
12201
3d4837df
UD
122022011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
12203
12204 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
12205 for finite and infinity parameters.
12206
22700377
WS
122072011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
12208
12209 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
12210 and add nop instructions for throughput optimization.
12211 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
12212
5025581e
WS
122132011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
12214
12215 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
12216 aligned copy for power7 with vector-scalar instructions.
12217 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
12218
08a300c9
L
122192011-07-24 H.J. Lu <hongjiu.lu@intel.com>
12220
12221 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
12222 AVX check.
12223
59178ef9
AS
122242011-09-07 Andreas Schwab <schwab@redhat.com>
12225
12226 [BZ #13144]
12227 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
12228 last change.
12229
e38ba7ab
UD
122302011-09-07 Ulrich Drepper <drepper@gmail.com>
12231
12232 * sysdeps/unix/sysv/linux/x86_64/init-first.c
12233 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
12234 syscall wrapper around clock_gettime in __vdso_clock_gettime.
12235 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
12236 clock_gettime.
12237
d53a73ac
UD
122382011-09-06 Ulrich Drepper <drepper@gmail.com>
12239
fc8bffcc
UD
12240 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
12241 Forgot to demangle the pointer.
12242
ceaa0c5d
UD
12243 * sysdeps/i386/sysdep.h: Define atom_text_section.
12244 * sysdeps/x86_64/sysdep.h: Likewise.
12245 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
12246 section with atom_text_section.
12247 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
12248 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
12249 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
12250 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
12251 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
12252
a77d3c17
UD
12253 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
12254 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
12255 already be defined. Change to take two parameters and don't assign
12256 result to variable. Adjust all users.
12257 Define INTERNAL_GETTIME if not already defined.
12258 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
12259 call.
12260 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
12261 HAVE_CLOCK_GETTIME_VSYSCALL.
12262 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
12263
d53a73ac
UD
12264 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
12265 gettimeofday vsyscall, just use time.
12266
a8f84144
AS
122672011-09-06 Andreas Schwab <schwab@redhat.com>
12268
12269 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
12270 <errno.h>.
12271
ef606249
UD
122722011-09-06 Ulrich Drepper <drepper@gmail.com>
12273
12274 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
12275 syscall on x86-64.
12276 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
12277 syscall.
12278 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
12279 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
12280 syscall if possible.
12281
6585cb60
UD
122822011-09-05 Ulrich Drepper <drepper@gmail.com>
12283
12284 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
12285 e_ident. Don't pass to find_mapsXX.
12286 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
12287
a5f524e4
LD
122882011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
12289
12290 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
12291 strchr-sse2-no-bsf strrchr-sse2-no-bsf
12292 * sysdeps/x86_64/multiarch/strchr.S: Update.
12293 Check bit_slow_BSF bit.
12294 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
12295 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
12296 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
12297
554881ef
UD
122982011-09-05 Ulrich Drepper <drepper@gmail.com>
12299
d96de963
UD
12300 [BZ #13134]
12301 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
12302 before glibc 2.15.
12303 (tryshell): Define.
12304 (__spawni): Change last parameter to be flag. Test
12305 SPAWN_XFLAGS_USE_PATH flag to use path or not.
12306 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
12307 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
12308 * posix/spawni.c: Likewise.
12309 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
12310 * posix/spawnp.c: Likewise. Change normal version to use
12311 SPAWN_XFLAGS_USE_PATH.
12312 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
12313 SPAWN_XFLAGS_TRY_SHELL.
12314
d48e5868
UD
12315 [BZ #13150]
12316 * posix/glob.h: Remove gcc 1.x support.
12317
554881ef
UD
12318 [BZ #13068]
12319 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
12320
693fb948
LD
123212011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
12322
12323 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
12324 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
12325 strrchr-sse2-bsf
12326 * sysdeps/i386/i686/multiarch/strchr.S: New file.
12327 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
12328 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
12329 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
12330 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
12331 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
12332
1b48c537
UD
123332011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12334
49d42c37
UD
12335 * sysdeps/x86_64/wcscmp.S: New file.
12336
1b48c537
UD
12337 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
12338 wcscmp-c wcscmp-sse2
12339 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
12340 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
12341 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
12342 * wcsmbs/wcscmp.c: Allow renaming.
12343
15c95c5d
DM
123442011-09-05 David S. Miller <davem@davemloft.net>
12345
12346 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
12347 stack slot, rather than the struct return pointer slot.
12348 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
12349 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
12350 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
12351 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
12352
2f0ad8f3
UD
123532011-09-05 Ulrich Drepper <drepper@gmail.com>
12354
d88ae418
UD
12355 * po/ja.po: Update from translation team.
12356
2f0ad8f3
UD
12357 [BZ #13144]
12358 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
12359 kernel in 64-bit binaries.
12360
5f4318d1
DM
123612011-09-01 David S. Miller <davem@davemloft.net>
12362
12363 * elf/elf.h (HWCAP_SPARC_*): Move to..
12364 * sysdeps/sparc/sysdep.h: this new file and add new values.
12365 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
12366 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
12367 _DL_HWCAP_COUNT to 24.
12368 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
12369 entries.
12370 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
12371 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
12372 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
12373 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
12374 instead of magic constants.
12375 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
12376
3ba57516
DM
123772011-08-31 David S. Miller <davem@davemloft.net>
12378
12379 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
12380 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
12381 Reimplement to do errno handling inline.
12382 (SYSCALL_ERROR_HANDLER): New macro.
12383 (__SYSCALL_STRING): Do not do errno handling in asm.
12384 (__CLONE_SYSCALL_STRING): Delete.
12385 (__INTERNAL_SYSCALL_STRING): Delete.
12386 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
12387 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
12388 (PSEUDO): Reimplement to do errno handling inline.
12389 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
12390 (SYSCALL_ERROR_HANDLER): New macro.
12391 (__SYSCALL_STRING): Do not do errno handling in asm.
12392 (__CLONE_SYSCALL_STRING): Delete.
12393 (__INTERNAL_SYSCALL_STRING): Delete.
12394 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
12395 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
12396 i386.
12397 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
12398 (inline_syscall*): Add 'err' argument.
12399 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
12400 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
12401 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
12402 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
12403
12404 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
12405 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
12406
2bc17433
AS
124072011-08-30 Andreas Schwab <schwab@redhat.com>
12408
12409 * elf/rtld.c (dl_main): Relocate objects in dependency order.
12410
fbeb5f4d
JO
124112011-08-29 Jiri Olsa <jolsa@redhat.com>
12412
12413 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
12414 directive.
12415
ad69cc26
DM
124162011-08-24 David S. Miller <davem@davemloft.net>
12417
12418 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
12419
39dd69df
AS
124202011-08-24 Andreas Schwab <schwab@redhat.com>
12421
12422 * elf/Makefile: Add rules to build and run unload8 test.
12423 * elf/unload8.c: New file.
12424 * elf/unload8mod1.c: New file.
12425 * elf/unload8mod1x.c: New file.
12426 * elf/unload8mod2.c: New file.
12427 * elf/unload8mod3.c: New file.
12428
12429 * elf/dl-close.c (_dl_close_worker): Reset private search list if
12430 it wasn't used.
12431
2c0b250a
DM
124322011-08-23 David S. Miller <davem@davemloft.net>
12433
12434 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
12435 subtract stack bias.
12436 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
12437 %sp not %fp in calculations.
12438 (_JMPBUF_UNWINDS_ADJ): Likewise.
12439
22044b48
DM
12440 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
12441 (aio_suspend): Call it to force an exception region around the
12442 AIO_MISC_WAIT() invocation.
12443
2cae4995
AS
124442011-08-23 Andreas Schwab <schwab@redhat.com>
12445
12446 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
12447 backslash.
12448
873a772e
AJ
124492011-07-04 Aurelien Jarno <aurelien@aurel32.net>
12450
12451 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
12452 protection macro.
12453 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
12454 and <dl-machine.h>.
12455 (Elf64_FuncDesc): Remove.
12456
25ad0df1
DM
124572011-08-22 David S. Miller <davem@davemloft.net>
12458
12459 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
12460 sigaltstack check, add missing cfi directives.
12461 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
12462 missing cfi directives, and sigaltstack handling.
12463
e888bcbe
AS
124642011-08-16 Andreas Schwab <schwab@redhat.com>
12465
12466 [BZ #11724]
12467 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
12468 object is seen twice.
12469 * elf/dl-fini.c (_dl_sort_fini): Likewise.
12470
12471 * elf/Makefile (distribute): Add tst-initorder2.c.
12472 (tests): Add tst-initorder2.
12473 (modules-names): Add tst-initorder2a tst-initorder2b
12474 tst-initorder2c tst-initorder2d. Add rules to build them.
12475 ($(objpfx)tst-initorder2.out): New rule.
12476 * elf/tst-initorder2.c: New file.
12477 * elf/tst-initorder2.exp: New file.
12478
87162f46
AS
124792011-08-22 Andreas Schwab <schwab@redhat.com>
12480
70538b7f
AS
12481 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
12482
f55ffe58
AS
12483 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
12484 dependencies back to end of function.
12485
87162f46
AS
12486 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
12487 $(elfobjdir)/ld.so.
12488
91b392a4
UD
124892011-08-21 Ulrich Drepper <drepper@gmail.com>
12490
12491 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
12492 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
12493 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
12494 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
12495 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
12496 of __vdso_gettimeofday.
12497 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
12498 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
12499 attribute_hidden.
12500 (_libc_vdso_platform_setup): Remove initialization of
12501 __vdso_gettimeofday and __vdso_time.
12502
5c43483f
UD
125032011-08-20 Ulrich Drepper <drepper@gmail.com>
12504
775a77e7
UD
12505 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
12506 and fgetc_unlocked.
12507 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
12508 getc_unlocked.
89f447ed 12509
49c74ba9
UD
12510 * elf/dl-open.c (add_to_global): Report additions to the global scope
12511 for LD_DEBUG=scopes.
12512 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 12513 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 12514
5c43483f
UD
12515 [BZ #13114]
12516 * stdio-common/Makefile (tests): Add bug24.
12517 * stdio-common/bug24.c: New file.
12518
a101b025
AJ
125192011-08-19 Andreas Jaeger <aj@suse.de>
12520
12521 [BZ #13114]
12522 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
12523 non-existant file when using close-on-exec mode.
12524
c88f1766
UD
125252011-08-20 Ulrich Drepper <drepper@gmail.com>
12526
0276a718
UD
12527 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
12528 the very first instruction.
12529
c88f1766
UD
12530 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
12531 the CFI state in the end.
12532 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
12533 inclusion of dl-trampoline.h.
12534 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
12535
51ccffa0
AS
125362011-08-19 Andreas Schwab <schwab@redhat.com>
12537
94d7165f
AS
12538 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
12539 expectations for long double.
12540
51ccffa0
AS
12541 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
12542 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
12543
fd708658 125442011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
12545
12546 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
12547 artificual limit depends upon the system page size.
12548
44f0a71e
UD
125492011-08-17 Ulrich Drepper <drepper@gmail.com>
12550
12551 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
12552 * resolv/Makefile: Define CFLAGS-libresolv.
12553
8de79a24
AS
125542011-08-17 Andreas Schwab <schwab@redhat.com>
12555
12556 * nss/makedb.c (compute_tables): Make variables used in nested
12557 function static.
12558
27724598
UD
125592011-08-17 Ulrich Drepper <drepper@gmail.com>
12560
c5305d88
UD
12561 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
12562 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
12563 if buffer was too small.
12564
27724598
UD
12565 * elf/pldd.c (main): Attach to all threads in the process.
12566 Rewrite /proc handling to use *at functions.
12567
076fe015
UD
125682011-08-16 Ulrich Drepper <drepper@gmail.com>
12569
174baab3
UD
12570 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
12571 specifies first scope to show.
12572 (dl_open_worker): Update callers. Move printing scope of new
12573 object to before the relocation.
44f0a71e 12574 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
12575 * sysdeps/generic/ldsodefs.h: Update declaration.
12576
076fe015
UD
12577 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
12578 string for the scope number.
12579
a60df2c3
UD
125802011-08-14 Ulrich Drepper <drepper@gmail.com>
12581
12582 * nscd/servicescache.c (cache_addserv): Make sure written is always
12583 initialized.
12584
5e4287d1
RM
125852011-08-14 Roland McGrath <roland@hack.frob.com>
12586
85ae0589
RM
12587 * sysdeps/i386/i486/bits/atomic.h
12588 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
12589 statement expression, so as to suppress "set but not used" warning.
12590 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
12591
69f63097
RM
12592 * string/strncat.c (STRNCAT): Use prototype definition.
12593
675456ef
RM
12594 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
12595 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
12596 -Iprograms here.
12597 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
12598 (localedef-modules): Add localedef.
12599 (locale-modules): Add locale.
12600
5e4287d1
RM
12601 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
12602 * elf/rtld.c (dl_main): Invert order of assignment in last change,
12603 to avoid a warning.
12604
9c96ff23
DM
126052011-08-14 David S. Miller <davem@davemloft.net>
12606
12607 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
12608 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
12609
f9ddf089
UD
126102011-08-13 Ulrich Drepper <drepper@gmail.com>
12611
44f0a71e 12612 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
12613 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
12614 * elf/rtld.c (dl_main): Set l_name of vDSO.
12615 Call _dl_show_scope when DL_DEBUG_SCOPES.
12616 (process_dl_debug): Recognize scopes flag and also set it for all.
12617 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
12618 Declare _dl_show_scope.
12619
1dc27704
UD
12620 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
12621 (do_dlopen): Pass caller_dlopen to dl_open.
12622 (__libc_dlopen_mode): Initialize caller_dlopen.
12623
f9ddf089
UD
12624 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
12625 of libc. Make tolower call locale-independent. Optimize a bit by
12626 using isdigit instead of isalnum.
12627 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
12628
9ac533d3
UD
126292011-08-12 Ulrich Drepper <drepper@gmail.com>
12630
12631 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
12632 was a dependency or dynamically loaded.
12633
89edf2e9
UD
126342011-08-11 Ulrich Drepper <drepper@gmail.com>
12635
8e999d29
UD
12636 * intl/l10nflist.c: Allow architecture-specific pop function.
12637 * sysdeps/x86_64/l10nflist.c: New file.
12638
89edf2e9
UD
12639 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
12640 classification.
12641
14d96785
AS
126422011-08-10 Andreas Schwab <schwab@redhat.com>
12643
12644 * include/dirent.h: Add libc_hidden_proto for scandirat and
12645 scandirat64. Don't declare __scandirat64.
12646 * dirent/scandirat.c: Add libc_hidden_def.
12647 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
12648 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
12649
6761ac04
DM
126502011-08-10 David S. Miller <davem@davemloft.net>
12651
12652 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
12653 enum.
12654 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
12655 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
12656 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
12657
c55fbd1e
UD
126582011-08-09 Ulrich Drepper <drepper@gmail.com>
12659
12660 * Versions.def [libc]: Add GLIBC_2.15.
12661 * dirent/Makefile (routines): Add scandirat and scandirat64.
12662 * dirent/Versions [libc]: Export scandirat and scandirat64 for
12663 GLIBC_2.15.
12664 * dirent/dirent.h: Declare scandirat and scandirat64.
12665 * dirent/scandirat.c: New file.
12666 * dirent/scandirat64.c: New file.
12667 * sysdeps/wordsize-64/scandirat.c: New file.
12668 * sysdeps/wordsize-64/scandirat64.c: New file.
12669 * dirent/opendir.c: Define opendirat.
12670 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
12671 using scandirat.
12672 * dirent/scandir64.c: Adjust for scandir.c change.
12673 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
12674 __scandirat64, and __scandir_cancel_handler.
12675 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
12676 additional parameter and use openat instead of open (outside of ld.so).
12677 Add new __opendir as wrapper around __opendirat.
12678 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
12679 here without requiring old scandirat implementation.
12680
879165f2
UD
126812011-08-08 Ulrich Drepper <drepper@gmail.com>
12682
12683 * dirent/scandir.c (cancel_handler): Renamed to
12684 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
12685 defined. Adjust users.
12686 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
12687 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
12688
cb7e923b
UD
126892011-08-04 Ulrich Drepper <drepper@gmail.com>
12690
16292edd
UD
12691 * string/test-string.h (IMPL): Use __STRING to expand name and then
12692 stringify it.
12693
cb7e923b
UD
12694 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
12695 of cleanups.
12696
cff82933
LD
126972011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12698
12699 * string/Makefile: Update.
12700 (strop-tests): Append strncat.
12701 * string/test-wcscmp.c: New file.
12702 New comprehensive test for wcscmp.
12703 * string/test-strcmp.c: Update.
12704 (WIDE): New define.
12705
9be9bfcc
AS
127062011-07-22 Andreas Schwab <schwab@redhat.com>
12707
12708 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
12709 line.
12710
2e96f1c7
AS
127112011-07-26 Andreas Schwab <schwab@redhat.com>
12712
12713 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
12714 encoding to ACE if AI_IDN.
12715
85188888
JJ
127162011-08-01 Jakub Jelinek <jakub@redhat.com>
12717
12718 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
12719 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
12720
5fa16e9b
LD
127212011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
12722
12723 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
12724 Fix overflow bug in strncat.
12725 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
12726
12727 * string/test-strncat.c: Update.
12728 Add new tests for checking overflow bugs.
12729
127302011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
12731
12732 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
12733 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
12734 * sysdeps/i386/i686/multiarch/strcat.S: New file.
12735 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
12736 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
12737 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
12738 * sysdeps/i386/i686/multiarch/strncat.S: New file.
12739 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
12740 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
12741
12742 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
12743 (USE_AS_STRCAT): Define.
12744 Add strcat and strncat support.
12745 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
12746
8c1a459f
AS
127472011-07-25 Andreas Schwab <schwab@redhat.com>
12748
12749 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
12750 __n bigger than INT_MAX+1.
12751 (__strncmp_g): Likewise.
12752
bba33c28
UD
127532011-07-23 Ulrich Drepper <drepper@gmail.com>
12754
798be72d
UD
12755 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
12756 * libio/stido.h: Likewise.
12757
8accd4dc
UD
12758 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
12759 (AF_NFC): Define.
12760 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
12761 (AF_NFC): Define.
12762
cbff0d96
UD
12763 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
12764 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
12765 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
12766 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
12767 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
12768
9191c04a
UD
12769 [BZ #13021]
12770 * scripts/test-installation.pl: Don't expect libnss_test1 to be
12771 installed.
12772
bba33c28
UD
12773 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
12774 typo.
12775 (_dl_x86_64_save_sse): Likewise.
12776
90f139dd
UD
127772011-07-22 Ulrich Drepper <drepper@gmail.com>
12778
1aae088a
UD
12779 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
12780 OSXSAVE.
12781 (_dl_x86_64_save_sse): Likewise.
12782
8e2045f5
UD
12783 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
12784
90f139dd
UD
12785 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
12786
1d002f25
AS
127872011-07-21 Andreas Schwab <schwab@redhat.com>
12788
12789 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
12790 change.
12791 (_dl_x86_64_save_sse): Use correct AVX check.
12792
21137f89
UD
127932011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12794
12795 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
12796 bug in strncpy/strncat.
12797 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
12798
a65c0b7a
UD
127992011-07-21 Ulrich Drepper <drepper@gmail.com>
12800
12801 * string/tester.c (test_strcat): Add tests for different alignments
12802 of source and destination.
12803 (test_strncat): Likewise.
12804
6986b98a
UD
128052011-07-20 Ulrich Drepper <drepper@gmail.com>
12806
90bb2039
UD
12807 [BZ #12852]
12808 * posix/glob.c (glob): Check passed in values before using them in
12809 expressions to avoid some overflows.
12810 (glob_in_dir): Likewise.
12811
5644ef54
UD
12812 [BZ #13007]
12813 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
12814 check for AVX enablement so that we don't crash with old kernels and
12815 new hardware.
12816 * elf/tst-audit4.c: Add same checks here.
12817 * elf/tst-audit6.c: Likewise.
12818
12819 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 12820
bfc9dc9b
AS
128212011-07-09 Andreas Schwab <schwab@linux-m68k.org>
12822
12823 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
12824
702e64bb
UD
128252011-07-20 Ulrich Drepper <drepper@gmail.com>
12826
12827 * po/cs.po: Update from translation team.
12828 * po/bg.po: Likewise.
12829
295e904f
MP
128302011-07-12 Marek Polacek <mpolacek@redhat.com>
12831
12832 * misc/sys/cdefs.h: Add support for const attribute.
12833 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
12834 to gnu_dev_{major,minor,makedev} functions.
12835
3ff94596
MP
128362011-07-20 Marek Polacek <mpolacek@redhat.com>
12837
12838 * intl/dcigettext.c (get_output_charset): Add missing bracket.
12839
28b59fca
AS
128402011-07-20 Andreas Schwab <schwab@redhat.com>
12841
12842 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
12843 strlen results.
12844
19df733e
AK
128452011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12846
12847 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
12848 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
12849 register in order to avoid conflicts with the soft frame pointer
12850 being held in r11 when necessary.
12851 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
12852 (INTERNAL_VSYSCALL_NCS): Likewise.
12853
c8835729
MP
128542011-07-14 Marek Polacek <mpolacek@redhat.com>
12855
12856 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
12857 * elf/dl-fini.c (_dl_fini): Adjust caller.
12858 * elf/dl-close.c (_dl_close_worker): Likewise.
12859 * sysdeps/generic/ldsodefs.h: Adjust declaration.
12860
b902330c
MP
128612011-07-15 Marek Polacek <mpolacek@redhat.com>
12862
8991e135
MP
12863 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
12864 "aux_cache->nlibs < 0".
12865
b902330c
MP
12866 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
12867 in the reload-count case.
12868
99710781
LD
128692011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
12870
12871 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
12872 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
12873 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
12874 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
12875 * sysdeps/x86_64/multiarch/strcat.S: New file.
12876 * sysdeps/x86_64/multiarch/strncat.S: New file.
12877 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
12878 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
12879 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
12880 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
12881 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
12882 (USE_AS_STRCAT): Define.
12883 Add strcat and strncat support.
12884 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
12885 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
12886 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
12887 * string/strncat.c: Update.
12888 (USE_AS_STRNCAT): Define.
12889 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
12890 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
12891 and i7.
12892 * sysdeps/x86_64/multiarch/init-arch.h
12893 (bit_Prefer_PMINUB_for_stringop): New.
12894 (index_Prefer_PMINUB_for_stringop): Likewise.
12895 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
12896 bit_Prefer_PMINUB_for_stringop.
12897
7dc6bd90
UD
128982011-07-19 Ulrich Drepper <drepper@gmail.com>
12899
12900 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
12901 buffer64.
12902 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
12903 of casting of buffer.
12904 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
12905 buffer32 and buffer64.
12906 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
12907 writes instead of casting of buffer.
12908 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
12909 buffer32.
12910 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
12911 casting of buffer.
12912
e0e72284
AS
129132011-07-19 Andreas Schwab <schwab@redhat.com>
12914
12915 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
12916
feb1eb0b
UD
129172011-07-19 Ulrich Drepper <drepper@gmail.com>
12918
12919 * nscd/nscd.c (termination_handler): Don't do anything for a database
12920 if it has not yet been initialized.
12921
298711ff
UD
129222011-07-18 Ulrich Drepper <drepper@gmail.com>
12923
12924 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
12925
129262011-07-15 Marek Polacek <mpolacek@redhat.com>
12927
12928 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
12929
f9d68389
UD
129302011-07-18 Ulrich Drepper <drepper@gmail.com>
12931
12932 * po/nl.po: Update from translation team.
12933 * po/sv.po: Likewise.
12934
db290cf5
RM
129352011-07-16 Roland McGrath <roland@hack.frob.com>
12936
12937 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
12938 now disallowed by GCC.
5c550700 12939
fd5e21c7
RM
12940 * configure.in (use-default-link): Default to yes if a test -shared
12941 link meets our qualifications.
12942 * configure: Regenerated.
12943
5c550700
RM
12944 * config.make.in (output-format): New variable.
12945 * configure.in: Check for ld --print-output-format support.
12946 * configure: Regenerated.
12947 * Makerules ($(common-objpfx)format.lds)
12948 [$(output-format) != unknown]: Just use $(output-format),
12949 instead of the linker-script munging.
12950
9fa2c032
RM
129512011-07-14 Roland McGrath <roland@hack.frob.com>
12952
a6928d51
RM
12953 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
12954 of $(common-objpfx)shlib.lds.
12955 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
12956
661607b3
RM
12957 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
12958 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
12959
9fa2c032
RM
12960 * configure.in (-z relro check): Adjust test code to add a large
12961 writable data section after it.
12962 * configure: Regenerated.
12963
defe9061
RM
129642011-07-11 Roland McGrath <roland@hack.frob.com>
12965
12966 * configure.in (-z relro check): Fix test code to make the variable
12967 truly const.
12968 * configure: Regenerated.
12969
319b9ad4
UD
129702011-07-11 Ulrich Drepper <drepper@gmail.com>
12971
12972 * nscd/nscd.h (struct traced_file): Define.
12973 (struct database_dyn): Remove inotify_descr, reset_res, and filename
12974 elements. Add traced_files.
12975 (inotify_fd): Declare.
12976 (register_traced_file): Declare.
12977 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
12978 (inotify_fd): Export.
12979 (resolv_conf_descr): Remove.
12980 (nscd_init): Move inotify descriptor creation to main.
12981 Don't register files for notification here.
12982 (register_traced_file): New function.
12983 (invalidate_cache): Don't use reset_res to determine whether to call
12984 res_init, go through the list of registered files.
12985 (main_loop_poll): The inotify descriptors are now stored in the
12986 structures for the traced files.
12987 (main_loop_epoll): Likewise
12988 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
12989 to __nss_disable_nscd.
12990 * nscd/cache.c (prune_cache): There is no single inotify descriptor
12991 for a database anymore. Check the records for all the registered
12992 files instead.
12993 * nss/Makefile (libnss_files-routines): Add files-init.
12994 (libnss_db-routines): Add db-init.
12995 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
12996 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
12997 * nss/nss_db/db-init.c: New file.
12998 * nss/nss_files/files-init.c: New file.
12999 * nss/nsswitch.c (nss_load_library): New function. Broken out of
13000 __nss_lookup_function.
13001 (__nss_lookup_function): Call nss_load_library.
13002 (nss_load_all_libraries): New function.
13003 (__nss_disable_nscd): Take parameter with callback function for files
13004 to register. Set is_nscd. Load all the DSOs for the NSS modules
13005 used for the cached services.
13006 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
13007 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
13008 options for features to all the files in nscd.
13009
13010 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
13011
23bee3e8
RM
130122011-07-10 Roland McGrath <roland@hack.frob.com>
13013
13014 * csu/elf-init.c (__libc_csu_init): Comment typo.
13015
46a5b7f0
UD
130162011-07-09 Ulrich Drepper <drepper@gmail.com>
13017
13018 * po/pl.po: Update from translation team.
13019 * po/ja.po: Likewise.
13020 * po/ru.po: Likewise.
13021 * po/ko.po: Likewise.
13022 * po/fr.po: Likewise.
13023
d30cf5bb
RM
130242011-07-09 Roland McGrath <roland@hack.frob.com>
13025
113ddea4
RM
13026 * configure.in (.ctors/.dtors header and trailer check):
13027 Use an empirical test on a built program.
13028 * configure: Regenerated.
13029
574920b4
RM
13030 * configure.in (-z relro check): Use an empirical test on a built DSO.
13031 Detect, but do not require, on ia64.
13032 * configure: Regenerated.
13033
d30cf5bb
RM
13034 * configure.in (READELF): Find it with AC_CHECK_TOOL.
13035 Update tests that use readelf to use $READELF instead.
13036 * configure: Regenerated.
13037
8538fdb3
UD
130382011-07-08 Ulrich Drepper <drepper@gmail.com>
13039
13040 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
13041 if the result is not used.
13042
04d08991
AJ
130432011-07-05 Andreas Jaeger <aj@suse.de>
13044
13045 [BZ#9696]
13046 * stdlib/tst-strtod.c: Add testcase.
13047
de283087
AD
130482011-07-07 Ulrich Drepper <drepper@gmail.com>
13049
4e5f31c8 13050 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 13051 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
13052 The latter has a higher limit. Take additional parameter to pass to
13053 the new function.
13054 (__pathconf): Pass file to __statfs_link_max.
13055 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
13056 __statfs_link_max.
13057 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
13058 __statfs_link_max.
13059
de283087
AD
13060 [BZ #12868]
13061 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
13062 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
13063 Handle Lustre.
13064 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
13065 (__statfs_filesize_max): Likewise.
13066 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
13067
c75fa153
AJ
130682011-07-05 Andreas Jaeger <aj@suse.de>
13069
13070 * resolv/res_comp.c (dn_skipname): Remove unused variable.
13071
1a544854
UD
130722011-07-06 Marek Polacek <mpolacek@redhat.com>
13073
13074 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
13075 `status' variable.
13076 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
13077 Likewise.
13078
6f0eec67
UD
130792011-07-04 H.J. Lu <hongjiu.lu@intel.com>
13080
13081 * Makefile (strop-tests): Add strncat.
13082 * string/test-strncat.c: New file.
13083
aae30307
UD
130842011-06-30 Marek Polacek <mpolacek@redhat.com>
13085
13086 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
13087
c0cfb5eb
UD
130882011-06-21 Andreas Jaeger <aj@suse.de>
13089
13090 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
13091 Copy rule from iconvdata/Makefile.
13092
01636b21
UD
130932011-07-06 Ulrich Drepper <drepper@gmail.com>
13094
13095 [BZ #12922]
13096 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
13097 but no long options are defined, just return 'W'.
13098
9895c8bc
UD
130992011-06-22 Marek Polacek <mpolacek@redhat.com>
13100
13101 [BZ #9696]
13102 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
13103
5d4cf042
UD
131042011-07-06 Ulrich Drepper <drepper@gmail.com>
13105
13106 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
13107 netgroups to read.
960e5535 13108 (innetgr): Likewise.
5d4cf042 13109
751eb97e
RM
131102011-07-05 Roland McGrath <roland@hack.frob.com>
13111
13112 * config.make.in (install_root): Default to $(DESTDIR).
13113
f15f1e45
UD
131142011-07-05 Ulrich Drepper <drepper@gmail.com>
13115
13116 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
13117
4e34ac6a
RM
131182011-07-02 Roland McGrath <roland@hack.frob.com>
13119
5e9b6af4
RM
13120 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
13121
84f9ea0f
RM
13122 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
13123 containing directory rather than embedding absolute directory names.
13124
ea5ee9f7
RM
13125 * scripts/check-local-headers.sh: Rewritten using awk.
13126 Match by word, not by line. Print error messages for matches.
13127 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
13128
1b74661a
RM
13129 * Makerules [shlib-lds-flags empty]:
13130 ($(common-objpfx)libc_pic.opts): New target.
13131 ($(common-objpfx)libc_pic.os.clean): New target.
13132 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
13133
13134 * config.make.in (OBJCOPY): New variable.
13135 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
13136 * configure: Regenerated.
13137
f781ef40
RM
13138 * config.make.in (use-default-link): New variable.
13139 * configure.in (use_default_link): Grok --with-default-link to set it.
13140 * configure: Regenerated.
13141 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
13142 (shlib-lds, shlib-lds-flags): Define to empty.
13143
2d4fa81e
RM
13144 * Makerules (shlib-lds): New variable.
13145 (shlib-lds-flags): New variable.
13146 (build-shlib, build-moduile, build-module-asneeded): Use it.
13147 ($(common-objpfx)libc.so): Use $(shlib-lds).
13148 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
13149 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
13150
31fffa6b
RM
13151 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
13152 DT_FLAGS/DT_FLAGS_1 with zero flags.
13153
4e34ac6a
RM
13154 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
13155 linker script munging.
13156
fcfc776b
UD
131572011-07-02 Ulrich Drepper <drepper@gmail.com>
13158
13159 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
13160 as 128-bit value.
13161 * crypt/sha512.c (sha512_process_block): Perform total addition using
13162 128-bit if possible.
13163 (__sha512_finish_ctx): Likewise.
13164 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
13165 as 64-bit value.
13166 * crypt/sha256.c (SWAP64): Define.
13167 (sha256_process_block): Perform total addition using 64-bit if
13168 possible.
13169 (__sha256_finish_ctx): Likewise.
13170
99231d9a
UD
131712011-07-01 Ulrich Drepper <drepper@gmail.com>
13172
13173 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
13174 * nscd/initgrcache.c (addinitgroupsX): Likewise.
13175 * nscd/hstcache.c (cache_addhst): Likewise.
13176 * nscd/grpcache.c (cache_addgr): Likewise.
13177 * nscd/aicache.c (addhstaiX): Likewise
13178 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
13179
445b4a53
TK
131802011-07-01 Thorsten Kukuk <kukuk@suse.de>
13181
13182 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
13183 * nscd/initgrcache.c (addinitgroupsX): Likewise.
13184 * nscd/hstcache.c (cache_addhst): Likewise.
13185 * nscd/grpcache.c (cache_addgr): Likewise.
13186 * nscd/aicache.c (addhstaiX): Likewise
13187
6d4d8e8e
AS
131882011-07-01 Andreas Schwab <schwab@redhat.com>
13189
13190 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
13191 domain only when needed.
13192
89f654c5
AS
131932011-06-30 Andreas Schwab <schwab@redhat.com>
13194
13195 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
13196 is always restored.
13197
cf3b23ff
UD
131982011-06-29 Ulrich Drepper <drepper@gmail.com>
13199
13200 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
13201 are re-adding the entry.
13202 * nscd/servicescache.c (cache_addserv): Likewise.
13203
751626f9
AJ
132042011-06-30 Aurelien Jarno <aurelien@aurel32.net>
13205
13206 * sysdeps/generic/dl-irel.h: fix protection against multiple
13207 inclusions.
13208 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
13209
9113ea1f
UD
132102011-06-28 Ulrich Drepper <drepper@gmail.com>
13211
5c0b8d90
UD
13212 [BZ #12935]
13213 * malloc/memusage.sh: Fix quoting in message.
13214 * debug/xtrace.sh: Likewise.
13215
9113ea1f
UD
13216 * configure.in: Remove support for --experimental-malloc option, make
13217 it the default.
13218 * config.make.in: Likewise.
13219 * malloc/Makefile: Likewise.
13220
a4172181
AS
132212011-06-27 Andreas Schwab <schwab@redhat.com>
13222
13223 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
13224 two-byte characters.
13225
78a7eee7
RM
132262011-06-27 Roland McGrath <roland@hack.frob.com>
13227
62bede13
RM
13228 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
13229 AC_CACHE_CHECK invocation.
13230 * configure: Regenerated.
13231
78a7eee7
RM
13232 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
13233
5ce33a62
UD
132342011-06-27 Ulrich Drepper <drepper@gmail.com>
13235
034807a9
UD
13236 [BZ #12350]
13237 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
13238 bit from old_res_options.
13239
4902da17
UD
13240 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
13241
5ce33a62
UD
13242 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
13243 value type for setfct.
13244
c2344f56
L
132452011-06-23 H.J. Lu <hongjiu.lu@intel.com>
13246
13247 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
13248 __gettimeofday instead of gettimeofday.
13249
68468076
UD
132502011-06-26 Ulrich Drepper <drepper@gmail.com>
13251
13252 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
13253
acb0d739
L
132542011-06-24 H.J. Lu <hongjiu.lu@intel.com>
13255
13256 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
13257
13258 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
13259 info.
13260
8912479f
L
132612011-06-22 H.J. Lu <hongjiu.lu@intel.com>
13262
13263 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
13264 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
13265 strcpy-sse2-unaligned strncpy-sse2-unaligned
13266 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
13267 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
13268 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
13269 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
13270 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
13271 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
13272 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
13273 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
13274 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
13275 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
13276 (STRCPY): Support SSE2 and SSSE3 versions.
13277
d5495a11
UD
132782011-06-24 Ulrich Drepper <drepper@gmail.com>
13279
13280 [BZ #12874]
13281 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
13282 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
13283 kernels which artificially limit size of requests.
13284
0b1cbaae
L
132852011-06-22 H.J. Lu <hongjiu.lu@intel.com>
13286
13287 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
13288 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
13289 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
13290 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
13291 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
13292 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
13293 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
13294 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
13295 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
13296 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
13297 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
13298 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
13299 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
13300 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
13301 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
13302 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
13303 Enable unaligned load optimization for Intel Core i3, i5 and i7
13304 processors.
13305 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
13306 Define.
13307 (index_Fast_Unaligned_Load): Define.
13308 (HAS_FAST_UNALIGNED_LOAD): Define.
13309
07f494a0
MP
133102011-06-23 Marek Polacek <mpolacek@redhat.com>
13311
13312 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
13313
fa3fc0fe
UD
133142011-06-22 Ulrich Drepper <drepper@gmail.com>
13315
13316 [BZ #12907]
13317 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
13318 until it is clear that the information is realy needed.
13319 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
13320
e12df166
AS
133212011-06-22 Andreas Schwab <schwab@redhat.com>
13322
13323 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
13324
852eb34d
UD
133252011-06-22 Ulrich Drepper <drepper@gmail.com>
13326
84e2a551
UD
13327 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
13328 /sys/devices/system/cpu/online if it is usable.
13329
852eb34d
UD
13330 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
13331 reading the information from the /proc filesystem to once a second.
13332
6e502e19
UD
133332011-06-21 Andreas Jaeger <aj@suse.de>
13334
13335 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
13336 NULL after inclusion of kernel headers.
13337
75d39ff2
UD
133382011-06-21 Ulrich Drepper <drepper@gmail.com>
13339
51f9aa6a
UD
13340 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
13341 calls to internal_setent.
13342
c0244a9d
UD
13343 [BZ #12885]
13344 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
13345 addresses using gethostbyname4_r ignore IPv4 addresses.
13346
c5e3c2ae
UD
13347 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
13348 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
13349
75d39ff2
UD
13350 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
13351
42675c6f
DM
133522011-06-20 David S. Miller <davem@davemloft.net>
13353
13354 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
13355 inclusions.
13356 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
13357
13358 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
13359 (elf_irel): Use it.
13360 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
13361 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
13362 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
13363 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
13364 * sysdeps/x86_64/dl-irel.h: Likewise.
13365
13366 * elf/dl-runtime.c: Use elf_ifunc_invoke.
13367 * elf/dl-sym.c: Likewise.
13368
57912a71
UD
133692011-06-15 Ulrich Drepper <drepper@gmail.com>
13370
13371 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
13372 need to dereference resplen2.
13373
ee22793d
AS
133742011-06-14 Andreas Schwab <schwab@redhat.com>
13375
13376 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
13377
a9e836b0
UD
133782011-06-15 Ulrich Drepper <drepper@gmail.com>
13379
77fb9117
UD
13380 * Makeconfig: Define vardbdir and inst_vardbdir.
13381 * nss/Makefile: Add rules to install db-Makefile.
13382
40c1b22c
UD
13383 * nss/nss_db/db-XXX.c: Cleanup.
13384
9f2da732
UD
13385 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
13386 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
13387 GLIBC_PRIVATE.
13388 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
13389 * nss/makedb.c: Implement -g option to specify that value strings
13390 are generated and should not be added to table iterated over for
13391 get*ent calls.
13392 * nss/nss_db/db-initgroups.c: New file.
13393
82e9a1f7
UD
13394 * nss/getent.c: Add support for initgroups lookups through getgrouplist
13395 interface.
13396
c41af17e
UD
13397 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
13398 (internal_getgrouplist): Adjust to name change.
13399 Update use_initgroups_entry if this is not the first call.
13400 * nss/databases.def: Add initgroups entry.
13401
a9e836b0
UD
13402 * nss/makedb.c (compute_tables): Check result of multiple hash table
13403 sizes to minimize maximum chain length.
13404
2666d441
UD
134052011-06-14 Ulrich Drepper <drepper@gmail.com>
13406
13407 * Versions.def: Add entry for libnss_db.
13408 * shlib-versions: Likewise.
13409 * nss/Makefile: Add rules to build libnss_db.
13410 * nss/Versions: Add libnss_db information. Organize libnss_files
13411 entries better.
13412 * nss/db-Makefile: Add gshadow support. Change rules for the new
13413 makedb progra. Some minor improvements to generate smaller files.
13414 * nss/nss_db/nss_db.h: Move NSS database header data structures to
13415 here from...
13416 * nss/makedb.c: ...here.
13417 Improve database format to be smaller and require less memory at
13418 runtime.
13419 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
13420 db anymore.
13421 * nss/nss_db/db-netgrp.c: Likewise.
13422 * nss/nss_db/db-open.c: Likewise.
13423 * nss/nss_files/flies-XXX.x: Adjust comments.
13424 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
13425 * nss/nss_files/files-grp.c: Likewise.
13426 * nss/nss_files/files-hosts.c: Likewise.
13427 * nss/nss_files/files-network.c: Likewise.
13428 * nss/nss_files/files-proto.c: Likewise.
13429 * nss/nss_files/files-pwd.c: Likewise.
13430 * nss/nss_files/files-rpc.c: Likewise.
13431 * nss/nss_files/files-service.c: Likewise.
13432 * nss/nss_files/files-sgrp.c: Likewise.
13433 * nss/nss_files/files-spwd.c: Likewise.
13434 * nss/nss_db/db-alias.c: Removed.
13435 * nss/nss_db/dummy-db.h: Removed.
13436
9ee76b5a
UD
134372011-06-02 Ulrich Drepper <drepper@gmail.com>
13438
13439 * nss/makedb.c: Rewritten to not use database library.
13440 * nss/Makefile: Update to build new makedb program.
13441
c71ca1f8
AJ
134422011-06-14 Andreas Jaeger <aj@suse.de>
13443
13444 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
13445 memset declaration.
13446
3154bfb8
UD
134472011-06-10 Andreas Schwab <schwab@redhat.com>
13448
13449 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
13450 tmpbuf.
13451
b350afab
RM
134522011-06-10 Roland McGrath <roland@hack.frob.com>
13453
decd4e50
RM
13454 * Makerules (shlib.lds): Fail if the linker script comes out empty.
13455 * elf/Makefile ($(objpfx)ld.so): Likewise.
13456
5615eaf2
RM
13457 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
13458 Don't list ld.so twice in dependencies.
13459
13460 * posix/bug-regex31.c: Include <stdlib.h>.
13461
13462 * nscd/hstcache.c (cache_addhst): Remove unused variable.
13463
13464 * nis/nss_compat/compat-spwd.c
13465 (getspent_next_nss_netgr): Remove unused variable.
13466 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
13467
13468 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
13469 nonmembers" output to use the right array.
13470
13471 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
13472
13473 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
13474
13475 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
13476 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
13477 * catgets/gencat.c (read_input_file): Likewise.
13478 * locale/programs/locarchive.c (enlarge_archive): Likewise.
13479
13480 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
13481 variable definition inside #if's controlling its use.
13482
13483 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
13484
13485 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
13486
13487 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
13488
13489 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
13490 unreachable code.
13491
13492 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
13493
b68e08db
RM
13494 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
13495 * configure: Regenerated.
13496
b350afab
RM
13497 * Makerules: Revert last change.
13498 * elf/Makefile: Likewise.
13499
28368601
RM
135002011-06-09 Roland McGrath <roland@hack.frob.com>
13501
13502 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
13503 * elf/Makefile ($(objpfx)librtld.os): Likewise.
13504 (reloc-link): Likewise.
13505
11988f8f
UD
135062011-06-09 Ulrich Drepper <drepper@gmail.com>
13507
13508 * elf/Makefile: Add rules to build pldd.
13509 * elf/pldd.c: New file.
13510 * elf/pldd-xx.c: New file.
13511
e80fab37
UD
135122011-06-07 Ulrich Drepper <drepper@gmail.com>
13513
13514 * version.h: Update for 2.15 development version.
13515
9b849836
DM
135162011-06-07 David S. Miller <davem@davemloft.net>
13517
13518 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
13519 ifuncs.
13520 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
13521 elf_machine_lazy_rel): Likewise.
13522 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
13523 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
13524 elf_machine_lazy_rel): Likewise.
13525 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
13526 dl_hwcap via passed in argument.
13527 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
13528 Likewise.
13529
5a31b283
AK
135302011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13531
13532 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
13533
069e52f8
RM
135342011-06-06 Roland McGrath <roland@hack.frob.com>
13535
13536 [BZ #12849]
13537 * manual/fdl-1.1.texi: New file, verbatim from:
13538 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
13539 * manual/lgpl-2.1.texi: New file, verbatim from:
13540 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
13541 * manual/Makefile (licenses): New variable, list those new file names.
13542 (texis): Use it.
13543 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
13544
13545 * manual/fdl.texi: File removed.
13546 * manual/lesser.texi: File removed.
13547 * manual/libc.texinfo (Copying, Documentation License):
13548 Use new @include file names, put @appendix directive before @include.
13549
f16846a5
JJ
135502011-06-04 Jakub Jelinek <jakub@redhat.com>
13551
13552 [BZ #12841]
13553 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
13554 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
13555 (mq_open): Add __NTH.
13556
3d29045b
L
135572011-06-02 H.J. Lu <hongjiu.lu@intel.com>
13558
13559 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
13560 Assume Intel Core i3/i5/i7 processor if AVX is available.
13561
8c297311
UD
135622011-05-31 Ulrich Drepper <drepper@gmail.com>
13563
13564 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
13565 typo.
13566
c8fc0c91
UD
135672011-05-31 Andreas Schwab <schwab@redhat.com>
13568
13569 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
13570 memory. Use alloca_account. Fix memory leak when retrying.
13571
5b27a807
UD
135722011-05-31 Ulrich Drepper <drepper@gmail.com>
13573
356f8bc6
UD
13574 * version.h (RELEASE): Bump for 2.14 release.
13575 * include/features.h (__GLIBC_MINOR__): Bump to 14.
13576
5b27a807
UD
13577 * config.make.in (RANLIB): Remove entry.
13578
01f16ab0
UD
135792011-05-30 Ulrich Drepper <drepper@gmail.com>
13580
41fce8bd
UD
13581 * po/Makefile (po-sed-cmd): Add ksh to extensions.
13582 (libc.pot): Work around missing support for .ksh extension in xgettext.
13583
4769ae77
UD
13584 [BZ #12684]
13585 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
13586 if both request failed.
13587 (send_dg): In case of server errors clear resplen or *resplen2.
13588
6b1e7d19
UD
13589 [BZ #12454]
13590 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
13591 when there are multiple maps.
13592 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
13593 (_dl_fini): Remove test here.
13594
01f16ab0
UD
13595 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
13596
b1ebd700
UD
135972011-05-29 Ulrich Drepper <drepper@gmail.com>
13598
7ae22829
UD
13599 [BZ #12350]
13600 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
13601 bit from old_res_options.
13602 (gaih_inet): Likewise.
13603
553149f6 13604 [BZ #11099]
18a84741 13605 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
13606 as signed.
13607
652ffab1
UD
13608 * resolv/res_init.c (res_setoptions): Make the code more compact.
13609
16985fd0
UD
13610 [BZ #11558]
13611 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
13612 set RES_USEVC.
13613
0464f746
UD
13614 [BZ #11634]
13615 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
13616
7d17596c
UD
13617 * malloc/malloc.h: Mark malloc hook variables as deprecated.
13618
cf6bbbd7
UD
13619 [BZ #11781]
13620 * malloc/malloc.h: Declare malloc hook variables as volatile.
13621
13f1ab36
UD
13622 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
13623 in last patch.
13624
b1ebd700
UD
13625 [BZ #11799]
13626 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 13627 raise in the comment.
80e2212d
UD
13628 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
13629 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
13630 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 13631
ce67228d
UD
136322011-05-28 Ulrich Drepper <drepper@gmail.com>
13633
8887a920
UD
13634 [BZ #12811]
13635 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
13636 grow the buffers more if it already has to be sufficient.
13637 (build_wcs_upper_buffer): Likewise.
13638 * posix/regexec.c (check_matching): Likewise.
13639 (clean_state_log_if_needed): Likewise.
13640 (extend_buffers): Don't enlarge buffers beyond size of the input
13641 buffer.
13642 Patches mostly by Emil Wojak <emil@wojak.eu>.
13643 * posix/bug-regex32.c: New file.
13644 * posix/Makefile (tests): Add bug-regex32.
13645
4f031072
UD
13646 * locale/findlocale.c (_nl_find_locale): Return right away if
13647 _nl_explode_name failed.
13648 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
13649
d0478f0c
UD
13650 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
13651
de81b246
UD
13652 * debug/xtrace.sh: Unify messages.
13653 * malloc/memusage.sh: Likewise.
13654
c738465a
UD
13655 [BZ #12813]
13656 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
13657 time symbol from vDSO. Substitute with vsyscall if not available.
13658 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
13659 __vdso_time.
13660
f1f929d7
UD
13661 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
13662 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
13663 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
13664 Add sendmmsg and internal_sendmmsg.
13665 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
13666 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
13667 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
13668
ce67228d
UD
13669 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
13670 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
13671 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
13672
e57420c6
UD
136732011-05-27 Ulrich Drepper <drepper@gmail.com>
13674
a8509ca5
UD
13675 [BZ #12813]
13676 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
13677 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
13678 available.
13679 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
13680 __vdso_getcpu.
13681
e57420c6
UD
13682 [BZ #12814]
13683 * iconvdata/Makefile (tests): Add bug-iconv9.
13684 * iconvdata/bug-iconv9.c: New file.
13685
4d07db15
AS
136862011-05-27 Andreas Schwab <schwab@redhat.com>
13687
13688 [BZ #12814]
13689 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
13690
ea486f69
JJ
136912011-05-25 Jakub Jelinek <jakub@redhat.com>
13692
13693 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
13694 (struct user_regs_struct): Change intcs field back to cs.
13695
6f038433
UD
136962011-05-25 Ulrich Drepper <drepper@gmail.com>
13697
13698 * po/ja.po: Update from translation team.
13699
67f86a25
UD
137002011-05-23 Ulrich Drepper <drepper@gmail.com>
13701
13702 [BZ #12795]
13703 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
13704 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
13705
def7fbd6
AS
137062011-05-20 Andreas Schwab <schwab@redhat.com>
13707
13708 * stdlib/longlong.h: Update from GCC.
13709
f50ef8f1
AS
137102011-05-23 Andreas Schwab <schwab@redhat.com>
13711
13712 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
13713 parameter name.
13714 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
13715 Add parameter name.
13716 (__sysconf): Pass it down.
13717
de7ce8f1
UD
137182011-05-22 Ulrich Drepper <drepper@gmail.com>
13719
f2962a71
UD
13720 [BZ #12671]
13721 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
13722 some situations.
13723 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
13724 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
13725 add in in __libc_use_alloca calls. Adjust callers.
13726 (glob): Use malloc in some situations.
13727
de7ce8f1
UD
13728 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
13729 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
13730 pltexit.
13731
aec84f53
UD
137322011-05-21 Ulrich Drepper <drepper@gmail.com>
13733
05bb4a68
UD
13734 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
13735 and CLOCK_BOOTTIME_ALARM.
13736
7ea72f99
UD
13737 [BZ #12782]
13738 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
13739 is returned.
13740
7e4afad5
UD
13741 * string/_strerror.c (__strerror_r): Print negative errors as signed
13742 numbers.
13743
8e211fec
UD
13744 [BZ #12777]
13745 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
13746 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
13747 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
13748
f7d82dc9
UD
13749 * configure.in: Fix typo in redirection and correct removal of test
13750 files in two cases.
13751
cc9e536d
UD
13752 [BZ #12788]
13753 * locale/setlocale.c (new_composite_name): Fix test to check for
13754 identical name of all categories.
13755
aec84f53
UD
13756 [BZ #12792]
13757 * libio/filedoalloc.c (local_isatty): New function.
13758 (_IO_file_doallocate): Use local_isatty.
13759 * stdio-common/perror.c (perror): In case a new stream is used
13760 forward the stream error.
13761 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
13762 error flag.
13763
78e64fdc
RT
137642011-05-20 Ulrich Drepper <drepper@gmail.com>
13765
34a9094f
UD
13766 [BZ #11869]
13767 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
13768 alloca.
13769 * include/alloca.h (extend_alloca_account): Define.
13770
78e64fdc
RT
13771 [BZ #11857]
13772 * posix/regex.h: Fix comments with documentation of user-accessible
13773 fields after compilation and describe correct free'ing of pattern
13774 after re_compile_pattern.
13775 Patch by Reuben Thomas <rrt@sc3d.org>.
13776
457bddfc
RA
137772011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
13778
13779 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
13780 and -mno-altivec to prevent the compiler from using Altivec and/or
13781 VSX instructions when the corresponding registers are not available.
13782
a4527b51
AS
137832011-05-19 Andreas Schwab <schwab@redhat.com>
13784
13785 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
13786
ed690b2f
UD
137872011-05-19 Ulrich Drepper <drepper@gmail.com>
13788
13789 * libio/freopen.c (freopen): Use __dup2, not dup2.
13790 * libio/freopen64.c (freopen64): Likewise.
13791
8db73634
L
137922011-05-17 H.J. Lu <hongjiu.lu@intel.com>
13793
13794 [BZ #12775]
13795 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
13796 * math/Makefile (tests): Add test-powl.
13797 (CFLAGS-test-powl.c): Define.
13798 * math/test-powl.c: New file.
13799
0a197a9d
L
138002011-05-16 H.J. Lu <hongjiu.lu@intel.com>
13801
13802 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
13803
ee30c380
UD
138042011-05-17 Ulrich Drepper <drepper@gmail.com>
13805
13806 [BZ #11837]
13807 * iconvdata/gb18030.c: Update to GB18020-2005.
13808
6ce75379
UD
138092011-05-16 Ulrich Drepper <drepper@gmail.com>
13810
a4b89fd8
AR
13811 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
13812 RE_SYNTAX_POSIX_AWK): Update to match recent development.
13813 Patch by Aharon Robbins <arnold@skeeve.com>.
13814
ea389b12
UD
13815 [BZ #11892]
13816 * stdlib/putenv.c (putenv): Don't always create copy of the variable
13817 on the stack.
13818
68a3f91f
UD
13819 [BZ #11895]
13820 * misc/pselect.c (__pselect): Handle timeout value errors hidden
13821 through underflows.
13822
15cc7dd1
UD
13823 [BZ #12766]
13824 * misc/error.c (error_at_line): Ensure file_name and old_file_name
13825 point to strings before performing equality test for error_one_per_line
13826 mode.
13827
f3799213
UD
13828 [BZ #11697]
13829 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
13830
d79a9c94
UD
13831 [BZ #11820]
13832 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
13833 (struct user_fpregs_struct): Avoid __uint*_t types.
13834
56e5eb46
UD
13835 [BZ #6420]
13836 * malloc/mtrace.c (tr_where): Add additional parameter to point to
13837 symbol info. Use it instead of calling _dl_addr locally.
13838 (lock_and_info): New function.
13839 (tr_freehook): Call lock_and_info and pass symbol info as additional
13840 parameter to tr_where.
13841 (tr_mallochook): Likewise.
13842 (tr_reallochook): Likewise.
13843 (tr_memalignhook): Likewise.
13844
6ce75379
UD
13845 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
13846 used and couldn't be at all thread-safe.
13847
f8a3b5bf
UD
138482011-05-15 Ulrich Drepper <drepper@gmail.com>
13849
94b7cc37
UD
13850 * libio/freopen.c (freopen): Don't close old file descriptor
13851 before the new one is opened. Instead dup the new file descriptor
13852 to the old one after the new stream is created.
13853 * libio/freopen64.c (freopen64): Likewise.
13854 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
13855 * libio/fileops.c (_IO_new_file_close_it): Handle new
13856 _IO_FLAGS2_NOCLOSE flag.
13857 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
13858 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
13859 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
13860 _IO_FLAGS2_NOCLOSE flag.
13861 * include/unistd.h: Add hidden_proto for dup3.
13862 Define __have_dup3.
13863 * io/dup3.c: Define hidden symbol.
13864 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
13865
bd25564e
UD
13866 [BZ #7101]
13867 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
13868 when an incomplete long option is used.
13869 * posix/tst-getopt_long1.c: New file.
13870 * posix/Makefile (tests): Add tst-getopt_long1.
13871
c84cfef4
UD
13872 [BZ #10138]
13873 * scripts/config.guess: Update from autoconf-2.68.
13874 * scripts/config.sub: Likewise.
13875
3b85df27
UD
13876 [BZ #10157]
13877 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
13878 tests into ...
13879 (has_cpuclock): ...this. New function.
13880 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
13881 macro here based on has_cpuclock code.
13882
15a856b1
UD
13883 [BZ #10149]
13884 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
13885 First byte (not low byte) is now always NUL.
13886 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
13887
05f399e6
UD
13888 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
13889 Use non-cancelable interfaces.
13890
10a52685 13891 [BZ #9809]
94ecc67d
UD
13892 * locale/iso-639.def: Add entry for Sorani.
13893
f8a3b5bf
UD
13894 [BZ #11901]
13895 * include/stdlib.h: Move include protection to the right place.
13896 Define abort_msg_s. Declare __abort_msg with it.
13897 * stdlib/abort.c (__abort_msg): Adjust type.
13898 * assert/assert.c (__assert_fail_base): New function. Majority
13899 of code from __assert_fail. Allocate memory for __abort_msg with
13900 mmap.
13901 (__assert_fail): Now call __assert_fail_base.
13902 * assert/assert-perr.c: Remove bulk of implementation. Use
13903 __assert_fail_base.
13904 * include/assert.hL Declare __assert_fail_base.
13905 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
13906 mmap.
13907 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
13908
1af4e298
UD
139092011-05-14 Ulrich Drepper <drepper@gmail.com>
13910
f8a3b5bf 13911 [BZ #11952]
d26dfc60
MG
13912 [BZ #12453]
13913 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
13914 until all modules are registered in the DTV.
13915 * elf/Makefile: Add rules to build and run tst-tls19.
13916 * elf/tst-tls19.c: New file.
13917 * elf/tst-tls19mod1.c: New file.
13918 * elf/tst-tls19mod2.c: New file.
13919 * elf/tst-tls19mod3.c: New file.
13920 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
13921
2fc54d6f
UD
13922 [BZ #12083]
13923 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
13924 correctly.
13925
98d76b46
UD
13926 [BZ #12601]
13927 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
13928 two-byte sequence errors.
13929 * iconvdata/Makefile (tests): Add bug-iconv8.
13930 * iconvdata/bug-iconv8.c: New file.
13931
da3c19ef
UD
13932 [BZ #12626]
13933 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
13934 buf2 definition.
13935
ca408c15
UD
13936 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
13937
d6f67f7d
UD
13938 [BZ #12432]
13939 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
13940 (dummy_getcfa): New function.
13941 (init): Get _Unwind_GetCFA address, use dummy if not found.
13942 (backtrace_helper): In recursion check, also check whether CFA changes.
13943 (__backtrace): Completely initialize arg.
13944
1af4e298 13945 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
13946 storing incomplete byte sequence in state object. Avoid testing for
13947 guaranteed too small input if we know there is enough data available.
1af4e298 13948
da62f81b
AS
139492011-05-11 Andreas Schwab <schwab@redhat.com>
13950
13951 * Makeconfig (+link-pie): Indent.
13952 * Rules (binaries-pie): Define if $(have-fpie) and
13953 $(build-shared).
13954 (binaries-shared): Also filter out $(binaries-pie).
13955 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
13956 * nscd/Makefile (others-pie): Add nscd.
13957 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
13958 ($(objpfx)nscd): Remove command override.
13959 * login/Makefile (others-pie): Add pt_chown.
13960 ($(objpfx)pt_chown): Remove command override.
13961 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
13962 remove command overrides.
13963
fcabc0f8
UD
139642011-05-13 Ulrich Drepper <drepper@gmail.com>
13965
20030ae6
UD
13966 * libio/tst_putwc.c: Fix error messages.
13967
fcabc0f8
UD
13968 [BZ #12724]
13969 * libio/fileops.c (_IO_new_file_close_it): Always flush when
13970 currently writing and seek to current position when not.
13971 * libio/Makefile (tests): Add bug-fclose1.
13972 * libio/bug-fclose1.c: New file.
13973
320a5dc0
PB
139742011-05-12 Ulrich Drepper <drepper@gmail.com>
13975
13976 [BZ #12511]
13977 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
13978 don't set DF_1_NODELETE here.
13979 (do_lookup_x): When entering new entry test for copy relocation
13980 and if necessary set DF_1_NODELETE flag.
13981 * elf/tst-unique4.cc: New file.
13982 * elf/tst-unique4.h: New file.
13983 * elf/tst-unique4lib.cc: New file.
13984 * elf/Makefile: Add rules to build and run tst-unique4.
13985 Patch by Piotr Bury <pbury@goahead.com>.
13986
22836f52
UD
139872011-05-11 Ulrich Drepper <drepper@gmail.com>
13988
f574184a
UD
13989 [BZ #12052]
13990 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
13991
e1fb097f
UD
13992 [BZ #12625]
13993 * misc/mntent_r.c (addmntent): Flush the stream after the output
13994
22836f52
UD
13995 [BZ #12393]
13996 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
13997 (is_trusted_path_normalize): Skip initial colon. Append slash
13998 to empty buffer. Duplicate is_trusted_path code but allow
13999 constructed patch to be prefix.
14000 (is_dst): Allow $ORIGIN followed by /.
14001 (_dl_dst_substitute): Correct clearing of check_for_trusted.
14002 Correct testing of result of is_trusted_path_normalize
14003 (decompose_rpath): Fix warning.
14004
7b3b0b2a
UD
140052011-05-10 Ulrich Drepper <drepper@gmail.com>
14006
14007 [BZ #11257]
14008 * grp/initgroups.c (internal_getgrouplist): When we found the service
14009 list through the initgroups entry in nsswitch.conf do not always
14010 continue on a successful lookup. Don't always use the
eac80ce2 14011 __nss_group_database value if it is set.
7b3b0b2a
UD
14012 * nss/nsswitch.conf (initgroups): Change action for successful db
14013 lookup to continue for compatibility.
14014
2a81eaa5
UD
140152011-05-09 Ulrich Drepper <drepper@gmail.com>
14016
be97a69e
UD
14017 [BZ #11532]
14018 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
14019 and CP774 modules.
14020 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
14021 and CP774 modules.
14022 * iconvdata/tst-tables.sh: Likewise.
14023 * iconvdata/cp770.c: New file.
14024 * iconvdata/cp771.c: New file.
14025 * iconvdata/cp772.c: New file.
14026 * iconvdata/cp773.c: New file.
14027 * iconvdata/cp774.c: New file.
14028 * iconvdata/testdata/CP770: New file.
14029 * iconvdata/testdata/CP770..UTF8: New file.
14030 * iconvdata/testdata/CP771: New file.
14031 * iconvdata/testdata/CP771..UTF8: New file.
14032 * iconvdata/testdata/CP772: New file.
14033 * iconvdata/testdata/CP772..UTF8: New file.
14034 * iconvdata/testdata/CP773: New file.
14035 * iconvdata/testdata/CP773..UTF8: New file.
14036 * iconvdata/testdata/CP774: New file.
14037 * iconvdata/testdata/CP774..UTF8: New file.
14038
14039 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
14040 END CHARMAP line.
14041 * iconvdata/gen-8bit-gap.sh: Likewise.
14042 * iconvdata/gen-8bit.sh: Likewise.
14043
c1e9e399
UD
14044 * locale/iso-639.def: Add ary entry.
14045
24c55fb3 14046 [BZ #11258]
96b4b1b0
UD
14047 * locale/C-translit.h.in: Add U20A1 transliteration.
14048
bdc2f971
KB
14049 [BZ #12178]
14050 * locale/iso-639.def: Add wae entry.
14051 Patch by Kevin Bortis <bortis@translate-wae.ch>.
14052
2952b117
UD
14053 [BZ #12545]
14054 * locale/programs/localedef.c (construct_output_path): Use ssize_t
14055 for n.
14056
2a81eaa5
UD
14057 [BZ #12711]
14058 * locale/C-translit.h.in: Add entry for U20B9.
14059 Patch by pravin.d.s@gmail.com.
14060
28377d1b
UD
140612011-05-08 Ulrich Drepper <drepper@gmail.com>
14062
7fb90fb8
UD
14063 [BZ #12713]
14064 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
14065 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
14066 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
14067 in rtld. Use *stat64.
7fb90fb8 14068 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 14069 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 14070 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
14071 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
14072 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
14073 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
14074 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
14075 __fstatat64 macros.
7fb90fb8
UD
14076 * include/dirent.h: Add libc_hidden_proto for rewinddir.
14077 * dirent/rewinddir.c: Add libc_hidden_def.
14078 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 14079 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 14080
28377d1b
UD
14081 * include/dirent.h (__alloc_dir): Add flags parameter.
14082 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
14083 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
14084 __alloc_dir.
14085 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
14086 from fdopendir if O_CLOEXEC is already set.
14087
66bdbaa4
AM
140882011-03-15 Alan Modra <amodra@gmail.com>
14089
14090 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
14091 l_tls_firstbyte_offset non-zero. Save padding offset in
14092 l_tls_firstbyte_offset for later use.
14093 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
14094 freeing static tls block.
14095
95721191
JN
140962011-03-05 Jonathan Nieder <jrnieder@gmail.com>
14097
14098 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
14099 where #ifdef was intended. The intent is to prevent ARG_MAX from
14100 being defined by the kernel headers.
14101
f87dfb1f
UD
141022011-05-07 Ulrich Drepper <drepper@gmail.com>
14103
14104 [BZ #12734]
14105 * resolv/resolv.h: Define RES_NOTLDQUERY.
14106 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
14107 no-tld-query and set RES_NOTLDQUERY.
14108 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
14109 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
14110 modern BIND to search name as TLD unless forbidden.
14111
47c3cd7a
UD
141122011-05-07 Petr Baudis <pasky@suse.cz>
14113 Ulrich Drepper <drepper@gmail.com>
14114
14115 [BZ #12393]
14116 * elf/dl-load.c (fillin_rpath): Move trusted path check...
14117 (is_trusted_path): ...to here.
c1e9ea35 14118 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 14119 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 14120 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 14121
8a35c912
PP
141222011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
14123
14124 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
14125 __BEGIN/__END_DECLS.
14126
acd41f47
UD
141272011-05-06 Ulrich Drepper <drepper@gmail.com>
14128
14129 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
14130 NSS_STATUS_NOTFOUND if no record was found.
14131
597df647
AS
141322011-05-05 Andreas Schwab <schwab@redhat.com>
14133
14134 * sunrpc/Makefile (headers): Add rpc/netdb.h.
14135 (headers-not-in-tirpc): Remove rpc/netdb.h
14136 * resolv/netdb.h: Revert last change.
14137
b9af1301
PP
141382011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
14139
14140 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
14141 circular dependency between libgcc.a and libc.a.
14142
4e34d5f5
AS
141432011-05-05 Andreas Schwab <schwab@redhat.com>
14144
14145 * resolv/netdb.h: Don't include <rpc/netdb.h>.
14146 * nis/Makefile: Don't install rpcsvc/*.
14147 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
14148 instead of <rpc/types.h>.
14149 (MAXHOSTNAMELEN): Define.
14150
00ee369c
AS
141512011-05-03 Andreas Schwab <schwab@redhat.com>
14152
14153 * elf/ldconfig.c (add_dir): Don't crash on empty path.
14154
0b592a30
MB
141552011-04-28 Maciej Babinski <mbabinski@google.com>
14156
14157 [BZ #12714]
14158 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
14159 gethostbyname4_r when IPv6 results are possible.
14160
6e04cbbe
UD
141612011-05-02 Ulrich Drepper <drepper@gmail.com>
14162
14163 [BZ #12723]
14164 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
14165 _PC_PIPE_BUF handling.
14166
e4ecafe0
BH
141672011-04-30 Bruno Haible <bruno@clisp.org>
14168
14169 [BZ #12717]
14170 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
14171 * resolv/netdb.h (getnameinfo): Change type of flags parameter
14172 to 'int'.
14173 * inet/getnameinfo.c (getnameinfo): Likewise.
14174
125ee683
UD
141752011-04-29 Ulrich Drepper <drepper@gmail.com>
14176
14177 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
14178 to groups setting in database lookup.
14179 * nss/nsswitch.conf: Add initgroups entry.
14180
b722481a
EB
141812011-04-22 Ulrich Drepper <drepper@gmail.com>
14182
14183 [BZ #12685]
14184 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
14185 mode string.
14186 Patch by Eric Blake <eblake@redhat.com>.
14187
4df46dbd
L
141882011-04-20 H.J. Lu <hongjiu.lu@intel.com>
14189
14190 * sunrpc/Makefile (need-export-routines): Add svc_run.
14191 (routines): Remove svc_run.
14192 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
14193 * sunrpc/clnt_perr.c (clnt_perrno): Export.
14194 * sunrpc/svc_run.c (svc_run): Likewise.
14195 * sunrpc/svc_udp.c (svcudp_create): Likewise.
14196
e84142d2
UD
141972011-04-21 Ulrich Drepper <drepper@gmail.com>
14198
14199 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
14200 problem in reallocation in last patch.
14201
877175d8
UD
142022011-04-20 Ulrich Drepper <drepper@gmail.com>
14203
14204 * sunrpc/Makefile: Move inclusion of Rules.
14205
ab8eed78
UD
142062011-04-19 Ulrich Drepper <drepper@gmail.com>
14207
14208 * nss/nss_files/files-initgroups.c: New file.
14209 * nss/Makefile (libnss_files-routines): Add files-initgroups.
14210 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
14211 _nss_files_initgroups_dyn.
14212
e3d8f584
RS
142132011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
14214
14215 * elf/elf.h (R_ARM_IRELATIVE): Define.
14216
af190f45
UD
142172011-04-19 Ulrich Drepper <drepper@gmail.com>
14218
14219 * po/ru.po: Update from translation team.
14220
53cf59ef
UD
142212011-04-17 Ulrich Drepper <drepper@gmail.com>
14222
14223 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
14224 dependencies.
14225
4c559bcd
MF
142262011-02-06 Mike Frysinger <vapier@gentoo.org>
14227
14228 [BZ #12653]
14229 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
14230 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
14231 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
14232 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
14233 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
14234
4420675c
AS
142352011-03-28 Andreas Schwab <schwab@linux-m68k.org>
14236
14237 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
14238 differing bytes.
14239 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
14240 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
14241 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
14242
75ea32ab
UD
142432011-04-17 Ulrich Drepper <drepper@gmail.com>
14244
14245 [BZ #12420]
14246 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
14247 storing it.
14248 * stdlib/bug-getcontext.c: New file.
14249 * stdlib/Makefile: Add rules to build and run bug-getcontext.
14250
27390476
AK
142512011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14252
14253 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
14254 instructions into .machine "z9-109".
14255 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
14256 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
14257
10442705
AK
142582011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14259
14260 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
14261 between environment variables and auxiliary vector.
14262
7b57bfe5
UD
142632011-04-16 Ulrich Drepper <drepper@gmail.com>
14264
14265 * Makefile: Add rules to build linkobj/libc.so.
14266 * include/libc-symbols.h: Define libc_hidden_nolink.
14267 * include/rpc/auth.h: Mark functions which are to be hidden.
14268 * include/rpc/auth_des.h: Likewise.
14269 * include/rpc/auth_unix.h: Likewise.
14270 * include/rpc/clnt.h: Likewise.
14271 * include/rpc/des_crypt.h: Likewise.
14272 * include/rpc/key_prot.h: Likewise.
14273 * include/rpc/pmap_clnt.h: Likewise.
14274 * include/rpc/pmap_prot.h: Likewise.
14275 * include/rpc/pmap_rmt.h: Likewise.
14276 * include/rpc/rpc_msg.h: Likewise.
14277 * include/rpc/svc.h: Likewise.
14278 * include/rpc/svc_auth.h: Likewise.
14279 * include/rpc/xdr.h: Likewise.
14280 * nis/Makefile: Link all DSOs against linkobj/libc.so.
14281 * nss/Makefile: Likewise.
14282 * sunrpc/Makefile: Don't install headers. Build library with normal
14283 entry points. Don't build rpcinfo. Link RPC tests appropriately.
14284 * sunrpc/auth_des.c: Hide exported symbols by default, export some
14285 for the compat linking library. Remove use of INTDEF/INTUSE.
14286 * sunrpc/auth_none.c: Likewise.
14287 * sunrpc/auth_unix.c: Likewise.
14288 * sunrpc/authdes_prot.c: Likewise.
14289 * sunrpc/authuxprot.c: Likewise.
14290 * sunrpc/clnt_gen.c: Likewise.
14291 * sunrpc/clnt_perr.c: Likewise.
14292 * sunrpc/clnt_raw.c: Likewise.
14293 * sunrpc/clnt_simp.c: Likewise.
14294 * sunrpc/clnt_tcp.c: Likewise.
14295 * sunrpc/clnt_udp.c: Likewise.
14296 * sunrpc/clnt_unix.c: Likewise.
14297 * sunrpc/des_crypt.c: Likewise.
14298 * sunrpc/des_soft.c: Likewise.
14299 * sunrpc/get_myaddr.c: Likewise.
14300 * sunrpc/key_call.c: Likewise.
14301 * sunrpc/key_prot.c: Likewise.
14302 * sunrpc/netname.c: Likewise.
14303 * sunrpc/pm_getmaps.c: Likewise.
14304 * sunrpc/pm_getport.c: Likewise.
14305 * sunrpc/pmap_clnt.c: Likewise.
14306 * sunrpc/pmap_prot.c: Likewise.
14307 * sunrpc/pmap_prot2.c: Likewise.
14308 * sunrpc/pmap_rmt.c: Likewise.
14309 * sunrpc/publickey.c: Likewise.
14310 * sunrpc/rpc_cmsg.c: Likewise.
14311 * sunrpc/rpc_common.c: Likewise.
14312 * sunrpc/rpc_dtable.c: Likewise.
14313 * sunrpc/rpc_prot.c: Likewise.
14314 * sunrpc/rpc_thread.c: Likewise.
14315 * sunrpc/rtime.c: Likewise.
14316 * sunrpc/svc.c: Likewise.
14317 * sunrpc/svc_auth.c: Likewise.
14318 * sunrpc/svc_authux.c: Likewise.
14319 * sunrpc/svc_raw.c: Likewise.
14320 * sunrpc/svc_run.c: Likewise.
14321 * sunrpc/svc_simple.c: Likewise.
14322 * sunrpc/svc_tcp.c: Likewise.
14323 * sunrpc/svc_udp.c: Likewise.
14324 * sunrpc/svc_unix.c: Likewise.
14325 * sunrpc/svcauth_des.c: Likewise.
14326 * sunrpc/xcrypt.c: Likewise.
14327 * sunrpc/xdr.c: Likewise.
14328 * sunrpc/xdr_array.c: Likewise.
14329 * sunrpc/xdr_float.c: Likewise.
14330 * sunrpc/xdr_intXX_t.c: Likewise.
14331 * sunrpc/xdr_mem.c: Likewise.
14332 * sunrpc/xdr_rec.c: Likewise.
14333 * sunrpc/xdr_ref.c: Likewise.
14334 * sunrpc/xdr_sizeof.c: Likewise.
14335 * sunrpc/xdr_stdio.c: Likewise.
14336
e6c61494
UD
143372011-04-10 Ulrich Drepper <drepper@gmail.com>
14338
14339 [BZ #12650]
14340 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
14341 * sysdeps/ia64/dl-tls.h: Likewise.
14342 * sysdeps/powerpc/dl-tls.h: Likewise.
14343 * sysdeps/s390/dl-tls.h: Likewise.
14344 * sysdeps/sh/dl-tls.h: Likewise.
14345 * sysdeps/sparc/dl-tls.h: Likewise.
14346 * sysdeps/x86_64/dl-tls.h: Likewise.
14347 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
14348
34fe483e
AS
143492011-03-14 Andreas Schwab <schwab@redhat.com>
14350
14351 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
14352 rpath element also skip the following colon.
14353 (expand_dynamic_string_token): Add is_path parameter and pass
14354 down to DL_DST_REQUIRED and _dl_dst_substitute.
14355 (decompose_rpath): Call expand_dynamic_string_token with
14356 non-zero is_path. Ignore empty rpaths.
14357 (_dl_map_object_from_fd): Call expand_dynamic_string_token
14358 with zero is_path.
14359
f12a32e6
AS
143602011-04-08 Andreas Schwab <schwab@linux-m68k.org>
14361
14362 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
14363 Make cancelable.
14364
38a7d692
UD
143652011-04-09 Ulrich Drepper <drepper@gmail.com>
14366
14367 [BZ #12655]
14368 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
14369 Patch by Filipe David Manana <fdmanana@apache.org>.
14370
e451d22b
AS
143712011-04-07 Andreas Schwab <schwab@redhat.com>
14372
14373 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
14374 Maintain aligned stack.
14375 (CHECK_RSP): Remove unused macro.
14376
dedc7c7b
UD
143772011-04-03 Ulrich Drepper <drepper@gmail.com>
14378
14379 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
14380 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
14381
94521213
UD
143822011-04-02 Ulrich Drepper <drepper@gmail.com>
14383
14384 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
14385
8cb700c0 14386 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 14387
0354e355
L
143882011-03-26 H.J. Lu <hongjiu.lu@intel.com>
14389
14390 [BZ #12518]
14391 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
14392 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
14393 * sysdeps/x86_64/memmove.c: New file.
14394 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
14395 (memcpy): Renamed to ...
14396 (__new_memcpy): This.
14397 (memcpy): Provide GLIBC_2_14 memcpy.
14398 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
14399 (memcpy): Provide GLIBC_2_2_5 memcpy.
14400
8593482f
UD
144012011-04-01 Ulrich Drepper <drepper@gmail.com>
14402
14403 [BZ #12631]
14404 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
14405
81a5726b
AS
144062011-03-30 Andreas Schwab <schwab@redhat.com>
14407
14408 * misc/syncfs.c: New file.
14409 * misc/Makefile (routines): Add syncfs.
14410 * posix/unistd.h: Declare syncfs.
14411 * sysdeps/unix/syscalls.list: Add syncfs.
14412
00e5419f
AS
144132011-04-01 Andreas Schwab <schwab@redhat.com>
14414
14415 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
14416 open_by_handle_at.
14417 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
14418 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
14419 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
14420 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
14421 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
14422 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
14423 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
14424
748876bf
UD
144252011-04-01 Ulrich Drepper <drepper@gmail.com>
14426
658e451d
UD
14427 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
14428 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
14429 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
14430 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
14431 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
14432 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
14433 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
14434
748876bf
UD
14435 * io/Makefile: Compile fallocate.c, fallocate64.c, and
14436 sync_file_range.c with -fexceptions.
14437 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
14438 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
14439 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
14440 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
14441 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
14442 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
14443 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
14444 sync_file_range as cancellation point
14445 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
14446 now a wrapper around __call_sync_file_range with cancellation handling.
14447 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
14448 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
14449 function name to __call_sync_file_range.
14450 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
14451 Add call_sync_file_range.
748876bf 14452
6e63d5e1
AS
144532011-04-01 Andreas Schwab <schwab@redhat.com>
14454
14455 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 14456 bits/timex.h.
6e63d5e1 14457
46998f74
UD
144582011-04-01 Ulrich Drepper <drepper@gmail.com>
14459
4c1423ed
UD
14460 * iconv/iconv.h: Fix typo in comment.
14461 * io/fcntl.h: Likewise.
14462 * libio/stdio.h: Likewise.
14463 * posix/spawn.h: Likewise.
14464 * posix/unistd.h: Likewise.
14465 * stdlib/stdlib.h: Likewise.
14466 * time/time.h: Likewise.
14467 * wcsmbs/wchar.h: Likewise.
14468
158648c0
UD
14469 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
14470 open_by_handle): Add.
14471 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
14472 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
14473 Augment a few comments.
14474 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
14475 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
14476 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
14477 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
14478 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
14479 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
14480 open_by_handle.
14481
46998f74
UD
14482 * io/fcntl.h (AT_EMPTY_PATH): Define.
14483
83fe108b
UD
144842011-03-30 Ulrich Drepper <drepper@gmail.com>
14485
14486 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
14487 * sysdeps/unix/sysv/linux/bits/time.h: New file.
14488 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
14489 to...
14490 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
14491 * Versions.def: Add GLIBC_2.14.
14492 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
14493 Export.
83fe108b 14494
bb242059
UD
144952011-03-22 Ulrich Drepper <drepper@gmail.com>
14496
14497 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
14498 round counter.
14499 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
14500
c97a1282
L
145012011-03-20 H.J. Lu <hongjiu.lu@intel.com>
14502
14503 [BZ #12597]
14504 * string/test-strncmp.c (do_page_test): New function.
14505 (check2): Likewise.
14506 (test_main): Call check2.
14507 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
14508
2a115601
UD
145092011-03-20 Ulrich Drepper <drepper@gmail.com>
14510
14511 [BZ #12587]
14512 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
14513 Handle cache information in CPU leaf 4.
14514 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
14515
8126d904
UD
145162011-03-18 Ulrich Drepper <drepper@gmail.com>
14517
042c49c6 14518 [BZ #12583]
8126d904
UD
14519 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
14520 character representation.
14521 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
14522
ccfe366e
RA
145232011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
14524
14525 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
14526 END(__isnan) to END(__isnanf) to match function entry point/label
14527 EALIGN(__isnanf,...).
14528
c6e13027
JJ
145292011-03-10 Jakub Jelinek <jakub@redhat.com>
14530
14531 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
14532
33f85a3f
UD
145332011-03-10 Ulrich Drepper <drepper@gmail.com>
14534
028478fa
UD
14535 [BZ #12510]
14536 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
14537 copy from the symbol referenced in the relocation to initialize the
14538 used variable.
14539 Patch by Piotr Bury <pbury@goahead.com>.
14540 * elf/Makefile: Add rules to build and tst-unique3.
14541 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
14542 * elf/tst-unique3.cc: New file.
14543 * elf/tst-unique3.h: New file.
14544 * elf/tst-unique3lib.cc: New file.
14545 * elf/tst-unique3lib2.cc: New file.
14546
33f85a3f
UD
14547 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
14548
03592fc7
MF
145492011-03-10 Mike Frysinger <vapier@gentoo.org>
14550
14551 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
14552 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
14553 to _start.
03592fc7 14554
6a5ee102
UD
145552011-03-06 Ulrich Drepper <drepper@gmail.com>
14556
14557 * elf/dl-load.c (_dl_map_object): If we are looking for the first
14558 to-be-loaded object along a path to loader is ld.so.
14559
7e4ba49c
HJ
145602011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
14561 Ulrich Drepper <drepper@gmail.com>
14562
14563 * sysdeps/x86_64/memset.S: After aligning destination, code
14564 branches to different locations depending on the value of
14565 misalignment, when multiarch is enabled. Fix this.
14566
145672011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
14568
14569 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
14570 Set _x86_64_preferred_memory_instruction for AMD processsors.
14571 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
14572 Set bit_Prefer_SSE_for_memop for AMD processors.
14573
13a804de
UD
145742011-03-04 Ulrich Drepper <drepper@gmail.com>
14575
14576 * libio/fmemopen.c (fmemopen): Optimize a bit.
14577
9d25c392
AS
145782011-03-03 Andreas Schwab <schwab@redhat.com>
14579
14580 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
14581
a5543c6a
RM
145822011-03-03 Roland McGrath <roland@redhat.com>
14583
14584 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
14585
012d35f7
DM
145862011-02-28 Aurelien Jarno <aurelien@aurel32.net>
14587
7e4ba49c 14588 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
14589 __bzero_ultra1 instead of __memset_ultra1.
14590
4bff6e01
AS
145912011-02-23 Andreas Schwab <schwab@redhat.com>
14592 Ulrich Drepper <drepper@gmail.com>
14593
14594 [BZ #12509]
14595 * include/link.h (struct link_map): Add l_orig_initfini.
14596 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
14597 returning unsuccessfully.
14598 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
14599 close of a file loaded at startup, restore the original l_initfini
14600 list.
14601 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
14602 list, store the pointer.
14603 * elf/Makefile ($(objpfx)noload-mem): New rule.
14604 (noload-ENV): Define.
14605 (tests): Add $(objpfx)noload-mem.
14606 * elf/noload.c: Include <memcheck.h>.
14607 (main): Call mtrace. Close all opened handles.
14608
f2092faf
AS
146092011-02-17 Andreas Schwab <schwab@redhat.com>
14610
14611 [BZ #12454]
14612 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
14613 dependencies are missing.
14614
6c8a2e88
ST
146152011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
14616
f2092faf 14617 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
14618 Hurd needs munmap.
14619 * sysdeps/mach/hurd/ifreq.h: New file.
14620
84a42118
PB
146212011-01-27 Petr Baudis <pasky@suse.cz>
14622 Ulrich Drepper <drepper@gmail.com>
14623
071f805e 14624 [BZ 12445]#
84a42118
PB
14625 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
14626 to extend_alloca().
14627 * stdio-common/bug23.c: New file.
14628 * stdio-common/Makefile (tests): Add bug23.
14629
e23fe25b
AS
146302010-09-28 Andreas Schwab <schwab@redhat.com>
14631 Ulrich Drepper <drepper@gmail.com>
14632
14633 [BZ #12489]
14634 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
14635 before performing relro protection. At old place add assertion
14636 to make sure nothing changed.
14637
d3f02e10
NS
146382011-02-17 Nathan Sidwell <nathan@codesourcery.com>
14639 Glauber de Oliveira Costa <glommer@gmail.com>
14640
14641 * elf/elf.h: Add new ARM TLS relocs.
14642
d55fd7a5
RA
146432011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
14644
14645 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
14646 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
14647 cast from r3.
14648 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
14649 'tests' variable.
14650 * sysdeps/wordsize-64/tst-writev.c: New file.
14651
2206397e
RA
146522011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
14653
14654 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
14655 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
14656 insns in _dl_start to prevent a TOC reference before relocs are
14657 resolved.
14658
e9433893
UD
146592011-02-15 Ulrich Drepper <drepper@gmail.com>
14660
14661 [BZ #12469]
14662 * Makeconfig: Remove RANLIB definition.
14663 * Makerules: Don't use RANLIB.
14664 * aclocal.m4: Remove ranlib test.
14665 * configure.in: No need to check for ranlib.
14666 * elf/rtld-Rules: Don't use RANLIB.
14667
f75286c6
ST
146682011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
14669
8e31c82d
ST
14670 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
14671 protection macro.
14672 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
14673 inclusion protection macro.
14674
f75286c6
ST
14675 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
14676 SIGRTMIN and SIGRTMAX and print information in that case only when
14677 SIGRTMIN is defined.
14678
c1d0e639
JJ
146792011-02-11 Jakub Jelinek <jakub@redhat.com>
14680
14681 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
14682 arginfo fn returning -1.
14683
14684 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
14685 and thousands string is zero terminated.
14686
edf9294e
AS
146872011-02-03 Andreas Schwab <schwab@redhat.com>
14688
14689 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
14690 sysdeps/unix/sysv/linux/bits/socket.h.
14691
2b7e92df
ST
146922011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
14693
edf9294e
AS
14694 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
14695 (__CPU_COUNT): Remove old macros.
14696 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
14697 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
14698 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
14699 (__sched_cpualloc, __sched_cpufree): Add declarations.
14700
a4c7ea7b
UD
147012011-02-05 Ulrich Drepper <drepper@gmail.com>
14702
14703 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
14704 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
14705 * nscd/aicache.c (addhstaiX): Return timeout of added value.
14706 (readdhstai): Return value of addhstaiX call.
14707 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
14708 (addgrbyX): Return value returned by cache_addgr.
14709 (readdgrbyname): Return value returned by addgrbyX.
14710 (readdgrbygid): Likewise.
14711 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
14712 (addpwbyX): Return value returned by cache_addpw.
14713 (readdpwbyname): Return value returned by addhstbyX.
14714 (readdpwbyuid): Likewise.
14715 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
14716 (addservbyX): Return value returned by cache_addserv.
14717 (readdservbyname): Return value returned by addservbyX:
14718 (readdservbyport): Likewise.
14719 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
14720 (addhstbyX): Return value returned by cache_addhst.
14721 (readdhstbyname): Return value returned by addhstbyX.
14722 (readdhstbyaddr): Likewise.
14723 (readdhstbynamev6): Likewise.
14724 (readdhstbyaddrv6): Likewise.
14725 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
14726 (readdinitgroups): Return value returned by addinitgroupsX.
14727 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
14728 (prune_cache): Keep track of timeout value of re-added entries.
14729 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
14730 * nscd/nscd.h: Adjust prototypes of readd* functions.
14731
a0bf67cc
RM
147322011-02-04 Roland McGrath <roland@redhat.com>
14733
14734 * nis/nis_server.c (nis_servstate): Use the right name for 0.
14735 (nis_stats): Likewise.
14736 * nis/nis_modify.c (nis_modify): Likewise.
14737 * nis/nis_remove.c (nis_remove): Likewise.
14738 * nis/nis_add.c (nis_add): Likewise.
14739
14740 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
14741
14742 * posix/fnmatch_loop.c: Add some consts.
14743
14744 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
14745
435b95eb
L
147462011-02-02 H.J. Lu <hongjiu.lu@intel.com>
14747
14748 [BZ #12460]
14749 * config.make.in (config-cflags-novzeroupper): Define.
14750 * configure.in: Substitute libc_cv_cc_novzeroupper.
14751 * elf/Makefile (AVX-CFLAGS): Define.
14752 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
14753 (CFLAGS-tst-auditmod4a.c): Likewise.
14754 (CFLAGS-tst-auditmod4b.c): Likewise.
14755 (CFLAGS-tst-auditmod6b.c): Likewise.
14756 (CFLAGS-tst-auditmod6c.c): Likewise.
14757 (CFLAGS-tst-auditmod7b.c): Likewise.
14758 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
14759
8517b15e
UD
147602011-02-02 Ulrich Drepper <drepper@gmail.com>
14761
14762 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
14763 function to the callback.
14764 Patch partly by Jiri Olsa <jolsa@redhat.com>.
14765
10a656fe
AS
147662011-02-02 Andreas Schwab <schwab@redhat.com>
14767
14768 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
14769 of errno.
14770
968dad0a
UD
147712011-01-19 Ulrich Drepper <drepper@gmail.com>
14772
9f94d2ea 14773 [BZ #11724]
968dad0a
UD
14774 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
14775 of constructors.
14776 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
14777 of destructors.
14778 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
14779
14780 [BZ #11724]
14781 * elf/Makefile: Add rules to build and run new test.
14782 * elf/tst-initorder.c: New file.
14783 * elf/tst-initorder.exp: New file.
14784 * elf/tst-initordera1.c: New file.
14785 * elf/tst-initordera2.c: New file.
14786 * elf/tst-initordera3.c: New file.
14787 * elf/tst-initordera4.c: New file.
14788 * elf/tst-initorderb1.c: New file.
14789 * elf/tst-initorderb2.c: New file.
14790 * elf/tst-order-a1.c: New file.
14791 * elf/tst-order-a2.c: New file.
14792 * elf/tst-order-a3.c: New file.
14793 * elf/tst-order-a4.c: New file.
14794 * elf/tst-order-b1.c: New file.
14795 * elf/tst-order-b2.c: New file.
14796 * elf/tst-order-main.c: New file.
14797 New test case by George Gensure <werkt0@gmail.com>.
14798
86e92359
UD
147992010-10-01 Andreas Schwab <schwab@redhat.com>
14800
14801 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
14802 decoding ACE if AI_CANONIDN.
14803
5d5732b0
UD
148042011-01-18 Ulrich Drepper <drepper@gmail.com>
14805
14806 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
14807
a77e8cbc
UD
148082011-01-17 Ulrich Drepper <drepper@gmail.com>
14809
6392473f
UD
14810 * version.h (RELEASE): Bump for 2.13 release.
14811 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
14812
620a0529
UD
14813 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
14814
18ba70a5
UD
14815 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
14816 MADV_NOHUGEPAGE.
32465c3e
UD
14817 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
14818 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
14819 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
14820 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
14821 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
14822 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
14823
c0dafcf1
UD
14824 * posix/getconf.c: Update copyright year.
14825 * catgets/gencat.c: Likewise.
14826 * csu/version.c: Likewise.
14827 * debug/catchsegv.sh: Likewise.
14828 * debug/xtrace.sh: Likewise.
14829 * elf/ldconfig.c: Likewise.
14830 * elf/ldd.bash.in: Likewise.
14831 * elf/sprof.c (print_version): Likewise.
14832 * iconv/iconv_prog.c: Likewise.
14833 * iconv/iconvconfig.c: Likewise.
14834 * locale/programs/locale.c: Likewise.
14835 * locale/programs/localedef.c: Likewise.
14836 * malloc/memusage.sh: Likewise.
14837 * malloc/mtrace.pl: Likewise.
14838 * nscd/nscd.c (print_version): Likewise.
14839 * nss/getent.c: Likewise.
14840
a77e8cbc
UD
14841 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
14842 PF_CAIF, and PF_ALG.
14843 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
14844
77e8bddf
AS
148452011-01-16 Andreas Schwab <schwab@linux-m68k.org>
14846
1f20b93a
AS
14847 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
14848 (modules-names): Use them.
14849 (ifunc-test-modules, ifunc-pie-tests): Define.
14850 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
14851 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
14852 (test-extras): Likewise.
14853 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
14854 $(compile-command.c).
14855 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
14856 (all-built-dso): Define.
14857 (check-textrel.out, check-execstack.out): Depend on it.
14858
77e8bddf
AS
14859 * configure.in: Don't override --enable-multi-arch.
14860
bc425b33
UD
148612011-01-15 Ulrich Drepper <drepper@gmail.com>
14862
14863 [BZ #6812]
14864 * nscd/hstcache.c (tryagain): Define.
14865 (cache_addhst): Return tryagain not notfound for temporary errors.
14866 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
14867 failed.
14868
794c3ad3
UD
148692011-01-14 Ulrich Drepper <drepper@gmail.com>
14870
70181fdd
UD
14871 [BZ #10563]
14872 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
14873 to make the syscall.
14874 * sysdeps/unix/sysv/linux/setgroups.c: New file.
14875
794c3ad3
UD
14876 [BZ #12378]
14877 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
14878 and fall back to matching as normal character if the string ends before
14879 the matching ']' is found. This is what POSIX requires.
14880 * posix/testfnm.c: Adjust test result.
14881 * posix/globtest.sh: Adjust test result. Add new test.
14882 * posix/tst-fnmatch.input: Likewise.
14883 * posix/tst-fnmatch2.c: Add new test.
14884
68dc9497
AS
148852010-12-28 Andreas Schwab <schwab@linux-m68k.org>
14886
14887 * elf/Makefile (check-execstack): Revert last change. Depend on
14888 check-execstack.h.
14889 (check-execstack.h): New target.
14890 (generated): Add check-execstack.h.
14891 * elf/check-execstack.c: Include "check-execstack.h".
14892 (main): Revert last change.
14893 (handle_file): Return zero if GNU_STACK is absent and
14894 DEFAULT_STACK_PERMS doesn't include PF_X.
14895
451f001b
UD
148962011-01-13 Ulrich Drepper <drepper@gmail.com>
14897
cfa28e56
UD
14898 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
14899 in child fails because the descriptor is already closed.
8cf8ce17
UD
14900 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
14901 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
14902 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 14903
1086d70d
UD
14904 [BZ #12397]
14905 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
14906 syscall.
14907
451f001b
UD
14908 [BZ #10484]
14909 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
14910 temporary buffer used to handle multi lookups locally.
a85b5cb4 14911 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 14912
08769175
UD
149132011-01-12 Ulrich Drepper <drepper@gmail.com>
14914
14915 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
14916 loader is ld.so.
14917
5e49c52e
UD
149182011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
14919
14920 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
14921 alignment for SSE2.
14922
60522a5f
UD
149232011-01-12 Ulrich Drepper <drepper@gmail.com>
14924
14925 [BZ #12394]
14926 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
14927 characters. When rounding increased number of integer digits recompute
14928 number of groups.
14929 * stdio-common/tst-grouping.c: New file.
14930 * stdio-common/Makefile: Add rules to build and run tst-grouping.
14931
f257bbd7
UD
149322011-01-09 Ulrich Drepper <drepper@gmail.com>
14933
14934 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
14935 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
14936
14937 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
14938 void.
14939 * bits/select.h: Likewise.
14940
fa9c15cb
UD
149412011-01-08 Ulrich Drepper <drepper@gmail.com>
14942
14943 * po/ja.po: Update from translation team.
14944
16c2895f
DM
149452011-01-04 David S. Miller <davem@sunset.davemloft.net>
14946
14947 [BZ #11155]
14948 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
14949 implementation just like for lxstat, fxstatat, et al.
14950
2543fef2
JM
149512010-12-27 Jim Meyering <meyering@redhat.com>
14952
14953 [BZ #12348]
14954 * posix/regexec.c (build_trtable): Return failure indication upon
14955 calloc failure. Otherwise, re_search_internal could infloop on OOM.
14956
98727dbe
UD
149572010-12-25 Ulrich Drepper <drepper@gmail.com>
14958
5bd6dc5c
UD
14959 [BZ #12201]
14960 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
14961 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
14962 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
14963 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
14964
97983464
UD
14965 [BZ #12207]
14966 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
14967
98727dbe
UD
14968 [BZ #12204]
14969 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
14970 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
14971
4a531bb0
L
149722010-12-15 H.J. Lu <hongjiu.lu@intel.com>
14973
14974 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
14975 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
14976 script has SORT_BY_INIT_PRIORITY.
14977 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
14978 NO_CTORS_DTORS_SECTIONS is defined.
14979 * elf/soinit.c: Likewise.
14980 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
14981 NO_CTORS_DTORS_SECTIONS is defined.
14982 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
14983 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
14984 * sysdeps/sh/init-first.c: Likewise.
14985 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
14986
07eb4b71
UD
149872010-12-24 Ulrich Drepper <drepper@gmail.com>
14988
14989 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
14990 always use the slow path.
14991
30950a5f
RA
149922010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
14993
14994 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
14995 similar rule which adds the sysdep directories to the header search in
14996 order to pick up the correct platform stackinfo.h.
14997 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
14998 perform test if it is, otherwise return successfully without testing.
14999 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
15000 DEFAULT_STACK_PERMS define in stackinfo.h.
15001 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
15002 defined in stackinfo.h.
15003 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
15004 DEFAULT_STACK_PERMS defined in stackinfo.h.
15005 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
15006 * sysdeps/ia64/stackinfo.h: Likewise.
15007 * sysdeps/s390/stackinfo.h: Likewise.
15008 * sysdeps/sh/stackinfo.h: Likewise.
15009 * sysdeps/sparc/stackinfo.h: Likewise.
15010 * sysdeps/x86_64/stackinfo.h: Likewise.
15011 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
15012 PF_X for powerpc64. Retain PF_X for powerpc32.
15013
db753e2c
UD
150142010-12-19 Ulrich Drepper <drepper@gmail.com>
15015
14b697f7
UD
15016 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
15017 accurately.
db753e2c
UD
15018 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
15019 GETDENTS_64BIT_ALIGNED.
15020
28300719
UD
150212010-12-14 Ulrich Drepper <dreper@gmail.com>
15022
14b697f7 15023 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 15024
4f197237
AS
150252010-12-10 Andreas Schwab <schwab@redhat.com>
15026
dbb0472f
AS
15027 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
15028 _GNU_SOURCE.
15029
4f197237
AS
15030 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
15031 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
15032 Remove __restrict.
15033 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
15034 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
15035
fb88ac72
UD
150362010-12-09 Ulrich Drepper <drepper@gmail.com>
15037
15038 [BZ #11655]
15039 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
15040 are initialized.
15041
42acbb92
JJ
150422010-12-09 Jakub Jelinek <jakub@redhat.com>
15043
15044 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
15045
c038d98d
UD
150462010-12-03 Ulrich Drepper <drepper@gmail.com>
15047
15048 * po/it.po: Update from translation team.
15049
3a4a2499
L
150502010-12-01 H.J. Lu <hongjiu.lu@intel.com>
15051
15052 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
15053 unused codes.
15054
1e24cf6e
UD
150552010-11-30 Ulrich Drepper <drepper@gmail.com>
15056
15057 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
15058
a7690819
AS
150592010-11-24 Andreas Schwab <schwab@redhat.com>
15060
15061 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
15062 specially.
15063 (gaih_getanswer_slice): Likewise.
15064
3bf8d1b1
JJ
150652010-10-20 Jakub Jelinek <jakub@redhat.com>
15066
15067 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
15068
6db52fbb
PB
150692010-05-31 Petr Baudis <pasky@suse.cz>
15070
15071 [BZ #11149]
15072 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
15073 silently even in the chroot mode.
15074
eaca7569
UD
150752010-11-22 Ulrich Drepper <drepper@gmail.com>
15076
15077 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
15078 last patch a bit. Pretty printing
15079
3056dcdb
UD
150802010-05-31 Petr Baudis <pasky@suse.cz>
15081
15082 [BZ #10085]
15083 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
15084 initialization of skip_initgroups_dyn.
15085
cf7c9078
UD
150862010-11-19 Ulrich Drepper <drepper@gmail.com>
15087
15088 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
15089 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
15090
a1fb5e3e
UD
150912010-11-16 Ulrich Drepper <drepper@gmail.com>
15092
15093 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
15094
3540d66b
AS
150952010-11-11 Andreas Schwab <schwab@redhat.com>
15096
15097 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
15098 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
15099 (tst-fnmatch-ENV): Set MALLOC_TRACE.
15100 ($(objpfx)tst-fnmatch-mem): New rule.
15101 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
15102 * posix/tst-fnmatch.c (main): Call mtrace.
15103
13b69574
L
151042010-11-11 H.J. Lu <hongjiu.lu@intel.com>
15105
15106 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
15107 Support Intel processor model 6 and model 0x2c.
15108
da93d214
LM
151092010-11-10 Luis Machado <luisgpm@br.ibm.com>
15110
15111 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
15112 signed comparison.
15113
8ca52c6e
L
151142010-11-09 H.J. Lu <hongjiu.lu@intel.com>
15115
15116 [BZ #12205]
15117 * string/test-strncasecmp.c (check_result): New function.
15118 (do_one_test): Use it.
15119 (check1): New function.
15120 (test_main): Use it.
15121 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
15122 Support strcasecmp and strncasecmp.
15123
69da074d
UD
151242010-11-08 Ulrich Drepper <drepper@gmail.com>
15125
15126 [BZ #12194]
15127 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
15128 * sysdeps/x86_64/bits/byteswap.h: Likewise.
15129
ff02d528
L
151302010-11-07 H.J. Lu <hongjiu.lu@intel.com>
15131
15132 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
15133 IFUNC support.
15134 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
15135 memset-x86-64.
15136 * sysdeps/x86_64/multiarch/bzero.S: New file.
15137 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
15138 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
15139 * sysdeps/x86_64/multiarch/memset.S: New file.
15140 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
15141 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
15142 Set bit_Prefer_SSE_for_memop for Intel processors.
15143 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
15144 Define.
15145 (index_Prefer_SSE_for_memop): Define.
15146 (HAS_PREFER_SSE_FOR_MEMOP): Define.
15147
344d0b54
LM
151482010-11-04 Luis Machado <luisgpm@br.ibm.com>
15149
15150 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
15151 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
15152
c0dde15b
UD
151532010-11-03 H.J. Lu <hongjiu.lu@intel.com>
15154
15155 [BZ #12191]
15156 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
15157 (__x86_64_raw_data_cache_size_half): Likewise.
15158 (__x86_64_raw_shared_cache_size): Likewise.
15159 (__x86_64_raw_shared_cache_size_half): Likewise.
15160
15161 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
15162 (__x86_64_raw_data_cache_size_half): Likewise.
15163 (__x86_64_raw_shared_cache_size): Likewise.
15164 (__x86_64_raw_shared_cache_size_half): Likewise.
15165 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
15166 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
15167 and __x86_64_raw_shared_cache_size_half. Round
15168 __x86_64_data_cache_size_half, __x86_64_data_cache_size
15169 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
15170 to multiple of 256 bytes.
15171
0e516e0e
MS
151722010-11-03 Ulrich Drepper <drepper@gmail.com>
15173
15174 [BZ #12167]
15175 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
15176 of inacessible symlinks. Verify result of symlink before returning it.
15177 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
15178 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
15179
0e012e87
ER
151802010-10-28 Erich Ritz <erichritz@gmail.com>
15181
15182 * math/math.h (isinf): Fix typo in comment.
15183
de0ff7bc
UD
151842010-11-01 Ulrich Drepper <drepper@gmail.com>
15185
15186 * po/da.po: Update from translation team.
15187
fa41c84d
UD
151882010-10-26 Ulrich Drepper <drepper@gmail.com>
15189
15190 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
15191 is added to the list.
15192
f0967738
AK
151932010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15194 Ulrich Drepper <drepper@gmail.com>
15195
15196 * elf/dl-object.c (_dl_new_object): Don't append the new object to
15197 the global list here. Move code to...
15198 (_dl_add_to_namespace_list): ...here. New function.
15199 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
15200 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
15201 * elf/dl-load.c (lose): Don't remove the element from the list.
15202 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
15203 (_dl_map_object): Likewise.
15204
152052010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
15206
15207 [BZ #12159]
15208 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
15209 into all bytes of SSE register.
15210 Patch by Richard Li <richardpku@gmail.com>.
15211
f0967738 152122010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
15213
15214 [BZ #12140]
15215 * malloc/malloc.c (_int_free): Fill correct number of bytes when
15216 perturbing.
15217
d0b9e94f
MB
152182010-10-20 Michael B. Brutman <brutman@us.ibm.com>
15219
15220 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
15221 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
15222 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
15223 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
15224 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
15225 submachine.
15226 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
15227
8e9f92e9
AS
152282010-10-22 Andreas Schwab <schwab@redhat.com>
15229
15230 * include/dlfcn.h (__RTLD_SECURE): Define.
15231 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
15232 mode & __RTLD_SECURE instead.
15233 (open_path): Rename preloaded parameter to secure.
15234 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
15235 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
15236 * elf/dl-deps.c (openaux): Likewise.
15237 * elf/rtld.c (struct map_args): Remove is_preloaded.
15238 (map_doit): Don't use it.
15239 (dl_main): Likewise.
15240 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
15241 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
15242
bc96fbda
AS
152432010-09-09 Andreas Schwab <schwab@redhat.com>
15244
15245 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
15246 (sysd-rules-targets): Remove duplicates.
15247 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
15248 rtld-%.$o dependency.
15249
22cd1c9b
AS
152502010-10-18 Andreas Schwab <schwab@redhat.com>
15251
15252 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
15253 _dl_map_object do it.
15254
18edac48
UD
152552010-10-19 Ulrich Drepper <drepper@gmail.com>
15256
15257 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
15258 fast fma builtins, define the macros in the C99 standard.
15259 (FP_FAST_FMAF): Likewise.
15260 (FP_FAST_FMAL): Likewise.
15261 * sysdeps/x86_64/bits/mathdef.h: Likewise.
15262
15263 * bits/mathdef.h: Update copyright year.
15264 * sysdeps/powerpc/bits/mathdef.h: Likewise.
15265
d2050124
MM
152662010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
15267
15268 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
15269 builtins, define the macros in the C99 standard.
15270 (FP_FAST_FMAF): Likewise.
15271 (FP_FAST_FMAL): Likewise.
15272 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
15273 multiply/add.
15274 (FP_FAST_FMAF): Likewise.
15275
475facd1
JJ
152762010-10-15 Jakub Jelinek <jakub@redhat.com>
15277
15278 [BZ #3268]
15279 * math/libm-test.inc (fma_test): Some new testcases.
15280 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
15281 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
15282 y and infinite z. Do multiplication by C already in long double.
15283 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
15284 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
15285 y and infinite z. Do bitwise or of inexact bit into u.d.
15286 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
15287 * sysdeps/i386/fpu/s_fmaf.S: Removed.
15288 * sysdeps/i386/fpu/s_fma.S: Removed.
15289 * sysdeps/i386/fpu/s_fmal.S: Removed.
15290
7c08a05c
JJ
152912010-10-16 Jakub Jelinek <jakub@redhat.com>
15292
15293 [BZ #3268]
15294 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
15295 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
15296 computation is not scheduled after fetestexcept. Fix value
15297 of minimum denormal long double.
15298
f3f7372d
JJ
152992010-10-14 Jakub Jelinek <jakub@redhat.com>
15300
15301 [BZ #3268]
15302 * math/libm-test.inc (fma_test): Add some more tests.
15303 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
15304 correctly.
15305
14d43591
AS
153062010-10-15 Andreas Schwab <schwab@redhat.com>
15307
15308 * scripts/data/localplt-s390-linux-gnu.data: New file.
15309 * scripts/data/localplt-s390x-linux-gnu.data: New file.
15310
5e908464
JJ
153112010-10-13 Jakub Jelinek <jakub@redhat.com>
15312
15313 [BZ #3268]
15314 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
15315 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
15316 instead of dbl-64.
15317 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
15318 inlines.
15319 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
15320 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
15321 if one of x and y is very large and the other is subnormal.
15322 * sysdeps/s390/fpu/s_fmaf.c: New file.
15323 * sysdeps/s390/fpu/s_fma.c: New file.
15324 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
15325 * sysdeps/powerpc/fpu/s_fma.S: New file.
15326 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
15327 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
15328 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
15329
153302010-10-12 Jakub Jelinek <jakub@redhat.com>
15331
15332 [BZ #3268]
15333 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
15334 fma tests.
15335 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
15336 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
15337 * sysdeps/i386/i686/multiarch/s_fma.c: Include
15338 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
15339 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
15340 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
15341 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
15342
b833d51f
UD
153432010-10-12 Ulrich Drepper <drepper@redhat.com>
15344
15345 [BZ #12078]
15346 * posix/regcomp.c (parse_branch): One more memory leak plugged.
15347 * posix/bug-regex31.input: Add test case.
15348
1751705d
UD
153492010-10-11 Ulrich Drepper <drepper@gmail.com>
15350
e9b9cbf5
UD
15351 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
15352 * posix/bug-regex31.input: New file.
15353
15354 [BZ #12078]
15355 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
15356 (parse_sub_exp): Fix last change, use postorder.
15357
ef06edbe
UD
15358 * posix/bug-regex31.c: New file.
15359 * posix/Makefile: Add rules to build and run bug-regex31.
15360
a129c80d
UD
15361 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
15362
15363 [BZ #12078]
15364 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
15365
b76b818e
UD
15366 [BZ #12108]
15367 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
15368 to have entries in sys_siglist.
15369
1751705d
UD
15370 [BZ #12093]
15371 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
15372 be NULL.
15373
9ff8d36f
JJ
153742010-10-07 Jakub Jelinek <jakub@redhat.com>
15375
15376 [BZ #3268]
15377 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
15378 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
15379 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
15380 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
15381 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
15382 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
15383 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
15384 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
15385 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
15386 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
15387 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
15388 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
15389 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
15390 * math/ftestexcept.c (fetestexcept): Likewise.
15391 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
15392 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
15393 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
15394 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
15395 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
15396 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
15397 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
15398
af325969
UD
153992010-10-11 Ulrich Drepper <drepper@gmail.com>
15400
c579b202 15401 [BZ #12107]
af325969
UD
15402 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
15403 newline.
15404
67a67b95
UD
154052010-10-06 Ulrich Drepper <drepper@gmail.com>
15406
15407 * string/bug-strstr1.c: New file.
15408 * string/Makefile: Add rules to build and run bug-strstr1.
15409
5fb308bc
EB
154102010-10-05 Eric Blake <eblake@redhat.com>
15411
15412 [BZ #12092]
15413 * string/str-two-way.h (two_way_long_needle): Always clear memory
15414 when skipping input due to the shift table.
15415
45db99c7
UD
154162010-10-03 Ulrich Drepper <drepper@gmail.com>
15417
3b111893
UD
15418 [BZ #12005]
15419 * malloc/mcheck.c: Handle large requests.
15420
45db99c7
UD
15421 [BZ #12077]
15422 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
15423 for strncmp and strncasecmp.
15424 * string/stratcliff.c: Add tests for strcmp and strncmp.
15425 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
15426
cf7a1eb8
NI
154272010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
15428
15429 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
15430 __set_fpscr.
15431
6484ba5e
AJ
154322010-09-30 Andreas Jaeger <aj@suse.de>
15433
15434 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
15435 (CGROUP_SUPER_MAGIC): Define.
15436 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
15437 Handle btrfs and cgroup file systems.
15438 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
15439 Likewise.
15440
91c42559
LM
154412010-09-27 Luis Machado <luisgpm@br.ibm.com>
15442
15443 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
15444 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
15445
87a97932
AK
154462010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15447
15448 [BZ #12067]
15449 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
15450 trying to locate the ELF header.
15451
c21cc9bc
AS
154522010-09-27 Andreas Schwab <schwab@redhat.com>
15453
15454 [BZ #11611]
15455 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
15456 Mask out sign-bit copies when constructing f_fsid.
15457
315970f6
PB
154582010-09-24 Petr Baudis <pasky@suse.cz>
15459
15460 * debug/stack_chk_fail_local.c: Add missing licence exception.
15461 * debug/warning-nop.c: Likewise.
15462
1ac7a2c7
JM
154632010-09-15 Joseph Myers <joseph@codesourcery.com>
15464
15465 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
15466 implementing getdents64 using getdents syscall, set d_type if
15467 __ASSUME_GETDENTS32_D_TYPE.
15468
56801c50
AS
154692010-09-16 Andreas Schwab <schwab@redhat.com>
15470
15471 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
15472 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
15473
dda51327
UD
154742010-09-21 Ulrich Drepper <drepper@redhat.com>
15475
15476 [BZ #12037]
15477 * posix/unistd.h: Undo change of feature selection for ftruncate from
15478 2010-01-11.
15479
8ffcee4a
UD
154802010-09-20 Ulrich Drepper <drepper@redhat.com>
15481
a545ecd9 15482 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
15483 detection.
15484
e24f0a8b
AS
154852010-09-20 Andreas Schwab <schwab@redhat.com>
15486
15487 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
15488 fanotify_mark.
15489 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
15490
7291c56f
AS
154912010-09-14 Andreas Schwab <schwab@redhat.com>
15492
15493 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
15494 variables after CHECK_SP call.
15495 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
15496
bc5fb037
AS
154972010-09-13 Andreas Schwab <schwab@redhat.com>
15498 Ulrich Drepper <drepper@redhat.com>
15499
15500 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
15501 re-relocationg ld.so.
15502 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
15503 _dl_init_paths call.
15504 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
15505 here anymore.
15506
e66e7419
UD
155072010-09-14 Ulrich Drepper <drepper@redhat.com>
15508
15509 * resolv/res_init.c (__res_vinit): Count the default server we added.
15510
c044aa75
CLT
155112010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
15512 Ulrich Drepper <drepper@redhat.com>
15513
15514 [BZ #11968]
15515 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
15516 (____longjmp_chk): Use %ebx for saving value across system call.
15517 Add unwind info.
15518
32cf4069
AS
155192010-09-06 Andreas Schwab <schwab@redhat.com>
15520
15521 * manual/Makefile: Don't mix pattern rules with normal rules.
15522
817328ee
AS
155232010-09-05 Andreas Schwab <schwab@linux-m68k.org>
15524
15525 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
15526 operation.
15527 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
15528 * libio/iofopncook.c (_IO_cookie_init): Likewise.
15529 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
15530 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
15531 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
15532 Likewise.
15533
29fddf61
UD
155342010-09-04 Ulrich Drepper <drepper@redhat.com>
15535
15536 [BZ #11979]
15537 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
15538 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
15539
0959ffc9
UD
155402010-09-02 Ulrich Drepper <drepper@redhat.com>
15541
15542 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
15543 * sysdeps/x86_64/addmul_1.S: Likewise.
15544 * sysdeps/x86_64/lshift.S: Likewise.
15545 * sysdeps/x86_64/mul_1.S: Likewise.
15546 * sysdeps/x86_64/rshift.S: Likewise.
15547 * sysdeps/x86_64/sub_n.S: Likewise.
15548 * sysdeps/x86_64/submul_1.S: Likewise.
15549
ece29840
ST
155502010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
15551
0959ffc9
UD
15552 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
15553 Define __sched_param instead of SCHED_* and sched_param when
ece29840 15554 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 15555 * bits/sched.h [__need_schedparam]
ece29840 15556 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
15557 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
15558 (__defined_schedparam): Define to 1.
ece29840
ST
15559 (__sched_param): New structure, identical to sched_param.
15560 (__need_schedparam): Undefine.
15561
e53a31fe
MF
155622010-08-31 Mike Frysinger <vapier@gentoo.org>
15563
fdc0c10d
MF
15564 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
15565 (epoll_create1): Declare.
15566
e53a31fe
MF
15567 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
15568
a726d796
AS
155692010-08-31 Andreas Schwab <schwab@redhat.com>
15570
15571 [BZ #7066]
15572 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
15573 shifting retval into place.
15574
2f3e3dc7
UD
155752010-09-01 Ulrich Drepper <drepper@redhat.com>
15576
f2933da9
UD
15577 * nis/rpcsvc/nis.h: Update copyright notice.
15578 * nis/rpcsvc/nis.x: Likewise.
15579 * nis/rpcsvc/nis_callback.h: Likewise.
15580 * nis/rpcsvc/nis_callback.x: Likewise.
15581 * nis/rpcsvc/nis_object.x: Likewise.
15582 * nis/rpcsvc/nis_tags.h: Likewise.
15583 * nis/rpcsvc/yp.h: Likewise.
15584 * nis/rpcsvc/yp.x: Likewise.
15585 * nis/rpcsvc/ypupd.h: Likewise.
15586 * nis/yp_xdr.c: Likewise.
15587 * nis/ypupdate_xdr.c: Likewise.
15588
2f3e3dc7
UD
15589 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
15590 mainly the body of pmap_getport. Add parameters to specify timeouts.
15591 (pmap_getport): Use __libc_rpc_getport.
15592 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
15593 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
15594 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
15595
f3dcc2f9
AS
155962010-08-31 Andreas Schwab <schwab@linux-m68k.org>
15597
15598 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
15599 fanotify_mark.
15600
6d34eb5b
RM
156012010-08-27 Roland McGrath <roland@redhat.com>
15602
15603 * sysdeps/i386/i686/multiarch/Makefile
15604 (CFLAGS-varshift.c): New variable.
15605
9ea3de11
UD
156062010-08-27 Ulrich Drepper <drepper@redhat.com>
15607
c96d23fc
UD
15608 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
15609 * sysdeps/i386/i686/multiarch/varshift.c: New file.
15610
9ea3de11
UD
15611 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
15612
15613 * sysdeps/x86_64/strlen.S: Minimal code improvement.
15614
623aac7f
L
156152010-08-26 H.J. Lu <hongjiu.lu@intel.com>
15616
15617 * sysdeps/x86_64/strlen.S: Unroll the loop.
15618 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
15619 strlen-sse2 strlen-sse2-bsf.
15620 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
15621 __strlen_no_bsf if bit_Slow_BSF is set.
15622 (__strlen_sse42): Removed.
15623 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
15624 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
15625
8b2b7715
RM
156262010-08-25 Roland McGrath <roland@redhat.com>
15627
15628 * sysdeps/x86_64/multiarch/varshift.S: File removed.
15629 * sysdeps/x86_64/multiarch/varshift.c: New file.
15630 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
15631 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
15632 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
15633 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
15634
e73015f2
L
156352010-08-25 H.J. Lu <hongjiu.lu@intel.com>
15636
15637 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
15638 strlen-sse2 strlen-sse2-bsf.
15639 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
15640 __strlen_sse2_bsf if bit_Slow_BSF is unset.
15641 (__strlen_sse2): Removed.
15642 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
15643 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
15644 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
15645 bit_Slow_BSF for Atom.
15646 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
15647 (index_Slow_BSF): Define.
15648 (HAS_SLOW_BSF): Define.
15649
df24a73e
UD
156502010-08-25 Ulrich Drepper <drepper@redhat.com>
15651
15652 [BZ #10851]
15653 * resolv/res_init.c (__res_vinit): When no server address at all
15654 is given default to loopback.
15655
f2ac4868
RM
156562010-08-24 Roland McGrath <roland@redhat.com>
15657
09055553
RM
15658 * configure.in: Remove config-name.h generation.
15659 * configure: Regenerated.
15660 * config-name.in: File removed.
15661 * scripts/config-uname.sh: New file.
15662 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
15663 ($(objdir)config-name.h): New target.
15664
f2ac4868
RM
15665 * sunrpc/rpc_parse.h: Avoid nested comment.
15666
73f27d5e
RH
156672010-08-24 Richard Henderson <rth@redhat.com>
15668 Ulrich Drepper <drepper@redhat.com>
15669 H.J. Lu <hongjiu.lu@intel.com>
15670
15671 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
15672 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
15673 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
15674 Replace _mm_srli_si128 with __m128i_shift_right. Replace
15675 _mm_alignr_epi8 with _mm_loadu_si128.
15676 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
15677 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
15678 (__m128i_shift_right): Removed.
15679 * sysdeps/i386/i686/multiarch/varshift.h: New file.
15680 * sysdeps/i386/i686/multiarch/varshift.S: New file.
15681 * sysdeps/x86_64/multiarch/varshift.h: New file.
15682 * sysdeps/x86_64/multiarch/varshift.S: New file.
15683
84b9230c
MF
156842010-08-21 Mike Frysinger <vapier@gentoo.org>
15685
15686 * configure.in: Move assembler checks to before sysdep dir checking.
15687
9bbd0ddc
PB
156882010-08-20 Petr Baudis <pasky@suse.cz>
15689
15690 * LICENSES: Sync the sunrpc license.
15691
9da4bb31
UD
156922010-08-19 Ulrich Drepper <drepper@redhat.com>
15693
a7ab6ec8
UD
15694 * sunrpc/auth_des.c: Update copyright notice once again.
15695 * sunrpc/auth_none.c: Likewise.
15696 * sunrpc/auth_unix.c: Likewise.
15697 * sunrpc/authdes_prot.c: Likewise.
15698 * sunrpc/authuxprot.c: Likewise.
15699 * sunrpc/bindrsvprt.c: Likewise.
15700 * sunrpc/clnt_gen.c: Likewise.
15701 * sunrpc/clnt_perr.c: Likewise.
15702 * sunrpc/clnt_raw.c: Likewise.
15703 * sunrpc/clnt_simp.c: Likewise.
15704 * sunrpc/clnt_tcp.c: Likewise.
15705 * sunrpc/clnt_udp.c: Likewise.
15706 * sunrpc/clnt_unix.c: Likewise.
15707 * sunrpc/des_crypt.c: Likewise.
15708 * sunrpc/des_soft.c: Likewise.
15709 * sunrpc/get_myaddr.c: Likewise.
15710 * sunrpc/getrpcport.c: Likewise.
15711 * sunrpc/key_call.c: Likewise.
15712 * sunrpc/key_prot.c: Likewise.
15713 * sunrpc/openchild.c: Likewise.
15714 * sunrpc/pm_getmaps.c: Likewise.
15715 * sunrpc/pm_getport.c: Likewise.
15716 * sunrpc/pmap_clnt.c: Likewise.
15717 * sunrpc/pmap_prot.c: Likewise.
15718 * sunrpc/pmap_prot2.c: Likewise.
15719 * sunrpc/pmap_rmt.c: Likewise.
15720 * sunrpc/rpc/auth.h: Likewise.
15721 * sunrpc/rpc/auth_unix.h: Likewise.
15722 * sunrpc/rpc/clnt.h: Likewise.
15723 * sunrpc/rpc/des_crypt.h: Likewise.
15724 * sunrpc/rpc/key_prot.h: Likewise.
15725 * sunrpc/rpc/netdb.h: Likewise.
15726 * sunrpc/rpc/pmap_clnt.h: Likewise.
15727 * sunrpc/rpc/pmap_prot.h: Likewise.
15728 * sunrpc/rpc/pmap_rmt.h: Likewise.
15729 * sunrpc/rpc/rpc.h: Likewise.
15730 * sunrpc/rpc/rpc_des.h: Likewise.
15731 * sunrpc/rpc/rpc_msg.h: Likewise.
15732 * sunrpc/rpc/svc.h: Likewise.
15733 * sunrpc/rpc/svc_auth.h: Likewise.
15734 * sunrpc/rpc/types.h: Likewise.
15735 * sunrpc/rpc/xdr.h: Likewise.
15736 * sunrpc/rpc_clntout.c: Likewise.
15737 * sunrpc/rpc_cmsg.c: Likewise.
15738 * sunrpc/rpc_common.c: Likewise.
15739 * sunrpc/rpc_cout.c: Likewise.
15740 * sunrpc/rpc_dtable.c: Likewise.
15741 * sunrpc/rpc_hout.c: Likewise.
15742 * sunrpc/rpc_main.c: Likewise.
15743 * sunrpc/rpc_parse.c: Likewise.
15744 * sunrpc/rpc_parse.h: Likewise.
15745 * sunrpc/rpc_prot.c: Likewise.
15746 * sunrpc/rpc_sample.c: Likewise.
15747 * sunrpc/rpc_scan.c: Likewise.
15748 * sunrpc/rpc_scan.h: Likewise.
15749 * sunrpc/rpc_svcout.c: Likewise.
15750 * sunrpc/rpc_tblout.c: Likewise.
15751 * sunrpc/rpc_util.c: Likewise.
15752 * sunrpc/rpc_util.h: Likewise.
15753 * sunrpc/rpcinfo.c: Likewise.
15754 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
15755 * sunrpc/rpcsvc/key_prot.x: Likewise.
15756 * sunrpc/rpcsvc/klm_prot.x: Likewise.
15757 * sunrpc/rpcsvc/mount.x: Likewise.
15758 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
15759 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
15760 * sunrpc/rpcsvc/rex.x: Likewise.
15761 * sunrpc/rpcsvc/rstat.x: Likewise.
15762 * sunrpc/rpcsvc/rusers.x: Likewise.
15763 * sunrpc/rpcsvc/sm_inter.x: Likewise.
15764 * sunrpc/rpcsvc/spray.x: Likewise.
15765 * sunrpc/rpcsvc/yppasswd.x: Likewise.
15766 * sunrpc/rtime.c: Likewise.
15767 * sunrpc/svc.c: Likewise.
15768 * sunrpc/svc_auth.c: Likewise.
15769 * sunrpc/svc_authux.c: Likewise.
15770 * sunrpc/svc_raw.c: Likewise.
15771 * sunrpc/svc_run.c: Likewise.
15772 * sunrpc/svc_simple.c: Likewise.
15773 * sunrpc/svc_tcp.c: Likewise.
15774 * sunrpc/svc_udp.c: Likewise.
15775 * sunrpc/svc_unix.c: Likewise.
15776 * sunrpc/svcauth_des.c: Likewise.
15777 * sunrpc/xcrypt.c: Likewise.
15778 * sunrpc/xdr.c: Likewise.
15779 * sunrpc/xdr_array.c: Likewise.
15780 * sunrpc/xdr_float.c: Likewise.
15781 * sunrpc/xdr_mem.c: Likewise.
15782 * sunrpc/xdr_rec.c: Likewise.
15783 * sunrpc/xdr_ref.c: Likewise.
15784 * sunrpc/xdr_sizeof.c: Likewise.
15785 * sunrpc/xdr_stdio.c: Likewise.
15786
9da4bb31
UD
15787 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
15788 handling.
15789
bdaa77bc
AS
157902010-08-19 Andreas Schwab <schwab@redhat.com>
15791
15792 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
15793
fe2f79db
LM
157942010-08-19 Luis Machado <luisgpm@br.ibm.com>
15795
15796 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
15797 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
15798 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
15799 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
15800 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
15801 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
15802 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
15803 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
15804 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
15805 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
15806 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
15807 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
15808 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
15809 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
15810
b9b42ee0
AB
158112010-07-26 Anton Blanchard <anton@samba.org>
15812
15813 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
15814 * malloc/arena.c (heap_trim): Likewise.
15815
1c06ba31
UD
158162010-08-16 Ulrich Drepper <drepper@redhat.com>
15817
15818 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
15819 here. Not...
15820 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
15821 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
15822
f8392f40
L
158232010-08-12 H.J. Lu <hongjiu.lu@intel.com>
15824
15825 * sysdeps/i386/elf/Makefile: New file.
15826
3162f12e
AS
158272010-08-14 Andreas Schwab <schwab@linux-m68k.org>
15828
15829 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
15830 from fanotify_init.
15831 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
15832 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
15833
28c90b2c
UD
158342010-08-15 Ulrich Drepper <drepper@redhat.com>
15835
15836 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
15837 of strncasecmp_l.
1feccb6c 15838 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 15839
ca6bb004
UD
158402010-08-14 Ulrich Drepper <drepper@redhat.com>
15841
e9f82e0d
UD
15842 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
15843 strncase_l-nonascii.
15844 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
15845 Add strncase_l-ssse3.
15846 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
15847 * sysdeps/x86_64/strcmp.S: Likewise.
15848 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
15849 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
15850 * sysdeps/x86_64/strncase.S: New file.
15851 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
15852 * sysdeps/x86_64/strncase_l.S: New file.
15853 * string/Makefile (strop-tests): Add strncasecmp.
15854 * string/test-strncasecmp.c: New file.
15855
15856 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
15857 warning.
15858
ca6bb004
UD
15859 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
15860 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
15861
052fa7b3
AS
158622010-08-14 Andreas Schwab <schwab@linux-m68k.org>
15863
15864 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
15865
962dba78
UD
158662010-08-12 Ulrich Drepper <drepper@redhat.com>
15867
15868 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
15869 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
15870 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
15871
bebff237
AM
158722010-05-01 Alan Modra <amodra@gmail.com>
15873
15874 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
15875 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
15876 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
15877 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
15878 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
15879 tidying. Don't tail-call __sigjmp_save for static lib.
15880 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
15881 save location.
15882 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
15883 (CALL_MCOUNT): Add eh info, and nop after bl.
15884 (TAIL_CALL_SYSCALL_ERROR): New macro.
15885 (PSEUDO_RET): Use it.
15886 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
15887 Correct save location of integer regs and cr.
15888 (_dl_profile_resolve): Correct cr save location. Delete nops
15889 after bl when SHARED. Reduce cfi size a little by better
15890 placement of cfi directives.
15891 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
15892 make a stack frame. Instead use parm save area as a temp.
15893 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
15894 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
15895 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
15896 Don't make a stack frame for parent, use parm save area.
15897 Increase child stack frame to 112 bytes. Don't save unused reg,
15898 and adjust reg usage. Set up cfi on error recovery and
15899 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
15900 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
15901 (__makecontext): Add dummy nop after jump to exit.
15902 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
15903 Use correct parm save area and cr save, reduce stack frame.
15904 Correct cfi for possible PSEUDO_RET frame setup.
15905 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
15906 Branch to local label emitted by PSEUDO_RET rather than
15907 __syscall_error.
15908
02637374
AS
159092010-08-12 Andreas Schwab <schwab@redhat.com>
15910
15911 [BZ #11904]
15912 * locale/programs/locale.c (print_assignment): New function.
15913 (show_locale_vars): Use it.
15914
c3e2f19b
UD
159152010-08-11 Ulrich Drepper <drepper@redhat.com>
15916
3cdaa6ad
UD
15917 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
15918 field.
15919 (struct statfs64): Likewise.
15920 (_STATFS_F_FLAGS): Define.
15921 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
15922 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
15923 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
15924 (ST_VALID): Define locally.
15925 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
15926 __statvfs_getflags, use the provided value.
15927 * sysdeps/unix/sysv/linux/kernel-features.h: Define
15928 __ASSUME_STATFS_F_FLAGS.
15929
754f7da3
UD
15930 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
15931
10b3bedc
UD
15932 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
15933 Add sys/fanotify.h.
15934 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
15935 fanotify_mask for GLIBC_2.13.
15936 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
15937 fanotify_init and fanotify_mark.
15938 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
15939 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
15940
c08fb0d7
UD
15941 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
15942 Add prlimit.
15943 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
15944 prlimit64 for GLIBC_2.13.
15945 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
15946 prlimit64.
15947 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
15948 syscall.
15949 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
15950 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
15951 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
15952 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
15953 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
15954 add prlimit alias.
15955 * sysdeps/unix/sysv/linux/prlimit.c: New file.
15956
15bac72b
UD
15957 [BZ #11903]
15958 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
15959 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
15960
c3e2f19b
UD
15961 * nss/Makefile: Add rules to build and run tst-nss-test1.
15962 * shlib-versions: Add entry for libnss_test1.
15963 * nss/nss_test1.c: New file.
15964 * nss/tst-nss-test1.c: New file.
15965
15966 * nss/nsswitch.c (__nss_database_custom): Define new variable.
15967 (__nss_configure_lookup): Set appropriate entry in
15968 __nss_configure_lookup to true.
15969 * nss/nsswitch.h: Define enum with indeces of databases in
15970 databases and __nss_database_custom arrays. Declare
15971 __nss_database_custom.
15972 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
15973 to avoid using nscd when custom rules are installed.
15974 * nss/getXXbyYY_r.c: Likewise.
15975 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
15976
15977 * nss/nss_files/files-parse.c: Whitespace fixes.
15978
f15ce4d8
UD
159792010-08-09 Ulrich Drepper <drepper@redhat.com>
15980
15981 [BZ #11883]
15982 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
15983 * posix/fnmatch_loop.c: Likewise.
15984
d22e4cc9
AK
159852010-07-17 Andi Kleen <ak@linux.intel.com>
15986
15987 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
15988 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
15989 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
15990 * Versions.def [GLIBC_2.13]: Add.
15991
805bc17d
UD
159922010-08-06 Ulrich Drepper <drepper@redhat.com>
15993
15994 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
15995 Also fail if tpwd after pwuid call is NULL.
15996
5a42321d
ST
159972010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
15998
15999 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
16000 when converting to ms.
16001
fd3ebeda
ST
160022010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
16003
16004 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
16005 EOPNOTSUPP errors with ENOTTY.
16006 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
16007 EOPNOTSUPP errors with ENOTTY.
16008
73507d3a
UD
160092010-07-31 Ulrich Drepper <drepper@redhat.com>
16010
16011 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
16012 Add strcasecmp_l-ssse3.
16013 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
16014 strcasecmp.
16015 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
16016 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
16017 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
16018
fe36dd02
UD
160192010-07-30 Ulrich Drepper <drepper@redhat.com>
16020
66f6765a
UD
16021 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
16022
42e08a54
UD
16023 * string/Makefile (strop-tests): Add strcasecmp.
16024 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
16025 strcasecmp_l-nonascii.
16026 (gen-as-const-headers): Add locale-defines.sym.
16027 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
16028 * sysdeps/x86_64/strcasecmp.S: New file.
16029 * sysdeps/x86_64/strcasecmp_l.S: New file.
16030 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
16031 * sysdeps/x86_64/locale-defines.sym: New file.
16032 * string/test-strcasecmp.c: New file.
16033
fe36dd02
UD
16034 * string/test-strcasestr.c: Test both ends of the range of characters.
16035 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
16036
48cbc0d6
RM
160372010-07-29 Roland McGrath <roland@redhat.com>
16038
76e6d6bc 16039 [BZ #11856]
48cbc0d6
RM
16040 * manual/locale.texi (Yes-or-No Questions): Fix example code.
16041
880113d9
UD
160422010-07-27 Ulrich Drepper <drepper@redhat.com>
16043
16044 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
16045 for ld.so.
16046
deb9cabb
AS
160472010-07-27 Andreas Schwab <schwab@redhat.com>
16048
16049 * manual/memory.texi (Malloc Tunable Parameters): Document
16050 M_PERTURB.
16051
1c7570ff
RM
160522010-07-26 Roland McGrath <roland@redhat.com>
16053
16054 [BZ #11840]
16055 * configure.in (-fgnu89-inline check): Set and substitute
16056 gnu89_inline, not libc_cv_gnu89_inline.
16057 * configure: Regenerated.
16058 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
16059
24fb0f88
UD
160602010-07-26 Ulrich Drepper <drepper@redhat.com>
16061
16062 * string/test-strnlen.c: New file.
16063 * string/Makefile (strop-tests): Add strnlen.
16064 * string/tester.c (test_strnlen): Add a few more test cases.
16065 * string/tst-strlen.c: Better error reporting.
16066
16067 * sysdeps/x86_64/strnlen.S: New file.
16068
8e96b93a
UD
160692010-07-24 Ulrich Drepper <drepper@redhat.com>
16070
16071 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
16072 lower-latency instructions.
16073
dbc676d4
UD
160742010-07-23 Ulrich Drepper <drepper@redhat.com>
16075
16076 * string/test-strcasestr.c: New file.
16077 * string/test-strstr.c: New file.
16078 * string/Makefile (strop-tests): Add strstr and strcasestr.
16079 * string/str-two-way.h: Don't undefine MAX.
16080 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
16081
f6a31e0e
AS
160822010-07-21 Andreas Schwab <schwab@redhat.com>
16083
16084 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
16085 strcasestr-nonascii.
16086 (CFLAGS-strcasestr-nonascii.c): Define.
16087 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
16088 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
16089 Remove unused attribute.
16090
5dbc3b6c
RM
160912010-07-20 Roland McGrath <roland@redhat.com>
16092
16093 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
16094 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
16095 ld.so.cache was broken. With it, there is no way to disable dsocaps
16096 like LD_HWCAP_MASK can disable hwcaps.
16097
23d101d8
EPM
160982010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
16099
16100 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
16101
cc9f2e47
UD
161022010-07-16 Ulrich Drepper <drepper@redhat.com>
16103
16104 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
16105 call in strcasestr.
16106 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
16107 __strcasestr_sse42_nonascii.
16108 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
16109 strcasestr-nonascii.c.
16110 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
16111
77c1b069
LM
161122010-06-15 Luis Machado <luisgpm@br.ibm.com>
16113
16114 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
16115 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
16116 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
16117 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
16118
440566c3
UD
161192010-07-09 Ulrich Drepper <drepper@redhat.com>
16120
16121 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
16122 fcntl.
16123
5be9d05d
AS
161242010-07-06 Andreas Schwab <schwab@redhat.com>
16125
c30b7ee2 16126 [BZ #11577]
5be9d05d
AS
16127 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
16128 dl_signal_cerror.
16129
8a492a67
UD
161302010-07-06 Ulrich Drepper <drepper@redhat.com>
16131
16132 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
16133 _PC_PIPE_BUF using F_GETPIPE_SZ.
16134
713df3d5
RM
161352010-07-05 Roland McGrath <roland@redhat.com>
16136
16137 * manual/arith.texi (Rounding Functions): Fix rint description
16138 implicit in round description.
16139
702e8f14
UD
161402010-07-02 Ulrich Drepper <drepper@redhat.com>
16141
16142 * elf/Makefile: Fix linking for a few tests to make recent linker
16143 happy.
16144
52ed8be9
AS
161452010-06-30 Andreas Schwab <schwab@redhat.com>
16146
16147 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
16148 $(common-objpfx)libc_nonshared.a.
16149
f47c9a11
LM
161502010-06-21 Luis Machado <luisgpm@br.ibm.com>
16151
16152 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
16153 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
16154 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
16155 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
16156 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
16157 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
16158 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
16159 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
16160 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
16161 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
16162 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
16163 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
16164 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
16165 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
16166 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
16167 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
16168 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
16169 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
16170 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
16171 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
16172 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
16173 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
16174 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
16175 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
16176 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
16177 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
16178 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
16179 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
16180 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
16181 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
16182 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
16183 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
16184 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
16185 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
16186 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
16187 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
16188 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
16189 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
16190 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
16191 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
16192 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
16193 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
16194 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
16195 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
16196 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
16197 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
16198 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
16199 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
16200
6fb8cbcb
L
162012010-06-25 H.J. Lu <hongjiu.lu@intel.com>
16202
16203 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
16204 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
16205 * string/memmove.c (memmove): Renamed to ...
16206 (MEMMOVE): ...this. Default to memmove.
16207 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
16208 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
16209 (END_CHK): Define.
16210 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
16211 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
16212 mempcpy-ssse3-back memmove-ssse3-back.
16213 * sysdeps/x86_64/multiarch/bcopy.S: New file .
16214 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
16215 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
16216 * sysdeps/x86_64/multiarch/memcpy.S: New file.
16217 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
16218 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
16219 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
16220 * sysdeps/x86_64/multiarch/memmove.c: New file.
16221 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
16222 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
16223 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
16224 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
16225 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
16226 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
16227 Define.
16228 (index_Fast_Copy_Backward): Define.
16229 (HAS_ARCH_FEATURE): Define.
16230 (HAS_FAST_REP_STRING): Define.
16231 (HAS_FAST_COPY_BACKWARD): Define.
16232
4e733bac 162332010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
16234
16235 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
16236 Restore proper fallback handling.
16237
63c4ed22
UD
162382010-06-19 Ulrich Drepper <drepper@redhat.com>
16239
ac2b484c
UD
16240 [BZ #11701]
16241 * posix/group_member.c (__group_member): Correct checking loop.
16242
63c4ed22
UD
16243 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
16244 OOM in getpwuid_r correctly. Return error number when the caller
16245 should return, otherwise -1.
16246 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
16247 call returning > 0 value.
16248 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
16249
765ade4b
AS
162502010-06-07 Andreas Schwab <schwab@redhat.com>
16251
16252 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
16253 libc_nonshared.a from targets in modules-names.
16254
80da2e09
KS
162552010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
16256
16257 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
16258 requires it.
16259
158db122
LM
162602010-06-10 Luis Machado <luisgpm@br.ibm.com>
16261
16262 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
16263 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
16264 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
16265 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
16266
caa78cf8
AS
162672010-06-02 Andreas Schwab <schwab@redhat.com>
16268
16269 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
16270
b2ef2c01
UD
162712010-06-14 Ulrich Drepper <drepper@redhat.com>
16272
16273 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
16274 and F_GETPIPE_SZ.
16275 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
16276 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
16277 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
16278 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
16279 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
16280 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
16281
fbd643b6
RM
162822010-06-14 Roland McGrath <roland@redhat.com>
16283
16284 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
16285
f32f2869
JJ
162862010-06-07 Jakub Jelinek <jakub@redhat.com>
16287
16288 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
16289 __REDIRECT followed by __THROW.
16290 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
16291 * posix/getopt.h (getopt): Likewise.
16292
2a50c078
EPM
162932010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
16294
16295 * hurd/lookup-at.c (__file_name_lookup_at): Accept
16296 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
16297 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
16298 in AT_FLAGS.
16299 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
16300 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
16301
eb5ad2eb
LM
163022010-05-28 Luis Machado <luisgpm@br.ibm.com>
16303
16304 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
16305
3c88fe1e
L
163062010-05-26 H.J. Lu <hongjiu.lu@intel.com>
16307
16308 [BZ #11640]
16309 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
16310 Properly check family and model.
16311
d2f73151
TY
163122010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
16313
16314 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
16315
ebd2e13d
LM
163162010-05-24 Luis Machado <luisgpm@br.ibm.com>
16317
16318 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
16319
b32b8b45
UD
163202010-05-21 Ulrich Drepper <drepper@redhat.com>
16321
16322 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
16323 symbol reference.
16324
9acbe24d
AS
163252010-05-19 Andreas Schwab <schwab@redhat.com>
16326
16327 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
16328 symbol reference.
16329
f0ccf6ea
AS
163302010-05-21 Andreas Schwab <schwab@redhat.com>
16331
3d04ff3a
AS
16332 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
16333 and internal_recvmmsg.
16334 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
16335 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
16336 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
16337 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
16338
f0ccf6ea
AS
16339 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
16340 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
16341 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
16342
5b08ac57
AS
163432010-05-20 Andreas Schwab <schwab@redhat.com>
16344
16345 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
16346
4828935d
LM
163472010-05-17 Luis Machado <luisgpm@br.ibm.com>
16348
16349 POWER7 optimizations.
16350 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
16351 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
16352
373d545e
UD
163532010-05-19 Ulrich Drepper <drepper@redhat.com>
16354
16355 * version.h: Update for 2.13 development version.
16356
21a2b1ae
AS
163572010-05-12 Andrew Stubbs <ams@codesourcery.com>
16358
16359 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
16360 exceptions. Return 0.
16361
3f7dcb2b
RM
163622010-05-07 Roland McGrath <roland@redhat.com>
16363
16364 * elf/ldconfig.c (main): Add a const.
16365
5f24d53a 163662010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 16367
a160f8d8
UD
16368 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
16369 (args_options): Add no-idn option.
16370 (ahosts_keys_int): Add idn_flags to ai_flags.
16371 (parse_option): Handle 'i' option to clear idn_flags.
16372
5f24d53a
UD
16373 * malloc/malloc.c (_int_free): Possible race in the most recently
16374 added check. Only act on the data if no current modification
16375 happened.
265bb1ce
UD
16376
16377See ChangeLog.17 for earlier changes.