]> sourceware.org Git - glibc.git/blame - ChangeLog
SH: Do not re-write fpscr after reading it.
[glibc.git] / ChangeLog
CommitLineData
366af02c
TS
12012-06-09 Thomas Schwinge <thomas@codesourcery.com>
2
3 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
4 reading it.
5 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
6 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
7
793ea851
KK
82012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
9
10 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
11 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
12 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
13 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
14
a728a38f
L
152012-06-06 H.J. Lu <hongjiu.lu@intel.com>
16
17 [BZ #14117]
c08010c7
L
18 * sysdeps/i386/fpu/bits/fenv.h: Removed.
19 * sysdeps/i386/fpu/Implies: New file.
20 * sysdeps/x86_64/fpu/Implies: Likewise.
21 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
22 * sysdeps/x86/fpu/bits/fenv.h: This.
23
a728a38f
L
24 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
25 __SSE_MATH__.
26
6e230d11
SP
272012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
28
29 [BZ #14134]
30 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
31 character 0xffff that matches the last element of the
32 conversion table.
33
1b671feb
AZ
342012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35
36 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
37 fmodl commit.
38
6043738b
AZ
392012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40
41 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
42 values higher than 25.6283.
43
34ae0b32
AZ
442012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
45
46 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
47 subnormal exponent extraction and add some __builtin_expect.
48 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
49 Fix for subnormal mantissa calculation.
50
1214ec8f
MF
512012-06-04 Mike Frysinger <vapier@gentoo.org>
52
53 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
54 cpu2 is -1 and errno is not ENOSYS.
55
f3d1f93c
L
562012-06-04 H.J. Lu <hongjiu.lu@intel.com>
57
58 [BZ #14117]
0e4a3cd7
L
59 * sysdeps/i386/i486/bits/string.h: Renamed to ...
60 * sysdeps/x86/bits/string.h: This.
61 * sysdeps/x86_64/bits/string.h: Removed.
62
6704c645
L
63 * sysdeps/i386/i486/bits/string.h: Define inline functions only
64 if not compiling for x86-64, but compiling for >= i486.
65
48495318
L
66 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
67 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
68
14adcbfc
L
69 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
70 New macro from Linux kernel 3.4.0.
71 (FP_XSTATE_MAGIC2): Likewise.
72 (FP_XSTATE_MAGIC2_SIZE): Likewise.
73 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
74 (struct _fpx_sw_bytes): New struct.
75 (struct _xsave_hdr): Likewise.
76 (struct _ymmh_state): Likewise.
77 (struct _xstate): Likewise.
78
68e408ab
L
79 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
80 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
81 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
82 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
83 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
84 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
85
f3d1f93c
L
86 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
87 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
88 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
89 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
90 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
91 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
92
d9dc34cd
TMQMF
932012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
94
95 [BZ #13743]
96 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
97 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
98 (sysdep_headers): Include sys/platform/ppc.h.
99 * sysdeps/powerpc/test-gettimebase.c: Test for
100 __ppc_get_timebase() to catch future ISA opcode/insn changes.
101 * manual/Makefile (appendices): Include platform.texi.
102 * manual/contrib.texi (Contributors): Update @node pointers.
103 * manual/maint.texi (Maintenance): Likewise.
104 (Platform): New node.
105 * manual/platform.texi: New file. Document the new features.
106
4af3879c
SP
1072012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
108 Jakub Jelinek <jakub@redhat.com>
109
110 [BZ #14188]
111 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
112 where __builtin_expect is unavailable.
113
2fd6ff13
DM
1142012-06-03 David S. Miller <davem@davemloft.net>
115
116 * stdlib/longlong.h: Updated from GCC.
117
173f7220
AS
1182012-06-02 Andreas Schwab <schwab@linux-m68k.org>
119
120 [BZ #14042]
121 * sysdeps/powerpc/powerpc32/mcount.c: New file.
122 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
123 __mcount_internal.
124 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
125 (GLIBC_2.16): Likewise.
126
f34a1c6f
L
1272012-06-01 H.J. Lu <hongjiu.lu@intel.com>
128
129 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
130
88a4576f
JM
1312012-06-01 Joseph Myers <joseph@codesourcery.com>
132
ea32bcdd
JM
133 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
134 (default-abi): New variable.
135 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
136 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
137 variable.
138 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
139 Likewise.
140 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
141 Likewise.
142 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
143 Likewise.
144
88a4576f
JM
145 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
146 definition. Document in comment.
147
402fe938
DM
1482012-06-01 David S. Miller <davem@davemloft.net>
149
150 * stdlib/longlong.h: Updated from GCC.
151
3553723f
L
1522012-06-01 H.J. Lu <hongjiu.lu@intel.com>
153
154 [BZ #14117]
3bd872c4
L
155 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
156 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
157 sys/debugreg.h sys/io.h here.
158 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
159 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
160 sys/io.h.
161 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
162 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
163 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
164 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
165 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
166 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
167
3553723f
L
168 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
169 Define only if __x86_64__ is defined.
170
4842e4fe
JM
1712012-06-01 Joseph Myers <joseph@codesourcery.com>
172
c5bfe3d5
JM
173 [BZ #14048]
174 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
175 Use int64_t for variable i.
176 * math/libm-test.inc (fmod_test): Add more tests.
177
4842e4fe
JM
178 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
179 z computation is not scheduled after fetestexcept.
180 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
181 Use math_force_eval instead of asm to ensure calculation scheduled
182 before exception test.
183 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
184 Ensure a1 + u.d computation is not scheduled after fetestexcept.
185
efb73488
AJ
1862012-06-01 Aurelien Jarno <aurelien@aurel32.net>
187
188 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
189 computation is not scheduled after fetestexcept.
190
29bcce7c
L
1912012-06-01 H.J. Lu <hongjiu.lu@intel.com>
192
193 [BZ #14117]
194 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
195 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
196
73a68f94
AZ
1972012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
198
199 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
200 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
201
67b6df78
L
2022012-05-31 H.J. Lu <hongjiu.lu@intel.com>
203
edf2933a 204 [BZ #14117]
ebc64a18
L
205 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
206 <bits/wordsize.h>.
207 (__WCHAR_MIN): Support __WORDSIZE == 64.
208 (__WCHAR_MAX): Likewise.
209
edf2933a
L
210 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
211 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
212
57c6cf40
L
213 [BZ #14183]
214 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
215 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
216
67b6df78 217 [BZ #14117]
8eb6281e
L
218 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
219 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
220
aac639f4
L
221 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
222 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
223
67b6df78
L
224 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
225 Defined to 1 if __x86_64__ isn't defined.
226 (_STAT_VER_LINUX_OLD): New.
227 (st_atime): Remove duplicate.
228 (st_mtime): Likewise.
229 (st_ctime): Likewise.
230
1c2cfe81
DM
2312012-05-31 David S. Miller <davem@davemloft.net>
232
233 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
234 entries.
235
5be8418c
AS
2362012-06-01 Andreas Schwab <schwab@linux-m68k.org>
237
e7725326
AS
238 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
239 gen-libm-test.pl.
240
5be8418c
AS
241 [BZ #14132]
242 * elf/dl-reloc.c: Include <_itoa.h>.
243 (_dl_reloc_bad_type): Remove use of INTUSE.
244 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
245 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
246 * stdio-common/psiginfo.c (psiginfo): Likewise.
247 * stdio-common/psignal.c (psignal): Likewise.
248 * string/strsignal.c (strsignal): Likewise.
249 * include/signal.h (_sys_siglist): Declare hidden proto.
250 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
251 INTVARDEF with libc_hidden_data_def.
252 * stdio-common/itoa-udigits.c: Likewise.
253 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
254 (_itoa_lower_digits_internal): Remove declaration.
255 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
256 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
257 (_sys_sigabbrev_internal): Remove aliases.
258 (_sys_siglist): Define hidden alias.
259
507352f1
MT
2602012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
261
262 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
263 bits/sysctl.h.
264
42bbb1c3
L
2652012-05-31 H.J. Lu <hongjiu.lu@intel.com>
266
267 [BZ #14117]
6bd784b6
L
268 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
269 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
270
8bca20f0
L
271 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
272 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
273 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
274 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
275 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
276 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
277
f9e890a9
L
278 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
279 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
280 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
281
471101a1
L
282 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
283 with __addr.
284 (insw): Likewise.
285 (insl): Likewise.
286 (outsb): Likewise.
287 (outsw): Likewise.
288 (outsl): Likewise.
289
6451c862
L
290 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
291 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
292 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
293
a254b8c9
L
294 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
295 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
296 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
297 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
298 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
299 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
300
b8dfdd92
L
301 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
302 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
303
578cd270
L
304 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
305 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
306
de662f5f
L
307 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
308 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
309 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
310
25653439
L
311 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
312 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
313 to ...
314 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
315
6bad24a0
L
316 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
317 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
318 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
319
42bbb1c3
L
320 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
321 for x86-64.
322 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
323
2d10d547
JM
3242012-05-31 Joseph Myers <joseph@codesourcery.com>
325
326 * math/math.h (M_El): Use two more decimal places.
327 (M_LOG2El): Likewise.
328 (M_LOG10El): Likewise.
329 (M_LN2l): Likewise.
330 (M_LN10l): Likewise.
331 (M_PIl): Likewise.
332 (M_PI_2l): Likewise.
333 (M_PI_4l): Likewise.
334 (M_1_PIl): Likewise.
335 (M_2_PIl): Likewise.
336 (M_2_SQRTPIl): Likewise.
337 (M_SQRT2l): Likewise.
338 (M_SQRT1_2l): Likewise.
339
f230c29b
DM
3402012-05-31 David S. Miller <davem@davemloft.net>
341
342 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
343 values between float registers.
344 * sysdeps/sparc/sparc64/memset.S: Likewise.
345 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
346
fed806c3
MF
3472012-05-31 Mike Frysinger <vapier@gentoo.org>
348
349 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
350 -D_FORTIFY_SOURCE=1.
351 (CPPFLAGS-tst-longjmp_chk.c): Define.
352 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
353 (CPPFLAGS-tst-longjmp_chk2.c): Define.
354 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
355 CFLAGS-tst-wchar-h.c.
356
30917259
MP
3572012-05-31 Marek Polacek <polacek@redhat.com>
358
359 [BZ #14132]
360 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
361 __endmntent_internal): Remove declaration.
362 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
363 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
364 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
365
1c58d5dc
DM
3662012-05-30 David S. Miller <davem@davemloft.net>
367
368 * sysdeps/sparc/sparc32/soft-fp/q_util.c
369 (___Q_simulate_exceptions): Use real FP ops rather than writing
370 into the %fsr.
371 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
372 Likewise.
373
7dc00e0d
L
3742012-05-30 H.J. Lu <hongjiu.lu@intel.com>
375
376 [BZ #14117]
0bd53985
L
377 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
378 * sysdeps/x86/bits/xtitypes.h: This.
379
3a257e66
L
380 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
381 * sysdeps/x86/bits/wordsize.h: This.
382
62f62904
L
383 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
384 * sysdeps/x86/bits/huge_vall.h: This.
385
404fe9d9
L
386 * sysdeps/i386/bits/select.h: Removed.
387 * sysdeps/x86_64/bits/select.h: Renamed to ...
388 * sysdeps/x86/bits/select.h: This.
389
d48d0446
L
390 * sysdeps/i386/bits/setjmp.h: Removed.
391 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
392 * sysdeps/x86/bits/setjmp.h: This.
393
7dc00e0d
L
394 * sysdeps/i386/bits/mathdef.h: Removed.
395 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
396 * sysdeps/x86/bits/mathdef.h: This.
397
03277f8f
AS
3982012-05-30 Andreas Schwab <schwab@linux-m68k.org>
399
400 [BZ #14132]
401 * include/sys/socket.h (__connect_internal)
402 (__libc_sa_len_internal): Remove declaration.
403 (__connect, __libc_sa_len): Declare hidden_proto.
404 (SA_LEN): Remove use of INTUSE.
405 * socket/connect.c: Add libc_hidden_def.
406 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
407 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
408 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
409 alias.
410 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
411 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
412 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
413 of adding _internal alias.
414
13764867
L
4152012-05-30 H.J. Lu <hongjiu.lu@intel.com>
416
417 [BZ #14117]
6bd97696
L
418 * sysdeps/i386/bits/link.h: Removed.
419 * sysdeps/i386/bits/linkmap.h: Likewise.
420 * sysdeps/x86_64/bits/link.h: Renamed to ...
421 * sysdeps/x86/bits/link.h: This.
422 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
423 * sysdeps/x86/bits/linkmap.h: This.
424
f726f0bb
L
425 * sysdeps/i386/bits/endian.h: Removed.
426 * sysdeps/x86_64/bits/endian.h: Renamed to ...
427 * sysdeps/x86/bits/endian.h: This.
428
13764867
L
429 * sysdeps/i386/bits/byteswap.h: Removed.
430 * sysdeps/i386/bits/byteswap-16.h: Likewise.
431 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
432 * sysdeps/x86/bits/byteswap.h: This.
433 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
434 * sysdeps/x86/bits/byteswap-16.h: This.
435 * sysdeps/i386/Implies: Add x86.
436 * sysdeps/x86_64/Implies: Likewise.
437
ae251b0b
DM
4382012-05-30 David S. Miller <davem@davemloft.net>
439
440 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
441 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
442 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
443 (FP_TRAPPING_EXCEPTIONS): Define.
444 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
445 (FP_TRAPPING_EXCEPTIONS): Define.
446 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
447 subnormals only when inexact has been signalled or underflow
448 exceptions are enabled.
449 (_FP_PACK_CANONICAL): Likewise.
450
d5c90867
L
4512012-05-30 H.J. Lu <hongjiu.lu@intel.com>
452
453 [BZ #14183]
454 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
455 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
456
63f1549e
RH
4572012-05-30 Richard Henderson <rth@twiddle.net>
458
8d8f2279
RH
459 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
460 with #ifndef NOT_IN_libc.
461
63f1549e
RH
462 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
463 marked to avoid plt entry.
464
0ab0291b
L
4652012-05-30 H.J. Lu <hongjiu.lu@intel.com>
466
467 [BZ #14112]
468 * Makeconfig (default-abi): New macro.
469 (abi-includes): Likewise.
470 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
471 $(abi-$(default-abi)-lib-soname) for soname if defined.
472 ($(common-objpfx)gnu/lib-names.stmp): Generate from
473 abi-variants.
474 * Makefile (installed-stubs): Likewise.
475 * include/stubs-biarch.h: Removed.
476 * scripts/lib-names.awk: Only handle one library at a time.
477 * scripts/soversions.awk: Remove WORDSIZE support.
478 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
479 entries.
480 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
481 Removed.
482 (syscall-list-default-condition): Likewise.
483 (syscall-list-default-condition): Likewise.
484 (syscall-list-includes): Likewise.
485 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
486 syscall-list-* with abi-*. Handle undefined abi-variants.
487 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
488 * sysdeps/unix/sysv/linux/i386/Implies: New file.
489 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
490 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
491 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
492 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
493 Removed.
494 (syscall-list-32-options): Likewise.
495 (syscall-list-32-condition): Likewise.
496 (syscall-list-64-options): Likewise.
497 (syscall-list-64-condition): Likewise.
498 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
499 macro.
500 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
501 Renamed to ...
502 (abi-*): This.
503 (abi-64-ld-soname): New macro.
504 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
505 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
506 Renamed to ...
507 (abi-*): This.
508 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
509 * sysdeps/x86_64/x32/shlib-versions: Likewise.
510
4da0431d
JM
5112012-05-30 Joseph Myers <joseph@codesourcery.com>
512
3a85279c
JM
513 * sysdeps/unix/sysv/linux/kernel-features.h
514 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
515 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
516 include <kernel-features.h>.
517 [!__NR_ftruncate64]: Remove conditional code.
518 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
519 [__NR_ftruncate64]: Make code unconditional.
520 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
521 * sysdeps/unix/sysv/linux/truncate64.c: Do not
522 include <kernel-features.h>.
523 [!__NR_ftruncate64]: Remove conditional code.
524 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
525 [__NR_ftruncate64]: Make code unconditional.
526 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
527 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
528 include <kernel-features.h>.
529 [!__NR_ftruncate64]: Remove conditional code.
530 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
531 [__NR_ftruncate64]: Make code unconditional.
532 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
533 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
534 include <kernel-features.h>.
535 [!__NR_ftruncate64]: Remove conditional code.
536 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
537 [__NR_ftruncate64]: Make code unconditional.
538 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
539
4da0431d
JM
540 * configure.in (libc_cv_fpie): Weaken to a compile test using
541 LIBC_TRY_CC_OPTION.
542 * configure: Regenerated.
543
11ef492c
AK
5442012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
545
546 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
547 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
548 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
549 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
550 Refreshed.
551 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
552 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
553 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
554 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
555 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
556 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
557 Refreshed.
558
d66ef399
DM
5592012-05-27 David S. Miller <davem@davemloft.net>
560
561 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
562 (___Q_zero): New.
563 (__Q_simulate_exceptions): Return void. Change to simulate
564 exceptions by writing into the %fsr.
565 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
566 (__Qp_handle_exceptions): Likewise.
567 (numbers): Delete.
568 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
569 __Qp_handle_exceptions.
570 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
571 __Qp_handle_exceptions.
572 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
573 as unused and give dummy FP_RND_NEAREST initializer.
574 (FP_INHIBIT_RESULTS): Define.
575 (___Q_simulate_exceptions): Update declaration.
576 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
577 formatting.
578 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
579 as unused and give dummy FP_RND_NEAREST initializer.
580 (__Qp_handle_exceptions): Update declaration.
581 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
582 formatting.
583
04fb54b5
TS
5842012-05-27 Thomas Schwinge <thomas@codesourcery.com>
585
586 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
587 the temporary FPU control word.
588 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
589 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
590 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
591 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
592 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
593 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
594 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
595 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
596 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
597 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
598 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
599
3f99608f
KK
6002012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
601
602 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
603 fields.
604
65a4de4e
CLT
6052012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
606
607 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
608 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
609 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
610 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
611 Likewise.
612 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
613 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
614 Likewise.
615
15749d40
UD
6162012-05-27 Ulrich Drepper <drepper@gmail.com>
617
618 * po/h.po: Update from translation team.
619
25dbcb27
AS
6202012-05-26 Andreas Schwab <schwab@linux-m68k.org>
621
3d3f8e55
AS
622 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
623
25dbcb27
AS
624 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
625 handling of denormals.
626 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
627 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
628 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
629 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
630 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
631 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
632 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
633 Likewise.
634
7ad47a80 6352012-05-26 Marek Polacek <polacek@redhat.com>
d81dcb35
MP
636
637 [BZ #14152]
638 * math/libm-test.inc (fma_test): Don't always expect underflow
639 exception.
640
9c6ea9fa
SP
6412012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
642
643 [BZ #12416]
644 * elf/tst-execstack.c: Include stackinfo.h.
645 (do_test): Adjust test case to ensure that pthread_getattr_np
646 behaviour remains the same after marking stack executable.
647
a8239222
JM
6482012-05-25 Joseph Myers <joseph@codesourcery.com>
649
650 * sysdeps/unix/sysv/linux/kernel-features.h
651 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
652 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
653 kernel-features.h.
654 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
655 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
656 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
657 kernel-features.h.
658 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
659 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
660
918b5606
L
6612012-05-25 H.J. Lu <hongjiu.lu@intel.com>
662
663 * configure.in: Define the default includes to being none.
664 * configure: Regenerated.
665
3a097cc7
RM
6662012-05-25 Roland McGrath <roland@hack.frob.com>
667
8422c9a5
RM
668 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
669 * sysdeps/x86_64/setjmp.S: Likewise.
670 * sysdeps/i386/bsd-setjmp.S: Likewise.
671 * sysdeps/i386/bsd-_setjmp.S: Likewise.
672 * sysdeps/i386/setjmp.S: Likewise.
673 * sysdeps/i386/__longjmp.S: Likewise.
674 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
675 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
676
3a097cc7
RM
677 * include/stap-probe.h: New file.
678 * configure.in: Handle --enable-systemtap.
679 * configure: Regenerated.
680 * config.h.in (USE_STAP_PROBE): New #undef.
681 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
682 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
683 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
684
21708942
JM
6852012-05-25 Joseph Myers <joseph@codesourcery.com>
686
687 [BZ #13717]
688 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
689 to 2.4.0 where earlier.
690 * sysdeps/unix/sysv/linux/configure: Regenerated.
691 * sysdeps/unix/sysv/linux/i386/chown.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/fchown.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/fchownat.c (fchownat)
700 [__ASSUME_32BITUIDS]: Make code unconditional.
701 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
702 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
703 <kernel-features.h>.
704 [__ASSUME_32BITUIDS]: Make code unconditional.
705 [!__ASSUME_32BITUIDS]: Remove conditional code.
706 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
707 <kernel-features.h>.
708 [__ASSUME_32BITUIDS]: Make code unconditional.
709 [!__ASSUME_32BITUIDS]: Remove conditional code.
710 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
711 <kernel-features.h>.
712 [__ASSUME_32BITUIDS]: Make code unconditional.
713 [!__ASSUME_32BITUIDS]: Remove conditional code.
714 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
715 <kernel-features.h>.
716 [__ASSUME_32BITUIDS]: Make code unconditional.
717 [!__ASSUME_32BITUIDS]: Remove conditional code.
718 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
719 <kernel-features.h>.
720 [__ASSUME_32BITUIDS]: Make code unconditional.
721 [!__ASSUME_32BITUIDS]: Remove conditional code.
722 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
723 <kernel-features.h>.
724 [__ASSUME_32BITUIDS]: Make code unconditional.
725 [!__ASSUME_32BITUIDS]: Remove conditional code.
726 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
727 <kernel-features.h>.
728 [__ASSUME_32BITUIDS]: Make code unconditional.
729 [!__ASSUME_32BITUIDS]: Remove conditional code.
730 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
731 <kernel-features.h>.
732 [__ASSUME_32BITUIDS]: Make code unconditional.
733 [!__ASSUME_32BITUIDS]: Remove conditional code.
734 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
735 <kernel-features.h>.
736 [__ASSUME_32BITUIDS]: Make code unconditional.
737 [!__ASSUME_32BITUIDS]: Remove conditional code.
738 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
739 <kernel-features.h>.
740 [__ASSUME_32BITUIDS]: Make code unconditional.
741 [!__ASSUME_32BITUIDS]: Remove conditional code.
742 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
743 <kernel-features.h>.
744 [__NR_setresgid] (__setresgid): Do not declare.
745 [__ASSUME_32BITUIDS]: Make code unconditional.
746 [!__ASSUME_32BITUIDS]: Remove conditional code.
747 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
748 <kernel-features.h>.
749 [__NR_setresuid] (__setresuid): Do not declare.
750 [__ASSUME_32BITUIDS]: Make code unconditional.
751 [!__ASSUME_32BITUIDS]: Remove conditional code.
752 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
753 <kernel-features.h>.
754 [__ASSUME_32BITUIDS]: Make code unconditional.
755 [!__ASSUME_32BITUIDS]: Remove conditional code.
756 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
757 <kernel-features.h>.
758 [__ASSUME_32BITUIDS]: Make code unconditional.
759 [!__ASSUME_32BITUIDS]: Remove conditional code.
760 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
761 <kernel-features.h>.
762 [__ASSUME_32BITUIDS]: Make code unconditional.
763 [!__ASSUME_32BITUIDS]: Remove conditional code.
764 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
765 <kernel-features.h>.
766 [__ASSUME_32BITUIDS]: Make code unconditional.
767 [!__ASSUME_32BITUIDS]: Remove conditional code.
768 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
769 <kernel-features.h>.
770 [__ASSUME_32BITUIDS]: Make code unconditional.
771 [!__ASSUME_32BITUIDS]: Remove conditional code.
772 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
773 <kernel-features.h>.
774 [__ASSUME_32BITUIDS]: Make code unconditional.
775 [!__ASSUME_32BITUIDS]: Remove conditional code.
776 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
777 <kernel-features.h>.
778 [__ASSUME_32BITUIDS]: Make code unconditional.
779 [!__ASSUME_32BITUIDS]: Remove conditional code.
780 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
781 <kernel-features.h>.
782 [__ASSUME_32BITUIDS]: Make code unconditional.
783 [!__ASSUME_32BITUIDS]: Remove conditional code.
784 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
785 <kernel-features.h>.
786 [__ASSUME_32BITUIDS]: Make code unconditional.
787 [!__ASSUME_32BITUIDS]: Remove conditional code.
788 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
789 <kernel-features.h>.
790 [__ASSUME_32BITUIDS]: Make code unconditional.
791 [!__ASSUME_32BITUIDS]: Remove conditional code.
792 * sysdeps/unix/sysv/linux/kernel-features.h
793 (__ASSUME_SETRESUID_SYSCALL): Remove.
794 (__ASSUME_SETRESGID_SYSCALL): Likewise.
795 (__ASSUME_32BITUIDS): Likewise.
796 (__ASSUME_LDT_WORKS): Likewise.
797 (__ASSUME_O_DIRECTORY): Likewise.
798 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
799 architecture but not kernel version.
800 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
801 (__ASSUME_MMAP2_SYSCALL): Likewise.
802 (__ASSUME_STAT64_SYSCALL): Likewise.
803 (__ASSUME_IPC64): Likewise.
804 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
805 <kernel-features.h>.
806 [__ASSUME_32BITUIDS]: Make code unconditional.
807 [!__ASSUME_32BITUIDS]: Remove conditional code.
808 * sysdeps/unix/sysv/linux/opendir.c: Do not include
809 <kernel-features.h>.
810 [__ASSUME_O_DIRECTORY]: Make code unconditional.
811 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
812 132096]: Remove conditional code.
813 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
814 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
815 <kernel-features.h>.
816 [__ASSUME_32BITUIDS]: Make code unconditional.
817 [!__ASSUME_32BITUIDS]: Remove conditional code.
818 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
819 <kernel-features.h>.
820 [__ASSUME_32BITUIDS]: Make code unconditional.
821 [!__ASSUME_32BITUIDS]: Remove conditional code.
822 * sysdeps/unix/sysv/linux/setegid.c: Do not include
823 <kernel-features.h>.
824 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
825 unconditional.
826 (__setresgid): Do not declare.
827 [__ASSUME_32BITUIDS]: Make code unconditional.
828 [!__ASSUME_32BITUIDS]: Remove conditional code.
829 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
830 <kernel-features.h>.
831 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
832 unconditional.
833 (__setresuid): Do not declare.
834 [__ASSUME_32BITUIDS]: Make code unconditional.
835 [!__ASSUME_32BITUIDS]: Remove conditional code.
836 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
837 <kernel-features.h>.
838 [__ASSUME_32BITUIDS]: Make code unconditional.
839 [!__ASSUME_32BITUIDS]: Remove conditional code.
840 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
841 <kernel-features.h>.
842 [__ASSUME_32BITUIDS]: Make code unconditional.
843 [!__ASSUME_32BITUIDS]: Remove conditional code.
844
a386f1cc
RH
8452012-05-25 Richard Henderson <rth@twiddle.net>
846
847 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
848 dl_hwcap to ifunc resolver.
849 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
850 elf_ifunc_invoke.
851 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
852 dl_hwcap to ifunc resolver.
853 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
854
b6550497
JM
8552012-05-24 Joseph Myers <joseph@codesourcery.com>
856
857 [BZ #14153]
858 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
859 for |x| <= 2**-26, not 2**-57.
860 * math/libm-test.inc (acos_test): Do not allow spurious underflow
861 exception.
862
b0bc23a1
JL
8632012-05-24 Jeff Law <law@redhat.com>
864
865 * stdio-common/Makefile (tests): Add bug25.
866 * stdio-common/bug25.c: New test.
867
347c92e9
L
8682012-05-24 H.J. Lu <hongjiu.lu@intel.com>
869
870 [BZ #13576]
871 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
872 multiple of MALLOC_ALIGNMENT in size.
873 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
874
6bcc8b3f
JM
8752012-05-24 Joseph Myers <joseph@codesourcery.com>
876
877 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
878 Require >= 256.
879 (FILENAME_MAX): Use macro-int-constant.
880 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
881 (_IOFBF): Use macro-int-constant.
882 (_IOLBF): Likewise.
883 (_IONBF): Likewise.
884 (SEEK_CUR): Likewise.
885 (SEEK_END): Likewise.
886 (SEEK_SET): Likewise.
887 (TMP_MAX): Likewise.
888 (EOF): Use macro-int-constant. Require < 0.
889 (NULL): Use macro-constant. Require == 0.
890 (stdin): Require type to be FILE *.
891 (stdout): Likewise.
892 (stderr): Likewise.
893 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
894 macro-int-constant.
895 (EXIT_SUCCESS): Likewise.
896 (NULL): Use macro-constant. Require == 0.
897 (RAND_MAX): Use macro-int-constant.
898 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
899 [C99-based standards] (strtof): Require function.
900 [C99-based standards] (strtold): Likewise.
901 [C99-based standards] (strtoll): Likewise.
902 [C99-based standards] (strtoull): Likewise.
903 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
904 [ISO || ISO99 || ISO11] (limits.h): Likewise.
905 [ISO || ISO99 || ISO11] (math.h): Likewise.
906 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
907 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
908 [ISO || ISO99 || ISO11] (*_t): Do not allow.
909
d18ea0c5
AS
9102012-05-24 Andreas Schwab <schwab@linux-m68k.org>
911
912 [BZ #14132]
56d25bb8
AS
913 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
914 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
915 * intl/dgettext.c (DCGETTEXT): Likewise.
916 * intl/gettext.c (DCGETTEXT): Likewise.
917 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
918 * posix/regex_internal.h (gettext): Likewise.
919 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
920 Remove declaration.
921 * include/argz.h (__argz_count_internal)
922 (__argz_stringify_internal): Remove declaration.
923 (__argz_count, __argz_stringify): Declare hidden proto.
924 * intl/dcgettext.c: Remove use of INTDEF.
925 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
926 * string/argz-stringify.c: Likewise.
927 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
928 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
929 Declare hidden proto.
d18ea0c5
AS
930 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
931 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
932 Declare hidden proto.
933 * include/stdio.h (__asprintf_internal): Don't declare.
934 (__asprintf): Don't define as macro. Declare hidden proto.
935 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
936 (__fsetlocking): Declare hidden proto.
937 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
938 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
939 hidden proto.
940 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
941 (_IO_setlinebuf): Remove use of INTUSE.
942 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
943 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
944 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
945 Remove declaration.
946 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
947 (_IO_do_flush): Remove use of INTUSE.
948 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
949 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
950 (_IO_adjust_column, _IO_least_wmarker)
951 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
952 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
953 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
954 (_IO_default_doallocate, _IO_wdefault_doallocate)
955 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
956 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
957 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
958 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
959 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
960 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
961 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
962 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
963 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
964 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
965 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
966 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
967 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
968 proto.
969 (_IO_flush_all_internal, _IO_adjust_column_internal)
970 (_IO_default_uflow_internal, _IO_default_finish_internal)
971 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
972 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
973 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
974 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
975 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
976 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
977 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
978 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
979 (_IO_file_close_internal, _IO_file_close_it_internal)
980 (_IO_file_underflow_internal, _IO_file_overflow_internal)
981 (_IO_file_init_internal, _IO_file_attach_internal)
982 (_IO_file_fopen_internal, _IO_file_read_internal)
983 (_IO_file_sync_internal, _IO_file_seek_internal)
984 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
985 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
986 (_IO_str_underflow_internal, _IO_str_overflow_internal)
987 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
988 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
989 (_IO_list_all_internal, _IO_link_in_internal)
990 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
991 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
992 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
993 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
994 (_IO_do_write_internal, _IO_padn_internal)
995 (_IO_getline_info_internal, _IO_getline_internal)
996 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
997 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
998 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
999 (_IO_vfscanf_internal, _IO_vfprintf_internal)
1000 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
1001 (_IO_init_internal, _IO_un_link_internal): Don't declare.
1002 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
1003 with libc_hidden_ver, remove use of INTUSE.
1004 * libio/genops.c: Likewise.
1005 * libio/freopen.c: Likewise.
1006 * libio/freopen64.c: Likewise.
1007 * libio/iofclose.c: Likewise.
1008 * libio/iofdopen.c: Likewise.
1009 * libio/iofflush.c: Likewise.
1010 * libio/iofflush_u.c: Likewise.
1011 * libio/iofgets.c: Likewise.
1012 * libio/iofgets_u.c: Likewise.
1013 * libio/iofopen.c: Likewise.
1014 * libio/iofopncook.c: Likewise.
1015 * libio/iofread.c: Likewise.
1016 * libio/iofread_u.c: Likewise.
1017 * libio/ioftell.c: Likewise.
1018 * libio/iofwrite.c: Likewise.
1019 * libio/iogetline.c: Likewise.
1020 * libio/iogets.c: Likewise.
1021 * libio/iogetwline.c: Likewise.
1022 * libio/iopadn.c: Likewise.
1023 * libio/iopopen.c: Likewise.
1024 * libio/ioseekoff.c: Likewise.
1025 * libio/ioseekpos.c: Likewise.
1026 * libio/iosetbuffer.c: Likewise.
1027 * libio/iosetvbuf.c: Likewise.
1028 * libio/ioungetc.c: Likewise.
1029 * libio/ioungetwc.c: Likewise.
1030 * libio/iovdprintf.c: Likewise.
1031 * libio/iovsprintf.c: Likewise.
1032 * libio/iovsscanf.c: Likewise.
1033 * libio/memstream.c: Likewise.
1034 * libio/obprintf.c: Likewise.
1035 * libio/oldfileops.c: Likewise.
1036 * libio/oldiofclose.c: Likewise.
1037 * libio/oldiofdopen.c: Likewise.
1038 * libio/oldiofopen.c: Likewise.
1039 * libio/oldiopopen.c: Likewise.
1040 * libio/oldstdfiles.c: Likewise.
1041 * libio/putc.c: Likewise.
1042 * libio/setbuf.c: Likewise.
1043 * libio/setlinebuf.c: Likewise.
1044 * libio/stdfiles.c: Likewise.
1045 * libio/strops.c: Likewise.
1046 * libio/vasprintf.c: Likewise.
1047 * libio/vscanf.c: Likewise.
1048 * libio/vsnprintf.c: Likewise.
1049 * libio/vswprintf.c: Likewise.
1050 * libio/wfiledoalloc.c: Likewise.
1051 * libio/wfileops.c: Likewise.
1052 * libio/wgenops.c: Likewise.
1053 * libio/wmemstream.c: Likewise.
1054 * libio/wstrops.c: Likewise.
1055 * libio/__fpurge.c: Likewise.
1056 * libio/__fsetlocking.c: Likewise.
1057 * assert/assert.c: Likewise.
1058 * debug/fgets_chk.c: Likewise.
1059 * debug/fgets_u_chk.c: Likewise.
1060 * debug/fread_chk.c: Likewise.
1061 * debug/fread_u_chk.c: Likewise.
1062 * debug/gets_chk.c: Likewise.
1063 * debug/obprintf_chk.c: Likewise.
1064 * debug/vasprintf_chk.c: Likewise.
1065 * debug/vdprintf_chk.c: Likewise.
1066 * debug/vsnprintf_chk.c: Likewise.
1067 * debug/vsprintf_chk.c: Likewise.
1068 * malloc/mtrace.c: Likewise.
1069 * misc/error.c: Likewise.
1070 * misc/syslog.c: Likewise.
1071 * stdio-common/asprintf.c: Likewise.
1072 * stdio-common/fxprintf.c: Likewise.
1073 * stdio-common/getw.c: Likewise.
1074 * stdio-common/isoc99_fscanf.c: Likewise.
1075 * stdio-common/isoc99_scanf.c: Likewise.
1076 * stdio-common/isoc99_vfscanf.c: Likewise.
1077 * stdio-common/isoc99_vscanf.c: Likewise.
1078 * stdio-common/isoc99_vsscanf.c: Likewise.
1079 * stdio-common/printf-prs.c: Likewise.
1080 * stdio-common/printf_fp.c: Likewise.
1081 * stdio-common/printf_fphex.c: Likewise.
1082 * stdio-common/printf_size.c: Likewise.
1083 * stdio-common/putw.c: Likewise.
1084 * stdio-common/scanf.c: Likewise.
1085 * stdio-common/sprintf.c: Likewise.
1086 * stdio-common/tmpfile.c: Likewise.
1087 * stdio-common/vfprintf.c: Likewise.
1088 * stdio-common/vfscanf.c: Likewise.
1089 * stdlib/strfmon_l.c: Likewise.
1090 * sunrpc/openchild.c: Likewise.
1091 * sunrpc/xdr_stdio.c: Likewise.
1092 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
1093 * sysdeps/mach/hurd/tmpfile.c: Likewise.
1094
d6c33fda
RM
10952012-05-24 Roland McGrath <roland@hack.frob.com>
1096
c1487492
RM
1097 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
1098
1099 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
1100 in the third column, to generate for the shared library an IFUNC
1101 that uses _dl_vdso_vsym.
1102 * Makerules (COMPILE.c, compile-stdin.c): New variables.
1103 * Makeconfig (object-suffixes-noshared): New variable.
1104
1105 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
1106 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
1107 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
1108 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
1109
d6c33fda
RM
1110 [BZ #14132]
1111 * include/sys/time.h (__gettimeofday): Remove macro.
1112 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
1113 * time/gettimeofday.c (__gettimeofday): Remove #undef.
1114 Remove INTDEF.
1115 (__gettimeofday): Add libc_hidden_def.
1116 (gettimeofday): Add libc_hidden_weak.
1117 * sysdeps/mach/gettimeofday.c: Likewise.
1118 * sysdeps/posix/gettimeofday.c: Likewise.
1119 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
1120 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
1121 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
1122 (__gettimeofday_internal): Remove strong_alias.
1123 (__gettimeofday): Add libc_hidden_def.
1124 (gettimeofday): Add libc_hidden_weak.
1125 * sysdeps/unix/syscalls.list (gettimeofday):
1126 Remove __gettimeofday_internal alias.
1127
b5a2bbe6
L
11282012-05-24 Daniel Jacobowitz <drow@false.org>
1129 H.J. Lu <hongjiu.lu@intel.com>
1130
1131 [BZ #12495]
1132 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
1133 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
1134 (largebin_index_32_big): New.
1135 (largebin_index): Use it for 16-byte alignment.
1136 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
1137 correction with front_misalign.
1138
cfba4fda
L
11392012-05-24 H.J. Lu <hongjiu.lu@intel.com>
1140
7f907421
L
1141 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
1142 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
1143 Likewise.
1144 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
1145 Likewise.
1146 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
1147 Likewise.
1148 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
1149 Likewise.
1150 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
1151 Likewise.
1152 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
1153 Likewise.
1154 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
1155 Likewise.
1156 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
1157 Likewise.
1158 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
1159 Likewise.
1160 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
1161 Likewise.
1162 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
1163 Likewise.
1164 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
1165 Likewise.
1166
cfba4fda
L
1167 * scripts/data/c++-types-x32-linux-gnu.data: New file.
1168 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
1169
80bad0cc
JM
11702012-05-24 Joseph Myers <joseph@codesourcery.com>
1171
7a25eb06
JM
1172 [BZ #10846]
1173 [BZ #14036]
1174 * math/libm-test.inc (exp_test): Add test from bug 14036.
1175 (pow_test): Add test from bug 10846.
1176
795405f9
JM
1177 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
1178 and other flags.
1179 (special_function): Do not include flags in test name.
1180 (parse_args): Likewise.
1181 * sysdeps/i386/fpu/libm-test-ulps: Update.
1182 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
1183 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
1184 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
1185 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1186
80bad0cc
JM
1187 * math/gen-libm-test.pl (%beautify): Add entries for underflow
1188 exceptions.
1189 * math/libm-test.inc ("Philosophy"): Update comment about
1190 exception testing.
1191 (UNDERFLOW_EXCEPTION): New macro.
1192 (UNDERFLOW_EXCEPTION_OK): Likewise.
1193 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
1194 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
1195 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
1196 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
1197 (INVALID_EXCEPTION_OK): Update value.
1198 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
1199 (OVERFLOW_EXCEPTION_OK): Likewise.
1200 (IGNORE_ZERO_INF_SIGN): Likewise.
1201 (test_exceptions): Handle underflow exceptions.
1202 (acos_test): Update for underflow exception expectations.
1203 (cexp_test): Likewise.
1204 (clog_test): Likewise.
1205 (clog10_test): Likewise.
1206 (csqrt_test): Likewise.
1207 (ctan_test): Likewise.
1208 (ctanh_test): Likewise.
1209 (exp_test): Likewise.
1210 (exp10_test): Likewise.
1211 (exp2_test): Likewise.
1212 (expm1_test): Likewise.
1213 (fma_test): Likewise.
1214 (j0_test): Likewise.
1215 (jn_test): Likewise.
1216 (nexttoward_test): Likewise.
1217 (pow_test): Likewise.
1218 (scalbn_test): Likewise.
1219 (scalbln_test): Likewise.
1220 (tan_test): Likewise.
1221 (y1_test): Likewise.
1222 * sysdeps/i386/fpu/libm-test-ulps: Update.
1223 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1224
9e0e3d0b
DM
12252012-05-23 David S. Miller <davem@davemloft.net>
1226
1227 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
1228 (__libc_sigaction): Remove unused local variables.
1229
ccd0a08f
L
12302012-05-23 H.J. Lu <hongjiu.lu@intel.com>
1231
1232 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
1233
62bdf9a6
PE
12342012-05-23 Paul Eggert <eggert@cs.ucla.edu>
1235
f8591f80
PE
1236 mktime: avoid signed integer overflow
1237 * time/mktime.c (__mktime_internal): Do not mishandle the case
1238 where diff == INT_MIN.
1239
94c7d826
PE
1240 mktime: simplify computation of average
1241 * time/mktime.c (ranged_convert): Use new time_t_avg function
1242 instead of rolling our own (probably-slower) code.
1243
ce73d683
PE
1244 mktime: do not assume signed right shift propagates sign bit
1245 * time/mktime.c (isdst_differ): New static function.
1246 (__mktime_internal): No need to normalize tm_isdst now.
1247 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
1248 tm_isdst values.
1249
72a22e59
PE
1250 mktime: merge another wrapv change from gnulib
1251 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
1252 from some compilers.
1253
68605433
PE
1254 mktime: remove incorrect attempt at unusual arithmetics
1255 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
1256 The code didn't really work on such machines anyway.
1257 (TYPE_MINIMUM): Assume two's complement.
1258 (twos_complement_arithmetic): Verify that long_int and time_t
1259 are two's complement (or unsigned, in the latter case).
1260
03cf7fe3
PE
1261 mktime: check signed shifts on long_int and time_t, too
1262 * time/mktime.c (SHR): Check that shifts work as desired
1263 on the types long_int and time_t too, as SHR is used on
1264 such types.
1265
f04dfbc2
PE
1266 mktime: do not assume 'long' is wide enough
1267 * time/mktime.c (verify): Move decl up.
1268 (long_int): New type.
1269 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
1270 to remove assumption in the code that 'long' is wide enough to
1271 store year values. This assumption is not true on x32 and on
1272 some non-glibc platforms.
1273
62bdf9a6
PE
1274 mktime: merge wrapv change from gnulib
1275 * time/mktime.c (WRAPV): New macro.
1276 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
1277 (guess_time_tm, __mktime_internal): Do not assume that signed
1278 integer overflow wraps around; modern compilers generate code
1279 where this assumption is no longer valid.
1280
5e292e4f
L
12812012-05-23 H.J. Lu <hongjiu.lu@intel.com>
1282
1283 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
1284 Replace "jmp L(pseudo_end)" with "ret".
1285 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
1286 Likewise.
1287
8caf8c87
AJ
12882012-05-23 Andreas Jaeger <aj@suse.de>
1289
1290 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
1291 * sysdeps/unix/sysv/linux/poll.c: Remove file.
1292
1a09dc56
AJ
12932012-05-23 Andreas Jaeger <aj@suse.de>
1294 Maximilian Attems <max@stro.at>
1295
1296 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
1297 New macros.
1298
1c87aba0
L
12992012-05-23 H.J. Lu <hongjiu.lu@intel.com>
1300
1301 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
1302 code so that pseudo_end is just ret and the stack pointer is
1303 correct also for static library in error case.
1304
40e45bd5
JM
13052012-05-23 Joseph Myers <joseph@codesourcery.com>
1306
c2670533
JM
1307 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
1308 move to syscalls.list.
1309 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
1310 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
1311 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
1312 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
1313
40e45bd5
JM
1314 * manual/install.texi (Running make install): Do not mention Linux
1315 kernel version for which pt_chown is not needed.
1316 (Linux): Do not mention problems with nscd with 2.0 kernels.
1317 * INSTALL: Regenerated.
1318
be08eda5
AJ
13192012-05-23 Andreas Jaeger <aj@suse.de>
1320
1321 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
1322 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
1323 macro.
1324 * sysdeps/unix/sysv/linux/s390/bits/mman.h
1325 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
1326 * sysdeps/unix/sysv/linux/sh/bits/mman.h
1327 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
1328 * sysdeps/unix/sysv/linux/i386/bits/mman.h
1329 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
1330 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
1331 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
1332 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
1333 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
1334 * sysdeps/unix/sysv/linux/bits/in.h
1335 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
1336
a6a056bb
RM
13372012-05-22 Roland McGrath <roland@hack.frob.com>
1338
1339 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
1340 (PREPARE_VERSION): Just use assert instead, it will be elided
1341 under [NDEBUG] anyway.
1342
c9009328
L
13432012-05-22 H.J. Lu <hongjiu.lu@intel.com>
1344
1345 * sysdeps/unix/sysv/linux/Makefile: Include
1346 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
cb191f23 1347 (sysdep_routines): Remove sysctl.
c9009328
L
1348 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
1349 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
1350 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
1351 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
1352 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
1353
73338355
AJ
13542012-05-22 Andreas Jaeger <aj@suse.de>
1355
1356 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
1357 that pseudo_end is just ret and the stack pointer is correct also
1358 for static library in error case.
1359
d44638b0
PP
13602012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
1361
1362 [BZ #14122]
1363 * nss/nsswitch.c (defconfig_entries): New variable.
1364 (__nss_database_lookup): Don't leak defconfig entries.
1365 (nss_parse_service_list): Don't leak on error paths.
1366 (free_database_entries): New function.
1367 (free_defconfig): New function.
1368 (free_mem): Move common code to free_database_entries.
1369
31a39bd8
L
13702012-05-22 H.J. Lu <hongjiu.lu@intel.com>
1371
da0331a8
L
1372 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
1373 Add arch_prctl.
1374 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
1375
31a39bd8
L
1376 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
1377 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
1378 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
1379 New macro.
1380 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
1381 (INTERNAL_SYSCALL_TYPES): Likewise.
1382 (LOAD_ARGS_TYPES_[1-6]): Likewise.
1383 (LOAD_REGS_TYPES_[1-6]): Likewise.
1384 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
1385 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
1386
45470df3
AZ
13872012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1388
1389 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
1390 copysignl for GLIBC_2_0.
1391 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
1392 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
1393 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
1394 logbl for GLIBC_2_0.
1395 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
1396 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
1397
98a61bcb
L
13982012-05-22 H.J. Lu <hongjiu.lu@intel.com>
1399
a4f6e481
L
1400 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
1401 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
1402
f63d5db6
L
1403 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
1404 Use "neg %eax".
1405
98a61bcb
L
1406 * time/mktime.c: Update copyright years.
1407
95770f14
PE
14082012-05-22 Paul Eggert <eggert@cs.ucla.edu>
1409
6226efbd
PE
1410 mktime: merge comment-quoting-style change from gnulib
1411 * time/mktime.c: Quote 'like this' in comments.
1412 The GNU coding standards suggest that we no longer quote `like this',
1413 as "`" and "'" are typically rendered asymmetrically nowadays.
1414 The typical gnulib style is to quote 'like this' when quoting
1415 code, and "like this" when quoting English.
1416
b99e4f78
PE
1417 * time/mktime.c (compile-command): Add "-I.".
1418
643e01e6
PE
1419 mktime: merge mktime-internal.h change from gnulib
1420 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
1421
2554247d
PE
1422 mktime: merge time_r change from gnulib
1423 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
1424
826dd0ab
PE
1425 mktime: merge DEBUG change from gnulib
1426 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
1427 case system <time.h> has a #define.
1428
bd83aabe
PE
1429 mktime: merge <sys/types.h> change from gnulib
1430 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
1431 since <time.t> is now guaranteed to define time_t.
1432
95770f14
PE
1433 mktime: merge HAVE_CONFIG_H change from gnulib
1434 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
1435
5e1a27a9
L
14362012-05-22 H.J. Lu <hongjiu.lu@intel.com>
1437
0e44a77e
L
1438 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
1439 Use "neg %eax".
1440
5e1a27a9
L
1441 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
1442 __rlim_t cast.
1443 (struct rusage): Use anonymous union to pad each field to
1444 __syscall_slong_t.
1445
46259bec
DM
14462012-05-21 David S. Miller <davem@davemloft.net>
1447
1448 * Makefules (o-iterator): Remove .s cases.
1449 (compile-command.s): Delete.
1450 (COMPILE.s): Delete.
1451 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
1452
59f0c22e
JM
14532012-05-21 Joseph Myers <joseph@codesourcery.com>
1454
1455 * configure.in (libc_cv_predef_stack_protector): Only consider
1456 "foobar" and "__stack_chk_fail" lines in libc_undefs.
1457 * configure: Regenerated.
1458
20c07380
L
14592012-05-21 H.J. Lu <hongjiu.lu@intel.com>
1460
bbb3154b
L
1461 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
1462 New macro. Use R*LP on int and pointer.
1463 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
c5b3a2c0
L
1464 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
1465 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
bbb3154b
L
1466 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
1467
20c07380
L
1468 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
1469 [__WORDSIZE_TIME64_COMPAT32] instead of
1470 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
1471 (struct utmp): Likewise.
1472 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
1473 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
1474 Renamed to ...
1475 (__WORDSIZE_TIME64_COMPAT32): This.
1476 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
1477 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
1478 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
1479 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
1480 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
1481 (__WORDSIZE_TIME64_COMPAT32): New macro.
1482
d8d1017e
AJ
14832012-05-21 Andreas Jaeger <aj@suse.de>
1484
1485 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
1486 only if [SHARED]. Add prototype for __wcschr_ia32.
1487
6c7fb145
RM
14882012-05-21 Roland McGrath <roland@hack.frob.com>
1489
1490 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
1491 of %rbp unmolested in the jmp_buf while mangling the low bits.
1492 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
1493 unmolested high bits of %rbp while demangling the low bits.
1494 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
1495
66274218
AJ
14962012-05-21 Andreas Jaeger <aj@suse.de>
1497
07c58f8f
AJ
1498 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
1499 * sunrpc/svc_simple.c: Use it for registerrpc.
1500 * sunrpc/xcrypt.c: Use it for passwd2des.
1501
66274218
AJ
1502 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
1503
61f65140
L
15042012-05-21 H.J. Lu <hongjiu.lu@intel.com>
1505
1506 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
1507 Don't define if [__SYSCALL_WORDSIZE != 32].
1508 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
1509 New macro.
1510
5fefb436
AJ
15112012-05-21 Bruno Haible <bruno@clisp.org>
1512 Andreas Jaeger <aj@suse.de>
1513
1514 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
1515 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
1516 inptr and inend for must_buffer_ch.
1517 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
1518 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
1519 * stdio-common/Makefile (tests): Remove bug15.
1520 (bug15-ENV): Remove macro.
1521 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
1522 anymore.
1523
d8e272ab
AJ
15242012-05-19 Andreas Jaeger <aj@suse.de>
1525 Roland McGrath <roland@hack.frob.com>
1526
1527 * manual/contrib.texi: Completely rewritten. It contains now an
1528 alphabetical list of contributors and their contributions.
1529
4a56a162
RH
15302012-05-21 Richard Henderson <rth@twiddle.net>
1531
1532 * misc/getauxval.c (__getauxval): Use unsigned long int.
1533 * misc/sys/auxv.h: Include <sys/cdefs.h>.
1534 (getauxval): Use unsigned long int.
1535
d024d23c
L
15362012-05-21 H.J. Lu <hongjiu.lu@intel.com>
1537
1538 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
1539
cbc00a03
RM
15402012-05-21 Roland McGrath <roland@hack.frob.com>
1541
1542 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
1543 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
1544 __alignof__ (long double).
1545
478143fa
AZ
15462012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1547
1548 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1549
c7683a6d
RH
15502012-05-20 Richard Henderson <rth@twiddle.net>
1551
1552 * misc/getauxval.c: New file.
1553 * misc/sys/auxv.h: New file.
1554 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
1555 (routines): Add getauxval.
1556 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
1557 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
1558 * elf/dl-sysdep.c (_dl_auxv): Remove.
1559 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
1560 * elf/dl-support.c (_dl_auxv): New variable.
1561 (_dl_aux_init): Initialize it.
1562 * manual/startup.texi (Auxiliary Vector): New node.
1563 * sysdeps/generic/bits/hwcap.h: New file.
1564 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
1565 * sysdeps/powerpc/sysdep.h: ... here. Include it.
1566 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
1567 * sysdeps/sparc/sysdep.h: ... here. Include it.
1568 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
1569 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
cbc00a03
RM
1570 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
1571 Update.
c7683a6d
RH
1572 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
1573 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
1574 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
1575 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
1576 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
1577 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
1578 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
1579 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
1580
a6f1845d
AZ
15812012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1582
1583 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1584
cbcbe830
DM
15852012-05-19 David S. Miller <davem@davemloft.net>
1586
1587 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1588
e0b16cc2
JM
15892012-05-19 Joseph Myers <joseph@codesourcery.com>
1590
1591 [BZ #14123]
1592 * math/s_ccosh.c: Include <float.h>
1593 (__ccosh): Avoid internal overflow calculating sinh and cosh
1594 values before multiplying by sin and cos values.
1595 * math/s_ccoshf.c: Likewise.
1596 * math/s_ccoshl.c: Likewise.
1597 * math/s_csin.c: Likewise.
1598 * math/s_csinf.c: Likewise.
1599 * math/s_csinl.c: Likewise.
1600 * math/s_csinh.c: Likewise.
1601 * math/s_csinhf.c: Likewise.
1602 * math/s_csinhl.c: Likewise.
1603 * math/libm-test.inc (ccos_test): Add more tests.
1604 (ccosh_test): Likewise.
1605 (csin_test): Likewise.
1606 (csinh_test): Likewise.
1607 * sysdeps/i386/fpu/libm-test-ulps: Update.
1608 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1609
6ad13e08
L
16102012-05-19 H.J. Lu <hongjiu.lu@intel.com>
1611
f66f0ce8
L
1612 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
1613 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
1614
6ad13e08
L
1615 * sysdeps/x86_64/x32/_itoa.h: Add comment.
1616
b1d072a7
JM
16172012-05-19 Joseph Myers <joseph@codesourcery.com>
1618
1619 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
1620 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
1621 * sysdeps/powerpc/soft-fp/Versions: Likewise.
1622 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
1623 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
1624 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
1625 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
1626 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
1627 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
1628 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
1629 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
1630 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
1631 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
1632 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
1633 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
1634 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
1635 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
1636 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
1637 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
1638 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
1639 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
1640 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
1641 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
1642 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
1643 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
1644 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
1645 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
1646 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
1647 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
1648 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
1649 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
1650
9eae47cb
AJ
16512012-05-18 Andreas Jaeger <aj@suse.de>
1652
1653 * csu/.gitignore: Delete.
1654
bb07f69f
L
16552012-05-18 H.J. Lu <hongjiu.lu@intel.com>
1656
1657 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
1658 (timex): Use __syscall_slong_t.
1659
e6bdb741
AJ
16602012-05-18 Andreas Jaeger <aj@suse.de>
1661 Carlos O'Donell <carlos_odonell@mentor.com>
1662
1663 * manual/install.texi (Configuring and compiling): Update
1664 description about files modified in the source directory.
d6c33fda 1665 * INSTALL: Regenerated.
e6bdb741 1666
1b74487e
L
16672012-05-18 H.J. Lu <hongjiu.lu@intel.com>
1668
1669 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
1670 value. Use "or" to set return value to -1.
1671 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
1672 negate return value.
1673
a88b64b9
TMQMF
16742012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
1675
1676 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
1677 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
1678 failure if the compiler has Graphite support disabled.
1679 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
1680 Likewise.
1681 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
1682 CFLAGS-memmove.c): Likewise.
1683 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
1684 Likewise.
1685
3707636e
L
16862012-05-18 H.J. Lu <hongjiu.lu@intel.com>
1687
610b8622
L
1688 * sysdeps/x86_64/x32/_itoa.h: New file.
1689
7cd195df
L
1690 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
1691 getdents system call only if kernel and user dirents have the
1692 same d_ino and d_off.
1693
94b07d20
L
1694 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
1695 LLONG_MAX != LONG_MAX.
1696 (_itoa_word): Use _ITOA_WORD_TYPE on value.
1697 (_fitoa_word): Likewise.
1698
18298070
L
1699 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
1700 years.
1701 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
1702 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
1703 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
1704
553c7ea4
L
1705 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
1706 include <bits/wordsize.h>. Check __x86_64__ instead of
1707 __WORDSIZE.
1708 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
1709 if __x86_64__ is defined. Use anonymous union on fpstate.
1710
3707636e
L
1711 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
1712 anonymous union.
1713
b53ef01a
AS
17142012-05-18 Andreas Schwab <schwab@linux-m68k.org>
1715
37fb1dc0
AS
1716 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
1717 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
1718 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
1719 Refer to _rtld_local_ro instead of _rtld_global_ro.
1720 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
1721 Likewise.
1722 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
1723 Likewise.
1724 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
1725 Likewise.
1726 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
1727 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
1728 of _rtld_global, and rtld_progname instead of _dl_argv[0].
1729
b53ef01a
AS
1730 * sysdeps/powerpc/powerpc32/dl-machine.c
1731 (__elf_machine_runtime_setup) [PROF]: Don't reference
1732 _dl_prof_resolve.
1733
7a185db2
AJ
17342012-05-18 Andreas Jaeger <aj@suse.de>
1735
1736 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
1737 function only available for GCCs before 3.4 since GCC 3.4
1738 introduced a builtin.
1739 (lrint): Likewise.
1740 (llrintf): Likewise.
1741 (llrint): Likewise.
1742 (fmaxf): Likewise.
1743 (fmax): Likewise.
1744 (fminf): Likewise.
1745 (fmin): Likewise.
1746 (rint): Likewise.
1747 (rintf): Likewise.
1748 (nearbyint): Likewise.
1749 (nearbyintf): Likewise.
1750 (ceil): Likewise.
1751 (ceilf): Likewise.
1752 (floor): Likewise.
1753 (floorf): Likewise.
1754
3e5aef87
L
17552012-05-17 H.J. Lu <hongjiu.lu@intel.com>
1756
428bd707
L
1757 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
1758 on both fields and cast pointer to __syscall_ulong_t.
1759
3e5aef87
L
1760 * bits/types.h (__fsword_t): New type.
1761 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
1762 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
1763 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
1764 (__FSWORD_T_TYPE): Likewise.
1765 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
1766 (__FSWORD_T_TYPE): Likewise.
1767 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
1768 (__FSWORD_T_TYPE): Likewise.
1769 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
1770 (__FSWORD_T_TYPE): Likewise.
1771 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
1772 __SWORD_TYPE with __fsword_t.
1773 (statfs64): Likewise.
1774
1ba7c3dc
DM
17752012-05-17 David S. Miller <davem@davemloft.net>
1776
1777 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
1778
59910343
AJ
17792012-05-17 Andreas Jaeger <aj@suse.de>
1780
1781 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
1782 warning.
1783
2e4c1e9e
L
17842012-05-17 H.J. Lu <hongjiu.lu@intel.com>
1785
1786 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
1787
de7f5ce7
AJ
17882012-05-17 Andreas Jaeger <aj@suse.de>
1789
1790 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
1791 when it is used.
1792
286abc3d
CM
17932012-05-17 Chris Metcalf <cmetcalf@tilera.com>
1794
1795 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
1796
477cc68e
L
17972012-05-17 H.J. Lu <hongjiu.lu@intel.com>
1798
1799 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
1800 * sysdeps/x86_64/tst-mallocalign1.c: New file.
1801
1a0994f5
CD
18022012-05-17 Andreas Jaeger <aj@suse.de>
1803 Carlos O'Donell <carlos_odonell@mentor.com>
1804
1805 [BZ #14059]
1806 * sysdeps/x86_64/multiarch/init-arch.h
1807 (bit_YMM_Usable): Rename to...
1808 (bit_AVX_Usable): ... this.
1809 (bit_FMA4_Usable): New macro.
1810 (bit_XMM_state): New macro.
1811 (bit_YMM_state): New macro.
1812 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
1813 [__ASSEMBLER__] (index_AVX_Usable): ... this.
1814 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
1815 (CPUID_OSXSAVE): New macro.
1816 (CPUID_AVX): New macro.
1817 (CPUID_FMA4): New macro.
1818 (index_YMM_Usable): Rename to...
1819 (index_AVX_Usable): ... this.
1820 (HAS_AVX): Use HAS_ARCH_FEATURE.
1821 (HAS_FMA4): Likewise.
1822 (HAS_YMM_USABLE): Remove.
1823 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
1824 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
1825 are present.
1826 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
1827 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
1828 * sysdeps/x86_64/multiarch/Makefile: Likewise.
1829 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
1830 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
1831
0af797de
CM
18322012-05-17 Chris Metcalf <cmetcalf@tilera.com>
1833
1834 * math/libm-test.c: Support platforms without multiple rounding modes.
1835 * math/bug-nextafter.c: Support platforms without FP exceptions.
1836 * math/bug-nexttoward.c: Likewise.
1837 * math/test-fenv.c: Likewise.
1838 * math/test-misc.c: Likewise.
1839 * stdlib/bug-getcontext.c: Likewise.
1840
e39745ff
AJ
18412012-05-17 Andreas Jaeger <aj@suse.de>
1842
1843 * manual/examples/search.c (critter_cmp): Change signature to
1844 avoid warnings.
1845 * manual/string.texi (Collation Functions): Likewise.
1846
48970aba
L
18472012-05-16 H.J. Lu <hongjiu.lu@intel.com>
1848
1849 * bits/types.h: Fold copyright years.
1850 * bits/typesizes.h: Likewise.
1851 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
1852 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
1853 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
1854 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
1855 * time/time.h: Likewise.
1856
bedee953
PP
18572012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
1858
1859 [BZ #208]
1860 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
1861 in instead of returning them. Return void.
1862 (__libc_mallinfo): Accumulate over all arenas.
1863 (__malloc_stats): Adjust for change in int_mallinfo interface.
1864
61653dfb
RM
18652012-05-16 Roland McGrath <roland@hack.frob.com>
1866
30b99d79
RM
1867 [BZ #10375]
1868 * configure.in (NM): Add AC_CHECK_TOOL for it.
1869 (libc_extra_cflags): New substituted variable.
1870 Check for -fstack-protector being used implicitly.
1871 * configure: Regenerated.
1872 * config.make.in (config-extra-cflags): New variable,
1873 gets @libc_extra_cflags@.
1874 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
1875
61653dfb
RM
1876 [BZ #10375]
1877 * configure.in: Check for _FORTIFY_SOURCE being predefined.
1878 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
1879 * configure: Regenerated.
1880 * config.make.in (CPPUNDEFS): New substituted variable.
1881 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
1882 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
1883 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
1884
661768bb
L
18852012-05-16 H.J. Lu <hongjiu.lu@intel.com>
1886
1887 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
1888 (mq_attr): Use __syscall_slong_t.
1889
d4261567
L
18902012-05-16 H.J. Lu <hongjiu.lu@intel.com>
1891
1892 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
1893 Check __x86_64__ instead of __WORDSIZE.
1894 (_STAT_VER_LINUX): Likewise.
1895 (stat): Check __x86_64__ instead of __WORDSIZE. Use
1896 __syscall_ulong_t and __syscall_slong_t.
1897 (stat64): Likewise.
1898
cf3ff365
L
18992012-05-16 H.J. Lu <hongjiu.lu@intel.com>
1900
1901 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
1902
76cf3e4d
L
19032012-05-16 H.J. Lu <hongjiu.lu@intel.com>
1904
1905 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
1906
a637753a
L
19072012-05-16 H.J. Lu <hongjiu.lu@intel.com>
1908
1909 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
1910 __syscall_ulong_t.
1911
d5e05119
L
1912 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
1913 include <bits/wordsize.h>. Check __x86_64__ instead of
1914 __WORDSIZE.
1915 (greg_t): Use "__extension__ long long int" if __x86_64__ is
1916 defined.
1917 (mcontext_t): Replace "unsigned long" with "unsigned long long".
1918
f62ee380
L
1919 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
1920 include <bits/wordsize.h>. Check __x86_64__ instead of
1921 __WORDSIZE.
1922 (user_regs_struct): Use "__extension__ unsigned long long"
1923 instead of "unsigned long" if __x86_64__ is defined.
1924 (user): Likewise. Pad after pointer field if __ILP32__ is
1925 defined.
1926
4e124ced
JM
19272012-05-16 Joseph Myers <joseph@codesourcery.com>
1928
6a3951a0
JM
1929 * configure.in (makeinfo): Require version 4.5 or later. Allow
1930 versions 5 to 9.
1931 * configure: Regenerated.
1932 * manual/install.texi (texinfo): Increase version requirement to
1933 4.5 or later.
1934 * INSTALL: Regenerated.
1935
4e124ced
JM
1936 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
1937
953ca31a
L
19382012-05-16 H.J. Lu <hongjiu.lu@intel.com>
1939
1940 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
1941
617aca05
L
1942 * sysdeps/x86_64/x32/ffs.c: New file.
1943
5762f7ae
L
1944 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
1945 __syscall_ulong_t.
1946 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
1947 defined. Use __syscall_ulong_t.
1948 (shminfo): Use __syscall_ulong_t.
1949 (shm_info): Likewise.
1950
a26b6856
L
1951 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
1952 __syscall_ulong_t.
1953
cb2b9ef7
L
1954 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
1955 <bits/wordsize.h>.
1956 (msgqnum_t): Use __syscall_ulong_t.
1957 (msglen_t): Likewise.
1958 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
1959 __syscall_ulong_t.
1960
34683bb0
L
1961 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
1962 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
1963
84a68786
L
1964 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
1965
48baa5f1
L
1966 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
1967 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
1968
180be88b
L
1969 * sysvipc/sys/msg.h (msgbuf): Replace long int with
1970 __syscall_slong_t.
1971
5e90c8ad
L
1972 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
1973 include <bits/wordsize.h>. Check __x86_64__ instead of
1974 __WORDSIZE.
1975
23dfb58b
L
1976 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
1977 "unsigned long long int" if __x86_64__ is defined.
1978 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
1979
ce5d54b0
L
1980 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
1981 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
1982 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
1983
13dc9eac
L
1984 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
1985 <stdint.h>.
1986 (GET_PC): Cast to uintptr_t first.
1987 (GET_FRAME): Likewise.
1988 (GET_STACK): Likewise.
1989
a7895d15
L
1990 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
1991 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
1992 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
1993 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
1994 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
1995 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
1996 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
1997 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
1998 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
1999 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
2000 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
2001 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
2002 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
2003 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
2004 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
2005 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
2006 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
2007 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
2008 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
2009 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
2010 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
2011 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
2012 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
2013 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
2014 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
2015 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
2016 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
2017 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
2018 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
2019
656416c9
AS
20202012-05-16 Andreas Schwab <schwab@linux-m68k.org>
2021
5bd66283
AS
2022 * Makerules (+depfiles): Also collect depfiles from .oS in
2023 $(extra-objs).
2024 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
2025 .oS, $(libnldbl-routines)).
2026
656416c9
AS
2027 * Makerules (native-compile-mkdep-flags): Define.
2028 * sunrpc/Makefile (extra-objs): Add $(addprefix
2029 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
2030 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
2031 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
2032 calling $(make-target-directory).
2033
a46f2169
L
20342012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2035
2036 * bits/types.h (__snseconds_t): Removed.
2037 * time/time.h (struct timespec): Replace __snseconds_t with
2038 __syscall_slong_t.
2039 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
2040 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
2041 Likewise.
2042 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
2043 (__SNSECONDS_T_TYPE): Likewise.
2044 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
2045 (__SNSECONDS_T_TYPE): Likewise.
2046 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
2047 (__SNSECONDS_T_TYPE): Likewise.
2048
6af6528b
L
20492012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2050
2051 * sysdeps/mach/hurd/bits/typesizes.h
2052 (__SYSCALL_SLONG_TYPE): New macro.
2053 (__SYSCALL_ULONG_TYPE): Likewise.
2054
de986b56
L
20552012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2056
2057 * bits/types.h (__syscall_slong_t): New type.
2058 (__syscall_ulong_t): Likewise.
2059
2060 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
2061 (__SYSCALL_ULONG_TYPE): Likewise.
2062 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
2063 (__SYSCALL_SLONG_TYPE): Likewise.
2064 (__SYSCALL_ULONG_TYPE): Likewise.
2065 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
2066 (__SYSCALL_SLONG_TYPE): Likewise.
2067 (__SYSCALL_ULONG_TYPE): Likewise.
2068 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
2069 (__SYSCALL_SLONG_TYPE): Likewise.
2070 (__SYSCALL_ULONG_TYPE): Likewise.
2071
85736dc7
L
20722012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2073
2074 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
2075 Add sigaltstack-offsets.sym.
2076 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
2077 <sigaltstack-offsets.h>.
2078 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
2079 longjmp_msg pointer.
2080 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
2081 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
2082 signal stack.
2083 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
2084
cc03b296
JM
20852012-05-15 Joseph Myers <joseph@codesourcery.com>
2086
a9538892
JM
2087 * elf/stackguard-macros.h: Remove file.
2088 * sysdeps/generic/stackguard-macros.h: New file.
2089 * sysdeps/i386/stackguard-macros.h: Likewise.
2090 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
2091 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
2092 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
2093 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
2094 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
2095 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
2096 * sysdeps/x86_64/stackguard-macros.h: Likewise.
2097 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
2098 <elf/stackguard-macros.h>.
2099
cc03b296
JM
2100 [BZ #14109]
2101 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
2102 __aligned__ in attribute.
2103 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
2104 (gregset_t): Likewise.
2105
93171016
L
21062012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2107
2108 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
2109 * sysdeps/x86_64/64/Implies-after: Here. New file.
2110 * sysdeps/x86_64/x32/Implies-after: New file.
2111
d86813a0
L
21122012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2113
2114 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
2115 and access return value for _dl_profile_fixup. Use R10_LP to
2116 load frame size.
2117
2953ec75
L
21182012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2119
2120 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
2121
3b550e9e
L
21222012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2123
2124 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
2125 * sysdeps/x86_64/x32/sysdep.h: New file.
2126
eda41706
L
21272012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2128
2129 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
2130 * sysdeps/x86_64/setjmp.S: Likewise.
2131
9ea01d93
AZ
21322012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2133
2134 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
2135 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
2136 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
2137 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
2138 remove unused global constant.
2139
02a91938
CM
21402012-05-15 Chris Metcalf <cmetcalf@tilera.com>
2141
2142 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
2143 include of <not-cancel.h>.
2144
6540185f
RM
21452012-05-15 Roland McGrath <roland@hack.frob.com>
2146
2147 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
2148
509072a0
AJ
21492012-05-15 Jeff Law <law@redhat.com>
2150 Andreas Jaeger <aj@suse.de>
2151
2152 [BZ #13594]
2153 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
2154 out from...
2155 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
2156 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
2157 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
2158 code changing __hst_map_handle.map.
2159
ba75122d
RM
21602012-05-15 Roland McGrath <roland@hack.frob.com>
2161
2162 * configure.in (sysnames): Look for Implies-before and Implies-after
2163 files.
2164 * configure: Regenerated.
2165
890d8bd8
L
21662012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2167
2168 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
2169 8-byte data alignment with LP_SIZE alignment.
2170
f6ee6623
L
21712012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2172
2173 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
2174 into R10_LP.
2175
ea2626f6
L
21762012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2177
2178 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
2179
085f715e
L
21802012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2181
2182 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
2183 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
2184 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
2185 Likewise.
2186 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
2187
be8498fc
L
21882012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2189
2190 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
2191 (stackinfo_sub_sp): Likewise.
2192
70bc83b9
L
21932012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2194
2195 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
2196 RAX_LP.
2197
9bc0b730
L
21982012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2199
2200 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
2201 into R*_LP.
2202
6d2850e7
L
22032012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2204
2205 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
2206 sizes into R*_LP.
2207
3cb84561
L
22082012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2209
2210 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
2211
54e2ed81
L
22122012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2213
2214 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
2215 into R11_LP and load __x86_64_shared_cache_size_half into
2216 R8_LP.
2217
8a17f349
L
22182012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2219
2220 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
2221 R8_LP.
2222
777b1eea
AZ
22232012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2224
2225 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
2226 logb for POWER7.
2227 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
2228 logbf for POWER7.
2229 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
2230 logbl for POWER7.
2231 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
2232 powerpc32/power7/fpu/s_logb.c via #include.
2233 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
2234 powerpc32/power7/fpu/s_logbf.c via #include.
2235 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
2236 powerpc32/power7/fpu/s_logbl.c via #include.
2237
d20d4ac2
JM
22382012-05-15 Joseph Myers <joseph@codesourcery.com>
2239
2240 * README.libm: Remove file.
2241
6cdef1ab
L
22422012-05-14 H.J. Lu <hongjiu.lu@intel.com>
2243
2244 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
2245 count for x32. Use R*_LP and omit operand-size suffix.
2246
0b254d8f
L
22472012-05-14 H.J. Lu <hongjiu.lu@intel.com>
2248
2249 * shlib-versions: Move x86_64-.*-linux.* entries to ...
2250 * sysdeps/x86_64/64/shlib-versions: Here. New file.
2251 * sysdeps/x86_64/x32/shlib-versions: New file.
2252
ceb809dc
RM
22532012-05-14 Roland McGrath <roland@hack.frob.com>
2254
2255 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
2256 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
2257 Use _dl_fatal_printf instead.
2258
37f1abd4
JM
22592012-05-14 Joseph Myers <joseph@codesourcery.com>
2260
2261 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
2262 set if not set by the user. Do not allow for being unset.
2263 * sysdeps/unix/sysv/linux/configure: Regenerated.
2264
11de3a33
L
22652012-05-14 H.J. Lu <hongjiu.lu@intel.com>
2266
2267 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
2268 the `q' suffix from lea and replace .quad with ASM_ADDR.
2269
e02f153a
L
22702012-05-14 H.J. Lu <hongjiu.lu@intel.com>
2271
2272 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
2273 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
2274 instead of $17.
2275 (PTR_DEMANGLE): Likewise.
2276
520ae0fd
L
22772012-05-14 H.J. Lu <hongjiu.lu@intel.com>
2278
2279 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
2280 (LP_OP): Likewise.
2281 (ASM_ADDR): Likewise.
2282 (RAX_LP): Likewise.
2283 (RBP_LP): Likewise.
2284 (RBX_LP): Likewise.
2285 (RCX_LP): Likewise.
2286 (RDI_LP): Likewise.
2287 (RSI_LP): Likewise.
2288 (RSP_LP): Likewise.
2289 (R8_LP): Likewise.
2290 (R9_LP): Likewise.
2291 (R10_LP): Likewise.
2292 (R10_LP): Likewise.
2293 (R11_LP): Likewise.
2294 (R12_LP): Likewise.
2295 (R13_LP): Likewise.
2296 (R14_LP): Likewise.
2297 (R15_LP): Likewise.
2298
b985be81
L
22992012-05-14 H.J. Lu <hongjiu.lu@intel.com>
2300
2301 * sysdeps/x86_64/x32/dl-machine.h: New file.
2302
6a4888ff
AJ
23032012-05-14 Andreas Jaeger <aj@suse.de>
2304
2305 * manual/Makefile (subdir): Remove export of subdir.
2306 (all): Remove target.
2307 (.PHONY): Remove all from list.
2308 (mkinstalldirs): Remove.
2309 (.PHONY): Remove installdirs from list.
2310 ($(inst_infodir)/libc.info): Use make-target-directory.
2311 (installdirs): Remove.
2312 (subdir_%): Remove.
2313 (glibc-targets): Remove.
2314 (lib): Remove.
2315 (stubs): Remove.
2316 ($(objpfx)stubs ../po/manual.pot): Remove.
2317 ($(objpfx)stamp%): Remove.
2318 (make-target-directory): Remove.
2319 (subdir_install): Remove.
2320 (routines): Remove.
2321 (aux): Remove.
2322 (sources): Remove.
2323 (objects): Remove.
2324 (headers): Remove.
2325
2326 [BZ #13750]
2327 * manual/.gitignore: Remove, it's not needed anymore.
2328 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
2329 all files in it.
2330 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
2331 directory.
2332 (texis): Renamed to $(objpfx)texis.
2333 (texis-path): New, contains path to generated files.
2334 (chapters.%): Use texis-path for complete path, add extra argument
2335 libc-texinfo.sh.
2336 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
2337 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
2338 (summary,texi, stamp-summary): Use complete path of
2339 files. Generate files in build dir.
2340 (dir-add.texi): Build in build dir.
2341 (libm-err.texi,stamp-libm-err): Likewise.
2342 (version.texi, stamp-version): Likewise.
2343 (.%c.texi): Likewise.
2344 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
2345 (mostlyclean): Remove target.
2346 (realclean): Remove target.
2347 (generated): Add new variable with contents from mostlyclean and
2348 realclean, remove entries duplicated in common-mostlyclean, add
2349 stamp-libm-err and stamp-version.
2350 (generated-dirs): Add libc directory.
2351 ($(inst_infodir)/libc.info): Install files from build dir.
2352
2353 * manual/install.texi (Configuring and compiling): Adjust since
2354 the info files are not part of the tar ball anymore.
2355
7ac77294
AJ
23562012-05-14 Andreas Jaeger <aj@suse.de>
2357
2358 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
2359 variable.
2360
ffb7875d
JM
23612012-05-14 Joseph Myers <joseph@codesourcery.com>
2362
2363 [BZ #13717]
2364 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
2365 to 2.2.0 where earlier.
2366 * sysdeps/unix/sysv/linux/configure: Regenerated.
2367 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
2368 Remove conditional code.
2369 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
2370 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
2371 Remove conditional code.
2372 [!__NR_lchown]: Likewise.
2373 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
2374 [__NR_lchown]: Likewise.
2375 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
2376 comment referencing __ASSUME_LCHOWN_SYSCALL.
2377 * sysdeps/unix/sysv/linux/i386/sigaction.c
2378 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
2379 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
2380 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
2381 Remove conditional code.
2382 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
2383 (__protocol_available): Remove #if 0 code.
2384 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
2385 conditional code.
2386 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
2387 * sysdeps/unix/sysv/linux/kernel-features.h
2388 (__ASSUME_GETCWD_SYSCALL): Don't define.
2389 (__ASSUME_REALTIME_SIGNALS): Likewise.
2390 (__ASSUME_PREAD_SYSCALL): Likewise.
2391 (__ASSUME_PWRITE_SYSCALL): Likewise.
2392 (__ASSUME_POLL_SYSCALL): Likewise.
2393 (__ASSUME_LCHOWN_SYSCALL): Likewise.
2394 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
2395 non-SPARC.
2396 (__ASSUME_SIOCGIFNAME): Don't define.
2397 (__ASSUME_MSG_NOSIGNAL): Likewise.
2398 (__ASSUME_SENDFILE): Define unconditionally.
2399 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
2400 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
2401 conditional code.
2402 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
2403 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
2404 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
2405 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
2406 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
2407 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
2408 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
2409 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
2410 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
2411 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
2412 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
2413 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
2414 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
2415 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
2416 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
2417 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
2418 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
2419 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
2420 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
2421 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
2422 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
2423 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
2424 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
2425 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
2426 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
2427 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
2428 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
2429 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
2430 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
2431 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
2432 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
2433 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
2434 Remove conditional code.
2435 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
2436 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
2437 Remove conditional code.
2438 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
2439 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
2440 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
2441 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
2442 Remove conditional code.
2443 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
2444 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
2445 Remove conditional code.
2446 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
2447 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
2448 Remove conditional code.
2449 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
2450 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
2451 Remove conditional code.
2452 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
2453 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
2454 Remove conditional code.
2455 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
2456 * sysdeps/unix/sysv/linux/sh/pwrite64.c
2457 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
2458 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
2459 * sysdeps/unix/sysv/linux/sigaction.c
2460 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
2461 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
2462 * sysdeps/unix/sysv/linux/sigpending.c
2463 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
2464 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
2465 * sysdeps/unix/sysv/linux/sigprocmask.c
2466 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
2467 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
2468 * sysdeps/unix/sysv/linux/sigsuspend.c
2469 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
2470 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
2471 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
2472 (__libc_missing_rt_sigs): Remove.
2473 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
2474 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
2475 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
2476 Remove conditional code.
2477 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
2478 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
2479 return 1.
2480 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
2481 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
2482 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
2483 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
2484
1bfb7291
AJ
24852012-05-14 Andreas Jaeger <aj@suse.de>
2486
caae5a81
AJ
2487 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
2488 it's not used in glibc.
2489 (__coshm1): Likewise.
2490 (__acosh1p): Likewise.
2491 (__sgn): Likewise.
2492
1bfb7291
AJ
2493 * manual/string.texi (Copying and Concatenation): Add missing
2494 variable in concat example.
2495 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
2496
c044d724
L
24972012-05-14 H.J. Lu <hongjiu.lu@intel.com>
2498
144c5467 2499 [BZ #14103]
c044d724
L
2500 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
2501 __builtin_clzl with __builtin_clzll.
2502
2523c62b
L
25032012-05-14 H.J. Lu <hongjiu.lu@intel.com>
2504
2505 [BZ #14104]
2506 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
2507 libc_freeres_ptr.
2508
d7bb4c42
LD
25092012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
2510
2511 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
2512 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
2513 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
2514 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
2515
9dc4e1fb
MF
25162012-05-14 Mike Frysinger <vapier@gentoo.org>
2517
2518 * NEWS: Update ia64 info.
2519
c7df0112
AS
25202012-05-12 Andreas Schwab <schwab@linux-m68k.org>
2521
2522 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
2523 used as bcopy.
2524
dc70356c
TS
25252012-05-12 Thomas Schwinge <thomas@codesourcery.com>
2526
2527 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
2528 * sysdeps/unix/syscalls.list (dup3): Likewise.
2529 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
2530 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
2531
9fb1a21f
L
25322012-05-11 H.J. Lu <hongjiu.lu@intel.com>
2533
2534 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
2535 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
2536
4822a2a5
L
25372012-05-11 H.J. Lu <hongjiu.lu@intel.com>
2538
2539 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
2540 thread pointer.
2541 (TLS_IE): Use mov/add instead of movq/addq to load thread
2542 pointer.
2543 (TLS_GD_PREFIX): New.
2544 (TLS_GD): Use it.
2545
842b81d6
DM
25462012-05-11 David S. Miller <davem@davemloft.net>
2547
2548 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
2549 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
2550 (_FPU_SETCW): Likewise.
2551
1cf463cd
L
25522012-05-10 H.J. Lu <hongjiu.lu@intel.com>
2553
2554 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
2555 is 32-byte aligned.
2556
60cc4a18
AS
25572012-05-11 Andreas Schwab <schwab@linux-m68k.org>
2558
2559 [BZ #11837]
2560 * iconvdata/gb18030.c: Update tables.
2561 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
2562 characters specially.
2563 (BODY for TO_LOOP): Add encoding of missing ranges.
2564
febb44a4
TS
25652012-05-11 Thomas Schwinge <thomas@codesourcery.com>
2566
2567 [BZ #13673]
2568 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
2569 * sysdeps/mach/hurd/dup3.c: Likewise.
2570 * sysdeps/mach/hurd/readlinkat.c: Likewise.
2571 * sysdeps/powerpc/memmove.c:: Likewise.
2572
0a10fb9e
L
25732012-05-10 H.J. Lu <hongjiu.lu@intel.com>
2574
2575 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
2576 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
2577
df8a552f
L
25782012-05-10 H.J. Lu <hongjiu.lu@intel.com>
2579
2580 * elf/elf.h (R_X86_64_RELATIVE64): New.
2581 (R_X86_64_NUM): Updated.
2582 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
2583 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
2584 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
2585 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
2586 tst-quad1pie tst-quad2pie
2587 (modules-names): Add tst-quadmod1 tst-quadmod2.
2588 ($(objpfx)tst-quad1): New dependency.
2589 ($(objpfx)tst-quad2): Likewise.
2590 ($(objpfx)tst-quad1pie): Likewise.
2591 ($(objpfx)tst-quad2pie): Likewise.
2592 * sysdeps/x86_64/tst-quad1.c: New file.
2593 * sysdeps/x86_64/tst-quad1pie.c: New file.
2594 * sysdeps/x86_64/tst-quad2.c: Likewise.
2595 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
2596 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
2597 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
2598 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
2599 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
2600
f34d6f84
ST
26012012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
2602
f42d41d1
ST
2603 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
2604 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
2605 * streams/stropts.h (t_scalar_t): Define type.
2606
3c3571fc
ST
2607 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
2608 (_PATH_PRESERVE): Set to "/var/lib".
2609 (_PATH_RWHODIR): Set to "/var/spool/rwho".
2610
61f06bd3
ST
2611 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
2612 instead of int.
2613
918d4d71
ST
2614 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
2615 if __dir_mkfile succeeded.
2616
f34d6f84
ST
2617 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
2618 checking for _hurd_dtablesize. Unlock it right after having
2619 finished _hurd_dtable allocation.
2620
10589b4a
TS
26212012-05-10 Thomas Schwinge <thomas@schwinge.name>
2622
674cdbc7
TS
2623 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
2624 * sysdeps/mach/hurd/configure: Regenerated.
2625 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
2626 special-casing to...
2627 * sysdeps/gnu/configure.in: ... this new file.
2628 * sysdeps/unix/sysv/linux/configure: Regenerated.
2629 * sysdeps/gnu/configure: New generated file.
2630
8e41b99f
TS
2631 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
2632 for Linux: use nsec instead of usec, as well as:
2633 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
2634 members of type struct timespec.
2635 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
2636 New macros.
2637 (struct stat64): Likewise.
2638 (_STATBUF_ST_NSEC): New macro.
2639 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
2640
10589b4a
TS
2641 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
2642 __strtoul_internal rather than strtoul.
2643
63643c85
PT
26442012-05-10 Pino Toscano <toscano.pino@tiscali.it>
2645
2646 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
2647 and reject them.
2648
3faebe6a
ST
26492012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
2650
2651 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
2652 which preserves existing values.
2653 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
2654
c6474b07
PT
26552012-05-10 Pino Toscano <toscano.pino@tiscali.it>
2656
2657 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
2658 TIMEOUT values. Return EINVAL for NFDS values either negative or
2659 greater than FD_SETSIZE.
2660
1043890b
ST
26612012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
2662
2663 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
2664 allocated, call __vm_protect to finish enabling the existing space, and
2665 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
2666 allocate the remainder.
2667
37ed8b9b
PT
26682012-05-10 Pino Toscano <toscano.pino@tiscali.it>
2669
2670 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
2671 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
2672
db653660
ST
26732012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
2674
37ed8b9b
PT
2675 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
2676 sysdeps/mach/hurd/readlink.c.
b29d4053 2677
db653660
ST
2678 * posix/tst-sysconf.c (posix_options): Only use
2679 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
2680 _POSIX_SYNCHRONIZED_IO when they are defined
2681 * sysdeps/mach/hurd/bits/posix_opt.h:
2682 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
2683 (_XOPEN_REALTIME): Undefine macro.
2684 (_XOPEN_REALTIME_THREADS): Undefine macro.
2685 (_XOPEN_SHM): Undefine macro.
2686 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
2687 macro to -1.
2688 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
2689 macro to -1.
2690 (_POSIX_ASYNC_IO): Undefine macro.
2691 (_POSIX_PRIORITIZED_IO): Undefine macro.
2692 (_POSIX_SPIN_LOCKS): Define macro to -1.
2693
ee16e894
ST
2694 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
2695 SA_NODEFER, SA_RESETHAND.
2696 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
2697 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
2698 F_DUPFD_CLOEXEC.
2699
6103ae3b
TS
27002012-05-10 Thomas Schwinge <thomas@schwinge.name>
2701
2702 * elf/Makefile (pldd-modules): Define unconditionally.
2703
80b4e5f3
TS
27042012-05-10 Thomas Schwinge <thomas@schwinge.name>
2705
2706 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
2707
edadcbd6
ST
27082012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
2709
2710 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
2711 Return ENOENT when name is empty.
2712 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
2713
80694780
TS
27142012-05-10 Thomas Schwinge <thomas@schwinge.name>
2715
1792c087
TS
2716 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
2717
80694780
TS
2718 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
2719
6b645f0d
ST
27202012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
2721
80694780
TS
2722 Fix mlock in all cases except non-readable pages.
2723 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
2724 instead of VM_PROT_ALL as parameter to __vm_wire function.
66cbbebc 2725
6b645f0d
ST
2726 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
2727 (__mkdir): When path is `/', just fail with EEXIST.
2728 * sysdeps/mach/hurd/mkdirat.c: Likewise.
2729
e468f8a3
TS
27302012-05-10 Thomas Schwinge <thomas@schwinge.name>
2731
2732 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
2733 <sys/uio.h> (for writev).
2734 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
2735 and <sys/param.h> (for MIN).
2736
a4186cff
PT
27372012-05-10 Pino Toscano <toscano.pino@tiscali.it>
2738
2739 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
2740 REQUESTED_TIME. Properly set the remaining time and return EINTR
2741 if interrupted.
2742
510bbf14
TS
27432012-05-10 Thomas Schwinge <thomas@schwinge.name>
2744
2745 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
2746 Depend on against $(link-rpcuserlibs).
2747
5d5722e8
ST
27482012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
2749
a4186cff
PT
2750 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
2751 (__libc_stack_end): Do not use attribute_relro.
2752 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
2753 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
5d5722e8 2754 to libthread-provided value.
a4186cff
PT
2755 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
2756 attribute_relro.
5d5722e8 2757
37233df9
TS
27582012-05-10 Thomas Schwinge <thomas@schwinge.name>
2759
be971a2b
TS
2760 [BZ #3748]
2761 * bits/libc-lock.h (__libc_once_get): New macro.
2762 * sysdeps/mach/bits/libc-lock.h: Likewise.
2763 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
2764 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
2765 instead of using implementation details.
2766
37233df9
TS
2767 * libio/fileops.c: Unconditionally include <kernel-features.h>.
2768 * libio/freopen.c: Likewise.
2769 * libio/freopen64.c: Likewise.
2770 * misc/syslog.c: Likewise.
2771 * nscd/connections.c: Likewise.
2772 * nscd/netgroupcache.c: Likewise.
2773 * sysdeps/posix/getcwd.c: Likewise.
2774
38de94a5
RM
27752012-05-10 Roland McGrath <roland@hack.frob.com>
2776
2777 * math/w_ilogbf.c: Add #include <limits.h>.
2778
67530489
ST
27792012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
2780
a4186cff 2781 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
bbc49098
ST
2782 path instead of returning without unlocking.
2783
67530489
ST
2784 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
2785 immediate-write ioctls.
2786 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
2787
5aa3a74a
TS
27882012-05-10 Thomas Schwinge <thomas@schwinge.name>
2789
18bad2ae
TS
2790 * sysdeps/mach/hurd/i386/init-first.c (init): Use
2791 __builtin_frame_address instead of making assumptions about the
2792 location of the return address relative to DATA. Force early load of
2793 the return address.
2794 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
2795 __builtin_frame_address.
2796
5aa3a74a
TS
2797 dup3 for GNU Hurd.
2798 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
2799 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
2800 implement dup3 and do some further code clean-ups.
2801 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
2802 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
2803
ecd0de9a
ST
28042012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
2805
cd9fa985
ST
2806 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
2807
a4186cff
PT
2808 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
2809 HURD_CRITICAL_END around holding _hurd_dtable_lock.
2810 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
2811 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
2812 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
2813 d->port.lock.
802ca5a5 2814
a4186cff
PT
2815 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
2816 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
2817 when handler == SIG_ERR, not when handler != SIG_ERR.
ecd0de9a 2818
bcf55240
TS
28192012-05-10 Thomas Schwinge <thomas@schwinge.name>
2820
6960eb42
TS
2821 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
2822 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
2823 definitions.
2824
eb43375f
TS
2825 accept4 for GNU Hurd.
2826 * include/sys/socket.h (__libc_accept4): New prototype.
2827 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
2828 to implement __libc_accept4.
2829 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
2830 __libc_accept4.
2831 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
2832
bcf55240
TS
2833 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
2834 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
2835 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
2836 signal-defines.sym.
2837
6178c55b
ST
28382012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
2839
a4186cff 2840 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
6178c55b 2841
6f080c2f
TS
28422012-05-10 Thomas Schwinge <thomas@schwinge.name>
2843
2844 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
2845 assertion on O_CLOEXEC flag.
2846 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
2847 * hurd/intern-fd.c: Likewise.
2848 * hurd/port2fd.c: Likewise.
2849
bcfe3a54
ST
28502012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
2851
2852 [BZ #3906]
2853 * bits/in.h (IPV6_PKTINFO): Define new macro.
2854 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
2855
89c9aa49
AZ
28562012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2857
2858 [BZ #13954]
2859 [BZ #13955]
2860 [BZ #13956]
2861 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
2862 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
2863 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
2864 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
2865 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
2866 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
2867 * math/libm-test.inc (logb_test) : Additional logb tests.
2868
021db4be
AJ
28692012-05-09 Andreas Schwab <schwab@linux-m68k.org>
2870 Andreas Jaeger <aj@suse.de>
2871
2872 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
2873 * configure: Regenerated.
2874 * config.h.in (LINK_OBSOLETE_RPC): New macro.
2875 * config.make.in (link-obsolete-rpc): New substituted variable.
2876 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
2877 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
2878 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
2879 (shared-only-routines): Don't set it under [link-obsolete-rpc],
2880 so that libc.a contains the symbols.
2881 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
2882 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
2883 * sunrpc/auth_none.c: Likewise.
2884 * sunrpc/auth_unix.c: Likewise.
2885 * sunrpc/authdes_prot.c: Likewise.
2886 * sunrpc/authuxprot.c: Likewise.
2887 * sunrpc/clnt_gen.c: Likewise.
2888 * sunrpc/clnt_perr.c: Likewise.
2889 * sunrpc/clnt_raw.c: Likewise.
2890 * sunrpc/clnt_simp.c: Likewise.
2891 * sunrpc/clnt_tcp.c: Likewise.
2892 * sunrpc/clnt_udp.c: Likewise.
2893 * sunrpc/clnt_unix.c: Likewise.
2894 * sunrpc/des_crypt.c: Likewise.
2895 * sunrpc/des_soft.c: Likewise.
2896 * sunrpc/get_myaddr.c: Likewise.
2897 * sunrpc/key_call.c: Likewise.
2898 * sunrpc/key_prot.c: Likewise.
2899 * sunrpc/netname.c: Likewise.
2900 * sunrpc/pm_getmaps.c: Likewise.
2901 * sunrpc/pm_getport.c: Likewise.
2902 * sunrpc/pmap_clnt.c: Likewise.
2903 * sunrpc/pmap_prot.c: Likewise.
2904 * sunrpc/pmap_prot2.c: Likewise.
2905 * sunrpc/pmap_rmt.c: Likewise.
2906 * sunrpc/publickey.c: Likewise.
2907 * sunrpc/rpc_cmsg.c: Likewise.
2908 * sunrpc/rpc_common.c: Likewise.
2909 * sunrpc/rpc_dtable.c: Likewise.
2910 * sunrpc/rpc_prot.c: Likewise.
2911 * sunrpc/rpc_thread.c: Likewise.
2912 * sunrpc/rtime.c: Likewise.
2913 * sunrpc/svc.c: Likewise.
2914 * sunrpc/svc_auth.c: Likewise.
2915 * sunrpc/svc_raw.c: Likewise.
2916 * sunrpc/svc_run.c: Likewise.
2917 * sunrpc/svc_tcp.c: Likewise.
2918 * sunrpc/svc_udp.c: Likewise.
2919 * sunrpc/svc_unix.c: Likewise.
2920 * sunrpc/svcauth_des.c: Likewise.
2921 * sunrpc/xcrypt.c: Likewise.
2922 * sunrpc/xdr.c: Likewise.
2923 * sunrpc/xdr_array.c: Likewise.
2924 * sunrpc/xdr_float.c: Likewise.
2925 * sunrpc/xdr_intXX_t.c: Likewise.
2926 * sunrpc/xdr_mem.c: Likewise.
2927 * sunrpc/xdr_rec.c: Likewise.
2928 * sunrpc/xdr_ref.c: Likewise.
2929 * sunrpc/xdr_sizeof.c: Likewise.
2930 * sunrpc/xdr_stdio.c: Likewise.
2931
b5c086a2
RM
29322012-05-10 Roland McGrath <roland@hack.frob.com>
2933
2934 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
2935 change. Update copyright years.
2936
6d74dd09
JM
29372012-05-10 Joseph Myers <joseph@codesourcery.com>
2938
2939 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
2940
28e72501
MK
29412012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
2942 Joseph Myers <joseph@codesourcery.com>
2943 Paul Pluzhnikov <ppluzhnikov@google.com>
2944
2945 [BZ #14012]
2946 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
2947 requiring rpcgen.
2948 [cross-compiling] (extra-libs): Likewise.
2949 [cross-compiling] (extra-libs-others): Likewise.
2950 [cross-compiling] (librpcsvc-routines): Likewise.
2951 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
2952 [cross-compiling] (omit-deps): Likewise.
2953 (sunrpc-CPPFLAGS): New variable.
2954 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
2955 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
2956 (cross-rpcgen-objs): New variable.
2957 (extra-objs): Append $(cross-rpcgen-objs).
2958 ($(cross-rpcgen-objs)): New rule.
2959 ($(objpfx)cross-rpcgen): Likewise.
2960 (rpcgen-cmd): Define to use $(built-program-file). Expand
2961 comment.
2962 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
2963 ($(objpfx)x%.stmp): Likewise.
2964 * sunrpc/proto.h [IS_IN_build] (_): Define.
2965 [IS_IN_build] (_libc_intl_domainname): Likewise.
2966
c8c59454
L
29672012-05-10 H.J. Lu <hongjiu.lu@intel.com>
2968
2969 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
2970 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
2971 and R_X86_64_TPOFF64.
2972
6f27cd16
JM
29732012-05-10 Joseph Myers <joseph@codesourcery.com>
2974
2975 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
2976 sysdeps/unix/sysv/syscalls.list.
2977 (stime): Likewise.
2978 (utime): Likewise.
2979 * sysdeps/unix/sysv/syscalls.list: Remove file.
2980
02467e1c
PE
29812012-05-10 Paul Eggert <eggert@cs.ucla.edu>
2982
2983 [BZ #3440]
2984 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
2985 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
2986 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
2987 (__LC_IDENTIFICATION): Make these macros useful in #if
2988 expressions, as required by C99.
2989
da392631
AS
29902012-05-10 Andreas Schwab <schwab@linux-m68k.org>
2991
2992 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
2993 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
2994 after this.
2995
8115f29b
L
29962012-05-09 H.J. Lu <hongjiu.lu@intel.com>
2997
2998 * stdlib/longlong.h: Updated from GCC.
2999
bdd74070
AJ
30002012-05-09 Andreas Jaeger <aj@suse.de>
3001
edfe0dbe
AJ
3002 * nscd/nscd.c (run_modes): Make named enum, reorder so that
3003 default is first entry.
3004 (run_mode): Set type.
3005 (main): Remove informal message about syslog.
3006 (options): Fix typo.
3007
bcfe3a54
ST
3008 [BZ #14053]
3009 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
bdd74070 3010 to asm.
bcfe3a54
ST
3011 (lrint): Likewise.
3012 (llrintf): Likewise.
3013 (llrint): Likewise.
3014 (rint): Likewise.
3015 (rintf): Likewise.
3016 (nearbyint): Likewise.
3017 (nearbyintf): Likewise.
bdd74070 3018
91d8d69e
AJ
30192012-05-09 Andreas Jaeger <aj@suse.de>
3020 Pedro Alves <palves@redhat.com>
3021
3022 * nscd/nscd.c (run_mode): Use enum.
3023 (main): Cleanup coding style issue.
3024
bb90b80b
AJ
30252012-05-09 Alexandre Oliva <aoliva@redhat.com>
3026 Andreas Jaeger <aj@suse.de>
3027
bcfe3a54
ST
3028 * nscd/nscd.c (go_background): Replaced with...
3029 (run_mode): ... this.
bb90b80b 3030 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
bcfe3a54
ST
3031 (options): Add -F --foreground.
3032 (main): Implement it.
3033 (parse_opt): Parse it.
bb90b80b 3034
1a4b75a1
AJ
30352012-05-09 Andreas Jaeger <aj@suse.de>
3036
3037 [BZ #14083]
3038 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
3039 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
3040 -Wconversion warning.
3041 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
3042 Likewise.
3043
b1cc2472
JM
30442012-05-09 Joseph Myers <joseph@codesourcery.com>
3045
3046 * conform/data/locale.h-data (NULL): Use macro-constant. Require
3047 == 0.
3048 (LC_ALL): Use macro-int-constant.
3049 (LC_COLLATE): Likewise.
3050 (LC_CTYPE): Likewise.
3051 (LC_MESSAGES): Likewise.
3052 (LC_MONETARY): Likewise.
3053 (LC_NUMERIC): Likewise.
3054 (LC_TIME): Likewise.
3055 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
3056 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
3057 [ISO || ISO99 || ISO11] (*_t): Do not allow.
3058 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
3059 Specify type.
3060 [C99-based standards] (float_t): Expect type.
3061 [C99-based standards] (double_t): Expect type.
3062 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
3063 type.
3064 [C99-based standards] (HUGE_VALL): Likewise.
3065 [C99-based standards] (INFINITY): Likewise.
3066 [C99-based standards] (NAN): Likewise.
3067 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
3068 [C99-based standards] (FP_NAN): Likewise.
3069 [C99-based standards] (FP_NORMAL): Likewise.
3070 [C99-based standards] (FP_SUBNORMAL): Likewise.
3071 [C99-based standards] (FP_ZERO): Likewise.
3072 [C99-based standards] (FP_FAST_FMA): Use
3073 optional-macro-int-constant. Specify type. Require == 1.
3074 [C99-based standards] (FP_FAST_FMAF): Likewise.
3075 [C99-based standards] (FP_FAST_FMAL): Likewise.
3076 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
3077 [C99-based standards] (FP_ILOGBNAN): Likewise.
3078 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
3079 Specify type.
3080 [C99-based standards] (MATH_ERREXCEPT): Likewise.
3081 [C99-based standards] (math_errhandling): Specify type.
3082 [ISO99 || ISO11] (signgam): Do not allow.
3083 [non-C99-based standards] (copysignf): Do not allow.
3084 [non-C99-based standards] (exp2f): Likewise.
3085 [non-C99-based standards] (log2f): Likewise.
3086 [non-C99-based standards] (modff): Allow.
3087 [non-C99-based standards] (erff): Do not allow.
3088 [non-C99-based standards] (erfcf): Likewise.
3089 [non-C99-based standards] (gammaf): Likewise.
3090 [non-C99-based standards] (hypotf): Likewise.
3091 [non-C99-based standards] (j0f): Likewise.
3092 [non-C99-based standards] (j1f): Likewise.
3093 [non-C99-based standards] (jnf): Likewise.
3094 [non-C99-based standards] (lgammaf): Likewise.
3095 [non-C99-based standards] (tgammaf): Likewise.
3096 [non-C99-based standards] (y0f): Likewise.
3097 [non-C99-based standards] (y1f): Likewise.
3098 [non-C99-based standards] (ynf): Likewise.
3099 [non-C99-based standards] (isnanf): Likewise.
3100 [non-C99-based standards] (acoshf): Likewise.
3101 [non-C99-based standards] (asinhf): Likewise.
3102 [non-C99-based standards] (atanhf): Likewise.
3103 [non-C99-based standards] (cbrtf): Likewise.
3104 [non-C99-based standards] (expm1f): Likewise.
3105 [non-C99-based standards] (ilogbf): Likewise.
3106 [non-C99-based standards] (log1pf): Likewise.
3107 [non-C99-based standards] (logbf): Likewise.
3108 [non-C99-based standards] (nextafterf): Likewise.
3109 [non-C99-based standards] (remainderf): Likewise.
3110 [non-C99-based standards] (rintf): Likewise.
3111 [non-C99-based standards] (scalbf): Likewise.
3112 [non-C99-based standards] (copysignl): Likewise.
3113 [non-C99-based standards] (exp2l): Likewise.
3114 [non-C99-based standards] (log2l): Likewise.
3115 [non-C99-based standards] (modfl): Allow.
3116 [non-C99-based standards] (erfl): Do not allow.
3117 [non-C99-based standards] (erfcl): Likewise.
3118 [non-C99-based standards] (gammal): Likewise.
3119 [non-C99-based standards] (hypotl): Likewise.
3120 [non-C99-based standards] (j0l): Likewise.
3121 [non-C99-based standards] (j1l): Likewise.
3122 [non-C99-based standards] (jnl): Likewise.
3123 [non-C99-based standards] (lgammal): Likewise.
3124 [non-C99-based standards] (tgammal): Likewise.
3125 [non-C99-based standards] (y0l): Likewise.
3126 [non-C99-based standards] (y1l): Likewise.
3127 [non-C99-based standards] (ynl): Likewise.
3128 [non-C99-based standards] (isnanl): Likewise.
3129 [non-C99-based standards] (acoshl): Likewise.
3130 [non-C99-based standards] (asinhl): Likewise.
3131 [non-C99-based standards] (atanhl): Likewise.
3132 [non-C99-based standards] (cbrtl): Likewise.
3133 [non-C99-based standards] (expm1l): Likewise.
3134 [non-C99-based standards] (ilogbl): Likewise.
3135 [non-C99-based standards] (log1pl): Likewise.
3136 [non-C99-based standards] (logbl): Likewise.
3137 [non-C99-based standards] (nextafterl): Likewise.
3138 [non-C99-based standards] (remainderl): Likewise.
3139 [non-C99-based standards] (rintl): Likewise.
3140 [non-C99-based standards] (scalbl): Likewise.
3141 [ISO || ISO99 || ISO11] (*_t): Do not allow.
3142 [non-C99-based standards] (FP_*): Do not allow.
3143 [C99-based standards] (FP_*): Change to
3144 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
3145 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
3146 allow.
3147 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
3148 (SIG_ERR): Likewise.
3149 [X/Open-based standards] (SIG_HOLD): Likewise.
3150 (SIG_IGN): Likewise.
3151 (SIGABRT): Use macro-int-constant. Specify type. Require
3152 positive value.
3153 (SIGFPE): Likewise.
3154 (SIGILL): Likewise.
3155 (SIGINT): Likewise.
3156 (SIGSEGV): Likewise.
3157 (SIGTER): Likewise.
3158 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
3159 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
3160 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
3161 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
3162 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
3163 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
3164 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
3165 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
3166 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
3167 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
3168 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
3169 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
3170 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
3171 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
3172 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
3173 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
3174 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
3175 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
3176 [X/Open-based standards] (SIGTRAP): Likewise.
3177 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
3178 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
3179 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
3180 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
3181 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
3182 allow.
3183
b9f1922d
IW
31842012-05-08 Ian Wienand <ianw@vmware.com>
3185
3186 [BZ #14080]
3187 * time/tzset.c (__tzset_parse_tz): Update default rules for
3188 daylight time changes in the Energy Policy Act of 2005.
3189
1db86e88
AJ
31902012-05-09 Andreas Jaeger <aj@suse.de>
3191
3192 [BZ #13983]
3193 * elf/ldconfig.c (parse_conf): Change string to make clear that
3194 ldconfig only issued a warning if ld.so.conf does not exist.
3195
dee4a4e3
DM
31962012-05-08 David S. Miller <davem@davemloft.net>
3197
ee0db190
DM
3198 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
3199 movxtod instead of popping the value on the stack.
3200
dee4a4e3
DM
3201 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3202
6a43ec98
CD
32032012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
3204
3205 * config.h.in: Add HAVE_ARM_PCS_VFP.
3206
05c2c961
RMG
32072012-05-08 Roland Mc Grath <roland@hack.frob.com>
3208
bcfe3a54
ST
3209 [BZ #13979]
3210 * include/features.h: Warn if user requests __FORTIFY_SOURCE
3211 checking but the checks are disabled for any reason.
05c2c961 3212
4b30f61a
L
32132012-05-08 H.J. Lu <hongjiu.lu@intel.com>
3214
3215 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
3216 and ELF64_R_TYPE with ELFW(R_TYPE).
3217
eee2bc67
JM
32182012-05-08 Joseph Myers <joseph@codesourcery.com>
3219
7ea5391a
JM
3220 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
3221 (ulimit): Likewise.
3222
eee2bc67
JM
3223 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
3224 (settimeofday): Likewise.
3225
abb66a67
MF
32262012-05-08 Mike Frysinger <vapier@gentoo.org>
3227
3228 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
3229 a struct th_u2 inside the union, and move tu_block/tu_code into
3230 a new th_u3 union of tu_block/tu_code inside of that. Move
3231 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
3232 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
3233 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
3234 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
3235 (th_stuff): Change to th_u1.tu_stuff.
3236 (th_data): Define.
3237 (th_msg): Change to th_u1.th_u2.tu_data.
3238
7f18b530
DM
32392012-05-07 David S. Miller <davem@davemloft.net>
3240
05760585
DM
3241 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3242
7f18b530
DM
3243 [BZ #14074]
3244 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
3245 (SETUP_PIC_REG): Use it.
3246 (SETUP_PIC_REG_LEAF): Use it.
3247
495fd99f
JM
32482012-05-07 Joseph Myers <joseph@codesourcery.com>
3249
3250 [BZ #13885]
3251 [BZ #13923]
3252 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
3253 USE_AS_EXPM1L.
3254 (EXPL_FINITE): Likewise.
3255 (FLDLOG): Likewise.
3256 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
3257 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
3258 e_expl.S.
3259 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
3260 USE_AS_EXPM1L.
3261 (EXPL_FINITE): Likewise.
3262 (FLDLOG): Likewise.
3263 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
3264 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
3265 e_expl.S.
3266 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
3267 test of -max_value argument for long double.
3268 * sysdeps/i386/fpu/libm-test-ulps: Update.
3269 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3270
6693d694
DM
32712012-05-06 David S. Miller <davem@davemloft.net>
3272
3273 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
3274 quad soft-float symbols whose references which are compiler
3275 generated.
3276 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
3277
6c23e11c
JM
32782012-05-06 Joseph Myers <joseph@codesourcery.com>
3279
d8b82cad
JM
3280 [BZ #13884]
3281 [BZ #13914]
3282 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
3283 USE_AS_EXP10L.
3284 (EXPL_FINITE): Likewise.
3285 (FLDLOG): Likewise.
3286 (c0): Likewise.
3287 (c1): Likewise.
3288 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
3289 Adjust comments for base varying.
3290 (__expl_finite): Change alias to EXPL_FINITE.
3291 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
3292 e_expl.S.
3293 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
3294 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
3295 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
3296 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
3297 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
3298 USE_AS_EXP10L.
3299 (EXPL_FINITE): Likewise.
3300 (FLDLOG): Likewise.
3301 (c0): Likewise.
3302 (c1): Likewise.
3303 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
3304 Adjust comments for base varying.
3305 (__expl_finite): Change alias to EXPL_FINITE.
3306 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
3307 tests for bugs.
3308 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3309
6c23e11c
JM
3310 [BZ #14064]
3311 * math/libm-test.inc (check_float_internal): Correct ulp
3312 calculation for subnormal expected results.
3313
29ba805c
AJ
33142012-05-06 Andreas Jaeger <aj@suse.de>
3315
3316 * Makeconfig (+math-flags): New, set to -frounding-math.
3317 (+cflags): Add +math-flags so that all of glibc gets compiled with
3318 it.
3319
3320 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
3321
7b17aeda
JM
33222012-05-05 Joseph Myers <joseph@codesourcery.com>
3323
5779f134
JM
3324 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
3325 Disable one test.
3326
41498f4d
JM
3327 [BZ #13787]
3328 [BZ #13922]
3329 [BZ #14036]
3330 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
3331 (__ieee754_expl): Allow for and saturate large arguments.
3332 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
3333 (u_threshold): Likewise.
3334 (__exp): Call __ieee754_exp before checking for overflow and
3335 underflow.
3336 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
3337 (u_threshold): Likewise.
3338 (__expf): Call __ieee754_expf before checking for overflow and
3339 underflow.
3340 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
3341 (u_threshold): Likewise.
3342 (__expl): Call __ieee754_expl before checking for overflow and
3343 underflow.
3344 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
3345 (__ieee754_expl): Allow for and saturate large arguments.
3346 * math/libm-test.inc (exp_test): Add another test. Do not allow
3347 missing overflow exception on overflow.
3348 (expm1_test): Do not allow missing overflow exception on overflow.
3349
6698b8bf
JM
3350 * sysdeps/i386/fpu/e_expl.c: Move to ...
3351 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
3352 rather than using inline asm.
3353 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
3354 * sysdeps/x86_64/fpu/e_expl.S: Copy from
3355 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
3356
7b17aeda
JM
3357 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
3358 (nice): Likewise.
3359 (poll): Likewise.
3360 (signal): Likewise.
3361 (time): Likewise.
3362 (times): Likewise.
3363
f7c85819
JM
33642012-05-04 Joseph Myers <joseph@codesourcery.com>
3365
3366 * sysdeps/unix/syscalls.list (adjtime): Add entry from
3367 sysdeps/unix/common/syscalls.list.
3368 (fchmod): Likewise.
3369 (fchown): Likewise.
3370 (ftruncate): Likewise.
3371 (getrusage): Likewise.
3372 (gettimeofday): Likewise.
3373 (setpgid): Likewise.
3374 (setregid): Likewise.
3375 (setreuid): Likewise.
3376 (sigaction): Likewise.
3377 (truncate): Likewise.
3378 (vhangup): Likewise.
3379 * sysdeps/unix/common/syscalls.list: Remove file.
3380 * sysdeps/unix/bsd/Implies: Don't include unix/common.
3381 * sysdeps/unix/sysv/linux/Implies: Likewise.
3382
336270d0
L
33832012-05-04 H.J. Lu <hongjiu.lu@intel.com>
3384
3385 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
3386 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
3387 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
3388 Moved to ...
3389 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
3390 Here.
3391 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
3392 to ...
3393 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
3394 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
3395 to ...
3396 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
3397 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
3398 to ...
3399 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
3400 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
3401 to ...
3402 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
3403 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
3404 to ...
3405 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
3406 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
3407 to ...
3408 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
3409 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
3410 to ...
3411 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
3412 Here.
3413 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
3414 to ...
3415 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
3416 Here.
3417 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
3418 to ...
3419 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
3420 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
3421 Moved to ...
3422 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
3423 Here.
3424 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
3425 to ...
3426 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
3427
d128e450
JM
34282012-05-04 Joseph Myers <joseph@codesourcery.com>
3429
fa8ee516
JM
3430 * sysdeps/unix/common/bits/dirent.h: Remove file.
3431 * sysdeps/unix/common/bits/fcntl.h: Likewise.
3432
d128e450
JM
3433 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
3434 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
3435 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
3436 * sysdeps/unix/bsd/isatty.c: Likewise.
3437 * sysdeps/unix/bsd/tcdrain.c: Likewise.
3438 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
3439 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
3440
ff8faaf0 34412012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31dc8730 3442
62881be4 3443 [BZ #13563]
31dc8730
AZ
3444 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
3445 long double comparison inaccuracies.
3446 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
3447 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3448
6fef930c
AS
34492012-05-04 Andreas Schwab <schwab@linux-m68k.org>
3450
3451 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
3452 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
3453
8f203e6c
JM
34542012-05-04 Joseph Myers <joseph@codesourcery.com>
3455
3456 [BZ #14049]
3457 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
3458 nonzero digits before rounding a hex value.
3459 * stdlib/tst-strtod.c (tests): Add another test.
3460
5197d9c2
AK
34612012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3462
3463 * sysdeps/s390/fpu/libm-test-ulps: Update.
3464
f0c1dedf
AJ
34652012-05-03 Andreas Jaeger <aj@suse.de>
3466
3467 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
3468 does not get optimized out.
3469 (malloc_opt_barrier): New.
3470
a65ef2ae 34712012-05-03 Andreas Jaeger <aj@suse.de>
461b8e5a 3472 Roland McGrath <roland@hack.frob.com>
a65ef2ae 3473
2b942cb7 3474 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
a65ef2ae 3475 intermediate file deletion.
2b942cb7 3476 (generated): Add .symlist files.
a65ef2ae 3477
54b71e02
JM
34782012-05-03 Joseph Myers <joseph@codesourcery.com>
3479
3480 [BZ #13775]
3481 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
3482 Redirect under this condition.
3483 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
3484 [__USE_GNU] (__dprintf_chk): Not under this condition.
3485 [__USE_GNU] (__vdprintf_chk): Likewise.
3486 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
3487 under this condition.
3488 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
3489 [__USE_XOPEN2K8] (dprintf): Define under this condition.
3490 [__USE_XOPEN2K8] (vdprintf): Likewise.
3491 [__USE_GNU] (__dprintf_chk): Not under this condition.
3492 [__USE_GNU] (__vdprintf_chk): Likewise.
3493 [__USE_GNU] (dprintf): Likewise.
3494 [__USE_GNU] (vdprintf): Likewise.
3495
d3dfcc41
RM
34962012-05-03 Roland McGrath <roland@hack.frob.com>
3497
3498 * elf/Makefile (common-generated): Set this instead of generated for
3499 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
3500 $(all-built-dso)-derived lists.
3501
7ac30cc5
AJ
35022012-05-03 Andreas Jaeger <aj@suse.de>
3503
0c51e550
AJ
3504 * sysdeps/i386/fpu/libm-test-ulps: Update.
3505
7ac30cc5
AJ
3506 * FAQ: Removed.
3507 * FAQ.in: Likewise.
3508 * scripts/gen-FAQ.pl: Likewise.
3509 * manual/install.texi (Installation): Point to online location of
3510 FAQ.
3511 * Makefile (files-for-dist): Remove FAQ.
3512 (FAQ): Remove.
3513
d4c2917f
AM
35142012-05-02 Allan McRae <allan@archlinux.org>
3515
3516 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
3517 (LDFLAGS-reldepmod5.so): Likewise.
3518 (LDFLAGS-reldep6mod1.so): Likewise.
3519 (LDFLAGS-reldep6mod4.so): Likewise.
3520 (LDFLAGS-reldep8mod3.so): Likewise.
3521 (LDFLAGS-unload4mod1.so): Likewise.
3522 (LDFLAGS-unload4mod2.so): Likewise.
3523 (LDFLAGS-tst-initorder): Likewise.
3524 (LDFLAGS-tst-initordera2.so): Likewise.
3525 (LDFLAGS-tst-initordera3.so): Likewise.
3526 (LDFLAGS-tst-initordera4.so): Likewise.
3527 (LDFLAGS-tst-initorderb2.so): Likewise.
3528 (LDFLAGS-noload): Likewise.
3529 (LDFLAGS-next): Likewise.
3530 (LDFLAGS-order2mod1.so): Likewise.
3531 (LDFLAGS-order2mod2.so): Likewise.
3532 (LDFLAGS-tst-initorder2): Likewise.
3533 (LDFLAGS-tst-initorder2a.so): Likewise.
3534 (LDFLAGS-tst-initorder2b.so): Likewise.
3535 (LDFLAGS-tst-initorder2c.so): Likewise.
3536 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
3537
d77f993f
DM
35382012-05-02 David S. Miller <davem@davemloft.net>
3539
3540 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3541
171a70b4
PP
35422012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
3543
3544 [BZ #14055]
3545 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
3546
0be196ad
AJ
35472012-05-02 Andreas Jaeger <aj@suse.de>
3548
3549 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
3550 since we manipulate rounding mode.
3551 (CPPFLAGS-test-idouble.c): Likewise.
3552 (CPPFLAGS-test-ifloat.c): Likewise.
3553 (CFLAGS-test-ldouble.c): Likewise.
3554 (CFLAGS-test-double.c): Likewise.
3555 (CFLAGS-test-float.c): Likewise.
3556 (CFLAGS-test-misc.c): Likewise.
3557 (CFLAGS-test-test-fenv.c): Likewise.
3558
4f9d04aa
AZ
35592012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3560
2b942cb7
RM
3561 [BZ #2550]
3562 [BZ #2570]
3563 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
3564 comparisons to determine direction to adjust input.
4f9d04aa 3565
82a79e7d
RM
35662012-05-01 Roland McGrath <roland@hack.frob.com>
3567
f5a01ca9
RM
3568 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
3569 output to the target.
3570
90fe4186
RM
3571 * scripts/localplt.awk: New file.
3572 * elf/Makefile ($(objpfx)check-localplt): Target removed.
3573 (check-localplt-CFLAGS): Variable removed.
3574 ($(all-built-dso:=.jmprel)): New static pattern rule.
3575 (generated): Add those targets.
3576 (localplt-built-dso): New variable.
3577 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
3578
3579 * elf/check-localplt.c: File removed.
3580
82397ed6
RM
3581 * scripts/check-execstack.awk: New file.
3582 * elf/Makefile ($(objpfx)check-execstack): Target removed.
3583 (check-execstack-CFLAGS): Variable removed.
3584 ($(objpfx)check-execstack.h): Target removed.
3585 ($(objpfx)execstack-default): New target.
3586 (generated): Add that instead of check-execstack.h.
3587 ($(all-built-dso:=.phdr)): New static pattern rule.
3588 (generated): Add those targets.
3589 * elf/check-execstack.c: File removed.
3590
82a79e7d
RM
3591 * scripts/check-textrel.awk: New file.
3592 * elf/Makefile ($(objpfx)check-textrel): Target removed.
3593 (check-textrel-CFLAGS): Variable removed.
3594 (all-built-dso): Use := to define.o
3595 ($(all-built-dso:=.dyn)): New static pattern rule.
3596 (generated): Add those targets.
3597 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
3598 * config.make.in (READELF): New substituted variable.
3599 * elf/check-textrel.c: File removed.
3600
62fde54f 36012012-05-01 Joseph Myers <joseph@codesourcery.com>
ee74b9cb 3602
615605c9
JM
3603 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
3604 allow.
3605 * conform/data/ctype.h-data [C99-based standards] (isblank):
3606 Expect function.
3607 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
3608 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
3609 [ISO || ISO99 || ISO11] (*_t): Do not allow.
3610 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
3611 Specify type. Require positive value.
3612 (EILSEQ): Likewise.
3613 (ERANGE): Likewise.
3614 [ISO || POSIX] (EILSEQ): Do not expect.
3615 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
3616 Specify type. Require positive value.
3617 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
3618 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
3619 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
3620 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
3621 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
3622 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
3623 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
3624 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
3625 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
3626 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
3627 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
3628 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
3629 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
3630 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
3631 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
3632 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
3633 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
3634 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
3635 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
3636 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
3637 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
3638 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
3639 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
3640 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
3641 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
3642 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
3643 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
3644 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
3645 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
3646 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
3647 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
3648 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
3649 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
3650 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
3651 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
3652 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
3653 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
3654 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
3655 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
3656 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
3657 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
3658 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
3659 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
3660 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
3661 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
3662 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
3663 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
3664 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
3665 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
3666 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
3667 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
3668 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
3669 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
3670 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
3671 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
3672 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
3673 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
3674 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
3675 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
3676 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
3677 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
3678 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
3679 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
3680 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
3681 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
3682 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
3683 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
3684 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
3685 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
3686 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
3687 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
3688 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
3689 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
3690 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
3691 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
3692 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
3693 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
3694 Require >= 2.
3695 (FLT_ROUNDS): Expect as macro, not constant.
3696 (FLT_MANT_DIG): Use macro-int-constant.
3697 (DBL_MANT_DIG): Likewise.
3698 (LDBL_MANT_DIG): Likewise.
3699 (FLT_DIG): Likewise.
3700 (DBL_DIG): Likewise.
3701 (LDBL_DIG): Likewise.
3702 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
3703 (DBL_MIN_EXP): Likewise.
3704 (LDBL_MIN_EXP): Likewise.
3705 (FLT_MAX_EXP): Use macro-int-constant.
3706 (DBL_MAX_EXP): Likewise.
3707 (LDBL_MAX_EXP): Likewise.
3708 (FLT_MAX_10_EXP): Likewise.
3709 (DBL_MAX_10_EXP): Likewise.
3710 (LDBL_MAX_10_EXP): Likewise.
3711 (FLT_MAX): Use macro-constant.
3712 (DBL_MAX): Likewise.
3713 (LDBL_MAX): Likewise.
3714 (FLT_EPSILON): Use macro-constant. Give upper bound.
3715 (DBL_EPSILON): Likewise.
3716 (LDBL_EPSILON): Likewise.
3717 (FLT_MIN): Likewise.
3718 (DBL_MIN): Likewise.
3719 (LDBL_MIN): Likewise.
3720 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
3721 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
3722 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
3723 [ISO11] (FLT_HAS_SUBNORM): Likewise.
3724 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
3725 [ISO11] (DBL_DECIMAL_DIG): Likewise.
3726 [ISO11] (FLT_DECIMAL_DIG): Likewise.
3727 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
3728 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
3729 [ISO11] (FLT_TRUE_MIN): Likewise.
3730 [ISO11] (LDBL_TRUE_MIN): Likewise.
3731 [ISO || ISO99 || ISO11] (*_t): Do not allow.
3732 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
3733 (SCHAR_MIN): Use macro-int-constant. Specify type.
3734 (SCHAR_MAX): Likewise.
3735 (UCHAR_MAX): Likewise.
3736 (CHAR_MIN): Likewise.
3737 (CHAR_MAX): Likewise.
3738 (MB_LEN_MAX): Use macro-int-constant.
3739 (SHRT_MIN): Use macro-int-constant. Specify type.
3740 (SHRT_MAX): Likewise.
3741 (USHRT_MAX): Likewise.
3742 (INT_MAX): Likewise.
3743 (INT_MIN): Use macro-int-constant. Specify type. Make upper
3744 bound negative.
3745 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
3746 bound with "U".
3747 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
3748 bound with "L".
3749 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
3750 bound negative. Suffix upper bound with "L".
3751 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
3752 bound with "UL".
3753 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
3754 Specify type.
3755 [C99-based standards] (LLONG_MAX): Likewise.
3756 [C99-based standards] (ULLONG_MAX): Likewise.
3757 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
3758 == 0.
3759 [ISO11] (max_align_t): Require type.
3760 [ISO || ISO99 || ISO11] (*_t): Do not allow.
3761
c9140a62
JM
3762 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
3763 from $CFLAGS, without defining away __attribute__ calls.
3764 (checknamespace): Use $CFLAGS_namespace.
3765
9af0bf29
JM
3766 * conform/conformtest.pl (@keywords): Only include C99 keywords
3767 for standards based on C99 or C11.
3768
343222a2
JM
3769 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
3770 Disable tests.
3771 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
3772 UNIX98]: Likewise.
3773
661f8cf0
JM
3774 * conform/conformtest.pl: Handle "macro-int-constant" and test for
3775 usability of symbols in #if.
3776
ee74b9cb
JM
3777 * conform/conformtest.pl: If macro or constant types start
3778 "promoted:", expect the symbol to be of the following type
3779 promoted by the integer promotions.
62fde54f 3780
aafc49b3
JM
3781 * conform/conformtest.pl: Parse all "constant" and "macro" lines
3782 in one place. Also handle "macro-constant".
3783
fefdf574
JM
3784 * conform/conformtest.pl: Only accept expected macro values with
3785 "==". Parse all "macro" lines in one place.
3786 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
3787
f2d922fe
JM
3788 * conform/conformtest.pl: Handle braced types on "constant" lines
3789 instead of handling "typed-constant".
3790 * conform/data/signal.h-data: Use "constant" instead of
3791 "typed-constant".
3792
d22956c9
JM
3793 * conform/conformtest.pl: Handle "optional-" at start of lines in
3794 one place rather than duplicating several cases. Handle each
3795 format of "macro" line with initial "optional-".
3796
028e2e38
JM
3797 * conform/conformtest.pl: Only accept expected constant or
3798 optional-constant values with "==". Parse all "constant" lines in
3799 one place. Parse all "optional-constant" lines in one place.
3800 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
3801 * conform/data/fmtmsg.h-data: Likewise.
3802 * conform/data/netinet/in.h-data: Likewise.
3803 * conform/data/tar.h-data: Likewise.
3804 * conform/data/limits.h-data: Use "==" form on "constant" and
3805 "optional-constant" lines.
3806
1b8f2850
JM
3807 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
3808 Use -std=c99 for XOPEN2K.
3809 (@knownproblems): Remove.
3810 (newtoken): Don't check %isknown.
3811
a05a144b
JM
3812 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
3813 Do not expect macro.
3814 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
3815 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
3816 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
3817 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
3818 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
3819 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
3820 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
3821 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
3822 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
3823 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
3824 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
3825 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
3826 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
3827 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
3828 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
3829 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
3830 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
3831 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
3832 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
3833 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
3834 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
3835 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
3836 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
3837 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
3838 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
3839 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
3840 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
3841 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
3842 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
3843 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
3844 [XPG3] (acosh): Likewise.
3845 [XPG3] (asinh): Likewise.
3846 [XPG3] (atanh): Likewise.
3847 [XPG3] (cbrt): Likewise.
3848 [XPG3] (expm1): Likewise.
3849 [XPG3] (ilogb): Likewise.
3850 [XPG3] (log1p): Likewise.
3851 [XPG3] (logb): Likewise.
3852 [XPG3] (nextafter): Likewise.
3853 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
3854 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
3855 [XPG3] (remainder): Likewise.
3856 [XPG3] (rint): Likewise.
3857 [XPG3 || XPG4 || UNIX98] (round): Likewise.
3858 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
3859 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
3860 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
3861 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
3862 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
3863 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
3864 [UNIX98 || XOPEN2K] (scalb): Expect.
3865 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
3866 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
3867 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
3868 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
3869 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
3870 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
3871 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
3872 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
3873 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
3874 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
3875 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
3876 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
3877 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
3878 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
3879 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
3880 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
3881 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
3882 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
3883 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
3884 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
3885 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
3886 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
3887 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
3888 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
3889 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
3890 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
3891 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
3892 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
3893 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
3894 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
3895 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
3896 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
3897 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
3898 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
3899 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
3900 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
3901 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
3902 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
3903 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
3904 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
3905 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
3906 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
3907 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
3908 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
3909 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
3910 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
3911 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
3912 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
3913 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
3914 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
3915 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
3916 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
3917 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
3918 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
3919 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
3920 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
3921 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
3922 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
3923 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
3924 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
3925 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
3926 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
3927 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
3928 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
3929 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
3930 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
3931 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
3932 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
3933 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
3934 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
3935 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
3936 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
3937 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
3938 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
3939 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
3940 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
3941 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
3942 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
3943 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
3944 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
3945 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
3946 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
3947 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
3948 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
3949 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
3950 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
3951 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
3952 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
3953 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
3954 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
3955 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
3956 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
3957 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
3958 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
3959 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
3960 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
3961 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
3962 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
3963 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
3964 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
3965 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
3966 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
3967 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
3968 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
3969 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
3970 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
3971 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
3972 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
3973 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
3974 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
3975 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
3976 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
3977 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
3978 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
3979 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
3980 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
3981 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
3982 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
3983 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
3984 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
3985 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
3986 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
3987 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
3988 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
3989 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
3990 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
3991 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
3992 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
3993 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
3994 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
3995 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
3996 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
3997 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
3998 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
3999 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
4000 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
4001 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
4002
73c5ebe3
JM
4003 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
4004 _XOPEN_SOURCE_EXTENDED for XPG4.
4005
39c33b6c
JM
4006 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
4007
62fde54f
JM
4008 * Makeconfig (localtime): Remove variable.
4009 (inst_localtime-file): Likewise.
4010
0741d64c
AS
40112012-05-01 Andreas Schwab <schwab@linux-m68k.org>
4012
4013 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
4014 Update.
4015 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
4016 Update.
4017 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
4018 Update.
4019 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
4020 Update.
4021 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
4022 Update.
4023 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
4024 Update.
4025 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
4026 Update.
4027 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
4028 Update.
4029 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
4030 Update.
4031
7cb029ee
JM
40322012-05-01 Joseph Myers <joseph@codesourcery.com>
4033
4034 [BZ #2550]
4035 [BZ #2570]
4036 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
4037 comparisons to determine direction to adjust input.
4038 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
4039 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
4040 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
4041 Likewise.
4042 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
4043 Likewise.
4044 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
4045 Likewise.
4046 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
4047 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
4048 Likewise.
4049 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
4050 Likewise.
4051 * math/libm-test.inc (nexttoward_test): Add more tests.
4052
412bd966
AS
40532012-05-01 Andreas Schwab <schwab@linux-m68k.org>
4054
4055 [BZ #14040]
4056 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
4057 in version GLIBC_2.1, not GLIBC_2.0.
4058 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
4059 Likewise.
4060
9568c0c2
JM
40612012-04-30 Joseph Myers <joseph@codesourcery.com>
4062
adfbc8ac
JM
4063 [BZ #13942]
4064 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
4065 (1 - x) * (1 + x).
4066 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
4067 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
4068 * math/libm-test.inc (acos_test): Add more tests.
4069 (asin_test): Likewise.
4070 * sysdeps/i386/fpu/libm-test-ulps: Update.
4071 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4072
5ba3cc69
JM
4073 [BZ #14034]
4074 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
4075 of square root.
4076 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
4077 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
4078 * math/libm-test.inc (acos_test_tonearest): New function.
4079 (acos_test_towardzero): Likewise.
4080 (acos_test_downward): Likewise.
4081 (acos_test_upward): Likewise.
4082 (asin_test_tonearest): Likewise.
4083 (asin_test_towardzero): Likewise.
4084 (asin_test_downward): Likewise.
4085 (asin_test_upward): Likewise.
4086 (main): Call the new functions.
4087 * sysdeps/i386/fpu/libm-test-ulps: Update.
4088 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4089
9568c0c2
JM
4090 [BZ #13884]
4091 [BZ #13924]
4092 * math/e_exp10.c: Include <float.h>.
4093 (__ieee754_exp10): Handle underflow here rather than multiplying
4094 large negative argument by M_LN10.
4095 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
4096 of __ieee754_expf.
4097 * math/e_exp10l.c: Include <float.h>.
4098 (__ieee754_exp10l): Handle underflow here rather than multiplying
4099 large negative argument by M_LN10l.
4100 * math/libm-test.inc (exp10_test): Add another test. Do not allow
4101 spurious overflow exception on underflow.
4102
5ac3ea17
MP
41032012-04-29 Marek Polacek <polacek@redhat.com>
4104
4105 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
4106 (__fortify_function): New macro.
4107 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
4108 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
4109 __extern_always_inline.
4110 * libio/bits/stdio2.h: Likewise.
4111 * libio/bits/stdio.h: Likewise.
4112 * string/string.h: Likewise.
4113 * string/bits/string3.h: Likewise.
4114 * include/stdio.h: Likewise.
4115 * stdlib/bits/stdlib.h: Likewise.
4116 * stdlib/stdlib.h: Likewise.
4117 * rt/bits/mqueue2.h: Likewise.
4118 * rt/mqueue.h: Likewise.
4119 * posix/bits/unistd.h: Likewise.
4120 * posix/unistd.h: Likewise.
4121 * io/bits/poll2.h: Likewise.
4122 * io/bits/fcntl2.h: Likewise.
4123 * io/fcntl.h: Likewise.
4124 * io/sys/poll.h: Likewise.
4125 * misc/bits/syslog.h: Likewise.
4126 * misc/bits/syslog-ldbl.h: Likewise.
4127 * misc/sys/syslog.h: Likewise.
4128 * socket/bits/socket2.h: Likewise.
4129 * socket/sys/socket.h: Likewise.
4130 * debug/tst-chk1.c: Likewise.
4131 * wcsmbs/bits/wchar2.h: Likewise.
4132 * wcsmbs/bits/wchar-ldbl.h: Likewise.
4133 * wcsmbs/wchar.h: Likewise.
4134
ecf0ebfb
AJ
41352012-04-29 Andreas Jaeger <aj@suse.de>
4136
4137 * Makerules (tests): Remove enable-check-abi protection.
4138 (check-abi-warn): Remove.
4139 (check-abi-%): Remove check-abi-warn usage.
4140
4141 * configure.in: Remove check-abi configure option.
4142 * configure: Regenerated.
4143 * config.make.in (enable-check-abi): Remove.
4144
6d5c57fa
AS
41452012-04-28 Andreas Schwab <schwab@linux-m68k.org>
4146
24c5d07e 4147 [BZ #14033]
ded5180a
AS
4148 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
4149 double functions to double *_finite functions.
4150
7e0d315d
AS
4151 [BZ #13941]
4152 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
4153 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
4154 LDBL_MIN_EXP.
4155 * stdio-common/Makefile (tests): Add tst-sprintf3.
4156 * stdio-common/tst-sprintf3.c: New file.
4157
6d5c57fa
AS
4158 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
4159 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
4160
0749ff8b
JM
41612012-04-28 Joseph Myers <joseph@codesourcery.com>
4162
4163 * conform/conformtest.pl: Remove duplicate typed-constant
4164 handling.
4165
8dbd5d7b
DM
41662012-04-28 David S. Miller <davem@davemloft.net>
4167
4168 * Makerules (%.abilist): Add vpath on sysdep_dirs.
4169 (check-abi-%): Remove AWK script prerequisite and explicit
4170 abilist directory.
4171 (check-abi): Rewrite to just diff the symlist with the abilist.
4172 (config-tls, config-abi-config): Delete, no longer used.
4173 (update-abi-%): Remove AWK script and explicit abilist directory.
4174 (update-abi): Rewrite to simply compare and conditionally copy the
4175 symlist and the sysdep abilist file. Remove update-abi-config
4176 checks.
4177 * abilist/ld.abilist: Remove.
4178 * abilist/libBrokenLocale.abilist: Remove.
4179 * abilist/libanl.abilist: Remove.
4180 * abilist/libcrypt.abilist: Remove.
4181 * abilist/libdl.abilist: Remove.
4182 * abilist/librt.abilist: Remove.
4183 * abilist/libthread_db.abilist: Remove.
4184 * abilist/libutil.abilist: Remove.
4185 * scripts/extract-abilist.awk: Remove.
4186 * scripts/merge-abilist.awk: Remove.
4187 * sysdeps/generic/libcidn.abilist: New file.
4188 * sysdeps/generic/libnss_compat.abilist: New file.
4189 * sysdeps/generic/libnss_db.abilist: New file.
4190 * sysdeps/generic/libnss_dns.abilist: New file.
4191 * sysdeps/generic/libnss_files.abilist: New file.
4192 * sysdeps/generic/libnss_hesiod.abilist: New file.
4193 * sysdeps/generic/libnss_nis.abilist: New file.
4194 * sysdeps/generic/libnss_nisplus.abilist: New file.
4195 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
4196 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
4197 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
4198 file.
4199 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
4200 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
4201 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
4202 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
4203 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
4204 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
4205 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
4206 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
4207 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
4208 file.
4209 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
4210 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
4211 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
4212 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
4213 file.
4214 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
4215 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
4216 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
4217 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
4218 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
4219 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
4220 file.
4221 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
4222 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
4223 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
4224 file.
4225 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
4226 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
4227 New file.
4228 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
4229 New file.
4230 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
4231 New file.
4232 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
4233 New file.
4234 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
4235 New file.
4236 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
4237 New file.
4238 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
4239 New file.
4240 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
4241 New file.
4242 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
4243 New file.
4244 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
4245 New file.
4246 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
4247 New file.
4248 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
4249 New file.
4250 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
4251 New file.
4252 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
4253 file.
4254 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
4255 New file.
4256 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
4257 New file.
4258 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
4259 file.
4260 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
4261 New file.
4262 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
4263 New file.
4264 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
4265 file.
4266 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
4267 New file.
4268 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
4269 New file.
4270 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
4271 New file.
4272 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
4273 New file.
4274 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
4275 New file.
4276 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
4277 New file.
4278 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
4279 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
4280 file.
4281 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
4282 New file.
4283 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
4284 file.
4285 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
4286 file.
4287 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
4288 file.
4289 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
4290 file.
4291 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
4292 file.
4293 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
4294 New file.
4295 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
4296 file.
4297 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
4298 file.
4299 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
4300 New file.
4301 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
4302 file.
4303 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
4304 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
4305 file.
4306 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
4307 New file.
4308 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
4309 file.
4310 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
4311 file.
4312 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
4313 file.
4314 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
4315 file.
4316 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
4317 file.
4318 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
4319 New file.
4320 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
4321 file.
4322 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
4323 file.
4324 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
4325 New file.
4326 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
4327 file.
4328 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
4329 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
4330 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
4331 file.
4332 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
4333 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
4334 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
4335 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
4336 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
4337 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
4338 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
4339 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
4340 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
4341 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
4342 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
4343 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
4344 file.
4345 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
4346 New file.
4347 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
4348 file.
4349 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
4350 file.
4351 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
4352 file.
4353 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
4354 file.
4355 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
4356 file.
4357 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
4358 New file.
4359 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
4360 New file.
4361 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
4362 file.
4363 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
4364 New file.
4365 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
4366 file.
4367 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
4368 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
4369 file.
4370 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
4371 New file.
4372 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
4373 file.
4374 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
4375 file.
4376 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
4377 file.
4378 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
4379 file.
4380 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
4381 file.
4382 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
4383 New file.
4384 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
4385 New file.
4386 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
4387 file.
4388 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
4389 New file.
4390 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
4391 file.
4392
41d73a1b
JM
43932012-04-28 Joseph Myers <joseph@codesourcery.com>
4394
4395 * conform/conformtest.pl: Fix typo in handling typed-constant from
4396 allow-header.
4397
28aeeda4
JM
43982012-04-27 Joseph Myers <joseph@codesourcery.com>
4399
adae8f5e
JM
4400 * README: Cut down references to pre-2.6 Linux kernels and
4401 Linuxthreads. Update lists of configurations in libc and ports
4402 and sort alphabetically. Say "or newer" with Linux kernel version
4403 requirements.
4404
28aeeda4
JM
4405 * config.h.in [IS_IN_build]: Allow compiling without optimization.
4406
a462cb63
RA
44072012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
4408
4409 [BZ #887]
4410 * math/libm-test.inc (logb_test_downward): New test to expose
4411 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
4412 rounding mode.
4413
6ad3493e
JM
44142012-04-27 Joseph Myers <joseph@codesourcery.com>
4415
4416 [BZ #14027]
4417 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
4418 to be done.
4419 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
4420 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
4421
2ce4f015
JM
44222012-04-26 Joseph Myers <joseph@codesourcery.com>
4423
5aeb141a
JM
4424 * sysdeps/unix/i386/brk.S: Remove file.
4425 * sysdeps/unix/i386/dl-brk.S: Likewise.
4426 * sysdeps/unix/i386/pipe.S: Likewise.
4427 * sysdeps/unix/i386/sigreturn.S: Likewise.
4428 * sysdeps/unix/i386/syscall.S: Likewise.
4429 * sysdeps/unix/i386/vfork.S: Likewise.
4430 * sysdeps/unix/i386/wait.S: Likewise.
4431
7143acae
JM
4432 * sysdeps/unix/common/tcsendbrk.c: Move to ...
4433 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
4434
2ce4f015
JM
4435 * configure.in (arm*-none*): Do not allow without
4436 --enable-hacker-mode.
4437 (netbsd*): Remove case setting base_os.
4438 (386bsd*): Likewise.
4439 (freebsd*): Likewise.
4440 (bsdi*): Likewise.
4441 (osf*): Likewise.
4442 (sunos*): Likewise.
4443 (ultrix*): Likewise.
4444 (newsos*): Likewise.
4445 (dynix*): Likewise.
4446 (*bsd*): Likewise.
4447 (sysv*): Likewise.
4448 (isc*): Likewise.
4449 (esix*): Likewise.
4450 (sco*): Likewise.
4451 (minix*): Likewise.
4452 (irix4*): Likewise.
4453 (irix6*): Likewise.
4454 (solaris[2-9]*): Likewise.
4455 (none): Likewise.
4456 * configure: Regenerated.
4457
0ac229c8
AZ
44582012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4459
4460 [BZ #11521]
4461 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
4462 overflow or cancellation in calculating denominator.
4463 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
4464 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
4465 down expression to avoid unexpected rounding in newer GCCs.
4466 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
4467
33f244f4
DM
44682012-04-26 David S. Miller <davem@davemloft.net>
4469
4470 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
4471 long-double compat symbols.
4472 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
4473 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
4474 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
4475 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
4476 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
4477 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
4478 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
4479 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
4480 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
4481 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
4482 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
4483 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
4484 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
4485
cfa1f3e8
DM
44862012-04-25 David S. Miller <davem@davemloft.net>
4487
4488 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
4489 HWCAP_* values only after the memory barriers have been defined.
4490 (atomic_full_barrier): Define.
4491 (atomic_read_barrier): Define.
4492 (atomic_write_barrier): Define.
4493
6e236b92
SP
44942012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
4495
4496 * shlib-versions: Add libgcc_s version information.
4497 * sysdeps/generic/libgcc_s.h: Remove.
4498 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
4499 libgcc_s.h.
4500 * sysdeps/gnu/unwind-resume.c: Likewise.
4501 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
4502
aab39a09
DM
45032012-04-25 David S. Miller <davem@davemloft.net>
4504
4505 * sysdeps/unix/sparc/brk.S: Delete.
4506 * sysdeps/unix/sparc/dl-brk.S: Delete.
4507 * sysdeps/unix/sparc/pipe.S: Delete.
4508 * sysdeps/unix/sparc/sysdep.S: Delete.
4509 * sysdeps/unix/sparc/sysdep.h: Delete.
4510 * sysdeps/unix/sparc/vfork.S: Delete.
4511 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
4512 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
4513 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
4514 ret_ERRVAL, r0, r1, MOVE): Define.
4515 (JUMPTARGET): Remove.
4516 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
4517 sysdeps/unix/sparc/sysdep.h
4518 (ENTRY, END): Remove.
4519 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
4520
a3cc4f48
JM
45212012-04-25 Joseph Myers <joseph@codesourcery.com>
4522
2ed8cda2
JM
4523 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
4524 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
4525 -DIS_IN_build.
4526
35d76d59
JM
4527 * timezone/README: Update upstream location and email address for
4528 tzcode and tzdata.
4529 * timezone/zdump.c: Update from tzcode 2012b.
4530 * timezone/zic.c: Likewise.
4531
a3cc4f48
JM
4532 * configure.in (libc_cv_as_needed): Remove test.
4533 * configure: Regenerated.
4534 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
4535 conditional definition.
4536 [$(have-as-needed) != yes] (no-as-needed): Likewise.
4537 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
4538 * config.make.in (have-as-needed): Remove variable.
4539
ceab42c3
SP
45402012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
4541 Paul Pluzhnikov <ppluzhnikov@google.com>
4542
4543 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
4544 strings correctly.
4545
3ce2865f
CLT
45462012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
4547
4548 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
4549 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
4550 * sysdeps/sh/strlen.S: Likewise.
4551
f37e0d68
JM
45522012-04-24 Joseph Myers <joseph@codesourcery.com>
4553
ae186e9a
JM
4554 * sysdeps/unix/fork.S: Remove file.
4555 * sysdeps/unix/i386/fork.S: Likewise.
4556 * sysdeps/unix/sparc/fork.S: Likewise.
4557
b96914af
JM
4558 * sysdeps/unix/system.c: Remove file.
4559 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
4560
f37e0d68
JM
4561 * sysdeps/unix/getegid.S: Remove file.
4562 * sysdeps/unix/geteuid.S: Likewise.
4563
87ef29ca
RM
45642012-04-24 Roland McGrath <roland@hack.frob.com>
4565
83bcd236
RM
4566 * scripts/check-localplt.awk: New file.
4567 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
4568 of diff.
4569 * scripts/data/localplt-generic.data: Add a comment.
4570
87ef29ca
RM
4571 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
4572 NODE when __dir_mkfile failed.
4573 * sysdeps/mach/hurd/symlinkat.c: Likewise.
4574 Reported by Ludovic Courtès <ludo@gnu.org>.
4575
e5a6e567
AJ
45762012-04-24 Andreas Jaeger <aj@suse.de>
4577
4578 * Makerules (common-clean): Also remove gen-as-const-headers
4579 files.
4580
c1820385
JM
45812012-04-24 Joseph Myers <joseph@codesourcery.com>
4582
4583 * Makerules (native-compile): Do not change working directory for
4584 build. Use $(OUTPUT_OPTION) in command.
4585 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
4586
94e02fc4
AZ
45872012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4588
4589 [BZ #13886]
4590 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
4591 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
4592 * math/libm-test.inc (floor_test): Add more tests.
4593 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
4594
3a533ca3
JM
45952012-04-24 Joseph Myers <joseph@codesourcery.com>
4596
940ab4b3
JM
4597 * sysdeps/unix/getdents.c: Remove file.
4598 * sysdeps/unix/sysv/getdents.c: Likewise.
4599 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
4600
90e037bd
JM
4601 * sysdeps/unix/syscalls.list (madvise): Add syscall from
4602 sysdeps/unix/mman/syscalls.list.
4603 (mmap): Likewise.
4604 (mprotect): Likewise.
4605 (msync): Likewise.
4606 (munmap): Likewise.
4607 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
4608 * sysdeps/unix/mman/syscalls.list: Remove.
4609 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
4610
3a533ca3
JM
4611 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
4612 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
4613 * configure: Regenerated.
4614 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
4615 $(libgcc_s_suffix).
4616 * config.make.in (libgcc_s_suffix): Remove variable.
4617
1ad743de
JM
46182012-04-23 Joseph Myers <joseph@codesourcery.com>
4619
4ad451e2
JM
4620 * sysdeps/unix/sysv/gethostname.c: Move to ...
4621 * sysdeps/posix/gethostname.c: ... here.
4622
5e37ce39
JM
4623 * sysdeps/unix/execve.S: Remove file.
4624
1ad743de
JM
4625 * sysdeps/unix/_exit.S: Remove file.
4626
4e681b5b
AJ
46272012-04-23 Andreas Jaeger <aj@suse.de>
4628
4629 [BZ #13739]
4630 * manual/Makefile: Remove make dist support, there's no
4631 need for a stand-alone documentation tar ball.
4632 (TEXI2DVI): Define always, it's not in Makeconfig.
4633 (dist): Removed.
4634 (tar-it): Removed.
4635 (edition): Removed.
4636 (glibc-doc-$(edition).tar): Removed
4637 (%.Z): Removed.
4638 (%.gz): Removed.
4639 (%.uu): Removed.
4640 (ETAGS): Remove, it's in Makeconfig.
4641 (move-if-change): Remove, it's in Makeconfig.
4642
c0baea34
PE
46432013-04-23 Paul Eggert <eggert@cs.ucla.edu>
4644
4645 [BZ #13970]
4646 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
4647 (strtod, strtof, strtold, strtol, strtoul, strtoq)
4648 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
4649 (strtod_l, strtof_l, strtold_l): Remove __wur.
4650 It is not necessarily an error to ignore strtol's return value.
4651 One can reliably look at the stored endptr to decide whether
4652 the number had valid syntax.
4653
7c0616fa
AJ
46542012-04-21 Andreas Jaeger <aj@suse.de>
4655
803cb6b7 4656 [BZ #13739]
7c0616fa
AJ
4657 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
4658
b0fe253f
JM
46592012-04-21 Joseph Myers <joseph@codesourcery.com>
4660
4661 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
4662 * sysdeps/unix/sysv/Versions: Remove file.
4663
8280f22d
MT
46642012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
4665
4666 [BZ #13927]
4667 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4668
75ce411f 46692012-04-21 Nick Alcock <nick.alcock@oracle.com>
b8e33728
N
4670
4671 [BZ #7064]
4672 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
4673 version from __vm86.
4674
097d59fa
JM
46752012-04-20 Joseph Myers <joseph@codesourcery.com>
4676
a90f3bcb
JM
4677 * sysdeps/unix/common/lxstat.c: Remove file.
4678 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
4679
edc7ea78
JM
4680 * sysdeps/unix/sysv/Makefile: Remove file.
4681
cb78c221
JM
4682 * sysdeps/unix/sysv/direct.h: Remove file.
4683
efa6a45f
JM
4684 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
4685 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
4686 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
4687 * sysdeps/unix/sysv/bits/signum.h: Likewise.
4688 * sysdeps/unix/sysv/bits/stat.h: Likewise.
4689 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
4690 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
4691
9c9f2d0c
JM
4692 * sysdeps/unix/sysv/setrlimit.c: Remove file.
4693
4541c83b
JM
4694 * sysdeps/unix/xmknod.c: Remove file.
4695 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
4696
f5d153a0
JM
4697 * sysdeps/unix/sysv/settimeofday.c: Remove file.
4698
aa746595
JM
4699 * sysdeps/unix/sysv/i386/time.S: Remove file.
4700
cce5905e
JM
4701 * sysdeps/unix/fxstat.c: Remove file.
4702 * sysdeps/unix/xstat.c: Likewise.
4703 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
4704
37fa3841
JM
4705 * sysdeps/unix/sysv/sigaction.c: Remove file.
4706
ff1962a3
JM
4707 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
4708 (sysdep_headers): Remove variable.
4709 [termio.h not in sysdep_headers] (generated): Likewise.
4710 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
4711 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
4712 * sysdeps/unix/sysv/tcdrain.c: Likewise.
4713 * sysdeps/unix/sysv/tcflow.c: Likewise.
4714 * sysdeps/unix/sysv/tcflush.c: Likewise.
4715 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
4716 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
4717 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
4718 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
4719 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
4720
e7740d31
JM
4721 * sysdeps/unix/siglist.c: Remove file.
4722
ee06f18b
JM
4723 * sysdeps/unix/getppid.S: Remove file.
4724
097d59fa
JM
4725 * sysdeps/unix/mkdir.c: Remove file.
4726 * sysdeps/unix/rmdir.c: Likewise.
4727
ff3d51ec
AS
47282012-04-19 Andreas Schwab <schwab@linux-m68k.org>
4729
4730 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
4731 ERR_MAX value.
4732 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
4733 errlist-compat value.
4734
50f81fd7
DM
47352012-04-18 David S. Miller <davem@davemloft.net>
4736
4737 * sysdeps/generic/memcopy.h (reg_char): Delete.
4738 * debug/strcat_chk.c: Use char, not reg_char.
4739 * debug/strcpy_chk.c: Likewise.
4740 * debug/strncat_chk.c: Likewise.
4741 * debug/strncpy_chk.c: Likewise.
4742 * string/memchr.c: Likewise.
4743 * string/memrchr.c: Likewise.
4744 * string/rawmemchr.c: Likewise.
4745 * string/strcat.c: Likewise.
4746 * string/strchr.c: Likewise.
4747 * string/strchrnul.c: Likewise.
4748 * string/strcmp.c: Likewise.
4749 * string/strcpy.c: Likewise.
4750 * string/strncat.c: Likewise.
4751 * string/strncmp.c: Likewise.
4752 * string/strncpy.c: Likewise.
4753
8ff41c46
WS
47542012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
4755
4756 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
4757 __builtin_memcopy is called when src and dest ranges are known to not
4758 overlap.
4759
6b652f46
WS
47602012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
4761
4762 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
4763 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
4764 fwd_align_merge macro call.
4765 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
4766 bwd_align_merge macro call.
4767 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
4768
b282631e
WS
47692012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
4770
4771 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
4772 bwd_align_merge macros.
4773 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
4774 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
4775 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
4776
95aa737c
DM
47772012-04-18 David S. Miller <davem@davemloft.net>
4778
4779 * sysdeps/sparc/sparc64/memcopy.h: Delete.
4780
7a99a614
AJ
47812012-04-18 Andreas Jaeger <aj@suse.de>
4782
4783 [BZ# 6794]
4784 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
4785 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
4786 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
4787
4788 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
4789 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
4790 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
4791
4792 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
4793 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
4794 Adjust for changed ldbl-128 files.
4795
4796 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
4797 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
4798 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
4799
e5270c23
DM
48002012-04-17 David S. Miller <davem@davemloft.net>
4801
4802 * sysdeps/sparc/sparc32/memcopy.h: Delete.
4803
fb5e92c9
AS
48042012-04-17 Andreas Schwab <schwab@linux-m68k.org>
4805
4806 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
4807 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
4808 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
4809 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
4810 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
4811 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
4812
76da7265
AZ
48132012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4814
4815 [BZ #6794]
4816 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
4817 * math/libm-test.inc: Add ilogb errno and exception tests.
4818 * math/w_ilogb.c: New file: ilogb wrapper.
4819 * math/w_ilogbf.c: New file: ilogbf wrapper.
4820 * math/w_ilogbl.c: New file: ilogbl wrapper.
4821 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
4822 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
4823 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
4824 exception being thrown with 0.0 as argument.
4825 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
4826 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
4827 exception being thrown with 0.0 as argument.
4828 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
4829 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
4830 exception being thrown with 0.0 as argument.
4831 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
4832 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
4833 exception being thrown with 0.0 as argument.
4834 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
4835 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
7a99a614 4836 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
76da7265
AZ
4837 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
4838 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
4839 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
4840 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
4841 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
4842 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
4843
0396e69d
PB
48442012-04-17 Petr Baudis <pasky@ucw.cz>
4845
4846 * include/sys/uio.h: Change __vector to __iovec to avoid clash
4847 with altivec.
4848
750b5926
MP
48492012-04-16 Marek Polacek <polacek@redhat.com>
4850
4851 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
4852
751728a1
MP
48532012-04-16 Marek Polacek <polacek@redhat.com>
4854
4855 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
4856 operands of fdivp instruction.
4857
34a27407
L
48582012-04-13 H.J. Lu <hongjiu.lu@intel.com>
4859
4860 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
4861 * elf/tst-auditmod3b.c: Likewise.
4862 * elf/tst-auditmod4b.c: Likewise.
4863 * elf/tst-auditmod5b.c: Likewise.
4864 * elf/tst-auditmod6b.c: Likewise.
4865 * elf/tst-auditmod6c.c: Likewise.
4866 * elf/tst-auditmod7b.c: Likewise.
4867 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
4868 * sysdeps/x86_64/preconfigure.in: Likewise.
4869 * sysdeps/x86_64/preconfigure: Regenerated.
4870
7e73e17d
L
48712012-04-13 H.J. Lu <hongjiu.lu@intel.com>
4872
4873 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
4874 __ILP32__.
4875
c7a6ab72
AB
48762012-04-13 Antoine Balestrat <merkil33@gmail.com>
4877
4878 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
4879 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
4880
a9e8e0e0
CL
48812012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
4882
4883 [BZ #13973]
4884 * locale/iso-639.def: Fix gl language name. Spotted by
4885 Yaron Shahrabani.
4886
ec98af7d
RM
48872012-04-12 Roland McGrath <roland@hack.frob.com>
4888
4889 [BZ #2074]
4890 * libio/libio.h (__io_write_fn): Update comment.
4891
247c3ede
PB
48922012-04-12 Petr Baudis <pasky@ucw.cz>
4893
4894 [BZ #2074]
4895 * stdio.texi (Hook Functions): The user provided writer function
4896 is not allowed to return -1.
4897
55939d6d
DM
48982012-04-11 David S. Miller <davem@davemloft.net>
4899
4900 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4901
90020f5a
MF
49022012-04-11 Mike Frysinger <vapier@gentoo.org>
4903
4904 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
4905 Add a leading slash to rtkaio.
4906
288f9098
JM
49072012-04-11 Jim Meyering <meyering@redhat.com>
4908
90020f5a
MF
4909 [BZ #11959]
4910 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
4911 It is not necessarily an error to ignore fwrite's return
4912 value. One can reliably use ferror to test for errors after
4913 the fact.
288f9098 4914
4be2b570
L
49152012-04-10 H.J. Lu <hongjiu.lu@intel.com>
4916
4917 * bits/types.h (__snseconds_t): New type.
4918 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
4919
4920 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
4921 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
4922 (__SNSECONDS_T_TYPE): Likewise.
4923 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
4924 (__SNSECONDS_T_TYPE): Likewise.
4925 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
4926 (__SNSECONDS_T_TYPE): Likewise.
4927
288f9098 49282012-04-10 Andreas Jaeger <aj@suse.de>
4cfd8026
AJ
4929
4930 [BZ #2636]
4931 * manual/time.texi (Processor Time): Return type of times is
4932 elapsed real time since an arbitrary point in the past.
4933 (CPU Time): Move CLK_TCK from here...
4934 (Processor Time): ...to here. Correct description.
4935 * manual/conf.texi (Constants for Sysconf): Correct description of
4936 _SC_CLK_TCK.
4937
d7dd4413
DM
49382012-04-10 David S. Miller <davem@davemloft.net>
4939
4940 [BZ #13967]
4941 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
4942 where the is a gap between DT_REL(A) and DT_JMPREL.
4943
b46068fc
L
49442012-04-10 H.J. Lu <hongjiu.lu@intel.com>
4945
4946 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
4947 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
4948 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
4949
73d65cc3
SP
49502012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
4951
4952 * elf/dl-support.c (_dl_inhibit_cache): New variable.
4953 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
4954 (dl_main): Handle --inhibit-cache.
4955 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
4956 _dl_inhibit_cache.
4957 * elf/dl-load.c (_dl_map_object): Use it.
4958 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
4959
bcc8d661
JM
49602012-04-09 Joseph Myers <joseph@codesourcery.com>
4961
8f9a2fae
JM
4962 [BZ #13872]
4963 * sysdeps/i386/fpu/e_powl.S (p78): New object.
4964 (__ieee754_powl): Saturate large exponents rather than testing for
4965 overflow of y*log2(x).
4966 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
4967 * math/libm-test.inc (pow_test): Do not permit spurious overflow
4968 exceptions.
4969
bcc8d661
JM
4970 [BZ #11521]
4971 * math/s_ctan.c: Include <float.h>.
4972 (__ctan): Avoid internal overflow or cancellation in calculating
4973 denominator.
4974 * math/s_ctanf.c: Likewise.
4975 * math/s_ctanl.c: Likewise.
4976 * math/s_ctanh.c: Likewise.
4977 * math/s_ctanhf.c: Likewise.
4978 * math/s_ctanhl.c: Likewise.
4979 * math/libm-test.inc (ctan_test): Add more tests.
4980 (ctanh_test): Likewise.
4981 * sysdeps/i386/fpu/libm-test-ulps: Update.
4982 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4983
823fbbb4
AJ
49842012-04-09 Andreas Jaeger <aj@suse.de>
4985
03879793
AJ
4986 [BZ #6894]
4987 * manual/filesys.texi (Directory Entries): Mention that d_namlen
4988 is an optional BSD extension.
4989
823fbbb4
AJ
4990 [BZ #10254]
4991 * manual/stdio.texi (Opening Streams): Document additional fopen
4992 parameters.
4993
8de131cb
RM
49942012-04-09 Roland McGrath <roland@hack.frob.com>
4995
4996 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
4997 %eax without telling the compiler.
4998
c0ed9d7d
CD
49992012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
5000
5001 [BZ # 13963]
5002 * manual/install.texi: Use sourceware.org.
5003
c483f6b4
JM
50042012-04-09 Joseph Myers <joseph@codesourcery.com>
5005
d7dd9453
JM
5006 [BZ #13873]
5007 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
5008 (__ieee754_pow): Generate overflow and underflow using huge*huge
5009 and tiny*tiny rather than just returning constant infinity or zero
5010 for large exponents.
5011 * math/libm-test.inc (pow_test): Require overflow exceptions for
5012 applicable cases of large exponents.
5013
c483f6b4
JM
5014 [BZ #706]
5015 * sysdeps/i386/fpu/e_pow.S (p10): New object.
5016 (__ieee754_pow): Use iterative multiplication algorithm only for
5017 integer exponents with absolute value below 1024. Check for odd
5018 integer exponents when using algorithm for real exponents.
5019 * math/libm-test.inc (pow_test): Add more tests.
5020 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5021
d2de7579
JM
50222012-04-08 Joseph Myers <joseph@codesourcery.com>
5023
5024 [BZ #13705]
5025 * math/libm-test.inc (exp_test): Do not allow overflow exception
5026 on underflow test.
5027
f77f1232
AJ
50282012-04-08 Aurelien Jarno <aurelien@aurel32.net>
5029
5030 [BZ #13705]
5031 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
5032 instead of __kernel_standard_f.
5033
3884932b
MF
50342012-04-08 Mike Frysinger <vapier@gentoo.org>
5035
5036 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
5037 * sysdeps/x86_64/memset_chk.S: Likewise.
5038
54472e9c
AJ
50392012-04-08 Andreas Jaeger <aj@suse.de>
5040
6ab0fbfc
AJ
5041 [BZ #10153]
5042 * manual/startup.texi (Environment Access): Describe return value
5043 for putenv and setenv.
5044
61efba8c
AJ
5045 [BZ #6895]
5046 * manual/filesys.texi (Directory Entries): Add description for
5047 DT_LNK.
5048
95c3f29a
AJ
5049 [BZ #6890]
5050 * manual/filesys.texi (Directory Entries): Clarify that it's file
5051 system not operating system in the description of DT_UNKNOWN.
5052
54472e9c
AJ
5053 [BZ #6578]
5054 * manual/syslog.texi (closelog): Fix reference, it's openlog.
5055
624254b1
SC
50562012-04-08 Stephen Compall <s11@member.fsf.org>
5057
5058 [BZ #6649]
5059 * manual/llio.texi (Opening and Closing Files): Add cross
5060 reference to explain mode argument.
5061
1e4920e0
MF
50622012-04-07 Mike Frysinger <vapier@gentoo.org>
5063
5064 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
5065 * sysdeps/x86_64/memset_chk.S: Likewise.
5066
5ed848f3
DM
50672012-04-07 David S. Miller <davem@davemloft.net>
5068
5069 * elf/elf.h (R_SPARC_WDISP10): Define.
5070 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
5071 R_SPARC_SIZE32.
5072 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
5073 R_SPARC_SIZE64 and R_SPARC_H34.
5074
96154cd8
CD
50752012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
5076
5077 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
5078 conditions and remove no longer applicable assertion.
5079
9904dc47
L
50802012-04-06 H.J. Lu <hongjiu.lu@intel.com>
5081
5082 * bits/byteswap.h: Include <features.h>.
5083 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
5084 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
5085
f8887d0a
L
50862012-04-06 H.J. Lu <hongjiu.lu@intel.com>
5087
5088 * bits/byteswap.h (__bswap_16): Removed.
5089 Include <bits/byteswap-16.h> to get __bswap_16.
5090 * sysdeps/i386/bits/byteswap.h: Likewise.
5091 * sysdeps/s390/bits/byteswap.h: Likewise.
5092 * sysdeps/x86_64/bits/byteswap.h: Likewise.
5093 * bits/byteswap-16.h: New file.
5094 * sysdeps/i386/bits/byteswap-16.h: Likewise.
5095 * sysdeps/s390/bits/byteswap-16.h: Likewise.
5096 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
5097 * string/Makefile (headers): Add bits/byteswap-16.h.
5098
62470f60
PP
50992012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
5100
5101 [BZ #13895]
5102 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
5103 extra indirection.
5104 * nss/Makefile (tests-static, tests): Add tst-nss-static.
5105 * nss/tst-nss-static.c: New.
5106
4dad7bab
RM
51072012-04-06 Robert Millan <rmh@gnu.org>
5108
5109 [BZ #6486]
5110 * manual/llio.texi (File Position Primitive): lseek
5111 refers to WHENCE when it really means OFFSET.
5112
e9142a17
AJ
51132012-04-06 Andreas Jaeger <aj@suse.de>
5114
2c040eff
AJ
5115 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
5116 strncmp declarations.
5117
e9142a17
AJ
5118 * abilist/libc.abilist: Add __poll and __ppoll.
5119
ff9f1c5f
DM
51202012-04-05 David S. Miller <davem@davemloft.net>
5121
dcd2ae90
DM
5122 * scripts/check-local-headers.sh: Accept a host triplet in the
5123 path matched by the exclude regexp.
5124
993eb054
DM
5125 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
5126 definition.
5127 * sysdeps/powerpc/powerpc32/dl-machine.h
5128 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
5129 * sysdeps/s390/s390-32/dl-machine.h
5130 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
5131 * sysdeps/sparc/sparc32/dl-machine.h
5132 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
5133 * sysdeps/sparc/sparc64/dl-machine.h
5134 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
5135
ff9f1c5f
DM
5136 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
5137 lazy binding.
48e2e132 5138 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
ff9f1c5f
DM
5139 undefined symbol errors.
5140
48e2e132 5141 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
ff9f1c5f
DM
5142 DT_NEEDED entries.
5143
e80d6f94
MM
51442012-04-05 Michael Matz <matz@suse.de>
5145
5146 [BZ #13592]
5147 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
5148
349fa79f
AJ
51492012-04-05 Andreas Jaeger <aj@suse.de>
5150
5151 [BZ #13908]
5152 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
5153 comment.
5154
f402708f
KK
51552012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
5156
5157 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
5158 which ROUND is no valid rounding mode.
5159
2ecccfc9
KK
51602012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
5161
5162 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
5163 read again.
5164 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
5165
8a53f50f
KK
51662012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
5167
5168 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
5169 an exception using FPU order intentionally.
5170
51712012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
5172
5173 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
5174 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
5175 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
5176 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
5177
d653abb7
SJ
51782012-04-05 Simon Josefsson <simon@josefsson.org>
5179
5180 [BZ #12340]
5181 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
5182 EINVAL when BUFLEN is too smal.
5183
c3b1bf7d
TS
51842012-04-05 Thomas Schwinge <thomas@codesourcery.com>
5185
5186 [BZ #13553]
5187 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
5188 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
5189
b1aa60f3
AJ
51902012-04-03 Andreas Jaeger <aj@suse.de>
5191
c3b1bf7d 5192 [BZ #13938]
67f60a26
AJ
5193 * manual/setjmp.texi (System V contexts): Fix sentence.
5194
b1aa60f3
AJ
5195 [BZ #13926]
5196 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
5197 New macro for this case.
5198 [!__GNUC__] (__bswap_64): New inline function for this case.
5199 * sysdeps/x86_64/bits/byteswap.h: Likewise.
5200 * bits/byteswap.h: Likewise.
5201 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
5202 ull, guard with __GLIBC_HAVE_LONG_LONG.
5203
5204 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
5205 __GLIBC_HAVE_LONG_LONG.
5206
5207 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
5208 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
5209
39c59c35
TMQMF
52102012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
5211
5212 [BZ #13691]
5213 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
5214 inptr and inend, rather than using last_ch.
5215
135ffda8
DM
52162012-04-02 David S. Miller <davem@davemloft.net>
5217
5218 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
5219 * stdio-common/printf-parse.h (read_int): Change return type to
5220 'int', return -1 on INT_MAX overflow.
5221 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
5222 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
5223 overflows INT_MAX. Check for overflow of in-format-string precision
5224 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
5225 SIZE_MAX not INT_MAX for integer overflow test.
5226 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
5227 skip the construct in the format string but do not record anything.
5228 * stdio-common/bug22.c: Adjust to test both width/prevision
5229 INT_MAX overflow as well as total length INT_MAX overflow. Check
5230 explicitly for proper errno values.
5231
228c019e
TS
52322012-04-02 Thomas Schwinge <thomas@codesourcery.com>
5233
302cadd3
TS
5234 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
5235 CHAR_MAX.
5236 * string/test-strcmp.c [! WIDE]: Likewise.
5237 * time/tst-mktime2.c: Likewise for INT_MAX.
5238 * string/test-string.h: #include <sys/param.h> for MIN.
5239
228c019e
TS
5240 * csu/init-first.c (__libc_init_first): Call __ctype_init.
5241 * sysdeps/i386/init-first.c (init): Likewise.
5242 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
5243 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
5244 * sysdeps/sh/init-first.c (init): Likewise.
5245
cfa633f5
UD
52462012-04-01 Ulrich Drepper <drepper@gmail.com>
5247
5248 * po/ru.po: Update from translation team.
d1635ef8 5249 * po/vi.po: Likewise.
cfa633f5 5250
6cd0a5ea
SP
52512012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
5252
5253 * resolv/nss_dns/dns-host.c: Merge copyright years.
5254
4b43400f
LD
52552012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
5256
5257 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
5258 Optimize memcpy with prefetch if
5259 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
5260 src, dst pointers have unequal 16 byte alignments.
5261
48c41d04
SP
52622012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
5263
5264 [BZ #13928]
5265 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
5266 from a CNAME entry and return the minimum ttl for the query.
5267 (gaih_getanswer_slice): Likewise.
5268
b8dc394d
JL
52692012-03-30 Jeff Law <law@redhat.com>
5270
5271 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
5272 due to long keys.
5273 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
5274 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
5275
2f5a5ed0
JL
5276 * resolv/nss_dns/dns-host.c: Update copyright year.
5277
1d39e359
UD
52782012-03-30 Ulrich Drepper <drepper@gmail.com>
5279
c030f70c 5280 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8e6d1083 5281 requests to save a system call. Fix check that all bytes are sent.
c030f70c 5282
1d39e359
UD
5283 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
5284 comments for sendmmsg.
5285
52862012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
e64d2de5
TMQMF
5287
5288 [BZ #13691]
5289 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
5290 with only 1 character between 0x0041 and 0x01b0.
5291 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
5292 * wcsmbs/tst-mbsnrtowcs.c: New file.
5293
20fde227
DM
52942012-03-29 David S. Miller <davem@davemloft.net>
5295
5296 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
5297 small copies by hand.
5298
984a4237
JL
52992012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
5300
5301 [BZ #13761]
5302 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
5303 _nss_compat_initgroups_dyn): Fall back to malloc/free
5304 for large group memberships.
5305
18c9d62b
DM
53062012-03-28 David S. Miller <davem@davemloft.net>
5307
88d85d4f
DM
5308 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
5309 that branches into memcpy.
5310 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
5311 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
5312 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
5313 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
5314 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
5315 bits.
5316 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
5317 implementation too.
5318 * sysdeps/sparc/mempcpy.S: New file.
5319
e5aa83e1
DM
5320 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
5321 the IFUNC routine in the libc case.
5322 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
5323
88570753
DM
5324 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
5325 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
5326 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
5327 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
5328 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
5329 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
5330 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
5331 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
5332
249d7567
DM
5333 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
5334 loop to 256 bytes instead of 64 bytes and fix test signedness.
5335
18c9d62b
DM
5336 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
5337 * sysdeps/sparc/sparc32/Makefile: rather than here...
5338 * sysdeps/sparc/sparc64/Makefile: and here.
5339
05f3d1f6
UD
53402012-03-28 Ulrich Drepper <drepper@gmail.com>
5341
5342 * malloc/mallocbug.c: Avoid warnings about unused variables.
5343
86ae07a8
JL
53442012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
5345
5346 [BZ #13760]
5347 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
5348 in the right place. Discard and retry query if response is
5349 larger than input buffer size.
5350
41bf21a1
JM
53512012-03-28 Joseph Myers <joseph@codesourcery.com>
5352
d6270972
JM
5353 [BZ #369]
5354 [BZ #2678]
5355 [BZ #3866]
5356 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
5357 x for large integer exponent.
5358 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
5359 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
5360 sign of result as needed afterwards.
5361 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
5362 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
5363 result for underflowing pow the same as for overflow.
5364 (__kernel_standard_l): Handle powl overflow and underflow here
5365 rather than calling __kernel_standard.
5366 * math/libm-test.inc (pow_test): Add more tests.
5367
414fca03 5368 [BZ #3868]
41bf21a1
JM
5369 [BZ #13879]
5370 [BZ #13910]
5371 [BZ #13911]
5372 [BZ #13912]
5373 [BZ #13913]
5374 [BZ #13915]
5375 [BZ #13916]
5376 [BZ #13917]
5377 [BZ #13918]
5378 [BZ #13919]
5379 [BZ #13920]
5380 [BZ #13921]
5381 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
5382 * sysdeps/ieee754/k_standard.c: Include <float.h>.
5383 (__kernel_standard_l): New function.
5384 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
5385 __kernel_standard.
5386 * math/w_acosl.c (__acosl): Likewise.
5387 * math/w_asinl.c (__asinl): Likewise.
5388 * math/w_atan2l.c (__atan2l): Likewise.
5389 * math/w_atanhl.c (__atanhl): Likewise.
5390 * math/w_coshl.c (__coshl): Likewise.
5391 * math/w_exp10l.c (__exp10l): Likewise.
5392 * math/w_exp2l.c (__exp2l): Likewise.
5393 * math/w_fmodl.c (__fmodl): Likewise.
5394 * math/w_hypotl.c (__hypotl): Likewise.
5395 * math/w_j0l.c (__j0l, __y0l): Likewise.
5396 * math/w_j1l.c (__j1l, __y1l): Likewise.
5397 * math/w_jnl.c (__jnl, __ynl): Likewise.
5398 * math/w_lgammal.c (__lgammal): Likewise.
5399 * math/w_log10l.c (__log10l): Likewise.
5400 * math/w_log2l.c (__log2l): Likewise.
5401 * math/w_logl.c (__logl): Likewise.
5402 * math/w_powl.c (__powl): Likewise.
5403 * math/w_remainderl.c (__remainderl): Likewise.
5404 * math/w_scalbl.c (sysv_scalbl): Likewise.
5405 * math/w_sinhl.c (__sinhl): Likewise.
5406 * math/w_sqrtl.c (__sqrtl): Likewise.
5407 * math/w_tgammal.c (__tgammal): Likewise.
5408 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
5409 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
5410 * math/libm-test.inc (acos_test): Add more tests.
5411 (acosh_test): Likewise.
5412 (asin_test): Likewise.
5413 (atanh_test): Likewise.
5414 (exp_test): Likewise.
5415 (exp10_test): Likewise.
5416 (exp2_test): Likewise.
5417 (expm1_test): Likewise.
5418 (lgamma_test): Likewise.
5419 (log_test): Likewise.
5420 (log10_test): Likewise.
5421 (log1p_test): Likewise.
5422 (log2_test): Likewise.
5423 (pow_test): Do not allow some spurious overflow exceptions.
5424 (sqrt_test): Add more tests.
5425 (tgamma_test): Likewise.
5426 (y0_test): Likewise.
5427 (y1_test): Likewise.
5428 (yn_test): Likewise.
5429
dd62fda6
AB
54302012-03-27 Anton Blanchard <anton@samba.org>
5431
5432 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
5433 MAP_HUGETLB.
5434 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
5435 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
5436 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
5437
1e3cdfda
AJ
54382012-03-27 David S. Miller <davem@davemloft.net>
5439
b855ab85
DM
5440 * conform/Makefile: Run run-conformtest.sh using $(BASH).
5441
1e3cdfda
AJ
5442 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
5443 have-as-vis3 check.
5444
54452012-03-27 Andreas Jaeger <aj@suse.de>
5446
5447 * sysdeps/x86_64/elf/configure.in: Moved to ...
5448 * sysdeps/x86_64/configure.in: ... here.
5449 * sysdeps/x86_64/elf/start.S: Moved to ...
5450 * sysdeps/x86_64/start.S: ... here.
5451 * sysdeps/x86_64/elf/configure: Delete.
5452
5453 * sysdeps/x86_64/configure.in: Merge contents from
5454 sysdeps/i386/configure.in (without i686 check).
5455
5456 * sysdeps/i386/elf/Versions: Merge into ...
5457 * sysdeps/i386/Versions: ... this.
5458 * sysdeps/i386/elf/Versions: Delete file.
5459 * sysdeps/i386/elf/start.S: Moved to ...
5460 * sysdeps/i386/start.S: ...here.
5461 * sysdeps/i386/elf/configure.in: Merge into...
5462 * sysdeps/i386/configure.in: ...here.
5463 * sysdeps/i386/elf/configure.in: Delete file.
5464 * sysdeps/i386/elf/configure: Delete file.
5465
5466 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
5467 * debug/backtracesyms.c: ... here.
5468 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
5469 * debug/backtracesymsfd.c: ... here.
5470 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
5471 * sysdeps/generic/ifunc-sel.h: ... here.
5472
5473 * sysdeps/unix/i386/start.c: Delete file.
5474 * sysdeps/unix/sparc/start.c: Delete file.
5475 * sysdeps/unix/start.c: Delete file.
5476
5477 * sysdeps/sh/elf/configure.in: Moved to ...
5478 * sysdeps/sh/configure.in: ... here.
5479 * sysdeps/sh/elf/start.S: Moved to ...
5480 * sysdeps/sh/start.S: ... here.
5481 * sysdeps/sh/elf/configure: Delete file.
5482
5483 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
5484 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
5485 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
5486 * sysdeps/powerpc/powerpc64/entry.h: ... here.
5487 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
5488 * sysdeps/powerpc/powerpc64/start.S: here.
5489 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
5490 * sysdeps/powerpc/powerpc64/Makefile: ... this.
5491 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
5492 * sysdeps/powerpc/powerpc64/configure.in: ... this.
5493 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
5494
5495 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
5496 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
5497 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
5498 * sysdeps/powerpc/powerpc32/start.S: ... here.
5499 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
5500 * sysdeps/powerpc/powerpc32/configure.in: ... this.
5501 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
5502
5503 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
5504 * sysdeps/powerpc/ifunc-sel.h: ... here.
5505 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
5506 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
5507
5508 * sysdeps/sparc/elf/configure.in: Moved to ...
5509 * sysdeps/sparc/configure.in: ... here.
5510 * sysdeps/sparc/elf/configure: Delete file.
5511 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
5512 * sysdeps/sparc/sparc32/start.S: ... here.
5513 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
5514 * sysdeps/sparc/sparc64/start.S: ... here.
5515 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
5516 * sysdeps/sparc/sparc32/Makefile: ... this.
5517 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
5518 * sysdeps/sparc/sparc64/Makefile: ... this.
5519
5520 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
5521 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
5522 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
5523 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
5524 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
5525 * sysdeps/s390/s390-32/setjmp.S: ... here.
5526 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
5527 * sysdeps/s390/s390-32/configure.in: ... here.
5528 * sysdeps/s390/s390-32/elf/configure: Delete file.
5529 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
5530 * sysdeps/s390/s390-32/start.S: ... here.
5531
5532 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
5533 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
5534 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
5535 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
5536 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
5537 * sysdeps/s390/s390-64/setjmp.S: ... here.
5538 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
5539 * sysdeps/s390/s390-64/configure.in: ... here
5540 * sysdeps/s390/s390-64/elf/configure: Delete file.
5541 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
5542 * sysdeps/s390/s390-64/start.S: ... here.
5543 * sysdeps/s390/s390-64/elf/configure: Delete.
5544
5545 * configure.in: Remove support for elf directories in sysdeps.
5546
5547 * configure: Regenerated.
5548 * sysdeps/i386/configure: Regenerated.
5549 * sysdeps/powerpc/powerpc32/configure: Regenerated.
5550 * sysdeps/powerpc/powerpc64/configure: Regenerated.
5551 * sysdeps/s390/s390-32/configure: Regenerated.
5552 * sysdeps/s390/s390-64/configure: Regenerated.
5553 * sysdeps/sh/configure: Regenerated.
5554 * sysdeps/sparc/configure: Regenerated.
5555 * sysdeps/x86_64/configure: Regenerated.
5556
a3f61311
AS
55572012-03-26 Andreas Schwab <schwab@linux-m68k.org>
5558
c876e002
AS
5559 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5560
a3f61311
AS
5561 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
5562 denormal result into account.
5563
ac4c54f0
RM
55642012-03-25 Roland McGrath <roland@hack.frob.com>
5565
5566 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
5567 Reported by Allan McRae <allan@archlinux.org>.
5568
6a9b9c02
JL
55692012-03-23 Jeff Law <law@redhat.com>
5570
5571 * nss/getnssent.c (__nss_getent): Fix typo.
5572
4c42a0c1
DM
55732012-03-23 David S. Miller <davem@davemloft.net>
5574
5575 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5576
1532c7ac
L
55772012-03-23 H.J. Lu <hongjiu.lu@intel.com>
5578
5579 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
5580 to pad to uint64_t for each field.
5581 (dl_tls_index): Replace unsigned long with uint64_t.
5582
3ff42526
PP
55832012-03-23 Daniel Jacobowitz <dmj@google.com>
5584 Paul Pluzhnikov <ppluzhnikov@google.com>
5585
5586 [BZ #6528]
5587 * grp/Makefile (otherlibs): Don't set it.
5588 * inet/Makefile (otherlibs): Likewise.
5589 * login/Makefile (otherlibs): Likewise.
5590 * nscd/Makefile (otherlibs): Likewise.
5591 * posix/Makefile (otherlibs): Likewise.
5592 * pwd/Makefile (otherlibs): Likewise.
5593 * rt/Makefile (otherlibs): Likewise.
5594 * sunrpc/Makefile (otherlibs): Likewise.
5595 * nss/Makefile (otherlibs): Likewise.
5596 Add libnss_files to routines and static-only-routines.
5597 ($(objpfx)getent): Remove rule.
5598 * resolv/Makefile: Add libnss_dns and libresolv to routines and
5599 static-only-routines.
5600
7c69cd14
JM
56012012-03-22 Joseph Myers <joseph@codesourcery.com>
5602
5603 [BZ #13892]
5604 * math/s_cexp.c: Include <float.h>.
5605 (__cexp): Handle exp result overflowing not necessarily
5606 overflowing both real and imaginary parts of result.
5607 * math/s_cexpf.c: Likewise.
5608 * math/s_cexpl.c: Likewise.
5609 * math/libm-test.inc (cexp_test): Add more tests.
5610 * sysdeps/i386/fpu/libm-test-ulps: Update.
5611 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5612
81b035fe
L
56132012-03-22 H.J. Lu <hongjiu.lu@intel.com>
5614
5615 * include/link.h (ELFW): New macro.
5616 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
5617 Replace ELF64_R_TYPE with ELFW(R_TYPE).
5618
1da7940c
L
56192012-03-22 H.J. Lu <hongjiu.lu@intel.com>
5620
5621 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
5622 with uint64_t.
5623
b749dbb9
L
56242012-03-22 H.J. Lu <hongjiu.lu@intel.com>
5625
5626 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
5627 declaration.
5628 (struct La_x32_retval): Likewise.
5629
2ff87f3f
L
56302012-03-22 H.J. Lu <hongjiu.lu@intel.com>
5631
5632 * sysdeps/x86_64/preconfigure.in: New file.
5633 * sysdeps/x86_64/preconfigure: New generated file.
5634
c0df8e69
JM
56352012-03-22 Joseph Myers <joseph@codesourcery.com>
5636
48e44791
JM
5637 [BZ #13824]
5638 * math/e_exp2l.c: Include <float.h>.
5639 (__ieee754_exp2l): Handle overflow and underflow cases
5640 separately. Only pass fractional part of argument to
5641 __ieee754_expl.
5642 * math/libm-test.inc (exp2_test): Add more tests.
5643
c0df8e69
JM
5644 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
5645 negating x to take absolute value.
5646 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
5647 Likewise.
5648 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
5649 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
5650 Likewise.
5651 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
5652 computing low part if x was negated.
5653 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
5654
c8e43ba7
L
56552012-03-21 H.J. Lu <hongjiu.lu@intel.com>
5656
5657 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
5658 la_x32_gnu_pltexit.
5659 (pltexit): Cast int_retval to ptrdiff_t.
5660 * elf/tst-auditmod3b.c: Likewise.
5661 * elf/tst-auditmod4b.c: Likewise.
5662 * elf/tst-auditmod5b.c: Likewise.
5663 * elf/tst-auditmod6b.c: Likewise.
5664 * elf/tst-auditmod6c.c: Likewise.
5665 * elf/tst-auditmod7b.c: Likewise.
5666
5667 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
5668 and x32_gnu_pltexit.
5669
5670 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
5671 __ELF_NATIVE_CLASS.
5672 (La_x32_regs): New macro.
5673 (La_x32_retval): Likewise.
5674 (la_x32_gnu_pltenter): New function prototype.
5675 (la_x32_gnu_pltexit): Likewise.
5676
7998fa78
AS
56772012-03-21 Andreas Schwab <schwab@linux-m68k.org>
5678
dcb33988
AS
5679 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
5680 exponent.
5681
233fc563
AS
5682 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5683
7998fa78
AS
5684 * configure.in (libc_cv_cc_nofma): Check for option to disable
5685 generation of FMA instructions.
5686 * configure: Regenerate.
5687 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
5688 * sysdeps/ieee754/dbl-64/Makefile: New file.
5689 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
5690 Remove brandred-fma4.
5691 (CFLAGS-brandred-fma4.c): Remove.
5692 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
5693 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
5694 define.
5695 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
5696 define.
5697
8e95c99a
L
56982012-03-21 H.J. Lu <hongjiu.lu@intel.com>
5699
5700 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
5701 LLONG_MAX != LONG_MAX.
5702 (_itoa_word): Use _ITOA_WORD_TYPE on value.
5703 (_fitoa_word): Likewise.
5704 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
5705 LLONG_MAX != LONG_MAX.
5706 * stdio-common/_itowa.h: Include <_itoa.h>.
5707 (_itowa_word): Use _ITOA_WORD_TYPE on value.
5708 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
5709 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
5710 only if not defined.
5711 (_ITOA_WORD_TYPE): Likewise.
5712 (_itoa_word): Use _ITOA_WORD_TYPE on value.
5713 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
5714
6f4db457
DM
57152012-03-21 David S. Miller <davem@davemloft.net>
5716
5717 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5718
7785fe5a
L
57192012-03-21 H.J. Lu <hongjiu.lu@intel.com>
5720
5721 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
5722 of x86_64 when setting libc_cv_slibdir, libdir and
5723 libc_cv_localedir.
5724 * sysdeps/unix/sysv/linux/configure: Regenerated.
5725
4535cd55
JM
57262012-03-21 Joseph Myers <joseph@codesourcery.com>
5727
5728 * manual/lang.texi (Old Varargs): Remove section.
5729 (How Variadic): Update menu.
5730 (va_start): Do not mention varargs.h.
5731
17228132
TS
57322012-03-21 Thomas Schwinge <thomas@codesourcery.com>
5733 Joseph Myers <joseph@codesourcery.com>
5734
5735 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
5736 link test.
5737 * configure: Regenerated.
5738
8149f976
TS
57392012-03-21 Thomas Schwinge <thomas@codesourcery.com>
5740
05f3d1f6
UD
5741 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
5742 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
5743 conformtest.pl
8149f976 5744
1a4ac776
JM
57452012-03-21 Joseph Myers <joseph@codesourcery.com>
5746
be22ce65
JM
5747 * NOTES: Remove.
5748 * Makefile (files-for-dist): Remove NOTES.
5749 (NOTES): Remove rule.
5750 * README: Don't refer to NOTES.
5751 * manual/creature.texi: Don't include macros.texi.
5752 * manual/intro.texi (creature.texi): Remove comment referring to
5753 NOTES.
5754
40b601fb
JM
5755 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
5756 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
5757 * configure: Regenerated.
5758 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
5759 LIBC_TRY_CC_OPTION.
5760 (libc_cv_as_i686): Likewise.
5761 (libc_cv_cc_avx): Likewise.
5762 (libc_cv_cc_sse2avx): Likewise.
5763 (libc_cv_cc_fma4): Likewise.
5764 (libc_cv_cc_novzeroupper): Likewise.
5765 * sysdeps/i386/configure: Regenerated.
5766
1a4ac776
JM
5767 [BZ #13883]
5768 * sysdeps/i386/fpu/s_cexp.S: Remove.
5769 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
5770 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
5771 * math/libm-test.inc (cexp_test): Add more tests.
5772 * sysdeps/i386/fpu/libm-test-ulps: Update.
5773 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5774
a458e7fe
AM
57752012-03-21 Allan McRae <allan@archlinux.org>
5776
5777 * timezone/Makefile: Do not install iso3166.tab and zone.tab
5778
0cb7efc5
JM
57792012-03-21 Joseph Myers <joseph@codesourcery.com>
5780
5781 [BZ #13871]
5782 * math/w_exp2.c: Do not include <float.h>.
5783 (o_threshold, u_threshold): Remove.
5784 (__exp2): Calculate result before checking finiteness and calling
5785 __kernel_standard.
5786 * math/w_exp2f.c: Likewise.
5787 * math/w_exp2l.c: Likewise.
5788 * math/libm-test.inc (exp2_test): Require overflow exception for
5789 1e6 input.
2460d3aa
JM
5790
5791 [BZ #3866]
5792 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
5793 range of signed 64-bit integers before using fistpll. Remove
5794 checks for whether integers fit in mantissa bits.
5795 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
5796 the range of signed 32-bit integers before using fistpl. Remove
5797 checks for whether integers fit in mantissa bits.
5798 * sysdeps/i386/fpu/e_powl.S (p64): New object.
5799 (__ieee754_powl): Test for y outside the range of signed 64-bit
5800 integers before using fistpll. Reduce 64-bit values to 63-bit
5801 ones as needed.
5802 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
5803 divide-by-zero is raised for zero to large negative powers.
5804 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
5805 (__ieee754_powl): Test for y outside the range of signed 64-bit
5806 integers before using fistpll. Reduce 64-bit values to 63-bit
5807 ones as needed.
5808 * math/libm-test.inc (pow_test): Add more tests.
5809
eb96ffb0
L
58102012-03-20 H.J. Lu <hongjiu.lu@intel.com>
5811
5812 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
5813 <stdio-common/_itoa.h>.
5814 * debug/segfault.c: Likewise.
5815 * elf/dl-cache.c: Likewise.
5816 * elf/dl-minimal.c: Likewise.
5817 * elf/dl-misc.c: Likewise.
5818 * elf/dl-sysdep.c: Likewise.
5819 * elf/dl-version.c: Likewise.
5820 * elf/rtld.c: Likewise.
5821 * hurd/hurdsock.c: Likewise.
5822 * hurd/lookup-retry.c: Likewise.
5823 * malloc/malloc.c: Likewise.
5824 * malloc/mtrace.c: Likewise.
5825 * nscd/nscd_getgr_r.c: Likewise.
5826 * nscd/nscd_getpw_r.c: Likewise.
5827 * nscd/nscd_getserv_r.c: Likewise.
5828 * posix/getopt_init.c: Likewise.
5829 * posix/wordexp.c: Likewise.
5830 * stdio-common/_itoa.c: Likewise.
5831 * stdio-common/printf_fphex.c: Likewise.
5832 * stdio-common/vfprintf.c: Likewise.
5833 * string/_strerror.c: Likewise.
5834 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
5835 * sysdeps/i386/i686/hp-timing.h: Likewise.
5836 * sysdeps/mach/_strerror.c: Likewise.
5837 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
5838 * sysdeps/mach/hurd/sethostid.c: Likewise.
5839 * sysdeps/mach/hurd/xmknodat.c: Likewise.
5840 * sysdeps/mach/xpg-strerror.c: Likewise.
5841 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
5842 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
5843 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
5844 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
5845 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
5846 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
5847 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
5848 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
5849 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
5850 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
5851 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
5852 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
5853 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
5854 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
5855 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
5856 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
5857 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
5858 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
5859 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
5860 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
5861 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
5862
5863 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
5864
5865 * stdio-common/_itoa.h: Moved to ...
5866 * sysdeps/generic/_itoa.h: Here.
5867
5868 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
5869
5870 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
5871 instead of "_itoa.h" and "_itowa.h".
5872 * stdio-common/vfprintf.: Likewise.
5873
d1af992d
L
58742012-03-20 H.J. Lu <hongjiu.lu@intel.com>
5875
5876 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
5877 <bits/wordsize.h>.
5878 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
5879 (__signbit): Likwise.
5880 (llrintf): Likwise.
5881 (llrint): Likwise.
5882
114883e0
L
58832012-03-20 H.J. Lu <hongjiu.lu@intel.com>
5884
5885 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
5886 __WORDSIZE != 64.
5887
c135cc1b
JM
58882012-03-20 Joseph Myers <joseph@codesourcery.com>
5889
5890 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
5891 OVERFLOW_EXCEPTION_OK.
5892 * math/libm-test.inc ("Philosophy"): Update comment about
5893 exception testing.
5894 (OVERFLOW_EXCEPTION): Define.
5895 (OVERFLOW_EXCEPTION_OK): Likewise.
5896 (INVALID_EXCEPTION_OK): Renumber.
5897 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
5898 (IGNORE_ZERO_INF_SIGN): Likewise.
5899 (test_exceptions): Handle FE_OVERFLOW.
5900 (exp10_test): Expect overflow exceptions.
5901 (exp2_test): Likewise.
5902 (expm1_test): Likewise.
5903 (nextafter_test): Likewise.
5904 (pow_test): Likewise.
5905 (scalbn_test): Likewise.
5906 (scalbln_test): Likewise.
5907
95443d88
L
59082012-03-19 H.J. Lu <hongjiu.lu@intel.com>
5909
5910 * sysdeps/x86_64/bits/atomic.h
5911 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
5912 64bit integer.
5913 (atomic_exchange_acq): Likewise.
5914 (__arch_exchange_and_add_body): Likewise.
5915 (__arch_add_body): Likewise.
5916 (atomic_add_negative): Likewise.
5917 (atomic_add_zero): Likewise.
5918
490df6c4
L
59192012-03-19 H.J. Lu <hongjiu.lu@intel.com>
5920
c2722551 5921 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
5922 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
5923
5e52b189
L
59242012-03-19 H.J. Lu <hongjiu.lu@intel.com>
5925
5926 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
5927 Check __x86_64__ instead of __WORDSIZE.
5928
a9879d4c
L
59292012-03-19 H.J. Lu <hongjiu.lu@intel.com>
5930
5931 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
5932
5df98260
DM
59332012-03-19 David S. Miller <davem@davemloft.net>
5934
e1497744
DM
5935 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5936
5df98260
DM
5937 * sysdeps/sparc/fpu/fenv_private.h: New file.
5938 * sysdeps/sparc/fpu/math_private.h: Use it.
5939 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
5940 Remove.
5941 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
5942 (libc_feholdexcept_setroundl): Remove.
5943 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
5944 Remove.
5945 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
5946 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
5947
b4c35121
L
59482012-03-19 H.J. Lu <hongjiu.lu@intel.com>
5949
5950 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
5951 int64_t instead of long int.
5952 (INSERT_WORDS64): Likwise.
5953
56965fd7
L
59542012-03-19 H.J. Lu <hongjiu.lu@intel.com>
5955
5956 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
5957 _Unwind_GetCFA return to _Unwind_Ptr first.
5958
83d1aec8
JM
59592012-03-19 Joseph Myers <joseph@codesourcery.com>
5960
1897ad44
JM
5961 [BZ #13629]
5962 * math/s_clog.c: Include <float.h>.
5963 (__clog): Scale large or subnormal inputs.
5964 * math/s_clogf.c: Likewise.
5965 * math/s_clogl.c: Likewise.
5966 * math/s_clog10.c: Include <float.h>.
5967 (M_LOG10_2): Define.
5968 (__clog10): Scale large or subnormal inputs.
5969 * math/s_clog10f.c: Likewise.
5970 * math/s_clog10l.c: Likewise.
5971 * math/libm-test.inc (clog_test): Add more tests.
5972 (clog10_test): Likewise.
5973 * sysdeps/i386/fpu/libm-test-ulps: Update.
5974 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5975
7726d6a9
JM
5976 [BZ #11451]
5977 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
5978 x and y.
5979 * math/libm-test.inc (atan2_test): Add another test.
5980
83d1aec8
JM
5981 * Makerules (common-objdir-compile): Remove.
5982 * sysdeps/unix/Makefile (config-generated): Do not add
5983 $(unix-generated) to variable.
5984 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
5985 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
5986 Remove rule.
5987 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
5988 Likewise.
5989 [generic bits/local_lim.h] (before-compile): Do not append to
5990 variable.
5991 [generic bits/local_lim.h] (common-generated): Likewise.
5992 [generic sys/param.h] (before-compile): Do not append to variable.
5993 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
5994 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
5995 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
5996 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
5997 include.
5998 [generic sys/param.h] (sys/param.h-includes): Remove variable.
5999 [generic sys/param.h] (sys/param.h-includes): Remove rule.
6000 [generic sys/param.h] ($(addprefix
6001 $(common-objpfx),$(sys/param.h-includes))): Likewise.
6002 [generic sys/param.h] (common-generated): Do not append to
6003 variable.
6004 [generic sys/param.h] (sysdep_headers): Likewise.
6005 [generic bits/errno.h] (before-compile): Do not append to
6006 variable.
6007 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
6008 rule.
6009 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
6010 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
6011 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
6012 [generic bits/errno.h] (common-generated): Do not append to
6013 variable.
6014 [generic bits/ioctls.h] (before-compile): Do not append to
6015 variable.
6016 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
6017 rule.
6018 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
6019 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
6020 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
6021 rule.
6022 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
6023 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
6024 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
6025 [generic bits/ioctls.h] (common-generated): Do not append to
6026 variable.
6027 [generic sys/syscall.h] (syscall.h): Remove variable.
6028 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
6029 rule.
6030 [generic sys/syscall.h] (before-compile): Do not append to
6031 variable.
6032 [generic sys/syscall.h] (common-generated): Likewise.
6033 * sysdeps/unix/errnos-tmpl.c: Remove file.
6034 * sysdeps/unix/errnos.awk: Likewise.
6035 * sysdeps/unix/ioctls-tmpl.c: Likewise.
6036 * sysdeps/unix/ioctls.awk: Likewise.
6037 * sysdeps/unix/mk-local_lim.c: Likewise.
6038 * sysdeps/unix/snarf-ioctls: Likewise.
6039
4851a949
RH
60402012-03-19 Richard Henderson <rth@twiddle.net>
6041
bd37f2ee
RH
6042 * sysdeps/i386/fpu/fenv_private.h: New file.
6043 * sysdeps/i386/fpu/math_private.h: Use it.
6044 (math_opt_barrier, math_force_eval): Remove.
6045 (libc_feholdexcept_setround_53bit): Remove.
6046 (libc_feupdateenv_53bit): Remove.
6047 * sysdeps/x86_64/fpu/math_private.h: Likewise.
6048 (math_opt_barrier, math_force_eval): Remove.
6049 (libc_feholdexcept): Remove.
6050 (libc_feholdexcept_setround): Remove.
6051 (libc_fetestexcept, libc_fesetenv): Remove.
6052 (libc_feupdateenv_test): Remove.
6053 (libc_feupdateenv, libc_feholdsetround): Remove.
6054 (libc_feresetround): Remove.
6055
d0adc922
RH
6056 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
6057 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
6058
0fe0f1f8
RH
6059 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
6060 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
6061 (libc_feupdateenv_testl): New.
6062 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
6063 (libc_feupdateenv_testf): New.
6064 (libc_feupdateenv): Use libc_feupdateenv_test.
6065 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
6066 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
6067
eb92c487
RH
6068 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
6069 (libc_feholdsetroundf, libc_feholdsetroundl): New.
6070 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
6071 (libc_feresetround_noex): New.
6072 (libc_feresetround_noexf): New.
6073 (libc_feresetround_noexl): New.
6074 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
6075 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
6076 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
6077 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
6078 SET_RESTORE_ROUND.
6079 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
6080 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
6081 (__cos): Likewise.
6082 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
6083 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
6084 SET_RESTORE_ROUND_NOEX.
6085 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
6086 SET_RESTORE_ROUND_NOEXF.
6087 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
6088 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
6089 (libc_feholdsetroundf): New.
6090 (libc_feresetround, libc_feresetroundf): New.
6091
7d2e8012
RH
6092 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
6093 (libc_feholdexcept_setround_53bit): Convert from macro to function.
6094 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
6095
b4dabbb4
RH
6096 * sysdeps/generic/math_private.h: Include <fenv.h>.
6097 (default_libc_feholdexcept): New.
6098 (default_libc_feholdexcept_setround): New.
6099 (default_libc_fesetenv, default_libc_feupdateenv): New.
6100 (libc_feholdexcept): Only define if undefined.
6101 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
6102 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
6103 (libc_feholdexcept_setroundl): Likewise.
6104 (libc_feholdexcept_setround_53bit): Likewise.
6105 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
6106 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
6107 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
6108 (libc_feupdateenv_53bit): Likewise.
6109 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
6110 (libc_feholdexcept): Convert from macro to inline function.
6111 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
6112 (libc_fesetenv, libc_feupdateenv): Likewise.
6113
4851a949
RH
6114 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
6115 not previously defined.
6116 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
6117 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
6118 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
6119 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
6120 * sysdeps/ieee754/flt-32/math_private.h: New file.
6121 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
6122 math_private.h below SET_FLOAT_WORD.
6123 (__isnan, __isinf_ns, __finite): Remove.
6124 (__isnanf, __isinf_nsf, __finitef): Remove.
6125
e79d442e
AS
61262012-03-18 Andreas Schwab <schwab@linux-m68k.org>
6127
6128 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6129
90b80344
DM
61302012-03-17 David S. Miller <davem@davemloft.net>
6131
6132 [BZ #6471]
6133 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
6134 for 2.16.
6135
edc21804
DM
61362012-03-16 David S. Miller <davem@davemloft.net>
6137
77e927af
DM
6138 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
6139 warnings.
6140
374976dd
DM
6141 [BZ #6471]
6142 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
6143 properly.
6144 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
6145 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
6146 sysdep_routines when subdir is sysvipc.
6147 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
6148 __getshmlba helper.
6149
edc21804
DM
6150 * sysdeps/sparc/fpu/libm-test/ulps: Update.
6151
473c3ef3
L
61522012-03-16 H.J. Lu <hongjiu.lu@intel.com>
6153
6154 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
6155 [__LP64__].
6156
eb0f39b6
L
61572012-03-16 H.J. Lu <hongjiu.lu@intel.com>
6158
6159 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
6160 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
6161 (__lround): Renamed to ...
6162 (__llround): This. Replace long int with long long int.
6163 Define lround functions as aliases of llround functions.
6164 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
6165
6b6cd74b
L
61662012-03-16 H.J. Lu <hongjiu.lu@intel.com>
6167
6168 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
6169 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
6170 adresses to uintptr_t. Replace "long int" and "unsigned long
6171 int" with "greg_t" on va_arg.
6172
f1a77b01
L
61732012-03-16 H.J. Lu <hongjiu.lu@intel.com>
6174
6175 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
6176 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
6177
6178 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
6179 Move e_machine check before EI_CLASS check. Handle x32
6180 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
6181 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
6182 SKIP_EM_IA_64 and include
6183 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
6184
6185 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
6186 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
6187 (add_system_dir): New macro.
6188
6189 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
6190 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
6191
11b90b9f
JM
61922012-03-16 Joseph Myers <joseph@codesourcery.com>
6193
c36e1d23
JM
6194 [BZ #2551]
6195 [BZ #2552]
6196 [BZ #2553]
6197 [BZ #2554]
6198 [BZ #2562]
6199 [BZ #2563]
6200 [BZ #2565]
6201 [BZ #2566]
6202 [BZ #2576]
6203 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
6204 (y0): Likewise.
6205 * math/w_j0f.c (j0f): Likewise.
6206 (y0f): Likewise.
6207 * math/w_j0l.c (__j0l): Likewise.
6208 (__y0l): Likewise.
6209 * math/w_j1.c (j1): Likewise.
6210 (y1): Likewise.
6211 * math/w_j1f.c (j1f): Likewise.
6212 (y1f): Likewise.
6213 * math/w_j1l.c (__j1l): Likewise.
6214 (__y1l): Likewise.
6215 * math/w_jn.c (jn): Likewise.
6216 (yn): Likewise.
6217 * math/w_jnf.c (jnf): Likewise.
6218 (ynf): Likewise.
6219 * math/w_jnl.c (__jnl): Likewise.
6220 (__ynl): Likewise.
6221 * math/libm-test.inc (j0_test): Add more tests.
6222 (j1_test): Likewise.
6223 (jn_test): Likewise. Add trailing semicolon to existing test.
6224 (y0_test): Likewise.
6225 (y1_test): Likewise.
6226 * sysdeps/i386/fpu/libm-test-ulps: Update.
6227 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6228
11b90b9f
JM
6229 [BZ #13851]
6230 [BZ #13854]
6231 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
6232 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
6233 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
6234 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
6235 (__tanl): Set errno for infinite argument.
6236 * sysdeps/i386/fpu/mptan.c: Remove.
6237 * sysdeps/i386/fpu/s_tan.S: Likewise.
6238 * sysdeps/i386/fpu/s_tanl.S: Likewise.
6239 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
6240 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
6241 * math/libm-test.inc (tan_test): Add more tests and enable more
6242 tests for double and long double.
6243 * sysdeps/i386/fpu/libm-test-ulps: Update.
6244 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6245
6a1bd2a1
JK
62462012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
6247
6248 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
6249 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
6250
10a803e0
RM
62512012-03-16 Roland McGrath <roland@hack.frob.com>
6252
6253 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
6254 * configure.in: Use it for both main tree and add-ons.
6255 * configure: Regenerated.
6256
f196c7f7
L
62572012-03-16 H.J. Lu <hongjiu.lu@intel.com>
6258
6259 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
6260
8848d99d
JM
62612012-03-16 Joseph Myers <joseph@codesourcery.com>
6262
96cbe7f4
JM
6263 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
6264 in comment.
6265
8848d99d
JM
6266 [BZ #13851]
6267 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
6268 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
6269 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
6270 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
6271 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
6272 infinite argument.
6273 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
6274 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
6275 != 0 for prec == 2.
6276 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
6277 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
6278 * sysdeps/i386/fpu/s_cosl.S: Likewise.
6279 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
6280 * sysdeps/i386/fpu/s_sinl.S: Likewise.
6281 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
6282 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
6283 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
6284 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
6285 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
6286 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
6287 * math/libm-test.inc (cos_test): Add more tests and enable more
6288 tests for long double.
6289 (sin_test): Likewise.
6290 (sincos_test): Likewise.
6291 * sysdeps/i386/fpu/libm-test-ulps: Update.
6292 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6293
dd7f4703
DM
62942012-03-16 David S. Miller <davem@davemloft.net>
6295
6296 * sysdeps/sparc/fpu/math_private.h: New file.
6297
006f1daa
DM
62982012-03-15 David S. Miller <davem@davemloft.net>
6299
c0c83bc8
DM
6300 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
6301 file.
e6a62e18 6302 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
6303 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
6304 file.
e6a62e18
DM
6305 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
6306 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
6307 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
6308 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
6309 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
6310 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
6311 sysdep routines.
6312 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
6313
88cb87d9
DM
6314 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
6315 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
6316
006f1daa 6317 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
6318 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
6319 sparc-ifunc.h
006f1daa 6320 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
6321 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
6322 Likewise.
6323 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
6324 Likewise.
006f1daa
DM
6325 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
6326 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
6327 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
6328 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
6329 Likewise.
006f1daa
DM
6330 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
6331 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
6332 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
6333 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
6334 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
6335 Likewise.
6336 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
6337 Likewise.
006f1daa
DM
6338 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
6339 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
6340 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
6341 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
6342 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
6343 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
6344 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
6345 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
6346 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
6347 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
6348 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
6349 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
6350 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
6351 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
6352 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
6353 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
6354 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
6355 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
6356 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
6357 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
6358 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
6359 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
6360 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
6361 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
6362
11e0098e
AS
63632012-03-15 Andreas Schwab <schwab@linux-m68k.org>
6364
6365 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
6366 scaling.
6367 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6368
e85b09d0
AJ
63692012-03-15 Andreas Jaeger <aj@suse.de>
6370
6371 [BZ #13852]
6372 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
6373 ieee754/flt-32 implementation for sin, cos and sincos.
6374 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
6375 * sysdeps/i386/fpu/s_cosf.S: Likewise.
6376 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
6377 * sysdeps/i386/fpu/s_sinf.S: Likewise.
6378 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
6379 ieee754/flt-32 implementation for tan.
6380
6381 * math/libm-test.inc (cos_test): Enable some large input tests for
6382 float as well
6383 (sin_test): Likewise.
6384 (sincos_test): Likewise.
6385 (tan_test): Add tests for large input.
6386
6387 * sysdeps/i386/fpu/libm-test-ulps: Update.
6388
81c64153
AJ
63892012-03-15 Andreas Jaeger <aj@suse.de>
6390
6391 [BZ #13658]
6392 * math/libm-test.inc (cos_test): Add more test cases.
6393 (sin_test): Likewise.
6394 (sincos_test): Likewise.
6395
7bbfa5c6
AJ
63962012-03-15 Andreas Jaeger <aj@suse.de>
6397
6398 [BZ #13837]
6399 * math/libm-test.inc (cos_test): Add a test case for large input
6400 value.
6401 (sin_test): Likewise.
6402 (sincos_test): Likewise.
6403
64042012-03-15 Andreas Jaeger <aj@suse.de>,
6405 Joseph Myers <joseph@codesourcery.com>
6406
6407 [BZ #13658]
0671f479 6408 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
6409 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
6410 * sysdeps/i386/fpu/branred.c: Likewise.
6411 * sysdeps/i386/fpu/dosincos.c: Likewise.
6412 * sysdeps/i386/fpu/mpa.c: Likewise.
6413 * sysdeps/i386/fpu/s_cos.S: Likewise.
6414 * sysdeps/i386/fpu/s_sin.S: Likewise.
6415 * sysdeps/i386/fpu/s_sincos.S: Likewise.
6416 * sysdeps/i386/fpu/sincos32.c: Likewise.
6417
6418 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
6419 Define.
6420 (libc_feupdateenv_53bit): Define.
6421 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
6422 Define.
6423 (libc_feupdateenv_53bit): Define.
6424
6425 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
6426 53 bit (without extend i386 double precision).
6427
6428 * math/libm-test.inc (sincos_test): Add tests for large input.
6429 (sin): Likewise.
6430 (cos): Likewise.
6431
6432 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
6433
9cad04ea
AS
64342012-03-15 Andreas Schwab <schwab@linux-m68k.org>
6435
6436 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6437
f7062b9a
DM
64382012-03-15 David S. Miller <davem@davemloft.net>
6439
6440 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
6441 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
6442 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
6443 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
6444 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
6445 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
6446 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
6447 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
6448 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
6449 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
6450 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
6451 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
6452 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
6453 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
6454 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
6455 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
6456 file.
f7062b9a 6457 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
6458 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
6459 file.
f7062b9a 6460 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
6461 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
6462 file.
f7062b9a 6463 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
6464 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
6465 file.
f7062b9a
DM
6466 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
6467 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
6468 fmin/fmax sysdep routines.
6469 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
6470
7bd951ff
DM
64712012-03-14 David S. Miller <davem@davemloft.net>
6472
559398ab
DM
6473 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
6474 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
6475 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
6476 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
6477 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
6478 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
6479 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
6480 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
6481 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
6482 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
6483 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
6484 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
6485 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
6486 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
6487 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
6488 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
6489 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
6490 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
6491 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
6492 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
6493 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
6494 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
6495 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
6496 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
6497 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
6498 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
6499 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
6500 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
6501 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
6502 routines.
6503 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
6504 file.
559398ab 6505 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
6506 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
6507 file.
559398ab 6508 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
6509 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
6510 file.
559398ab 6511 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
6512 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
6513 file.
559398ab 6514 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
6515 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
6516 file.
559398ab 6517 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
6518 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
6519 file.
6520 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
6521 file.
6522 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
6523 file.
6524 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
6525 file.
6526 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
6527 New file.
6528 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
6529 file.
6530 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
6531 file.
559398ab 6532 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
6533 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
6534 file.
559398ab 6535 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
6536 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
6537 file.
559398ab 6538 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
6539 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
6540 file.
559398ab 6541 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
6542 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
6543 VIS3 routines.
559398ab
DM
6544
6545 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
6546 New file.
6547
5a1c1e32
DM
6548 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6549
eae47a36
DM
6550 * sysdeps/sparc/configure.in: New file.
6551 * sysdeps/sparc/configure: Generate.
6552 * configure.in (libc_cv_sparc_as_vis3): Substitute.
6553 * configure: Regenerate.
6554 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
6555 * config.make.in (have-as-vis3): New.
6556 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
6557 available use -Av9d instead of -Av9a.
6558 * sysdeps/sparc/sparc64/Makefile: Likewise.
6559 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
6560 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
6561 New file.
6562 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
6563 file.
6564 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
6565 New file.
6566 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
6567 file.
eae47a36
DM
6568 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
6569 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
6570 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
6571 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
6572 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
6573
c0c83bc8
DM
6574 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
6575 fzeros/fnegs to load 0x80000000 into a float register instead of
6576 using the stack.
7bd951ff
DM
6577 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
6578
bd951ccb
JM
65792012-03-14 Joseph Myers <joseph@codesourcery.com>
6580
6581 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
6582 bits/syscall.h.
6583 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
6584 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
6585 ($(inst_includedir)/bits/syscall.h): Remove rule.
6586 ($(objpfx)bits/syscall.d): Include instead of
6587 $(objpfx)syscall-list.d.
6588 (generated): Change syscall-list.h and syscall-list.d to
6589 bits/syscall.h and bits/syscall.d.
6590
bb4e6db2
RM
65912012-03-14 Roland McGrath <roland@hack.frob.com>
6592
6593 [BZ #13846]
6594 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
6595
aa4a2ae1
JM
65962012-03-14 Joseph Myers <joseph@codesourcery.com>
6597
e456826d
JM
6598 [BZ #13841]
6599 * math/s_csqrt.c: Include <float.h>.
6600 (__csqrt): Scale large or subnormal inputs.
6601 * math/s_csqrtf.c: Likewise.
6602 * math/s_csqrtl.c: Likewise.
6603 * math/libm-test.inc (csqrt_test): Add more tests.
6604 * sysdeps/i386/fpu/libm-test-ulps: Update.
6605 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6606
aa4a2ae1
JM
6607 [BZ #13840]
6608 * math/libm-test.inc (hypot_test): Add more tests.
6609
7c10fd35
DM
66102012-03-13 David S. Miller <davem@davemloft.net>
6611
6612 [BZ #13840]
6613 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
6614 double-precision for the calculation instead of scaling.
6615
f453b98b
JM
66162012-03-13 Joseph Myers <joseph@codesourcery.com>
6617
6618 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
6619 manipulate bits before adding and subtracting TWO52[sx].
6620 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
6621 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
6622 Likewise.
6623 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
6624
09a3453f
DM
66252012-03-13 David S. Miller <davem@davemloft.net>
6626
8e59da90
DM
6627 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
6628 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
6629 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
6630 rtld-global-offsets.h
6631 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
6632
2a8ab7f2
DM
6633 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
6634 large parameters.
6635
10f62770
DM
6636 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
6637
5f0bdb18
DM
6638 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
6639 'err' in the ifdef scope in which it is actually used.
6640
09a3453f
DM
6641 * nss/nss_db/db-init.c: Include string.h
6642
b4b2eb5e
DM
66432012-03-12 David S. Miller <davem@davemloft.net>
6644
98bb2f1c
DM
6645 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
6646 masking out of the most significant byte of random value used.
6647 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
6648 Fix coding style in previous change.
6649
b4b2eb5e
DM
6650 * sysdeps/unix/sysv/linux/kernel-features.h
6651 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
6652 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
6653 expression.
6654 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
6655 later.
6656
6e226b09
DM
66572012-03-11 David S. Miller <davem@davemloft.net>
6658
a1bcbd40
DM
6659 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
6660 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
6661 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
6662 for 'resultvar' otherwise things get truncated on 64-bit.
6663
cb9d6174
DM
6664 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
6665 Fix masking out of the most significant byte of random value used.
6666
6e226b09
DM
6667 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6668
058c132d
AS
66692012-03-10 Andreas Schwab <schwab@linux-m68k.org>
6670
6671 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6672
2d2cd515
DM
66732012-03-09 David S. Miller <davem@davemloft.net>
6674
6675 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
6676 variables with appropriate CPP guards.
6677 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
6678 frame pointer, not the stack pointer. Correct layout comments. Fix test
6679 on resulting framesize and the management of the outregs buffer for pltexit.
6680 Preserve floating point return values across _dl_call_pltexit call.
6681 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
6682 framesize and the management of the outregs buffer for pltexit.
6683 Preserve floating point return values across _dl_call_pltexit
6684 call.
6685 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
6686 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
6687 (print_exit): Fix format string for return register value.
6688
9a07f9d0
JM
66892012-03-10 Joseph Myers <joseph@codesourcery.com>
6690
6691 * sunrpc/Makefile (others): Add rpcgen.
6692 ($(objpfx)rpcgen): Remove special build rule and dependency on
6693 libc.
6694 * sunrpc/rpcgen.c: New file.
6695
547b5e30
PE
66962012-03-09 Paul Eggert <eggert@cs.ucla.edu>
6697
c524201a
PE
6698 [BZ #13673]
6699 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
6700 * stdio-common/bug-vfprintf-nargs.c: Likewise.
6701 * sysdeps/i386/crti.S: Likewise.
6702 * sysdeps/i386/crtn.S: Likewise.
6703 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
6704 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
6705 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
6706 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
6707 * sysdeps/sh/crti.S: Likewise.
6708 * sysdeps/sh/crtn.S: Likewise.
6709 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
6710
7b6235f2
PE
6711 [BZ #13673]
6712 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
6713 with URL.
6714 * locale/programs/locfile-kw.gperf: Likewise.
6715 * locale/programs/charmap-kw.h: Regenerated.
6716 * locale/programs/locfile-kw.h: Likewise.
6717
547b5e30
PE
6718 [BZ #13673]
6719 * intl/plural.y: Replace FSF snail mail address with URL.
6720 * intl/plural.c: Regenerated.
6721
5f0a5dae
RH
67222012-03-09 Richard Henderson <rth@twiddle.net>
6723
6724 * include/math_private.h: Remove file.
6725 * math/math_private.h: Move file ...
6726 * sysdeps/generic/math_private.h: ... here.
6727
b8c03620
RH
6728 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
6729 * sysdeps/powerpc/fpu/math_private.h: Likewise.
6730 * sysdeps/x86_64/fpu/math_private.h: Likewise.
6731
4e234f5d 6732 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
6733 and <math_private.h>.
6734 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
6735 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
6736 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
6737 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
6738 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
6739 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
6740 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
6741 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
6742 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
6743 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
6744 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
6745 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
6746 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
6747 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
6748 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
6749 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
6750 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
6751 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
6752 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
6753 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
6754 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
6755 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
6756 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
6757 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
6758 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
6759 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
6760 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
6761 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
6762 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
6763 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
6764 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
6765 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
6766 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
6767 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
6768 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
6769 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
6770 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
6771 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
6772 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
6773 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
6774 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
6775 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
6776 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
6777 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
6778 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
6779 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
6780 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
6781 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
6782 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
6783 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
6784 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
6785 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
6786 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
6787 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
6788 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
6789 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
6790 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
6791 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
6792 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
6793 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
6794 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
6795 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
6796 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
6797 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
6798 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
6799 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
6800 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
6801 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
6802 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
6803 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
6804 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
6805 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
6806 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
6807 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
6808 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
6809 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
6810 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
6811 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
6812 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
6813 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
6814 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
6815 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
6816 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
6817 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
6818 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
6819 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
6820 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
6821 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
6822 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
6823 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
6824 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
6825 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
6826 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
6827 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
6828 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
6829 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
6830 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
6831 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
6832 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
6833 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
6834 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
6835 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
6836 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
6837 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
6838 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
6839 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
6840 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
6841 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
6842 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
6843 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
6844 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
6845 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
6846 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
6847 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
6848 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
6849 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
6850 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
6851 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
6852 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
6853 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
6854 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
6855 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
6856 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
6857 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
6858 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
6859 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
6860 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
6861 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
6862 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
6863 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
6864 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
6865 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
6866 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
6867 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
6868 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
6869 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
6870 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
6871 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
6872 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
6873 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
6874 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
6875 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
6876 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
6877 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
6878 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
6879 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
6880 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
6881 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
6882 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
6883 * sysdeps/ieee754/k_standard.c: Likewise.
6884 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
6885 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
6886 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
6887 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
6888 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
6889 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
6890 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
6891 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
6892 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
6893 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
6894 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
6895 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
6896 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
6897 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
6898 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
6899 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
6900 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
6901 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
6902 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
6903 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
6904 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
6905 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
6906 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
6907 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
6908 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
6909 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
6910 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
6911 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
6912 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
6913 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
6914 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
6915 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
6916 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
6917 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
6918 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
6919 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
6920 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
6921 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
6922 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
6923 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
6924 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
6925 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
6926 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
6927 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
6928 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
6929 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
6930 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
6931 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
6932 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
6933 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
6934 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
6935 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
6936 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
6937 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
6938 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
6939 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
6940 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
6941 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
6942 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
6943 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
6944 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
6945 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
6946 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
6947 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
6948 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
6949 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
6950 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
6951 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
6952 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
6953 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
6954 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
6955 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
6956 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
6957 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
6958 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
6959 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
6960 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
6961 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
6962 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
6963 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
6964 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
6965 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
6966 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
6967 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
6968 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
6969 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
6970 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
6971 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
6972 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
6973 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
6974 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
6975 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
6976 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
6977 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
6978 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
6979 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
6980 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
6981 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
6982 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
6983 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
6984 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
6985 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
6986 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
6987 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
6988 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
6989 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
6990 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
6991 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
6992 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
6993 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
6994 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
6995 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
6996 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
6997 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
6998 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
6999 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
7000 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
7001 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
7002 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
7003 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
7004 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
7005 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
7006 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
7007 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
7008 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
7009 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
7010 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
7011 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
7012 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
7013 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
7014 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
7015 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
7016 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
7017 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
7018 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
7019 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
7020 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
7021 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
7022 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
7023 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
7024 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
7025 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
7026 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
7027 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
7028 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
7029 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
7030 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
7031 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
7032 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
7033 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
7034 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
7035 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
7036 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
7037 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
7038 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
7039 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
7040 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
7041 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
7042 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
7043 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
7044 * sysdeps/ieee754/s_lib_version.c: Likewise.
7045 * sysdeps/ieee754/s_matherr.c: Likewise.
7046 * sysdeps/ieee754/s_signgam.c: Likewise.
7047 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
7048 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
7049 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
7050 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
7051 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
7052 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
7053 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
7054 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
7055 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
7056 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
7057 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
7058 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
7059 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
7060 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
7061 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
7062 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
7063 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
7064 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
7065 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
7066 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
7067 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 7068
1991fa03
JM
70692012-03-09 Joseph Myers <joseph@codesourcery.com>
7070
7071 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
7072 * sunrpc/rpc_main.c: Likewise.
7073 * sunrpc/rpc_svcout.c: Likewise.
7074
60d6f5a6
DM
70752012-03-09 David S. Miller <davem@davemloft.net>
7076
7077 * include/math_private.h: New file.
7078
4962050e
JM
70792012-03-09 Joseph Myers <joseph@codesourcery.com>
7080
02a6f887
JM
7081 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
7082 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
7083 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
7084 from <bits/socket_type.h>.
7085 (enum __socket_type): Don't define here.
7086 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
7087 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
7088 bits/socket_type.h.
7089
c6e013c1
JM
7090 [BZ #13566]
7091 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
7092 checking __USE_GNU.
7093
4962050e
JM
7094 * Makerules ($(inst_includedir)/%.h): New rule.
7095 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
7096 (install-others): Remove variable setting.
7097 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
7098
38842f45
RH
70992012-03-08 Richard Henderson <rth@twiddle.net>
7100
67bb6da6
RH
7101 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
7102 from macro to inline function; merge with the
7103 !__LIBC_INTERNAL_MATH_INLINES version.
7104 (__ieee754_sqrtf): Likewise.
7105
15194b4b
RH
7106 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
7107 to inline function.
7108 (__rintf, __floor, __floorf): Likewise.
7109
64e21ede
RH
7110 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
7111 macro to inline function.
7112 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
7113
38842f45
RH
7114 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
7115 not <math/math_private.h>.
7116
c64bf5fe
DM
71172012-03-08 David S. Miller <davem@davemloft.net>
7118
7119 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
7120 copyright year.
7121 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
7122
82d86f28
TS
71232012-03-08 Thomas Schwinge <thomas@codesourcery.com>
7124
7125 * resolv/gai_misc.c (handle_requests): Fix struct timespec
7126 normalization.
7127 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
7128 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
7129
aea5d727
UD
71302012-03-08 Ulrich Drepper <drepper@gmail.com>
7131
7132 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
7133 be defined individually, they must be defined as a block. Define
7134 S for printing a string instead of hidint the different by using a
7135 macro for adding the 'l'.
7136 * stdio-common/tst-fphex-wide.c: Adjust.
7137
70bca0a3
MP
71382012-03-07 Marek Polacek <polacek@redhat.com>
7139
7140 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
7141
65b81130
MP
71422012-03-08 Marek Polacek <polacek@redhat.com>
7143
7144 [BZ #13806]
7145 * stdio-common/Makefile (tests): Add tst-fphex-wide.
7146 * stdio-common/tst-fphex.c: Define a few macros to make the
7147 test reusable. Use them.
7148 * stdio-common/tst-fphex-wide.c: New file.
7149
07037eeb
JM
71502012-03-08 Joseph Myers <joseph@codesourcery.com>
7151
a7a93d50
JM
7152 [BZ #6911]
7153 * manual/macros.texi (gnusystems): New macro.
7154 (nongnusystems): Likewise.
7155 (gnulinuxhurdsystems): Likewise.
7156 (gnuhurdsystems): Likewise..
7157 (gnulinuxsystems): Likewise.
7158 * manual/charset.texi: Use new macros or @theglibc{} to refer to
7159 variants of the GNU system, not "GNU system".
7160 * manual/conf.texi: Likewise.
7161 * manual/errno.texi: Likewise. Update example of errno macro
7162 expansion.
7163 * manual/filesys.texi: Likewise.
7164 (getumask): Document as specific to GNU/Hurd.
7165 * manual/install.texi: Likewise. Reword some references to
7166 GNU/Linux.
7167 * manual/intro.texi: Likewise.
7168 * manual/io.texi: Likewise.
7169 (File Name Portability): Detail which constraints are inapplicable
7170 to all GNU systems and which are only inapplicable to GNU/Hurd.
7171 * manual/job.texi: Likewise.
7172 * manual/llio.texi: Likewise.
7173 (O_NOCTTY): Document as present on GNU/Linux.
7174 * manual/maint.texi: Likewise.
7175 * manual/memory.texi: Likewise.
7176 * manual/pattern.texi: Likewise.
7177 * manual/pipe.texi: Likewise.
7178 * manual/process.texi: Likewise.
7179 * manual/resource.texi: Likewise.
7180 (RUSAGE_CHILDREN): Remove statement about specifying a particular
7181 child on GNU/Hurd.
7182 * manual/setjmp.texi: Likewise.
7183 * manual/signal.texi: Likewise.
7184 * manual/startup.texi: Likewise.
7185 * manual/stdio.texi: Likewise.
7186 * manual/terminal.texi: Likewise.
7187 (ONLCR): Document as POSIX.
7188 (OXTABS): Document availability on GNU/Linux as XTABS.
7189 (ONOEOT): Document availability separately from other bits.
7190 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
7191 * manual/time.texi: Likewise.
7192 * manual/users.texi: Likewise.
7193 * INSTALL: Regenerated.
7194 * sysdeps/gnu/errlist.c: Regenerated.
7195
07037eeb
JM
7196 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
7197 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
7198 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
7199 puts.
7200 * configure: Regenerated.
7201
d1d3431a
JM
72022012-03-07 Joseph Myers <joseph@codesourcery.com>
7203
af6a1e37
JM
7204 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
7205 default includes instead of AC_HEADER_CHECK.
7206 * sysdeps/i386/configure: Regenerated.
7207
d1d3431a
JM
7208 [BZ #10716]
7209 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
7210 * math/s_cacoshf.c (__cacoshf): Likewise.
7211 * math/s_cacoshl.c (__cacoshl): Likewise.
7212 * math/s_casinh.c (__casinh): Set signs of result from argument.
7213 * math/s_casinhf.c (__casinhf): Likewise.
7214 * math/s_casinhl.c (__casinhl): Likewise.
7215 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
7216 (casinh_test): Add more tests.
7217 * sysdeps/i386/fpu/libm-test-ulps: Update.
7218 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7219
482ff4da
UD
72202012-03-07 Ulrich Drepper <drepper@gmail.com>
7221
872fda05
UD
7222 * po/zh_TW.po: Update from translation team.
7223
a4300c7a
UD
7224 * login/Makefile (distribute): Remove variable.
7225 * catgets/Makefile: Likewise.
7226 * mach/Makefile: Likewise.
7227 * malloc/Makefile: Likewise.
7228 * misc/Makefile: Likewise.
7229 * iconv/Makefile: Likewise.
7230 * nscd/Makefile: Likewise.
7231 * hurd/Makefile: Likewise.
7232 * manual/Makefile: Likewise.
7233 * locale/Makefile: Likewise.
7234 * intl/Makefile: Likewise.
7235 * conform/Makefile: Likewise.
7236 * nss/Makefile: Likewise.
7237 * time/Makefile: Likewise.
7238 * soft-fp/Makefile: Likewise.
7239 * dirent/Makefile: Likewise.
7240 * gmon/Makefile: Likewise.
7241 * po/Makefile: Likewise.
7242 * rt/Makefile: Likewise.
7243 * socket/Makefile: Likewise.
7244 * math/Makefile: Likewise.
7245 * signal/Makefile: Likewise.
7246 * debug/Makefile: Likewise.
7247 * elf/Makefile: Likewise.
7248 * timezone/Makefile: Likewise.
7249 * stdlib/Makefile: Likewise.
7250 * iconvdata/Makefile: Likewise.
7251 * sunrpc/Makefile: Likewise.
7252 * io/Makefile: Likewise.
7253 * argp/Makefile: Likewise.
7254 * inet/Makefile: Likewise.
7255 * hesiod/Makefile: Likewise.
7256 * grp/Makefile: Likewise.
7257 * csu/Makefile: Likewise.
7258 * wctype/Makefile: Likewise.
7259 * crypt/Makefile: Likewise.
7260 * libio/Makefile: Likewise.
7261 * string/Makefile: Likewise.
7262 * nis/Makefile: Likewise.
7263 * resolv/Makefile: Likewise.
7264 * stdio-common/Makefile: Likewise.
7265 * wcsmbs/Makefile: Likewise.
7266 * dlfcn/Makefile: Likewise.
7267 * posix/Makefile: Likewise.
7268
3b7c4e74 7269 [BZ #6959]
482ff4da
UD
7270 * timezone/Makefile: Don't install timezone files, just the programs
7271 and scripts.
7272
f72ed77d
UD
72732012-03-06 Ulrich Drepper <drepper@gmail.com>
7274
a000466f
UD
7275 * nss/databases.def: Add missing gshadow entry.
7276
f72ed77d
UD
7277 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
7278
a53b7a4e
MP
72792012-03-06 Marek Polacek <polacek@redhat.com>
7280
7281 [BZ #13726]
7282 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
7283 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
7284 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
7285 * stdio-common/tst-long-dbl-fphex.c: New file.
7286
e9258400
DM
72872012-03-06 David S. Miller <davem@davemloft.net>
7288
7289 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
7290 (set_obp_int): New function.
7291 (get_obp_int): New function.
7292 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
7293 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
7294 Avoid unused variable warnings on 'val' and use builtin_expect.
7295 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
7296 __builtin_expect.
e9258400
DM
7297 (INLINE_CLONE_SYSCALL): Likewise.
7298
3bd2c723
DM
72992012-03-05 David S. Miller <davem@davemloft.net>
7300
7301 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7302
bbb78d03
AS
73032012-03-05 Andreas Schwab <schwab@linux-m68k.org>
7304
884c5db4
AS
7305 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7306
bbb78d03
AS
7307 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
7308 only for |x| >= 40.
7309 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
7310
1c9f702a 73112012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
7312
7313 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
7314 Replace gettimeofday with __vdso_gettimeofday.
7315
7be16f82
RM
7316 * sysdeps/unix/sysv/linux/x86_64/init-first.c
7317 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
7318 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
7319
7320 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
7321 time with __vdso_time.
7322
ed58a00f
JM
73232012-03-05 Joseph Myers <joseph@codesourcery.com>
7324
7325 * manual/lang.texi (size_t): Note types to which size_t may be
7326 equivalent with the GNU C Library, but do not describe when
7327 differences between them are significant.
7328
30ee4ced
AJ
73292012-03-05 Andreas Jaeger <aj@suse.de>
7330
7331 * sysdeps/i386/fpu/libm-test-ulps: Update.
7332
b7cd39e8
JM
73332012-03-05 Joseph Myers <joseph@codesourcery.com>
7334
7335 [BZ #3976]
7336 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
7337 (__ieee754_pow): Save and restore rounding mode and use
7338 round-to-nearest for main computations.
7339 * math/libm-test.inc (pow_test_tonearest): New function.
7340 (pow_test_towardzero): Likewise.
7341 (pow_test_downward): Likewise.
7342 (pow_test_upward): Likewise.
7343 (main): Call the new functions.
7344 * sysdeps/i386/fpu/libm-test-ulps: Update.
7345 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
7346
7347 [BZ #3976]
7348 * math/libm-test.inc (cosh_test_tonearest): New function.
7349 (cosh_test_towardzero): Likewise.
7350 (cosh_test_downward): Likewise.
7351 (cosh_test_upward): Likewise.
7352 (sinh_test_tonearest): Likewise.
7353 (sinh_test_towardzero): Likewise.
7354 (sinh_test_downward): Likewise.
7355 (sinh_test_upward): Likewise.
7356 (main): Call the new functions.
7357 * sysdeps/i386/fpu/libm-test-ulps: Update.
7358 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7359
6c6a98c9
TV
73602012-03-05 Tom de Vries <tom@codesourcery.com>
7361
7362 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
7363 default stack guard is set in last bytes.
7364 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
7365
21bb2d2e 73662012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 7367
21bb2d2e 7368 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 7369
21bb2d2e
AJ
7370 [BZ #13656]
7371 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
7372 possibly allocate from heap instead of stack.
7373 * stdio-common/bug-vfprintf-nargs.c: New file.
7374 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 7375
c6922934
AS
73762012-03-03 Andreas Schwab <schwab@linux-m68k.org>
7377
7378 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7379
bc957d53
MP
73802012-03-03 Marek Polacek <polacek@redhat.com>
7381
7382 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
7383 * math/math_private.h: Likewise.
7384 * stdlib/tst-strtod.c: Likewise.
7385 * sysdeps/i386/i486/bits/atomic.h: Likewise.
7386 * sysdeps/x86_64/bits/atomic.h: Likewise.
7387
6358490d
DM
73882012-03-02 David S. Miller <davem@davemloft.net>
7389
7390 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
7391 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
7392 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
7393 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
7394 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
7395 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
7396 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
7397 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
7398
01ae168d
RM
73992012-03-02 Roland McGrath <roland@hack.frob.com>
7400
d9a17c07
RM
7401 [BZ #13792]
7402 * manual/examples/README: New file, says the example source files
7403 can be used under GPL>=2.
7404 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
7405 line containing just "*/".
7406 * manual/examples/add.c: Add copyright header (GPL>=2).
7407 * manual/examples/argp-ex1.c: Likewise.
7408 * manual/examples/argp-ex2.c: Likewise.
7409 * manual/examples/argp-ex3.c: Likewise.
7410 * manual/examples/argp-ex4.c: Likewise.
7411 * manual/examples/atexit.c: Likewise.
7412 * manual/examples/db.c: Likewise.
7413 * manual/examples/dir.c: Likewise.
7414 * manual/examples/dir2.c: Likewise.
7415 * manual/examples/execinfo.c: Likewise.
7416 * manual/examples/filecli.c: Likewise.
7417 * manual/examples/filesrv.c: Likewise.
7418 * manual/examples/fmtmsgexpl.c: Likewise.
7419 * manual/examples/genpass.c: Likewise.
7420 * manual/examples/inetcli.c: Likewise.
7421 * manual/examples/inetsrv.c: Likewise.
7422 * manual/examples/isockad.c: Likewise.
7423 * manual/examples/longopt.c: Likewise.
7424 * manual/examples/memopen.c: Likewise.
7425 * manual/examples/memstrm.c: Likewise.
7426 * manual/examples/mkfsock.c: Likewise.
7427 * manual/examples/mkisock.c: Likewise.
7428 * manual/examples/mygetpass.c: Likewise.
7429 * manual/examples/pipe.c: Likewise.
7430 * manual/examples/popen.c: Likewise.
7431 * manual/examples/rprintf.c: Likewise.
7432 * manual/examples/search.c: Likewise.
7433 * manual/examples/select.c: Likewise.
7434 * manual/examples/setjmp.c: Likewise.
7435 * manual/examples/sigh1.c: Likewise.
7436 * manual/examples/sigusr.c: Likewise.
7437 * manual/examples/stpcpy.c: Likewise.
7438 * manual/examples/strdupa.c: Likewise.
7439 * manual/examples/strftim.c: Likewise.
7440 * manual/examples/strncat.c: Likewise.
7441 * manual/examples/subopt.c: Likewise.
7442 * manual/examples/swapcontext.c: Likewise.
7443 * manual/examples/termios.c: Likewise.
7444 * manual/examples/testopt.c: Likewise.
7445 * manual/examples/testpass.c: Likewise.
7446 * manual/examples/timeval_subtract.c: Likewise.
7447
01ae168d
RM
7448 [BZ #13792]
7449 * manual/time.texi (Elapsed Time): Move timeval_subtract example
7450 function to ...
7451 * manual/timeval_subtract.c.texi: ... here, new file.
7452
49efa33d
DM
74532012-03-02 David S. Miller <davem@davemloft.net>
7454
7455 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
7456
28afd92d
JM
74572012-03-02 Joseph Myers <joseph@codesourcery.com>
7458
804360ed
JM
7459 [BZ #3976]
7460 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
7461 (__sin): Save and restore rounding mode and use round-to-nearest
7462 for all computations.
7463 (__cos): Save and restore rounding mode and use round-to-nearest
7464 for all computations.
7465 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
7466 <fenv.h>.
7467 (tan): Save and restore rounding mode and use round-to-nearest for
7468 all computations.
7469 * math/libm-test.inc (cos_test_tonearest): New function.
7470 (cos_test_towardzero): Likewise.
7471 (cos_test_downward): Likewise.
7472 (cos_test_upward): Likewise.
7473 (sin_test_tonearest): Likewise.
7474 (sin_test_towardzero): Likewise.
7475 (sin_test_downward): Likewise.
7476 (sin_test_upward): Likewise.
7477 (tan_test_tonearest): Likewise.
7478 (tan_test_towardzero): Likewise.
7479 (tan_test_downward): Likewise.
7480 (tan_test_upward): Likewise.
7481 (main): Call the new functions.
7482 * sysdeps/i386/fpu/libm-test-ulps: Update.
7483 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7484
a6d06d7b
JM
7485 [BZ #10135]
7486 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
7487 small n, then large n, before computing and testing k+n.
7488 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
7489 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
7490 Likewise.
7491 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
7492 Likewise.
7493 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
7494 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
7495 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
7496 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
7497 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
7498 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
7499 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
7500 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
7501 * math/libm-test.inc (scalbn_test): Add more tests.
7502 (scalbln_test): Likewise.
7503
07e12bb3
JM
7504 * manual/filesys.texi (mode_t): Describe constraints on size and
7505 signedness, not exact equivalence to a particular type.
7506 (ino_t): Likewise.
7507 (ino64_t): Likewise.
7508 (dev_t): Likewise.
7509 (nlink_t): Likewise.
7510 (blkcnt_t): Likewise.
7511 (blkcnt64_t): Likewise.
7512 * manual/llio.texi (off_t): Likewise.
7513
28afd92d
JM
7514 [BZ #3976]
7515 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
7516 (__ieee754_exp): Save and restore rounding mode and use
7517 round-to-nearest for all computations.
7518 * math/libm-test.inc (exp_test_tonearest): New function.
7519 (exp_test_towardzero): Likewise.
7520 (exp_test_downward): Likewise.
7521 (exp_test_upward): Likewise.
7522 (main): Call the new functions.
7523 * sysdeps/i386/fpu/libm-test-ulps: Update.
7524 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7525
b1eeb65d
CD
75262012-03-01 Chris Demetriou <cgd@google.com>
7527
7528 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
7529 have predictable order.
7530
53362a4b
DM
75312012-03-01 David S. Miller <davem@davemloft.net>
7532
3c969083
DM
7533 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
7534
759707de
DM
7535 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
7536 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
7537 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
7538 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
7539
dfdb8ff2
DM
7540 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
7541 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
7542 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
7543 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
7544 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
7545 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
7546 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
7547 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
7548 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
7549
ead89f96
DM
7550 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7551
7f66bd07
DM
7552 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
7553 * sysdeps/sparc/fpu/libm-test-ulps: to here.
7554 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
7555
53362a4b
DM
7556 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
7557 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
7558 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
7559 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
7560 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
7561 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
7562 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
7563 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
7564 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
7565 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
7566 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
7567 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
7568 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
7569 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
7570 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
7571 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
7572 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
7573 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
7574 * sysdeps/sparc/elf/configure: Regenerated.
7575
7b1902cb
JM
75762012-03-01 Joseph Myers <joseph@codesourcery.com>
7577
bec039bc
JM
7578 * configure.in (AS, LD): Require binutils 2.20 or later.
7579 * configure: Regenerated.
7580 * manual/install.texi (Tools for Compilation): Give binutils 2.20
7581 as required minimum version.
7582 * INSTALL: Regenerated.
7583
7b1902cb
JM
7584 [BZ #2541]
7585 [BZ #4108]
7586 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
7587 before squaring exponent.
7588 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
7589 bottom long double and 27 bits of top long double before squaring
7590 exponent.
7591 * math/libm-test.inc (erfc_test): Add more tests.
7592 * sysdeps/i386/fpu/libm-test-ulps: Update.
7593 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
7594 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7595
f775c276
KT
75962012-03-01 Kai Tietz <ktietz@redhat.com>
7597
7598 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
7599 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
7600 containing bit-fields.
7601 * soft-fp/extended.h (_FP_UNION_E): Likewise.
7602 * soft-fp/single.h (_FP_UNION_S): Likewise.
7603 * soft-fp/double.h (_FP_UNION_D): Likewise.
7604
5b8a4d4a
JM
76052012-02-29 Joseph Myers <joseph@codesourcery.com>
7606
0bab47b6
JM
7607 [BZ #13786]
7608 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
7609 not include ../strcmp.S.
7610 [USE_AS_STRNCASECMP_L]: Likewise.
7611 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
7612 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
7613 * sysdeps/i386/i686/multiarch/strncase_l-c.c
7614 (__strncasecmp_l_ia32): Define as alias to
7615 __strncasecmp_l_nonascii.
7616
0fcad3e2
JM
7617 [BZ #5794]
7618 * math/libm-test.inc (expm1_test): Add test for bug 5794.
7619 * sysdeps/i386/fpu/libm-test-ulps: Update.
7620 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7621
5b8a4d4a
JM
7622 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
7623 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7624
8fdceb2e
JL
76252012-02-29 Jeff Law <law@redhat.com>
7626
7627 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
7628 out of bounds read.
7629
1f393a11
MP
76302012-02-29 Marek Polacek <polacek@redhat.com>
7631
7632 [BZ #13706]
7633 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
7634 * elf/Makefile: Add rules to run tst-unused-dep.out.
7635
8847f037
DM
76362012-02-28 David S. Miller <davem@davemloft.net>
7637
7638 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
7639 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
7640 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
7641 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
7642 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
7643 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
7644
169d7f11
JM
76452012-02-29 Joseph Myers <joseph@codesourcery.com>
7646
7647 * math/libm-test.inc (llround_test): Move one test from
7648 lround_test. Use TEST_f_L in moved test.
7649 (lround_test): Move misplaced test to llround_test. Add testcase
7650 from bug 2561.
7651
39adf059
UD
76522012-02-28 Ulrich Drepper <drepper@gmail.com>
7653
7654 * sysdeps/x86_64/fpu/e_expf.S: New file.
7655 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
7656
71b5d1c5
SB
76572012-02-28 Stanislav Brabec <sbrabec@suse.cz>
7658
7659 [BZ #13637]
7660 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
7661 of remain_len that may cause incomplete multi-byte character and
7662 false match.
7663 * posix/bug-regex33.c: New file.
7664 * posix/Makefile (tests): Add bug-regex33.
7665
1f77f049
JM
76662012-02-28 Joseph Myers <joseph@codesourcery.com>
7667
7668 * manual/macros.texi: New file.
7669 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
7670 * manual/libc.texinfo: Include macros.texi.
7671 * manual/creatute.texi: Likewise.
7672 * manual/install.texi: Likewise.
7673 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
7674 @glibcadj{} in references to the GNU C Library.
7675 * manual/charset.texi: Likewise.
7676 * manual/conf.texi: Likewise.
7677 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
7678 when not using those macros.
7679 * manual/creature.texi: Likewise.
7680 * manual/crypt.texi: Likewise.
7681 * manual/errno.texi: Likewise.
7682 * manual/filesys.texi: Likewise.
7683 * manual/header.texi: Likewise.
7684 * manual/install.texi: Likewise.
7685 * manual/intro.texi: Likewise.
7686 * manual/io.texi: Likewise.
7687 * manual/job.texi: Likewise.
7688 * manual/lang.texi: Likewise.
7689 * manual/libc.texiinfo: Likewise.
7690 * manual/llio.texi: Likewise.
7691 * manual/locale.texi: Likewise.
7692 * manual/maint.texi: Likewise.
7693 * manual/math.texi: Likewise.
7694 * manual/memory.texi: Likewise.
7695 * manual/message.texi: Likewise.
7696 * manual/nss.texi: Likewise.
7697 * manual/pattern.texi: Likewise.
7698 * manual/process.texi: Likewise.
7699 * manual/resource.texi: Likewise.
7700 * manual/search.texi: Likewise.
7701 * manual/setjmp.texi: Likewise.
7702 * manual/signal.texi: Likewise.
7703 * manual/socket.texi: Likewise.
7704 * manual/startup.texi: Likewise.
7705 * manual/stdio.texi: Likewise.
7706 * manual/string.texi: Likewise.
7707 * manual/sysinfo.texi: Likewise.
7708 * manual/syslog.texi: Likewise.
7709 * manual/terminal.texi: Likewise.
7710 * manual/time.texi: Likewise.
7711 * manual/users.texi: Likewise.
7712 * INSTALL: Regenerated.
7713 * NOTES: Regenerated.
d40c5d54 7714 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 7715
450bf206
AS
77162012-02-28 Andreas Schwab <schwab@linux-m68k.org>
7717
7718 * include/dirent.h: Include <dirstream.h> before
7719 <dirent/dirent.h>.
7720
741a235b
DM
77212012-02-28 David S. Miller <davem@davemloft.net>
7722
7723 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
7724 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
7725 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
7726 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
7727
d6b5aa58
DM
77282012-02-27 David S. Miller <davem@davemloft.net>
7729
1aff59a3
DM
7730 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
7731 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
7732 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
7733 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
7734
d6b5aa58
DM
7735 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
7736 frame pointer instead of stack pointer relative arg slot.
7737 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
7738 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
7739 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
7740
433f48bf
CD
77412012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
7742
7743 [BZ #3992]
7744 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
7745
d674b76d
DM
77462012-02-27 David S. Miller <davem@davemloft.net>
7747
7748 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
7749 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
7750 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
7751 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
7752 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
7753 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
7754 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
7755 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
7756
0e7727f7
JM
77572012-02-27 Joseph Myers <joseph@codesourcery.com>
7758
7759 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
7760 later. Allow versions 5-9.
43be4ca2 7761 * configure: Regenerated.
0e7727f7
JM
7762 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
7763 required minimum version and 4.6 as recommended version. Do not
7764 mention bugs in GCC 2.7 and 2.8.
43be4ca2 7765 * INSTALL: Regenerated.
0e7727f7 7766
a78bc654
DM
77672012-02-27 David S. Miller <davem@davemloft.net>
7768
428d5830
DM
7769 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
7770 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
7771 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
7772 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
7773 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
7774 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
7775 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
7776 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
7777
a78bc654
DM
7778 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
7779 manipulate bits before adding and subtracting TWO112[sx].
7780 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
7781
4579f81c
RM
77822012-02-27 Roland McGrath <roland@hack.frob.com>
7783
36c8acb4
RM
7784 [BZ #13775]
7785 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
7786 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
7787 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
7788 being in POSIX, because they are in 1003.1-2008.
7789
84ad622b
RM
7790 * rt/tst-aio.c: Include <fcntl.h>.
7791 * rt/tst-aio7.c: Likewise.
7792 * rt/tst-aio64.c: Likewise.
7793
4579f81c
RM
7794 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
7795
abd923db
JM
77962012-02-27 Joseph Myers <joseph@codesourcery.com>
7797
7798 * manual/install.texi (--with-headers): Describe headers as
7799 interface headers, not private headers.
7800 (Specific advice for GNU/Linux systems): Describe use of headers
7801 from "make headers_install", not private headers from older
7802 kernels.
43be4ca2 7803 * INSTALL: Regenerated.
abd923db
JM
7804 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
7805 Change to 2.6.19.
7806 * sysdeps/unix/sysv/linux/configure: Regenerated.
7807
6664049b
JM
7808 * manual/llio.texi (fclean): Remove documentation.
7809
bb8b6697
JM
7810 * manual/Makefile (libc-texi-generated): New variable. Include
7811 version.texi.
7812 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
7813 $(libc-texi-generated), not duplicated list of files.
7814 (version.texi, stamp-version): New rules.
7815 (realclean): Remove $(libc-texi-generated), not individual files
7816 from that list. Do not remove dir-add.texinfo.
7817 * manual/libc.texinfo: Comment out uses of edition numbers and
7818 references to printed manual. Remove last-updated dates.
7819 (EDITION): Comment out.
7820 (ISBN): Likewise.
7821 (VERSION, UPDATED): Remove.
7822 (version.texi): Include.
7823
12e5c3b9
AS
78242012-02-27 Andreas Schwab <schwab@linux-m68k.org>
7825
7826 * sysdeps/posix/spawni.c: Include <signal.h>.
7827 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
7828 * sysdeps/pthread/aio_fsync.c: Likewise.
7829
4efeffc1 78302012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 7831
ba63ba08
UD
7832 * conform/Makefile (tests): Run only when not cross-compiling and
7833 when fast-check is not defined.
7834
d94a4670
UD
7835 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
7836 * conform/data/limits.h-data: Fixes for POSIX2008.
7837 * conform/run-conformtest.sh: Run all tests.
7838 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
7839 headers.
7840 * include/bits/dlfcn.h: Likewise.
7841 * include/langinfo.h: Likewise.
7842 * include/monetary.h: Likewise.
7843 * include/sys/poll.h: Likewise.
7844
7845 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
7846 for __USE_GNU.
7847 * posix/spawn.h: Define __need_sigset_t.
7848 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
7849 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
7850 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
7851 to get sigevent_t only.
7852 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
7853 only for __USE_GNU.
7854 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
7855 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
7856 process_vm_writev only for __USE_GNU.
7857 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
7858
7859 * conform/Makefile: For now ignore errors from run-conformtest.
7860 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
7861 POSIX to avoid namespace pollution. Don't prepend headers.
7862 * conform/data/aio.h-data: Fixes for POSIX testing.
7863 * conform/data/fcntl.h-data: Likewise.
7864 * conform/data/glob.h-data: Likewise.
7865 * conform/data/grp.h-data: Likewise.
7866 * conform/data/pthread.h-data: Likewise.
7867 * conform/data/pwd.h-data: Likewise.
7868 * conform/data/signal.h-data: Likewise.
7869 * conform/data/spawn.h-data: Likewise.
7870 * conform/data/stdio.h-data: Likewise.
7871 * conform/data/stdlib.h-data: Likewise.
7872 * conform/data/stropts.h-data: Likewise.
7873 * conform/data/sys/mman.h-data: Likewise.
7874 * conform/data/sys/stat.h-data: Likewise.
7875 * conform/data/sys/types.h-data: Likewise.
7876 * conform/data/sys/wait.h-data: Likewise.
7877 * conform/data/time.h-data: Likewise.
7878 * conform/data/unistd.h-data: Likewise.
7879 * conform/data/utime.h-data: Likewise.
7880
7881 * io/sys/stat.h: fchmod was always in POSIX.
7882 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
7883 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
7884 * rt/aio.h: Define __need_timespec before including <time.h>.
7885 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
7886 struct. Add forward declaration of pthread_attr_t and use it in
7887 sigevent.
7888 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
7889 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
7890 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
7891 always remove CLK_TCK definition.
7892
c20105c3
AS
78932012-02-26 Andreas Schwab <schwab@linux-m68k.org>
7894
7895 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
7896
7a270350
UD
78972012-02-25 Ulrich Drepper <drepper@gmail.com>
7898
31341567
UD
7899 * conform/run-conformtest.sh: New file.
7900 * conform/Makefile: Run run-conformtest for tests.
7901 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
7902 support.
7903
7904 * conform/data/uchar.h-data: New file.
7905 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
7906 * conform/data/arpa/inet.h-data: Likewise.
7907 * conform/data/assert.h-data: Likewise.
7908 * conform/data/complex.h-data: Likewise.
7909 * conform/data/cpio.h-data: Likewise.
7910 * conform/data/ctype.h-data: Likewise.
7911 * conform/data/dirent.h-data: Likewise.
7912 * conform/data/dlfcn.h-data: Likewise.
7913 * conform/data/errno.h-data: Likewise.
7914 * conform/data/fcntl.h-data: Likewise.
7915 * conform/data/float.h-data: Likewise.
7916 * conform/data/fmtmsg.h-data: Likewise.
7917 * conform/data/fnmatch.h-data: Likewise.
7918 * conform/data/ftw.h-data: Likewise.
7919 * conform/data/glob.h-data: Likewise.
7920 * conform/data/grp.h-data: Likewise.
7921 * conform/data/iconv.h-data: Likewise.
7922 * conform/data/inttypes.h-data: Likewise.
7923 * conform/data/langinfo.h-data: Likewise.
7924 * conform/data/libgen.h-data: Likewise.
7925 * conform/data/limits.h-data: Likewise.
7926 * conform/data/locale.h-data: Likewise.
7927 * conform/data/math.h-data: Likewise.
7928 * conform/data/monetary.h-data: Likewise.
7929 * conform/data/mqueue.h-data: Likewise.
7930 * conform/data/ndbm.h-data: Likewise.
7931 * conform/data/net/if.h-data: Likewise.
7932 * conform/data/netdb.h-data: Likewise.
7933 * conform/data/netinet/in.h-data: Likewise.
7934 * conform/data/nl_types.h-data: Likewise.
7935 * conform/data/poll.h-data: Likewise.
7936 * conform/data/pthread.h-data: Likewise.
7937 * conform/data/pwd.h-data: Likewise.
7938 * conform/data/regex.h-data: Likewise.
7939 * conform/data/sched.h-data: Likewise.
7940 * conform/data/search.h-data: Likewise.
7941 * conform/data/semaphore.h-data: Likewise.
7942 * conform/data/setjmp.h-data: Likewise.
7943 * conform/data/signal.h-data: Likewise.
7944 * conform/data/spawn.h-data: Likewise.
7945 * conform/data/stdarg.h-data: Likewise.
7946 * conform/data/stdio.h-data: Likewise.
7947 * conform/data/stdlib.h-data: Likewise.
7948 * conform/data/string.h-data: Likewise.
7949 * conform/data/strings.h-data: Likewise.
7950 * conform/data/stropts.h-data: Likewise.
7951 * conform/data/sys/ipc.h-data: Likewise.
7952 * conform/data/sys/mman.h-data: Likewise.
7953 * conform/data/sys/msg.h-data: Likewise.
7954 * conform/data/sys/resource.h-data: Likewise.
7955 * conform/data/sys/select.h-data: Likewise.
7956 * conform/data/sys/sem.h-data: Likewise.
7957 * conform/data/sys/shm.h-data: Likewise.
7958 * conform/data/sys/socket.h-data: Likewise.
7959 * conform/data/sys/stat.h-data: Likewise.
7960 * conform/data/sys/statvfs.h-data: Likewise.
7961 * conform/data/sys/time.h-data: Likewise.
7962 * conform/data/sys/timeb.h-data: Likewise.
7963 * conform/data/sys/times.h-data: Likewise.
7964 * conform/data/sys/types.h-data: Likewise.
7965 * conform/data/sys/uio.h-data: Likewise.
7966 * conform/data/sys/un.h-data: Likewise.
7967 * conform/data/sys/utsname.h-data: Likewise.
7968 * conform/data/sys/wait.h-data: Likewise.
7969 * conform/data/syslog.h-data: Likewise.
7970 * conform/data/tar.h-data: Likewise.
7971 * conform/data/termios.h-data: Likewise.
7972 * conform/data/utime.h-data: Likewise.
7973 * conform/data/utmpx.h-data: Likewise.
7974 * conform/data/varargs.h-data: Likewise.
7975 * conform/data/wchar.h-data: Likewise.
7976 * conform/data/wctype.h-data: Likewise.
7977 * conform/data/wordexp.h-data: Likewise.
7978
7979 * include/stropts.h: New file.
7980 * include/uchar.h: New file.
7981 * include/aio.h: Changes to allow conformtest.pl to use the headers.
7982 * include/assert.h: Likewise.
7983 * include/ctype.h: Likewise.
7984 * include/dirent.h: Likewise.
7985 * include/dlfcn.h: Likewise.
7986 * include/fcntl.h: Likewise.
7987 * include/fnmatch.h: Likewise.
7988 * include/glob.h: Likewise.
7989 * include/grp.h: Likewise.
7990 * include/libio.h: Likewise.
7991 * include/locale.h: Likewise.
7992 * include/math.h: Likewise.
7993 * include/net/if.h: Likewise.
7994 * include/netdb.h: Likewise.
7995 * include/netinet/in.h: Likewise.
7996 * include/pthread.h: Likewise.
7997 * include/pwd.h: Likewise.
7998 * include/regex.h: Likewise.
7999 * include/sched.h: Likewise.
8000 * include/search.h: Likewise.
8001 * include/setjmp.h: Likewise.
8002 * include/signal.h: Likewise.
8003 * include/stdio.h: Likewise.
8004 * include/stdlib.h: Likewise.
8005 * include/string.h: Likewise.
8006 * include/sys/cdefs.h: Likewise.
8007 * include/sys/mman.h: Likewise.
8008 * include/sys/msg.h: Likewise.
8009 * include/sys/resource.h: Likewise.
8010 * include/sys/select.h: Likewise.
8011 * include/sys/socket.h: Likewise.
8012 * include/sys/stat.h: Likewise.
8013 * include/sys/statvfs.h: Likewise.
8014 * include/sys/time.h: Likewise.
8015 * include/sys/times.h: Likewise.
8016 * include/sys/uio.h: Likewise.
8017 * include/sys/utsname.h: Likewise.
8018 * include/sys/wait.h: Likewise.
8019 * include/termios.h: Likewise.
8020 * include/time.h: Likewise.
8021 * include/ulimit.h: Likewise.
8022 * include/unistd.h: Likewise.
8023 * include/utime.h: Likewise.
8024 * include/wchar.h: Likewise.
8025 * include/wctype.h: Likewise.
8026 * include/wordexp.h: Likewise.
8027
8028 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
8029
7a270350
UD
8030 * time/time.h: TIME_UTC must be a macro.
8031 Make timespec_get available for ISO C11 only as well.
8032
7724defc
UD
80332012-02-24 Ulrich Drepper <drepper@gmail.com>
8034
8035 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
8036 Reported by Peng Haitao <penght@cn.fujitsu.com>.
8037
6b1d1d46
JM
80382012-02-24 Joseph Myers <joseph@codesourcery.com>
8039
8040 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 8041
0f8bbd69
JM
80422012-02-24 Joseph Myers <joseph@codesourcery.com>
8043
8044 * manual/texinfo.tex: Update to version 2012-01-19.16.
8045
66ab80bc
JM
80462012-02-24 Joseph Myers <joseph@codesourcery.com>
8047
8048 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
8049
74981cc5
RM
80502012-02-24 Roland McGrath <roland@hack.frob.com>
8051
ee968201
RM
8052 [BZ #13738]
8053 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
8054 * manual/fdl-1.3.texi: New file.
8055 * manual/fdl-1.1.texi: File removed.
8056
74981cc5
RM
8057 [BZ #13738]
8058 * manual/libc.texinfo (FDL_VERSION): New @set.
8059 Use it for mention of FDL in cover text.
8060 (Documentation License): Use it in @include file name.
8061
7bb764bc
JM
80622012-02-22 Joseph Myers <joseph@codesourcery.com>
8063 Roland McGrath <roland@hack.frob.com>
8064
8065 [BZ #5461]
8066 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
8067 not LONG_LONG_MAX and LONG_LONG_MIN.
8068 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
8069 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
8070 name.
8071 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
8072
6cbeae47
JM
80732012-02-22 Joseph Myers <joseph@codesourcery.com>
8074
8075 [BZ #2547]
8076 [BZ #11365]
8077 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
8078 manipulate bits before adding and subtracting TWO23[sx].
8079 * math/libm-test.inc (nearbyint_test): Add more tests.
8080
fe45ce09
JM
80812012-02-22 Joseph Myers <joseph@codesourcery.com>
8082
8083 [BZ #2548]
8084 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
8085 bits before adding and subtracting TWO23[sx].
8086 * math/libm-test.inc (rint_test): Add more tests.
8087 (rint_test_tonearest): Likewise.
8088 (rint_test_towardzero): Likewise.
8089 (rint_test_downward): Likewise.
8090 (rint_test_upward: Likewise.
8091
ff3b3d82
JM
80922012-02-22 Joseph Myers <joseph@codesourcery.com>
8093
8094 [BZ #10110]
8095 * include/stdc-predef.h: New file. Extracted from features.h.
8096 * include/features.h: Include stdc-predef.h.
8097 * Makefile (headers): Add stdc-predef.h.
8098 * CONFORMANCE (Compiler limitations): Update.
8099
ef0aab35
JM
81002012-02-22 Joseph Myers <joseph@codesourcery.com>
8101
8102 * manual/libc.texinfo (VERSION, UPDATED): Revert.
8103
58639409
DM
81042012-02-21 David S. Miller <davem@davemloft.net>
8105
8106 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
8107 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
8108
c0e70b25
DM
81092012-02-20 David S. Miller <davem@davemloft.net>
8110
8111 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
8112 using a normal save/restore sequence, rather than allocating a
8113 dummy stack frame just to store a frame pointer and restore.
8114 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
8115
fb06851d
JM
81162012-02-21 Joseph Myers <joseph@codesourcery.com>
8117
8118 * manual/install.texi: Fix stray word in line-wrapped comment.
8119
7a8b71c3
DM
81202012-02-20 David S. Miller <davem@davemloft.net>
8121
d510c123
DM
8122 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
8123 both binutils and gcc support GOTDATA.
8124
0722d7c2
DM
8125 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
8126 "rd %pc" in the PIC register setup sequences.
8127
3d2b3019
DM
8128 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
8129 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
8130 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
8131 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
8132 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
8133 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
8134 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
8135 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
8136 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
8137 (SYSCALL_ERROR_HANDLER): Likewise.
8138 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
8139 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
8140 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
8141 (SYSCALL_ERROR_HANDLER): Likewise.
8142
c80098a9
DM
8143 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
8144 (HAVE_GCC_GOTDATA): New.
8145 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
8146 relocation support in both binutils and gcc.
8147 * sysdeps/sparc/elf/configure: Regenerate.
8148
3a2545a0
DM
8149 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
8150 * sysdeps/sparc/sparc32/elf/configure: Delete.
8151 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
8152 * sysdeps/sparc/sparc64/elf/configure: Delete.
8153 * sysdeps/sparc/elf/configure.in: New file.
8154 * sysdeps/sparc/elf/configure: Generate.
8155
7a8b71c3
DM
8156 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
8157 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
8158 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
8159 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
8160 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
8161
f1e86fca
JM
81622012-02-21 Joseph Myers <joseph@codesourcery.com>
8163
8164 * manual/install.texi: Do not mention specific glibc version
8165 numbers.
8166 * manual/libc.texinfo (VERSION, UPDATED): Update.
8167 (@copying): Use @copyright{} and range of years.
8168
0e7dfaef
JM
81692012-02-21 Joseph Myers <joseph@codesourcery.com>
8170
8171 [BZ #13695]
8172 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
8173 [crti.S not in sysdirs] (generated): Do not append.
8174 [crti.S not in sysdirs] (omit-deps): Likewise.
8175 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
8176 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
8177 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
8178 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
8179 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
8180 Likewise.
8181 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
8182 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
8183 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
8184 * csu/defs.awk: Remove file.
8185 * sysdeps/generic/initfini.c: Likewise.
8186 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
8187 variable.
8188 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
8189 Likewise.
8190
599af3ca
JM
81912012-02-20 Joseph Myers <joseph@codesourcery.com>
8192
8193 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
8194 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
8195 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
8196 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
8197 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
8198 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
8199 <bits/epoll.h>.
8200 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
8201 (__EPOLL_PACKED): Define to empty if not defined by
8202 <bits/epoll.h>.
8203 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
8204 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
8205 bits/epoll.h.
8206
0e499750
JM
82072012-02-20 Joseph Myers <joseph@codesourcery.com>
8208
8209 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
8210 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
8211 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
8212 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
8213 <bits/timerfd.h>.
8214 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
8215 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
8216 bits/timerfd.h.
8217
5ad91f6e
JM
82182012-02-20 Joseph Myers <joseph@codesourcery.com>
8219
8220 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
8221 in C locale.
8222 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
8223 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
8224 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
8225 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8226
06b99b02
AJ
82272012-02-20 Aurelien Jarno <aurelien@aurel32.net>
8228
8229 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
8230 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
8231
7638c0fd
AS
82322012-02-19 Andreas Schwab <schwab@linux-m68k.org>
8233
8234 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
8235 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
8236 defined.
8237 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
8238 Likewise.
8239 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
8240 entry for 2.16.
8241
92221550
AJ
82422012-02-19 Aurelien Jarno <aurelien@aurel32.net>
8243
8244 * math/w_acos.c: Use non-signaling floating-point comparisons.
8245 * math/w_acosf.c: Likewise.
8246 * math/w_acosh.c: Likewise.
8247 * math/w_acoshf.c: Likewise.
8248 * math/w_acoshl.c: Likewise.
8249 * math/w_acosl.c: Likewise.
8250 * math/w_asin.c: Likewise.
8251 * math/w_asinf.c: Likewise.
8252 * math/w_asinl.c: Likewise.
8253 * math/w_atanh.c: Likewise.
8254 * math/w_atanhf.c: Likewise.
8255 * math/w_atanhl.c: Likewise.
8256 * math/w_exp2.c: Likewise.
8257 * math/w_exp2f.c: Likewise.
8258 * math/w_exp2l.c: Likewise.
8259 * math/w_j0.c: Likewise.
8260 * math/w_j0f.c: Likewise.
8261 * math/w_j0l.c: Likewise.
8262 * math/w_j1.c: Likewise.
8263 * math/w_j1f.c: Likewise.
8264 * math/w_j1l.c: Likewise.
8265 * math/w_jn.c: Likewise.
8266 * math/w_jnf.c: Likewise.
8267 * math/w_log.c: Likewise.
8268 * math/w_log10.c: Likewise.
8269 * math/w_log10f.c: Likewise.
8270 * math/w_log10l.c: Likewise.
8271 * math/w_log2.c: Likewise.
8272 * math/w_log2f.c: Likewise.
8273 * math/w_log2l.c: Likewise.
8274 * math/w_logf.c: Likewise.
8275 * math/w_logl.c: Likewise.
8276 * math/w_sqrt.c: Likewise.
8277 * math/w_sqrtf.c: Likewise.
8278 * math/w_sqrtl.c: Likewise.
8279 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
8280 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
8281 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
8282 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
8283 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
8284
ebaf36eb
JM
82852012-02-19 Joseph Myers <joseph@codesourcery.com>
8286
8287 [BZ #9739]
8288 * manual/string.texi (strnlen): Use correct parameter name in
8289 equivalent expression.
8290
71c254a6
JM
82912012-02-19 Joseph Myers <joseph@codesourcery.com>
8292
8293 [BZ #11174]
8294 * manual/users.texi (seteuid): Consistently use neweuid for
8295 argument name.
8296
16d2c631
JM
82972012-02-19 Joseph Myers <joseph@codesourcery.com>
8298
8299 [BZ #13704]
8300 * manual/nss.texi (Services in the NSS configuration): Correct
8301 list of services in example configuration file.
8302
cd837b09
NB
83032012-02-19 Nick Bowler <nbowler@draconx.ca>
8304
8305 [BZ #11322]
8306 * manual/arith.texi: Remove statements about negative zero
8307 behaving identically to zero.
8308
02c4bbad
JM
83092012-02-18 Joseph Myers <joseph@codesourcery.com>
8310
8311 [BZ #5993]
8312 * manual/install.texi: Do not document upgrading from libc5.
8313
366842e7
JM
83142012-02-18 Joseph Myers <joseph@codesourcery.com>
8315
8316 [BZ #4596]
8317 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
8318
dd54084d
DM
83192012-02-18 David S. Miller <davem@davemloft.net>
8320
8321 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
8322 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
8323 %o7 across the call.
8324 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
8325 instead.
8326 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
8327 SETUP_PIC_REG_LEAF.
8328 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
8329 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
8330 * sysdeps/sparc/crtn.S: Likewise.
8331
2bcc53a3
UD
83322012-02-17 Ulrich Drepper <drepper@gmail.com>
8333
8334 * aout/Makefile: Remove.
8335
09c093b5
RK
83362012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
8337
8338 [BZ #13058]
8339 * manual/examples/argp-ex1.c (main): Format definition in GNU
8340 style.
8341 * manual/examples/argp-ex2.c (main): Likewise.
8342 * manual/examples/argp-ex3.c (main): Likewise.
8343 * manual/examples/argp-ex4.c (main): Likewise.
8344 * manual/examples/longopt.c (main): Use new-style prototype
8345 definition.
8346 * manual/examples/strncat.c (main): Specify return type and use
8347 (void) for arguments.
8348 * manual/examples/subopt.c (main): Use char **argv argument.
8349
2ee633a2
JM
83502012-02-17 Joseph Myers <joseph@codesourcery.com>
8351
8352 [BZ #5077]
8353 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
8354 rounding modes.
8355
0520adde
FB
83562012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
8357
8358 [BZ #6907]
8359 * manual/string.texi (strchr): Change when strchrnul is
8360 recommended.
8361
3f4081cd
DGM
83622012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
8363
8364 [BZ #174]
8365 * manual/locale.texi (setlocale): Document LOCPATH.
8366
d1b10e78
JM
83672012-02-17 Joseph Myers <joseph@codesourcery.com>
8368
8369 [BZ #10210]
8370 * manual/process.texi (execle): Move @dots{} before last argument.
8371
79c6869c
PB
83722012-02-17 Paul Bolle <pebolle@tiscali.nl>
8373
8374 [BZ #12047]
8375 * manual/charset.texi (Generic Charset Conversion): Fix typo
8376 (LC_TYPE -> LC_CTYPE).
8377
cc6e48bc
NB
83782012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
8379
8380 [BZ #5805]
8381 * manual/arith.texi (scalbn): Use @var{} on parameter names.
8382 (scalbnf): Likewise.
8383 (scalbnl): Likewise.
8384 (scalbln): Likewise.
8385 (scalblnf): Likewise.
8386 (scalblnl): Likewise.
8387 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
8388 (vwarnx): Likewise.
8389 (verr): Likewise.
8390 (verrx): Likewise.
8391 * manual/filesys.texi (telldir): Use braces around return type.
8392 * manual/llio.texi (mmap): Add space after comma.
8393 (mmap64): Likewise.
8394 * manual/math.texi (jn): Use @var{} on parameter names.
8395 (jnf): Likewise.
8396 (jnl): Likewise.
8397 (yn): Likewise.
8398 (ynf): Likewise.
8399 (ynl): Likewise.
8400 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
8401 line.
8402 * manual/resource.texi (ulimit): Use @dots{} instead of literal
8403 "...".
8404 (sched_get_priority_min): Remove semicolon on @deftypefun line.
8405 (sched_get_priority_max): Likewise.
8406 * manual/signal.texi (sigvec): Add space after comma.
8407 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
8408 names.
8409 (if_indextoname): Likewise.
8410 (if_freenameindex): Likewise.
8411 (sendto): Use ',' instead of '.' in prototype.
8412 * manual/startup.texi (syscall): Use @dots{} instead of literal
8413 "...".
8414 * manual/stdio.texi (__fpending): Separate initial words of
8415 paragraph from @deftypefun line.
8416 * manual/syslog.texi (syslog): Use @dots{} instead of literal
8417 "...".
8418 (vsyslog): Use @var{} on parameter names.
8419 * manual/terminal.texi (stty): Use @var{} on parameter names.
8420 * manual/users.texi (getutmp): Use @var{} on parameter names.
8421 (getutmpx): Likewise.
8422
5b23062f
JM
84232012-02-17 Joseph Myers <joseph@codesourcery.com>
8424
8425 [BZ #6884]
8426 * manual/stdio.texi (fopen): Fix typos in description of
8427 ",ccs=STRING".
8428
8dee4833
AJ
84292012-02-17 Aurelien Jarno <aurelien@aurel32.net>
8430
8431 [BZ #4026]
8432 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
8433 get clock_id definition.
8434
9078ce93
TS
84352012-02-17 Thomas Schwinge <thomas@schwinge.name>
8436
8437 [BZ #4822]
8438 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
8439 (madvise): Cast every argument to void on its own.
8440
3835c55f
JM
84412012-02-17 Joseph Myers <joseph@codesourcery.com>
8442
8443 [BZ #9902]
8444 * manual/startup.texi (Exit Status): Fix typo.
8445
35c47e37
JM
84462012-02-17 Joseph Myers <joseph@codesourcery.com>
8447
8448 [BZ #10140]
8449 * manual/examples/argp-ex1.c: Include <stdlib.h>.
8450 * manual/examples/argp-ex2.c: Likewise.
8451 * manual/examples/argp-ex3.c: Likewise.
8452
e3b69ca7
RH
84532012-02-16 Richard Henderson <rth@redhat.com>
8454
8455 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
8456 * sysdeps/s390/s390-32/initfini.c: Remove.
8457 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
8458 * sysdeps/s390/s390-64/initfini.c: Remove.
8459
df83af67
KK
84602012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
8461
8462 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
8463 compiler output for sysdeps/generic/initfini.c.
8464 * sysdeps/sh/elf/initfini.c: Remove file.
8465
f63f3380
DM
84662012-02-16 David S. Miller <davem@davemloft.net>
8467
fb59b3a4
DM
8468 [BZ #11494]
8469 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
8470
f63f3380
DM
8471 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
8472 * sysdeps/sparc/crti.S: New file.
8473 * sysdeps/sparc/crtn.S: New file.
8474 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
8475 * sysdeps/sparc/sparc64/Makefile: Likewise.
8476
df6a4a4a
MF
84772012-02-15 Mike Frysinger <vapier@gentoo.org>
8478
6dd8f3dc 8479 [BZ #3335]
df6a4a4a
MF
8480 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
8481
1cac7236
RM
84822012-02-15 Roland McGrath <roland@hack.frob.com>
8483
d2c736f8
RM
8484 [BZ #4822]
8485 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
8486
1cac7236
RM
8487 * mach/devstream.c (cookie_io_functions_t): Macro removed.
8488 (write, read, close): Likewise.
8489 Patch by Aurelien Jarno <aurelien@aurel32.net>.
8490
8e475601
JM
84912012-02-15 Joseph Myers <joseph@codesourcery.com>
8492
8493 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
8494 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
8495 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
8496 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
8497 <bits/signalfd.h>.
8498 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
8499 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
8500 bits/signalfd.h.
8501
ed656b40
MP
85022012-02-14 Marek Polacek <polacek@redhat.com>
8503
8504 * sysdeps/x86_64/crti.S: New file.
8505 * sysdeps/x86_64/crtn.S: New file.
8506 * sysdeps/x86_64/elf/initfini.c: Remove file.
8507
2a979d3a
JM
85082012-02-13 Joseph Myers <joseph@codesourcery.com>
8509
8510 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
8511 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
8512 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
8513 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
8514 <bits/inotify.h>.
8515 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
8516 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
8517 bits/inotify.h.
8518
2a418ac3
JM
85192012-02-13 Joseph Myers <joseph@codesourcery.com>
8520
8521 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
8522 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
8523 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
8524 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
8525 <bits/eventfd.h>.
8526 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
8527 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
8528 bits/eventfd.h.
8529
fb779be7
TS
85302012-02-10 Thomas Schwinge <thomas@codesourcery.com>
8531
e19e83c5
RM
8532 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
8533 __feraiseexcept instead of feraiseexcept.
7c35ffed 8534
fb779be7
TS
8535 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
8536 nanosleep invocations.
8537 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
8538 strings, and add error checking for a nanosleep invocations.
8539
59ba27a6
PE
85402012-02-09 Paul Eggert <eggert@cs.ucla.edu>
8541
8542 Replace FSF snail mail address with URLs, as per GNU coding standards.
8543 Most of the snail mail addresses were wrong anyway, and omitting
8544 them makes the source code easier to maintain. Almost all of the
8545 changes are to license notices and to locale LC_IDENTIFICATION
8546 addresses, except for this one:
8547 * manual/libc.texinfo: In "Published by", give the FSF's URL,
8548 not its snail mail address.
8549
57b957eb
RH
85502012-02-09 Richard Henderson <rth@twiddle.net>
8551
af850b1c
RH
8552 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
8553 of kernel-features.h.
8554
57b957eb
RH
8555 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
8556
6b73181a
MP
85572012-02-08 Marek Polacek <polacek@redhat.com>
8558
8559 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
8560 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
8561 * sysdeps/gnu/_G_config.h: Likewise.
8562 * sysdeps/generic/_G_config.h: Likewise.
8563
26ecc33a
AS
85642012-02-08 Andreas Schwab <schwab@linux-m68k.org>
8565
6c6dbc63
AS
8566 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
8567 tests.
8568 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8569
e216c012
AS
8570 * sysdeps/powerpc/powerpc32/crti.S: New file.
8571 * sysdeps/powerpc/powerpc32/crtn.S: New file.
8572 * sysdeps/powerpc/powerpc64/crti.S: New file.
8573 * sysdeps/powerpc/powerpc64/crtn.S: New file.
8574
26ecc33a
AS
8575 * Makeconfig (have-initfini): Don't set.
8576 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
8577 * configure.in (nopic_initfini): Don't substitute.
8578 * config.h.in (HAVE_INITFINI): Don't #undef.
8579 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
8580 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
8581
3add8e13
JM
85822012-02-08 Joseph Myers <joseph@codesourcery.com>
8583
8584 Support crti.S and crtn.S provided directly by architectures.
8585 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
8586 [crti.S in sysdirs] (omit-deps): Likewise.
8587 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
8588 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
8589 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
8590 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
8591 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
8592 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
8593 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
8594 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
8595 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
8596 compiler output for sysdeps/generic/initfini.c.
8597 * sysdeps/i386/elf/Makefile: Remove file.
8598 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
8599
a22f12b4
MP
86002012-02-07 Marek Polacek <polacek@redhat.com>
8601
8602 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
8603 * sysdeps/gnu/_G_config.h: Likewise.
8604 * sysdeps/mach/hurd/_G_config.h: Likewise.
8605
148cf100
MP
86062012-02-07 Marek Polacek <polacek@redhat.com>
8607
8608 * math/Makefile (tests): Add tst-CMPLX2.
8609 * math/tst-CMPLX2.c: New file.
8610
cfdc0dd7
AS
86112012-02-07 Andreas Schwab <schwab@linux-m68k.org>
8612
84ba42c4
AS
8613 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
8614
cfdc0dd7
AS
8615 * math/libm-test.inc (jn_test): Add missing L suffix.
8616
622c86f4
MP
86172012-02-06 Marek Polacek <polacek@redhat.com>
8618
8619 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
8620 * sysdeps/i386/fpu/e_powf.S: Likewise.
8621 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
8622 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
8623 * sysdeps/i386/fpu/e_acosh.S: Likewise.
8624 * sysdeps/i386/fpu/e_pow.S: Likewise.
8625 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
8626 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
8627 * sysdeps/i386/fpu/s_expm1.S: Likewise.
8628 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
8629 * sysdeps/i386/fpu/e_log2.S: Likewise.
8630 * sysdeps/i386/fpu/e_log2l.S: Likewise.
8631 * sysdeps/i386/fpu/e_scalb.S: Likewise.
8632 * sysdeps/i386/fpu/e_powl.S: Likewise.
8633 * sysdeps/i386/fpu/s_log1p.S: Likewise.
8634 * sysdeps/i386/fpu/e_log10f.S: Likewise.
8635 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
8636 * sysdeps/i386/fpu/e_logl.S: Likewise.
8637 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
8638 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
8639 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
8640 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
8641 * sysdeps/i386/fpu/e_log2f.S: Likewise.
8642 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
8643 * sysdeps/i386/fpu/e_log.S: Likewise.
8644 * sysdeps/i386/fpu/s_cexp.S: Likewise.
8645 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
8646 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
8647 * sysdeps/i386/fpu/e_logf.S: Likewise.
8648 * sysdeps/i386/fpu/e_log10l.S: Likewise.
8649 * sysdeps/i386/fpu/e_atanh.S: Likewise.
8650 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
8651 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
8652 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
8653 * sysdeps/i386/fpu/e_log10.S: Likewise.
8654 * sysdeps/i386/fpu/s_frexp.S: Likewise.
8655 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
8656 * sysdeps/i386/fpu/s_asinh.S: Likewise.
8657 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
8658 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
8659 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
8660 * sysdeps/i386/asm-syntax.h: Likewise.
8661 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
8662 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
8663 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
8664 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
8665 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
8666 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
8667 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
8668 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
8669 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
8670 * sysdeps/powerpc/sysdep.h: Likewise.
8671 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
8672 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
8673
d4a54ac6
JM
86742012-02-06 Joseph Myers <joseph@codesourcery.com>
8675
8676 [BZ #411]
8677 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
8678
314054ea
JM
86792012-02-06 Joseph Myers <joseph@codesourcery.com>
8680
8681 * sysdeps/i386/sysdep.h: Include <features.h>.
8682 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
8683 version.
8684
d8e0ca50
JM
86852012-02-05 Joseph Myers <joseph@codesourcery.com>
8686
8687 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
8688 Define.
8689 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
8690 LOAD_PIC_REG_STR.
8691
b1da7dd9
JM
86922012-02-03 Joseph Myers <joseph@codesourcery.com>
8693
8694 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
8695 (SETUP_PIC_REG): Use GET_PC_THUNK.
8696 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
8697 macro.
8698
9a1d9254
JM
86992012-02-03 Joseph Myers <joseph@codesourcery.com>
8700
8701 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
8702 for non-PIC compilation.
8703 (SETUP_PIC_REG): Add .p2align directive.
8704 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
8705 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
8706 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
8707 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
8708 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
8709 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
8710 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
8711 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
8712 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
8713 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
8714 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
8715 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
8716 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
8717 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
8718 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
8719 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
8720 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
8721 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
8722 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
8723 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
8724 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
8725 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
8726 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
8727 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
8728 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
8729 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
8730 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
8731 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
8732 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
8733 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
8734 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
8735 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
8736 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
8737 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
8738 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
8739 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
8740 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
8741 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
8742 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
8743 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
8744 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
8745
65dc3b75
JM
87462012-02-03 Joseph Myers <joseph@codesourcery.com>
8747
8748 * math/tst-CMPLX.c: Include <stdio.h>.
8749
d55bf177
JM
87502012-01-31 Joseph Myers <joseph@codesourcery.com>
8751
8752 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
8753 float.
8754 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
8755 * sysdeps/sparc/bits/mathdef.h: Likewise.
8756
69db4f8f
MP
87572012-01-31 Marek Polacek <polacek@redhat.com>
8758
8759 * libio/libio.h: Don't define _PARAMS.
8760 * locale/programs/config.h: Don't define PARAMS.
8761 * stdlib/strtol_l.c: Likewise.
8762 (__strtol_l): Remove PARAMS from the prototype.
8763
41b81892
UD
87642012-01-31 Ulrich Drepper <drepper@gmail.com>
8765
3b49edc0
UD
8766 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
8767 names. Just use the correct names. Remove unnecessary wrapper
8768 functions.
8769 * malloc/arena.c: Likewise.
8770 * malloc/hooks.c: Likewise.
8771
41b81892
UD
8772 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
8773 ARENA_TEST says not to. Simplify test for creation of a new arena.
8774 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
8775
27a25b6e
UD
87762012-01-30 Ulrich Drepper <drepper@gmail.com>
8777
8778 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
8779 into tail calls.
8780 (update_get_addr): New function.
8781 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
8782 GET_ADDR_MODULE parameter.
8783
c8a89e7d
JM
87842012-01-30 Joseph Myers <joseph@codesourcery.com>
8785
8786 * crypt/cert.c: Remove __STDC__ conditionals.
8787 * crypt/crypt-entry.c: Likewise.
8788 * crypt/crypt_util.c: Likewise.
8789 * libio/filedoalloc.c: Likewise.
8790 * libio/fileops.c: Likewise.
8791 * libio/genops.c: Likewise.
8792 * libio/iofclose.c: Likewise.
8793 * libio/iofdopen.c: Likewise.
8794 * libio/iofopen.c: Likewise.
8795 * libio/iofopen64.c: Likewise.
8796 * libio/iogetdelim.c: Likewise.
8797 * libio/iopopen.c: Likewise.
8798 * libio/obprintf.c: Likewise.
8799 * libio/oldfileops.c: Likewise.
8800 * libio/oldiofclose.c: Likewise.
8801 * libio/oldiofdopen.c: Likewise.
8802 * libio/oldiofopen.c: Likewise.
8803 * libio/oldiopopen.c: Likewise.
8804 * libio/wfiledoalloc.c: Likewise.
8805 * libio/wgenops.c: Likewise.
8806 * locale/programs/xmalloc.c: Likewise.
8807 * misc/syslog.c: Likewise.
8808 * stdio-common/xbug.c: Likewise.
8809 * string/memchr.c: Likewise.
8810 * string/memcmp.c: Likewise.
8811 * string/memrchr.c: Likewise.
8812 * string/rawmemchr.c: Likewise.
8813 * sysdeps/posix/getcwd.c: Likewise.
8814 * time/strftime_l.c: Likewise.
8815
3b100462
JM
88162012-01-30 Joseph Myers <joseph@codesourcery.com>
8817
8818 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
8819 * config.make.in (config-cflags-sse2avx): Define.
8820 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
8821 Fix typo.
8822
607998af
CM
88232012-01-29 Chris Metcalf <cmetcalf@tilera.com>
8824
8825 * scripts/config.guess: Update from upstream config git repository.
8826 * scripts/config.sub: Likewise.
8827
3601428f
CM
88282012-01-28 Chris Metcalf <cmetcalf@tilera.com>
8829
3ac8b282
CM
8830 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
8831 (EM_NUM): Update.
8832 (R_TILEPRO_*, R_TILEGX_*): New macros.
8833
e034841e
CM
8834 * scripts/firstversions.awk: Fix bug in version range handling.
8835
540d7568
CM
8836 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
8837
3601428f
CM
8838 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
8839
463de862
CM
8840 * include/sys/epoll.h: New file.
8841 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
8842 libc_hidden_def.
8843
73139a76
UD
88442012-01-28 Ulrich Drepper <drepper@gmail.com>
8845
96bc5b45
UD
8846 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
8847 Avoid unnecessary __WORDSIZE == 64 test.
8848 (fmaxf): Use VEX format if possible.
8849 (fmax): Likewise.
8850 (fminf): Likewise.
8851 (fmin): Likewise.
8852
56f6f6a2
UD
8853 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
8854 * math/math_private.h: Remove libc_fegetround* and
8855 libc_fesetround*.
8856 * sysdeps/i386/configure.in: Check for -msse2avx.
8857 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
8858 also if SSE2AVX is defined.
8859 Remove libc_fegetround* and libc_fesetround*.
8860 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
8861 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
8862 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
8863 of HAS_YMM_USABLE.
8864 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
8865 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
8866 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
8867 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
8868 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
8869
73139a76
UD
8870 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
8871
d73f93a4
AZ
88722012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8873
8874 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
8875 size is not set.
8876 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
8877
6ee65ed6
UD
88782012-01-27 Ulrich Drepper <drepper@gmail.com>
8879
8880 [BZ #13618]
8881 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
8882 relocation.
8883 * Makeconfig (libm): Define.
8884 * elf/Makefile: Add rules to build and run tst-relsort1.
8885 * elf/tst-relsort1.c: New file.
8886 * elf/tst-relsort1mod1.c: New file.
8887 * elf/tst-relsort1mod2.c: New file.
8888
8db21882
JM
88892012-01-27 Joseph Myers <joseph@codesourcery.com>
8890
8891 * math/s_ldexp.c: Remove __STDC__ conditionals.
8892 * math/s_ldexpf.c: Likewise.
8893 * math/s_ldexpl.c: Likewise.
8894 * math/s_nextafter.c: Likewise.
8895 * math/s_nexttowardf.c: Likewise.
8896 * math/s_significand.c: Likewise.
8897 * math/s_significandf.c: Likewise.
8898 * math/s_significandl.c: Likewise.
8899 * math/w_jnl.c: Likewise.
8900 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
8901 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
8902 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
8903 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
8904 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
8905 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
8906 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
8907 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
8908 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
8909 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
8910 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
8911 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
8912 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
8913 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
8914 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
8915 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
8916 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
8917 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
8918 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
8919 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
8920 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
8921 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
8922 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
8923 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
8924 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
8925 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
8926 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
8927 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
8928 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
8929 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
8930 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
8931 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
8932 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
8933 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
8934 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
8935 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
8936 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
8937 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
8938 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
8939 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
8940 * sysdeps/ieee754/k_standard.c: Likewise.
8941 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
8942 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
8943 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
8944 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
8945 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
8946 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
8947 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
8948 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
8949 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
8950 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
8951 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
8952 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
8953 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
8954 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
8955 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
8956 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
8957 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
8958 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
8959 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
8960 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
8961 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
8962 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
8963 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
8964 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
8965 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
8966 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
8967 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
8968 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
8969 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
8970 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
8971 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
8972 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
8973 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
8974 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
8975 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
8976 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
8977 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
8978 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
8979 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
8980 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
8981 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
8982 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
8983 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
8984 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
8985 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
8986 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
8987 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
8988 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
8989 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
8990 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
8991 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
8992 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
8993 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
8994 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
8995 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
8996 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
8997 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
8998 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
8999 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
9000 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
9001 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
9002 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
9003 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
9004 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
9005 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
9006 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
9007 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
9008 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
9009 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
9010 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
9011 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
9012 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
9013 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
9014 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
9015 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
9016 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
9017 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
9018 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
9019 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
9020 * sysdeps/ieee754/s_matherr.c: Likewise.
9021 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
9022 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
9023 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
9024 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
9025
965a54a4
JM
90262012-01-26 Joseph Myers <joseph@codesourcery.com>
9027
9028 * crypt/md5.h: Remove __STDC__ conditionals.
9029 * libio/libioP.h: Likewise.
9030 * locale/programs/config.h: Likewise.
9031 * sysdeps/generic/sysdep.h: Likewise.
9032 * sysdeps/i386/asm-syntax.h: Likewise.
9033 * sysdeps/s390/asm-syntax.h: Likewise.
9034 * sysdeps/unix/sysdep.h: Likewise.
9035 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
9036 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
9037
7071ad79
JM
90382012-01-26 Joseph Myers <joseph@codesourcery.com>
9039
9040 * libio/libio.h: Remove __STDC__ conditionals.
9041 * malloc/obstack.h: Likewise.
9042 * math/complex.h: Likewise.
9043 * math/math.h: Likewise.
9044 * sysdeps/generic/_G_config.h: Likewise.
9045 * sysdeps/gnu/_G_config.h: Likewise.
9046 * sysdeps/mach/hurd/_G_config.h: Likewise.
9047 * sysdeps/powerpc/bits/mathdef.h: Likewise.
9048 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
9049 * sysdeps/sparc/bits/mathdef.h: Likewise.
9050
afc5ed09
UD
90512012-01-26 Ulrich Drepper <drepper@gmail.com>
9052
9053 [BZ #13583]
9054 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 9055 Clean up HAS_* macros.
afc5ed09 9056 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
9057 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
9058 possible.
9059 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
9060 HAS_AVX.
9061 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
9062 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
9063 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
9064 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
9065 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 9066
bdb6de1d
JM
90672012-01-25 Joseph Myers <joseph@codesourcery.com>
9068
9069 * elf/tst-unique3.cc (gets): Remove declaration.
9070 * elf/tst-unique3lib.cc (gets): Likewise.
9071 * elf/tst-unique3lib2.cc (gets): Likewise.
9072 * elf/tst-unique4.cc (gets): Likewise.
9073
b15549e6
UD
90742012-01-24 Ulrich Drepper <drepper@gmail.com>
9075
9076 * include/stdio.h: Add C++ protection. Add gets declarations and
9077 definitions.
9078 * debug/tst-chk1.c: Don't declare gets here.
9079 * stdio-common/tst-gets.c: Likewise.
9080
a037381f
JM
90812012-01-24 Joseph Myers <joseph@codesourcery.com>
9082
9083 * posix/glob: Remove directory.
9084
f1d4aa75
JM
90852012-01-24 Joseph Myers <joseph@codesourcery.com>
9086
9087 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
9088
81c0c964
PT
90892012-01-22 Pino Toscano <toscano.pino@tiscali.it>
9090
9091 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
9092 of the non-standard EPFNOSUPPORT.
9093
0ea698ae
ST
90942011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
9095
9096 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
9097 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
9098 ANYWHERE set to 1 only on KERN_NO_SPACE error.
9099
d220b117
UD
91002012-01-21 Ulrich Drepper <drepper@gmail.com>
9101
9102 * wcsmbs/uchar.h: Test __STDC_VERSION__.
9103
3e1aa84e
UD
91042012-01-20 Ulrich Drepper <drepper@gmail.com>
9105
9106 * nscd/aicache.c (addhstaiX): Do not cache negative results of
9107 transient errors.
9108 * nscd/grpcache.c (cache_addgr): Likewise.
9109 * nscd/hstcache.c (cache_addhst): Likewise.
9110 * nscd/initgrcache.c (addinitgroupsX): Likewise.
9111 * nscd/pwdcache.c (cache_addpw): Likewise.
9112 * nscd/servicescache.c (cache_addserv): Likewise.
9113
400aa020
UD
91142012-01-16 Ulrich Drepper <drepper@gmail.com>
9115
d77e7869
UD
9116 * malloc/malloc.c: Various cleanups.
9117 * malloc/hooks.c: Likewise.
9118
400aa020
UD
9119 * stdlib/Makefile (tests): Add bug-fmtmsg1.
9120 * stdlib/bug-fmtmsg1.c: New file.
9121
9122 * stdlib/fmtmsg.c (init): Add missing unlock.
9123 Patch by Peng Haitao <penght@cn.fujitsu.com>.
9124
e0a309cf
MP
91252012-01-12 Marek Polacek <polacek@redhat.com>
9126
9127 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
9128 and _GNU_SOURCE.
9129
929d11c7
WS
91302012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
9131
9132 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
9133 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
9134 macro to ensure uniqueness of label name.
9135 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
9136 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
9137
41d0e869
UD
91382012-01-11 Ulrich Drepper <drepper@gmail.com>
9139
0cc5ed3b
UD
9140 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
9141
41d0e869
UD
9142 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
9143 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
9144 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
9145 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
9146
a47a831a
UD
91472012-01-10 Ulrich Drepper <drepper@gmail.com>
9148
daa891c0
UD
9149 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
9150
9151 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
9152 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
9153 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
9154
e58ef0f2
UD
9155 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
9156
a47a831a 9157 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
9158 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
9159 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 9160 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
9161
9162 * math/bits/math-finite.h: Add ldexp support.
9163
a0bfc9c7
MP
91642012-01-10 Marek Polacek <polacek@redhat.com>
9165
9166 * locale/programs/localedef.h (show_archive_content): Add noreturn
9167 attribute.
9168
d6e97a1d
UD
91692012-01-09 Ulrich Drepper <drepper@gmail.com>
9170
9171 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
9172
d5835c26
UD
91732012-01-08 Ulrich Drepper <drepper@gmail.com>
9174
e5f484c6
UD
9175 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
9176
d5835c26
UD
9177 * io/Makefile (headers): Add bits/poll2.h.
9178
d1f741e9
WS
91792011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
9180
9181 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
9182 typo #include statement.
9183
ec09c1c4
UD
91842012-01-08 Ulrich Drepper <drepper@gmail.com>
9185
9186 * include/sys/cdefs.h: Define __attribute_alloc_size.
9187 * catgets/gencat.c: Add alloc_size attribute and apply consistently
9188 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
9189 * elf/pldd.c: Likewise.
9190 * iconv/iconv_charmap.c: Likewise.
9191 * iconv/iconvconfig.c: Likewise.
9192 * iconv/strtab.c: Likewise.
9193 * locale/programs/locale.c: Likewise.
9194 * locale/programs/localedef.h: Likewise.
9195 * locale/programs/simple-hash.c: Likewise.
9196 * nscd/nscd.h: Likewise.
9197 * nss/makedb.c: Likewise.
9198 * sysdeps/generic/ldconfig.h: Likewise.
9199 * locale/programs/localedef.c: Remove xmalloc prototype.
9200 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
9201
20b38e03
PP
92022012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
9203
9204 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
9205 appropriate.
9206
a0da5fe1
UD
92072012-01-08 Ulrich Drepper <drepper@gmail.com>
9208
1d5a644a 9209 * math/Makefile (tests): Add tst-CMPLX.
669704fd 9210 * math/tst-CMPLX.c: New file.
1d5a644a 9211
8784a6db
UD
9212 * math/complex.h (CMPLXL): Fix typo.
9213
d9a216c0
UD
9214 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
9215 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
9216 GLIBC_2.16.
9217 * debug/tst-chk1.c: Add poll and ppoll tests.
9218 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
9219 * include/sys/poll.h: Add hidden proto for ppoll.
9220 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
9221 * sysdeps/mach/hurd/ppoll.c: Likewise.
9222 * io/ppoll.c: Likewise.
9223 * debug/poll_chk.c: New file.
9224 * debug/ppoll_chk.c: New file.
9225 * include/bits/poll2.h: New file.
9226 * io/bits/poll2.h: New file.
9227
ac097f5c
UD
9228 [BZ #1350]
9229 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
9230
2119dcfa
UD
9231 * configure.in: static is always set to yes. Remove.
9232 * config.make.in: Don't set build-static.
9233 * Makeconfig: Remove use of build-static.
9234 * dlfcn/Makefile: Likewise.
9235 * elf/Makefile: Likewise.
9236 * math/Makefile: Likewise.
9237 * misc/Makefile: Likewise.
9238 * nptl/Makefile: Likewise.
9239 * sysdeps/mach/hurd/Makefile: Likewise.
9240
121766a9
UD
9241 * configure.in: PWD_P is not used anymore.
9242 * config.make.in: Remove PWD_P entry.
9243
51a1d39c 9244 * configure.in: Remove last remnants of RANLIB.
8720d066 9245 No need to check for signed size_t anymore.
215f4bdc
UD
9246 Don't set libc_commonpagesize and libc_relro_required here for Alpha
9247 and IA-64.
3857022a 9248 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
9249 * aclocal.m4: Likewise.
9250
d3ed7225
UD
9251 * wcsmbs/mbrtoc16.c: Implement using towc function.
9252 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
9253 * wcsmbs/wcsmbsload.c: Likewise.
9254 * iconv/gconv_simple.c: Likewise.
9255 * iconv/gconv_int.h: Likewise.
9256 * iconv/gconv_builtin.h: Likewise.
9257 * iconv/iconv_prog.c: Remove CHAR16 handling.
9258
9259 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
9260
9261 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
9262
a0da5fe1
UD
9263 * configure.in: Remove --with-elf and --enable-bounded options.
9264 Dont set base_machine for ia64. More non-ELF conditions removed.
9265 Remove testing and setting of leading underscore information.
9266 * config.make.in (build-bounded): Set to no.
9267 * config.h.in: Remove NO_UNDERSCORES entry.
9268 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
9269 them.
9270 * csu/start.c: Remove !NO_UNDERSCORE code.
9271 * locale/localeinfo.h: Likewise.
9272 * sysdeps/generic/machine-gmon.h: Likewise.
9273 * sysdeps/generic/sysdep.h: Likewise.
9274 * sysdeps/i386/sysdep.h: Likewise.
9275 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
9276 * sysdeps/mach/sysdep.h: Likewise.
9277 * sysdeps/s390/s390-32/sysdep.h: Likewise.
9278 * sysdeps/s390/s390-64/sysdep.h: Likewise.
9279 * sysdeps/sh/sysdep.h: Likewise.
9280 * sysdeps/sparc/sparc32/alloca.S: Likewise.
9281 * sysdeps/unix/i386/sysdep.S: Likewise.
9282 * sysdeps/unix/sparc/start.c: Likewise.
9283 * sysdeps/unix/sparc/sysdep.S: Likewise.
9284 * sysdeps/unix/sparc/sysdep.h: Likewise.
9285 * sysdeps/unix/start.c: Likewise.
9286 * sysdeps/unix/x86_64/sysdep.S: Likewise.
9287 * sysdeps/x86_64/sysdep.h: Likewise.
9288
df78418a
UD
92892012-01-07 Ulrich Drepper <drepper@gmail.com>
9290
a784e502
UD
9291 [BZ #13553]
9292 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
9293 for non-gcc.
9294 * argp/argp-fmtstream.h: Use const instead __const.
9295 * argp/argp.h: Likewise.
9296 * assert/assert.h: Likewise.
9297 * bits/fenv.h: Likewise.
9298 * bits/sched.h: Likewise.
9299 * bits/sigset.h: Likewise.
9300 * bits/sigthread.h: Likewise.
9301 * catgets/nl_types.h: Likewise.
9302 * conform/data/pthread.h-data: Likewise.
9303 * crypt/crypt-private.h: Likewise.
9304 * crypt/crypt.h: Likewise.
9305 * crypt/crypt_util.c: Likewise.
9306 * ctype/ctype.h: Likewise.
9307 * debug/execinfo.h: Likewise.
9308 * debug/mbsnrtowcs_chk.c: Likewise.
9309 * debug/mbsrtowcs_chk.c: Likewise.
9310 * debug/wcsnrtombs_chk.c: Likewise.
9311 * debug/wcsrtombs_chk.c: Likewise.
9312 * debug/wcstombs_chk.c: Likewise.
9313 * dirent/dirent.h: Likewise.
9314 * dlfcn/dlfcn.h: Likewise.
9315 * elf/neededtest4.c: Likewise.
9316 * grp/grp.h: Likewise.
9317 * gshadow/gshadow.h: Likewise.
9318 * iconv/gconv.h: Likewise.
9319 * iconv/gconv_int.h: Likewise.
9320 * iconv/gconv_simple.c: Likewise.
9321 * iconv/iconv.h: Likewise.
9322 * iconv/loop.c: Likewise.
9323 * iconv/skeleton.c: Likewise.
9324 * include/aio.h: Likewise.
9325 * include/aliases.h: Likewise.
9326 * include/argz.h: Likewise.
9327 * include/arpa/inet.h: Likewise.
9328 * include/assert.h: Likewise.
9329 * include/dirent.h: Likewise.
9330 * include/dlfcn.h: Likewise.
9331 * include/execinfo.h: Likewise.
9332 * include/fcntl.h: Likewise.
9333 * include/fenv.h: Likewise.
9334 * include/glob.h: Likewise.
9335 * include/grp.h: Likewise.
9336 * include/libintl.h: Likewise.
9337 * include/mntent.h: Likewise.
9338 * include/netdb.h: Likewise.
9339 * include/pwd.h: Likewise.
9340 * include/rpc/netdb.h: Likewise.
9341 * include/sched.h: Likewise.
9342 * include/search.h: Likewise.
9343 * include/shadow.h: Likewise.
9344 * include/signal.h: Likewise.
9345 * include/stdio.h: Likewise.
9346 * include/stdlib.h: Likewise.
9347 * include/string.h: Likewise.
9348 * include/sys/socket.h: Likewise.
9349 * include/sys/stat.h: Likewise.
9350 * include/sys/statfs.h: Likewise.
9351 * include/sys/statvfs.h: Likewise.
9352 * include/sys/syslog.h: Likewise.
9353 * include/sys/time.h: Likewise.
9354 * include/sys/uio.h: Likewise.
9355 * include/time.h: Likewise.
9356 * include/unistd.h: Likewise.
9357 * include/utmp.h: Likewise.
9358 * include/wchar.h: Likewise.
9359 * include/wctype.h: Likewise.
9360 * inet/aliases.h: Likewise.
9361 * inet/arpa/inet.h: Likewise.
9362 * inet/netinet/ether.h: Likewise.
9363 * inet/netinet/in.h: Likewise.
9364 * intl/libintl.h: Likewise.
9365 * io/bits/fcntl2.h: Likewise.
9366 * io/fcntl.h: Likewise.
9367 * io/ftw.h: Likewise.
9368 * io/sys/poll.h: Likewise.
9369 * io/sys/stat.h: Likewise.
9370 * io/sys/statfs.h: Likewise.
9371 * io/sys/statvfs.h: Likewise.
9372 * io/utime.h: Likewise.
9373 * libio/bits/stdio.h: Likewise.
9374 * libio/bits/stdio2.h: Likewise.
9375 * libio/libio.h: Likewise.
9376 * libio/libioP.h: Likewise.
9377 * libio/stdio.h: Likewise.
9378 * locale/lc-ctype.c: Likewise.
9379 * locale/locale.h: Likewise.
9380 * login/utmp.h: Likewise.
9381 * malloc/arena.c: Likewise.
9382 * malloc/malloc.c: Likewise.
9383 * malloc/malloc.h: Likewise.
9384 * malloc/mcheck.c: Likewise.
9385 * malloc/mtrace.c: Likewise.
9386 * math/bits/mathcalls.h: Likewise.
9387 * math/fenv.h: Likewise.
9388 * math/math_private.h: Likewise.
9389 * misc/bits/error.h: Likewise.
9390 * misc/bits/syslog.h: Likewise.
9391 * misc/err.h: Likewise.
9392 * misc/error.h: Likewise.
9393 * misc/fstab.h: Likewise.
9394 * misc/mntent.h: Likewise.
9395 * misc/regexp.h: Likewise.
9396 * misc/search.h: Likewise.
9397 * misc/sgtty.h: Likewise.
9398 * misc/sys/mman.h: Likewise.
9399 * misc/sys/syslog.h: Likewise.
9400 * misc/sys/uio.h: Likewise.
9401 * misc/sys/xattr.h: Likewise.
9402 * misc/ttyent.h: Likewise.
9403 * nis/rpcsvc/ypclnt.h: Likewise.
9404 * nss/nss.h: Likewise.
9405 * posix/bits/unistd.h: Likewise.
9406 * posix/fnmatch.h: Likewise.
9407 * posix/glob.h: Likewise.
9408 * posix/sched.h: Likewise.
9409 * posix/spawn.h: Likewise.
9410 * posix/sys/wait.h: Likewise.
9411 * posix/unistd.h: Likewise.
9412 * posix/wordexp.h: Likewise.
9413 * pwd/pwd.h: Likewise.
9414 * resolv/netdb.h: Likewise.
9415 * resource/sys/resource.h: Likewise.
9416 * rt/aio.h: Likewise.
9417 * rt/bits/mqueue2.h: Likewise.
9418 * rt/mqueue.h: Likewise.
9419 * shadow/shadow.h: Likewise.
9420 * signal/signal.h: Likewise.
9421 * socket/send.c: Likewise.
9422 * socket/sendto.c: Likewise.
9423 * socket/sys/socket.h: Likewise.
9424 * stdio-common/printf.h: Likewise.
9425 * stdlib/bits/stdlib.h: Likewise.
9426 * stdlib/fmtmsg.h: Likewise.
9427 * stdlib/monetary.h: Likewise.
9428 * stdlib/stdlib.h: Likewise.
9429 * stdlib/ucontext.h: Likewise.
9430 * streams/stropts.h: Likewise.
9431 * string/argz.h: Likewise.
9432 * string/bits/string2.h: Likewise.
9433 * string/string.h: Likewise.
9434 * string/strings.h: Likewise.
9435 * sunrpc/rpc/auth.h: Likewise.
9436 * sunrpc/rpc/auth_des.h: Likewise.
9437 * sunrpc/rpc/clnt.h: Likewise.
9438 * sunrpc/rpc/netdb.h: Likewise.
9439 * sunrpc/rpc/pmap_clnt.h: Likewise.
9440 * sunrpc/rpc/xdr.h: Likewise.
9441 * sysdeps/generic/inttypes.h: Likewise.
9442 * sysdeps/generic/net/if.h: Likewise.
9443 * sysdeps/generic/sys/swap.h: Likewise.
9444 * sysdeps/gnu/net/if.h: Likewise.
9445 * sysdeps/gnu/utmpx.h: Likewise.
9446 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
9447 * sysdeps/i386/i486/bits/string.h: Likewise.
9448 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
9449 * sysdeps/s390/bits/string.h: Likewise.
9450 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
9451 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
9452 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
9453 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
9454 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
9455 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
9456 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
9457 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
9458 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
9459 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
9460 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
9461 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
9462 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
9463 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
9464 * sysdeps/unix/sysv/linux/readv.c: Likewise.
9465 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
9466 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
9467 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
9468 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
9469 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
9470 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
9471 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
9472 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
9473 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
9474 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
9475 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
9476 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
9477 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
9478 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
9479 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
9480 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
9481 * sysvipc/sys/ipc.h: Likewise.
9482 * sysvipc/sys/msg.h: Likewise.
9483 * sysvipc/sys/sem.h: Likewise.
9484 * sysvipc/sys/shm.h: Likewise.
9485 * termios/termios.h: Likewise.
9486 * time/sys/time.h: Likewise.
9487 * time/time.h: Likewise.
9488 * wcsmbs/bits/wchar2.h: Likewise.
9489 * wcsmbs/uchar.h: Likewise.
9490 * wcsmbs/wchar.h: Likewise.
9491 * wctype/wctype.h: Likewise.
9492
0269750c
UD
9493 [BZ #13551]
9494 * Makeconfig: Remove all but ELF support including AIX support.
9495 * Makerules: Likewise.
9496 * config.h.in: Likewise.
9497 * config.make.in: Likewise.
9498 * configure: Likewise.
9499 * configure.in: Likewise.
9500 * csu/Makefile: Likewise.
9501 * csu/version.c: Likewise.
9502 * debug/Makefile: Likewise.
9503 * dlfcn/Makefile: Likewise.
9504 * elf/Makefile: Likewise.
9505 * extra-lib.mk: Likewise.
9506 * iconv/Makefile: Likewise.
9507 * include/libc-symbols.h: Likewise.
9508 * include/shlib-compat.h: Likewise.
9509 * resolv/Makefile: Likewise.
9510 * resolv/res_libc.c: Likewise.
9511 * rt/Makefile: Likewise.
9512 * sysdeps/i386/asm-syntax.h: Likewise.
9513 * sysdeps/i386/sysdep.h: Likewise.
9514 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
9515 * sysdeps/mach/sysdep.h: Likewise.
9516 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
9517 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
9518 * sysdeps/s390/asm-syntax.h: Likewise.
9519 * sysdeps/s390/s390-32/sysdep.h: Likewise.
9520 * sysdeps/s390/s390-64/sysdep.h: Likewise.
9521 * sysdeps/sh/sysdep.h: Likewise.
9522 * sysdeps/unix/sparc/sysdep.h: Likewise.
9523 * sysdeps/wordsize-32/divdi3.c: Likewise.
9524 * sysdeps/x86_64/sysdep.h: Likewise.
9525
00bbd29b
UD
9526 * argp/Versions: Remove _argp_unlock_xxx.
9527
9528 [BZ #13559]
9529 * abilist/ld.abilist: Update. Adjust for removal of tls option.
9530 * abilist/libBrokenLocale.abilist: Likewise.
9531 * abilist/libanl.abilist: Likewise.
9532 * abilist/libc.abilist: Likewise.
9533 * abilist/libcrypt.abilist: Likewise.
9534 * abilist/libdl.abilist: Likewise.
9535 * abilist/libm.abilist: Likewise.
9536 * abilist/libnsl.abilist: Likewise.
9537 * abilist/libpthread.abilist: Likewise.
9538 * abilist/libresolv.abilist: Likewise.
9539 * abilist/librt.abilist: Likewise.
9540 * abilist/libthread_db.abilist: Likewise.
9541 * abilist/libutil.abilist: Likewise.
9542 * abilist/libnss_db.abilist: New file.
9543
9544 * scripts/abilist.awk: Add support for indirect functions.
9545
a2693a0e
UD
9546 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
9547
3f05895f
UD
9548 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
9549
ecb6fb48
UD
9550 * shlib-versions: Remove entries for ports architectures.
9551
664f8cb9
UD
9552 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
9553 files in ports.
9554 * elf/stackguard-macros.h: Remove support for IA-64.
9555 * elf/tst-auditmod1.c: Likewise.
9556 * sysdeps/generic/ldsodefs.h: Likewise.
9557
7ae81d88
UD
9558 * sysdeps/unix/sysv/linux/configure.in: Ports should define
9559 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
9560 configure files.
9561
bdeba135
UD
9562 [BZ #13552]
9563 * configure.in: Remove --enable-omitfp support.
9564 * FAQ.in: Adjust.
9565 * config.make.in: Likewise.
9566 * Makeconfig: Likewise.
9567 * manual/install.texi: Likewise.
9568
d75a0a62
UD
9569 In case anyone cares, the IA-64 architecture could move to ports.
9570 * sysdeps/ia64/*: Removed.
9571 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 9572 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 9573
dcc9756b
UD
9574 [BZ #13555]
9575 * configure.in: Remove entries for unsupported architectures.
9576
d3761ebc 9577 [BZ #13533]
9954432e
UD
9578 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
9579 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
9580 routines.
9581 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
9582 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
9583 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
9584 fall back to using wcrtomb.
9585 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
9586 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
9587 renaming.
9588 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
9589 * wcsmbs/tst-c16c32-1.c: New file.
9590
9591 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
9592 local variable.
9593
c3a87236
UD
9594 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
9595
28926a1b
UD
9596 * elf/tst-unique3.cc: Add explicit declaration of gets.
9597 * elf/tst-unique3lib.cc: Likewise.
9598 * elf/tst-unique3lib2.cc: Likewise.
9599 * elf/tst-unique4.cc: Likewise.
9600
df78418a
UD
9601 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
9602
8ecd6b2a
JM
96032012-01-06 Joseph Myers <joseph@codesourcery.com>
9604
9605 [BZ #13566]
9606 * assert/assert.h (static_assert): Don't define for C++.
9607 * libio/stdio.h (gets): Do declare for C++ <= C++11.
9608 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
9609
9f115170
UD
96102012-01-03 Ulrich Drepper <drepper@gmail.com>
9611
5e0d0300
UD
9612 * iconv/loop.c (single loop): Fix assertion in storing of
9613 remaining bytes.
9614
9f115170
UD
9615 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
9616
81fb02b0
UD
96172012-01-01 Ulrich Drepper <drepper@gmail.com>
9618
9619 * posix/getconf.c: Update copyright year.
9620 * nss/getent.c: Likewise.
a316c1f6 9621 * nss/makedb.c: Likewise.
81fb02b0
UD
9622 * iconv/iconvconfig.c: Likewise.
9623 * iconv/iconv_prog.c: Likewise.
9624 * elf/ldconfig.c: Likewise.
a316c1f6
UD
9625 * elf/pldd.c: Likewise.
9626 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
9627 * catgets/gencat.c: Likewise.
9628 * csu/version.c: Likewise.
9629 * elf/ldd.bash.in: Likewise.
9630 * elf/sprof.c (print_version): Likewise.
9631 * locale/programs/locale.c: Likewise.
9632 * locale/programs/localedef.c: Likewise.
a316c1f6 9633 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
9634 * nscd/nscd.c (print_version): Likewise.
9635 * debug/xtrace.sh: Likewise.
9636 * malloc/memusage.sh: Likewise.
9637 * malloc/mtrace.pl: Likewise.
9638 * debug/catchsegv.sh: Likewise.
9639
2ba92745
JJ
96402011-12-30 Jakub Jelinek <jakub@redhat.com>
9641
9642 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
9643 pure attribute.
9644
dadebdae
UD
96452011-12-24 Ulrich Drepper <drepper@gmail.com>
9646
d3761ebc 9647 [BZ #13533]
db6af3eb
UD
9648 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
9649 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
9650 transformations.
9651 * iconv/gconv_int.h: Likewise.
9652 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
9653 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
9654 from libc for GLIBC_2.16.
9655 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
9656 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
9657 * wcsmbs/uchar.h: Really define mbstate_t.
9658 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
9659 * wcsmbs/c16rtomb.c: New file.
9660 * wcsmbs/mbrtoc16.c: New file.
9661 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
9662 for C/POSIX locale.
9663 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
9664 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
9665
dadebdae
UD
9666 * wcsmbs/wchar.h: Add missing __restrict.
9667
67371b56
UD
96682011-12-23 Ulrich Drepper <drepper@gmail.com>
9669
74033a25
UD
9670 [BZ #13532]
9671 * time/Makefile (routines): Add timespec_get.
9672 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
9673 * time/time.h: Define TIME_UTC and declare timespec_get. Define
9674 timespec for ISO C11.
9675 * time/timespec_get.c: New file.
9676 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
9677 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
9678
380d7e87
UD
9679 [BZ #13531]
9680 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
9681 * stdlib/stdlib.h: Declare aligned_alloc.
9682 * Versions.def: Add GLIBC_2.16 for libc.
9683 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
9684
4e9e7a35
UD
9685 [BZ 13527]
9686 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
9687 ISO C11.
9688
380d7e87 9689 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
9690 code.
9691
03a71829
UD
9692 [BZ #13528]
9693 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
9694
839e283e
UD
9695 [BZ #13529]
9696 * assert/assert.h (static_assert): Define.
9697
ce5294e2 9698 * version.h: Update for 2.16 development version.
90fa7312 9699
8d44e150 9700 [BZ #13526]
d7809905
UD
9701 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
9702 _ISOC11_SOURCE.
9703
c0da14cd
UD
9704 * version.h (RELEASE): Bump for 2.15 release.
9705 * include/features.h (__GLIBC_MINOR__): Bump to 15.
9706
530a3249
MP
9707 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
9708 Patch by Marek Polacek <mpolacek@redhat.com>.
9709
67371b56
UD
9710 * bits/byteswap.h: Protect long long constants with __extension__.
9711 * sysdeps/i386/bits/byteswap.h: Likewise.
9712 * sysdeps/ia64/bits/byteswap.h: Likewise.
9713 * sysdeps/s390/bits/byteswap.h: Likewise.
9714 * sysdeps/x86_64/bits/byteswap.h: Likewise.
9715
15db4de1
LD
97162011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9717
9718 [BZ #13540]
bbe315ea
LD
9719 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
9720 destination buffer.
15db4de1
LD
9721 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
9722
2b2596b1
MP
97232011-12-23 Marek Polacek <polacek@redhat.com>
9724
9725 * elf/dl-addr.c (determine_info): Add inline keyword.
9726 * elf/tst-auditmod4b.c (check_avx): Likewise.
9727 * elf/tst-auditmod6b.c (check_avx): Likewise.
9728 * elf/tst-auditmod6c.c (check_avx): Likewise.
9729 * elf/tst-auditmod7b.c (check_avx): Likewise.
9730
70c6c246
UD
97312011-12-23 Ulrich Drepper <drepper@gmail.com>
9732
9733 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
9734 !__SSE_MATH__.
9735
c044cf14
LD
97362011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9737
15db4de1 9738 [BZ #13540]
c044cf14
LD
9739 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
9740 processing for last bytes.
9741
6b13d9d9
BH
97422011-08-06 Bruno Haible <bruno@clisp.org>
9743
d455f537
BH
9744 [BZ #13061]
9745 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
9746 U+0385, not to U+1FEE.
9747
6b13d9d9
BH
9748 [BZ #13062]
9749 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
9750 entry for U+00A5 U+0301.
9751
db910efd
UD
97522011-12-22 Ulrich Drepper <drepper@gmail.com>
9753
27deeafc
UD
9754 [BZ #13166]
9755 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
9756 buffer for the output is too small.
9757
aed9d171
UD
9758 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
9759 optimization.
9760
db910efd
UD
9761 [BZ #13185]
9762 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
9763 SSE flags if possible.
9764
2bd779ae
LD
97652011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9766
e7f9dac3 9767 [BZ #13540]
2bd779ae
LD
9768 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
9769 processing for last bytes.
9770
154bfc16
JM
97712011-12-22 Joseph Myers <joseph@codesourcery.com>
9772
9773 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
9774 (syscall-list-default-options, syscall-list-default-condition)
9775 (syscall-list-includes): Define.
9776 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
9777 list of ABIs and options and #if conditions for each ABI. Do not
9778 handle common syscalls between ABIs specially.
9779 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
9780 Remove.
9781 (syscall-list-variants, syscall-list-32bit-options)
9782 (syscall-list-32bit-condition, syscall-list-64bit-options)
9783 (syscall-list-64bit-condition): Define.
9784 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
9785 (syscall-list-variants, syscall-list-32bit-options)
9786 (syscall-list-32bit-condition, syscall-list-64bit-options)
9787 (syscall-list-64bit-condition): Define.
9788 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
9789 Remove.
9790 (syscall-list-variants, syscall-list-32bit-options)
9791 (syscall-list-32bit-condition, syscall-list-64bit-options)
9792 (syscall-list-64bit-condition): Define.
9793 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
9794 Remove.
9795 (syscall-list-variants, syscall-list-32bit-options)
9796 (syscall-list-32bit-condition, syscall-list-64bit-options)
9797 (syscall-list-64bit-condition): Define.
9798
21eaf3a5
UD
97992011-12-22 Ulrich Drepper <drepper@gmail.com>
9800
16c6f992
UD
9801 * locale/iso-639.def: Add brx entry.
9802
41043168
UD
9803 [BZ #13328]
9804 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
9805 Proposed by Mariusz_Cukr <marcukr@op.pl>.
9806
21eaf3a5
UD
9807 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
9808 __feraiseexcept_renamed.
9809
e3a851a2
UD
98102011-12-21 Ulrich Drepper <drepper@gmail.com>
9811
4920765e
UD
9812 [BZ #13538]
9813 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
9814 EPOLLET with unsigned values.
9815 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
9816 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
9817
e3a851a2
UD
9818 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
9819 to large cancellation.
9820 * math/s_cacoshf.c: Likewise.
9821 * math/s_cacoshl.c: Likewise.
9822
b27e24b8
RK
98232011-11-18 Richard B. Kreckel <kreckel@ginac.de>
9824
9825 [BZ #13305]
aebefeee 9826 [BZ #12786]
b27e24b8
RK
9827 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
9828 * math/s_cacoshf.c: Likewise.
9829 * math/s_cacoshl.c: Likewise.
9830
ee190f67
UD
98312011-12-21 Ulrich Drepper <drepper@gmail.com>
9832
9833 [BZ #13439]
9834 * iconv/gconv.h: Define __GCONV_SWAP.
9835 * iconvdata/unicode.c: The swap bit must be stored in __flags.
9836 * iconvdata/utf-16.c: Likewise.
9837 * iconvdata/utf-32.c: Likewise.
9838
707f25df
AS
98392011-12-21 Andreas Schwab <schwab@linux-m68k.org>
9840
9841 [BZ #13524]
9842 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
9843 numerator after shifting it by one limb.
9844
d2daaa1e
RÁE
98452011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
9846
9847 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
9848 under [__USE_EXTERN_INLINES].
9849
a4647e72
UD
98502011-12-17 Ulrich Drepper <drepper@gmail.com>
9851
9852 [BZ #13446]
9853 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
9854
f0b264f1
AZ
98552011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9856
9857 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
9858 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
9859 optimized code.
9860 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
9861 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
9862 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
9863 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
9864 for strncasecmp/strncasecmp_l compilation.
9865 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
9866 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
9867
8ef4f244
MP
98682011-12-08 Marek Polacek <mpolacek@redhat.com>
9869
9870 [BZ #13484]
9871 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
9872 of __asm__.
9873
97ac2654
UD
98742011-12-17 Ulrich Drepper <drepper@gmail.com>
9875
9876 [BZ #13506]
9877 * time/tzfile.c (__tzfile_read): Check values from file header.
9878
91d2a845
WS
98792011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
9880
9881 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
9882 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
9883 * powerpc/powerpc32/dl-start.S: Likewise.
9884 * powerpc/powerpc32/elf/start.S: Likewise.
9885 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
9886 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
9887 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
9888 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
9889 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
9890 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
9891 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
9892 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
9893 * powerpc/powerpc32/fpu/s_round.S: Likewise.
9894 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
9895 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
9896 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
9897 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
9898 * powerpc/powerpc32/memset.S: Likewise.
9899 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
9900 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
9901 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
9902 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
9903 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
9904 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
9905 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
9906 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
9907 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
9908 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
9909 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
9910 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
9911 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
9912
a1267ba1
AZ
99132011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9914
9915 * math/libm-test.inc: Added more nearbyint tests.
9916 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
9917 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
9918 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
9919 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
9920
ad8ac1bd
RL
99212011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
9922
9923 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
9924 FD_CLOEXEC.
9925
1d3e4b61
UD
99262011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9927
9928 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
9929 Add wcscpy-ssse3 wcscpy-c.
9930 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
9931 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
9932 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
9933 * sysdeps/x86_64/wcschr.S: New file.
9934 * sysdeps/x86_64/wcsrchr.S: New file.
9935 * string/test-strcmp.c: Remove checking of wcscmp function for
9936 wrong alignments.
9937 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
9938 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
9939 wcsrchr-sse2 wcsrchr-c.
9940 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
9941 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
9942 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
9943 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
9944 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
9945 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
9946 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
9947 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
9948 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
9949 * wcsmbc/wcschr.c (WCSCHR): New macro.
9950
5b330a2d
UD
99512011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9952
9953 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
9954 * wcsmbs/test-wcsrchr.c: New file.
9955 * string/test-strrchr.c: Add wcsrchr support.
9956 (WIDE): New macro.
9957 * wcsmbs/test-wcscpy.c: New file.
9958 * string/test-strcpy.c: Add wcscpy support.
9959 (WIDE): New macro.
26428b7c 9960
f039c043
UD
99612011-12-10 Ulrich Drepper <drepper@gmail.com>
9962
9963 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
9964 the inner loop.
9965
850fb039
AS
99662011-12-06 Andreas Schwab <schwab@linux-m68k.org>
9967
9968 [BZ #13472]
9969 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
9970
4efbd5cb
UD
99712011-12-04 Ulrich Drepper <drepper@gmail.com>
9972
52ff5dd0 9973 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 9974 Minor optimizations.
52ff5dd0 9975
4efbd5cb
UD
9976 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
9977 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
9978 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
9979
8a426e12
UD
99802011-12-03 Ulrich Drepper <drepper@gmail.com>
9981
aff2453d
UD
9982 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
9983 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
9984 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
9985 for gcc to avoid warnings.
9986 * inet/Makefile (tests): Add tst-checks.
9987 * inet/tst-checks.c: New file.
9988
9989 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
9990 warning.
9991
9992 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
9993 __wmemcmp_sse2.
9994
9995 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
9996 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
9997
8a426e12
UD
9998 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
9999
9bea3473
UD
100002011-12-02 Ulrich Drepper <drepper@gmail.com>
10001
3a965496
UD
10002 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
10003 problem.
10004
9bea3473
UD
10005 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
10006
f101631b
UD
100072011-11-29 Joseph Myers <joseph@codesourcery.com>
10008
10009 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
10010 conditional on GCC version.
10011 (__arch_compare_and_exchange_val_8_acq)
10012 (__arch_compare_and_exchange_val_16_acq)
10013 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
10014 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
10015 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
10016
a98275aa
UD
100172011-12-02 Joseph Myers <joseph@codesourcery.com>
10018
10019 * sysdeps/sh/backtrace.c: New file.
10020
d4cc29a2
AS
100212011-12-02 Andreas Schwab <schwab@redhat.com>
10022
10023 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
10024 parenthesis.
10025
6257af2d
AS
100262011-12-01 Andreas Schwab <schwab@redhat.com>
10027
10028 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
10029 falling back to utime.
10030
b5f44c1a
AS
100312011-11-30 Andreas Schwab <schwab@redhat.com>
10032
10033 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
10034 expectations for float.
10035
f3a6cc0a
AS
100362011-11-29 Andreas Schwab <schwab@redhat.com>
10037
10038 * locale/weight.h (findidx): Add parameter len.
10039 * locale/weightwc.h (findidx): Likewise.
10040 * posix/fnmatch_loop.c (FCT): Adjust caller.
10041 * posix/regcomp.c (build_equiv_class): Likewise.
10042 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
10043 * posix/regexec.c (check_node_accept_bytes): Likewise.
10044 * string/strcoll_l.c (STRCOLL): Likewise.
10045 * string/strxfrm_l.c (STRXFRM): Likewise.
10046
9d65ea3a
UD
100472011-11-17 Ulrich Drepper <drepper@gmail.com>
10048
10049 * Makefile.in: Remove CVSOPT handling.
10050 * configure.in: Remove use of AC_REVISION.
10051 * iconvdata/Makefile (distribute): No need to filter out CVS.
10052 * scripts/list-sources.sh: Remove CVS, subversion and monotone
10053 handling.
10054
5583a086
AS
100552011-11-16 Andreas Schwab <schwab@redhat.com>
10056
10057 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
10058 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
10059 [USE_AS_STRNCASECMP_L]: Likewise.
10060 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
10061 NO_TLS_DIRECT_SEG_REFS.
10062 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
10063 Fix argument offsets for non-PIC.
10064 [USE_AS_STRNCASECMP_L]: Likewise.
10065 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
10066 NO_TLS_DIRECT_SEG_REFS.
10067
d62a8200
UD
100682011-11-15 Ulrich Drepper <drepper@gmail.com>
10069
9d65ea3a 10070 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
10071 O_CLOEXEC.
10072 * locale/loadlocale.c (_nl_load_locale): Likewise.
10073
09f93bd3
AS
100742011-11-15 Andreas Schwab <schwab@redhat.com>
10075
446514f9
AS
10076 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
10077 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
10078 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
10079 (SYSCALL_GETTIME): Set errno on error.
10080
09f93bd3
AS
10081 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
10082 count references to noai6ai_cached.
10083
312be3f9
UD
100842011-11-15 Ulrich Drepper <drepper@gmail.com>
10085
10086 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
10087
10088 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
10089 FD_CLOEXEC for /proc/self/maps.
10090
10091 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
10092 FD_CLOEXEC for /proc/meminfo.
10093
10094 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
10095 gai.conf.
10096
10097 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
10098 FD_CLOEXEC for given file.
10099
10100 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
10101
10102 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
10103 FD_CLOEXEC for /etc/hosts.
10104 (_gethtent): Likewise.
10105
10106 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
10107
10108 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
10109 cancellation and set FD_CLOEXEC for /etc/netgroup.
10110
10111 * nss/nss_files/files-key.c (search): Don't allow cancellation when
10112 reading /etc/publickey.
10113
10114 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
10115 allow cancellation when reading /etc/group.
10116
10117 * nss/nss_files/files-alias.c (internal_setent): Don't allow
10118 cancellation.
10119 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
10120
10121 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
10122 when using data file.
10123
10124 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
10125
10126 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
10127 (write_nis_obj): Use "c" and "e" in fopen.
10128
10129 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
10130
10131 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
10132
10133 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
10134
10135 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
10136
10137 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
10138 locale.alias.
10139
10140 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
10141
10142 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
10143
10144 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
10145
10146 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
10147 file parsing and set FD_CLOEXEC.
10148
82af0fa8
UD
101492011-11-14 Ulrich Drepper <drepper@gmail.com>
10150
10151 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
10152
a5fb313c
AS
101532011-11-14 Andreas Schwab <schwab@redhat.com>
10154
10155 * malloc/arena.c (arena_get2): Don't call reused_arena when
10156 _int_new_arena failed.
10157
6abf3465
UD
101582011-11-14 Ulrich Drepper <drepper@gmail.com>
10159
10160 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
10161 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
10162 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
10163 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
10164 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
10165 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
10166 to compile strcasecmp and strncasecmp.
10167 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
10168 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
10169
10170 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
10171
76e3966e
UD
101722011-11-13 Ulrich Drepper <drepper@gmail.com>
10173
10174 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
10175 locale-defines.sym to gen-as-const-headers.
10176 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
10177 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
10178 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
10179 to compile strcasecmp and strncasecmp.
10180 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
10181 strcasecmp_l and strncasecmp_l.
10182 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
10183 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
10184 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
10185 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
10186 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
10187 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
10188 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
10189 * sysdeps/i386/i686/multiarch/strncase.S: New file.
10190 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
10191 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
10192 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
10193
ab26144e
UD
101942011-11-12 Ulrich Drepper <drepper@gmail.com>
10195
7edb22ef
UD
10196 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
10197 result of SYSDEP_GETTIME_CPU to retval.
10198 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
10199 parameter list to macro. Remove trailing semicolon. Adjust users.
10200
9694fc44
UD
10201 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
10202 variable.
10203
8ad89ef8
UD
10204 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
10205 mantissa words.
10206 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
10207
0c822ef9
UD
10208 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
10209 from unused variable.
10210
874e0564
UD
10211 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
10212 DWARF definitions.
10213 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
10214 for assembling.
10215
3a2edc79
UD
10216 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
10217 over namespaces.
10218
f3c2577f
UD
10219 * sunrpc/rpc_prot.c (rejected): Fix case value.
10220
294ce126
UD
10221 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
10222 unsigned long long int to avoid warnings in shift.
10223
5e2b63c6
UD
10224 * posix/regex_internal.c (re_string_reconstruct): Actually use result
10225 of use of trans.
10226 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
10227 variable tmp.
10228
e7f4b08e
UD
10229 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
10230 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
10231 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
10232
ab26144e
UD
10233 * nis/nis_table.c (nis_list): Use variable of correct type for
10234 result of __follow_path call.
10235
8a6d5255
AZ
102362011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10237
10238 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
10239 of math functions ceil, trunc, floor, round, and sqrt, when
10240 avaliable on the platform.
10241 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
10242 name clash.
10243 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
10244 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
10245 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
10246
aaddc98c
MP
102472011-10-30 Marek Polacek <mpolacek@redhat.com>
10248
10249 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
10250 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
10251
95b7042b
RM
102522011-11-11 Roland McGrath <roland@hack.frob.com>
10253
10254 * include/unistd.h: Fix __readlink return type.
10255 Reported by Chris Metcalf <cmetcalf@tilera.com>.
10256
57769839
UD
102572011-11-11 Ulrich Drepper <drepper@gmail.com>
10258
10259 * stdlib/ucontext.h: Undo last change for makecontext.
10260
edc5984d
AS
102612011-11-11 Andreas Schwab <schwab@redhat.com>
10262
98591e58
AS
10263 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
10264
edc5984d
AS
10265 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
10266 * setjmp/setjmp.h: Mark functions as non-leaf.
10267 * setjmp/bits/setjmp2.h: Likewise.
10268 * stdlib/ucontext.h: Likewise.
10269
77cdc054
AS
102702011-11-10 Andreas Schwab <schwab@redhat.com>
10271
10272 * malloc/arena.c (_int_new_arena): Don't increment narenas.
10273 (reused_arena): Don't check arena limit.
10274 (arena_get2): Atomically check arena limit.
10275
fe72eebd
UD
102762011-11-08 Ulrich Drepper <drepper@gmail.com>
10277
5f078c32
UD
10278 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
10279 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
10280
fe72eebd
UD
10281 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
10282 instructions.
10283
ae1bc2fa
AS
102842011-11-07 Andreas Schwab <schwab@redhat.com>
10285
7583a88d
AS
10286 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
10287 handler when locking.
10288
ae1bc2fa
AS
10289 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
10290 Fix size of allocated buffer.
10291
10fb0bfa
AS
102922011-11-04 Andreas Schwab <schwab@redhat.com>
10293
998832a4
AS
10294 [BZ #10103]
10295 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
10296 declarations for long double functions.
10297 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
10298
10fb0bfa
AS
10299 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
10300
3d7ba52b
AS
103012011-11-03 Andreas Schwab <schwab@redhat.com>
10302
a9ae54a1
AS
10303 * nscd/nscd.c (main): Don't start AVC thread until credentials are
10304 installed.
10305
3d7ba52b
AS
10306 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
10307 is disabled.
10308
bc8db248
ST
103092011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
10310
10311 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
10312
45b96dd6
AS
103132011-11-01 Andreas Schwab <schwab@linux-m68k.org>
10314
647776f6
AS
10315 * include/alloca.h (stackinfo_alloca_round): Define.
10316 (extend_alloca): Use it.
10317 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
10318 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
10319 here.
10320
d91a8b93
AS
10321 * scripts/check-local-headers.sh: Ignore libaudit.h.
10322
45b96dd6
AS
10323 * nscd/Makefile (extra-objs): Make recursively expanded.
10324
432d41ce
UD
103252011-11-01 Ulrich Drepper <drepper@gmail.com>
10326
34372fc6
UD
10327 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
10328 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
10329
fadb59f8
UD
10330 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
10331 * posix/tst-rfc3484-2.c: Likewise.
10332 * posix/tst-rfc3484-3.c: Likewise.
10333
78239589
UD
10334 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
10335 process_vm_writev.
10336 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
10337 process_vm_writev.
10338 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
10339 process_vm_writev from libc using GLIBC_2.15 version.
10340
432d41ce
UD
10341 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
10342
02f9c6cf
PP
103432011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
10344
10345 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
10346 stack usage.
10347
3a2c0242
UD
103482011-10-31 Ulrich Drepper <drepper@gmail.com>
10349
f4ec4833
UD
10350 [BZ #13367]
10351 * nss/getent.c (initgroups_keys): Show error message in case no group
10352 names are given.
10353
3a2c0242
UD
10354 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
10355 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
10356 __bump_nl_timestamp.
10357 * nscd/connections (nscd_init): When host database is served open
10358 netlink socket and request notification about configuration changes.
10359 (main_loop_poll): Track netlink file descriptor and bump timestamp
10360 in case data becomes available.
10361 (main_loop_epoll): Likewise.
10362 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
10363 (database_pers_head): Add extra_data fileds.
10364 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
10365 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
10366 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
10367 Adjust caller.
10368 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
10369 in6ai data, call __free_in6ai.
10370 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
10371 Add -DHAVE_NETLINK.
10372 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
10373 interface information. Reuse previous data if netlink timestamp
10374 is not changed.
10375 (__bump_nl_timestamp): New function.
10376 (__free_in6ai): New function.
10377
636064eb
UD
103782011-10-30 Ulrich Drepper <drepper@gmail.com>
10379
10380 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
10381 close_not_cancel_no_status here.
10382 (__check_pf): Reorganize code a bit to not call close twice if OOM.
10383
9beb2334
UD
103842011-10-29 Ulrich Drepper <drepper@gmail.com>
10385
6ef76f3b
UD
10386 [BZ #13276]
10387 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
10388 return value.
10389
0ffc4f3e 10390 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
10391 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
10392 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
10393
cb95113e
UD
103942011-07-03 Andreas Jaeger <aj@suse.de>
10395
10396 [BZ #10709]
10397 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
10398 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
10399 * math/libm-test.inc (sin_test): Add test case.
10400
a1b560ff
UD
104012011-10-29 Ulrich Drepper <drepper@gmail.com>
10402
c9aaface
UD
10403 [BZ #13337]
10404 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
10405 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
10406
d272e7f1
UD
10407 * elf/chroot_canon.c (chroot_canon): Cleanups.
10408
1bc33071
UD
10409 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
10410
1760874d
TJ
10411 [BZ #13335]
10412 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
10413 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
10414
51d91b18
UD
10415 * string/test-strchr.c: Make usable for strchrnul testing.
10416 * string/test-strchrnul.c: New file.
10417 * string/Makefile (strop-tests): Add strchrnul.
10418
a1b560ff 10419 * po/it.po: Update from translation team.
b611fb81 10420 * po/es.po: Likewise.
a1b560ff 10421
a5b81e1f
UD
104222011-10-28 Ulrich Drepper <drepper@gmail.com>
10423
fd52bc6d
UD
10424 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
10425 the three constants needed as parameters. Drop the others.
10426 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
10427 __m128i_strloadu_tolower.
52e4b9eb
UD
10428 Create and initialize variable zero and use it in all the places
10429 where _mm_setzero_si128 was used.
fd52bc6d 10430
a5b81e1f
UD
10431 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
10432 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
10433 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
10434 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
10435 anymore.
10436 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
10437 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
10438 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
10439 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
10440 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
10441 __mpranred, __mptan.
10442 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
10443 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
10444 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
10445 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
10446 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
10447 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
10448 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
10449 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
10450 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
10451
b4343346
AS
104522011-10-28 Andreas Schwab <schwab@redhat.com>
10453
0c92d8a8
AS
10454 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
10455 redefine if SHARED.
10456 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
10457
b4343346
AS
10458 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
10459 wide char related routines to wcsmbs subdir.
10460
3871f58f
AS
104612011-10-27 Andreas Schwab <schwab@redhat.com>
10462
10463 [BZ #13344]
10464 * misc/sys/cdefs.h (__THROWNL): Define.
10465 * posix/unistd.h: Use __THREADNL instead of __THREAD
10466 for memory synchronization functions.
10467
94d44d9f
RM
104682011-10-26 Roland McGrath <roland@hack.frob.com>
10469
21b64b15 10470 [BZ #13349]
94d44d9f
RM
10471 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
10472 doesn't exist.
10473 * manual/stdio.texi (Obstack Streams): Node removed.
10474
f6ce9294
AS
104752011-10-26 Andreas Schwab <schwab@redhat.com>
10476
80479147
AS
10477 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
10478 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
10479 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
10480
f6ce9294
AS
10481 * math/math_private.h (math_force_eval): Allow non-addressable
10482 arguments.
10483 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
10484
618280a1
UD
104852011-10-25 Ulrich Drepper <drepper@gmail.com>
10486
e0016b11
UD
10487 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
10488 file is not needed.
10489
10490 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
10491 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
10492 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
10493 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
10494 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
10495 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
10496 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
10497 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
10498 Add AVX variants.
10499 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
10500 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
10501 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
10502 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
10503 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
10504 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
10505 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
10506 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
10507 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
10508 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
10509 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
10510 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
10511 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
10512 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
10513 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
10514 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
10515 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
10516 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
10517 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
10518
10519 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
10520 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
10521
618280a1
UD
10522 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
10523 place. Use VEX encoding when compiling for AVX.
10524
37822576
AS
105252011-10-25 Andreas Schwab <schwab@redhat.com>
10526
1f1e1947
AS
10527 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
10528 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
10529
37822576
AS
10530 * string/test-strchr.c (do_test): Don't generate NUL bytes.
10531
31ea014d
UD
105322011-10-25 Ulrich Drepper <drepper@gmail.com>
10533
d7826aa1 10534 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 10535 useless if() expression.
d7826aa1
UD
10536 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
10537 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
10538 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
10539 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
10540 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
10541 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
10542 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
10543 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
10544 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
10545 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
10546 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
10547 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
10548 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
10549 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
10550 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
10551 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
10552 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
10553 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
10554 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
10555
31ea014d
UD
10556 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
10557
16437fec
AS
105582011-10-25 Andreas Schwab <schwab@redhat.com>
10559
10560 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
10561 condition.
10562 * elf/dl-fini.c (_dl_sort_fini): Likewise.
10563
31d3cc00
UD
105642011-10-25 Ulrich Drepper <drepper@gmail.com>
10565
10566 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
10567 .text section. Avoid duplicate constants.
10568 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
10569 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
10570 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
10571 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
10572 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
10573 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
10574 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
10575 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
10576 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
10577 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
10578 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
10579 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
10580 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
10581 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
10582 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
10583 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
10584 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
10585 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
10586 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
10587 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
10588 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
10589 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
10590 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
10591 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
10592 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
10593 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
10594 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
10595 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
10596 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
10597 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
10598 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
10599 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
10600 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
10601 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
10602 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
10603 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
10604 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
10605 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
10606 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
10607 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
10608 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
10609 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
10610 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
10611 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
10612 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
10613
58985aa9
UD
106142011-10-24 Ulrich Drepper <drepper@gmail.com>
10615
202c9deb
UD
10616 * sysdeps/x86_64/dla.h: Move to ...
10617 * sysdeps/x86_64/fpu/dla.h: ...here.
10618 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
10619 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 10620
af968f62
UD
10621 * config.make.in: Add have-mfma4 entry.
10622 * configure.in: Substitute libc_cv_cc_fma4.
10623 * math/Makefile (dbl-only-routines): Add sincostab.
10624 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
10625 Use __sincostab not sincos.
10626 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
10627 name is a macro.
10628 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
10629 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
10630 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
10631 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
10632 using __copysign.
10633 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
10634 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
10635 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
10636 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
10637 and __inv.
10638 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
10639 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
10640 __copysign.
10641 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
10642 define aliases when function name is a macro.
10643 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
10644 sysdeps/ieee754/dbl-64/sincos.tbl.
10645 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
10646 fma4-enabled routines.
10647 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
10648 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
10649 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
10650 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
10651 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
10652 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
10653 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
10654 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
10655 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
10656 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
10657 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
10658 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
10659 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
10660 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
10661 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
10662 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
10663 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
10664 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
10665 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
10666 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
10667 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
10668 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
10669 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
10670 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
10671 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
10672 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
10673 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
10674 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
10675 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
10676 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
10677
58985aa9
UD
10678 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
10679 rename.
10680 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
10681 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
10682 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
10683 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
10684 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
10685 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
10686 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
10687 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
10688
a201fbcf
AS
106892011-10-24 Andreas Schwab <schwab@redhat.com>
10690
10691 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
10692
fc2ee42a
LD
106932011-10-23 Ulrich Drepper <drepper@gmail.com>
10694
bb3129bd
UD
10695 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
10696
0275fff8
UD
10697 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
10698 prediction.
10699 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
10700
2fa2ae85
UD
10701 * string/strnlen.c: Don't define STRNLEN, reverse logic.
10702 Remove unused variable magic_bits.
10703 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
10704
fc2ee42a
LD
10705 * string/strnlen.c: Define and use STRNLEN macro.
10706 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
10707 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
10708 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
10709 * wcsmbs/wcslen.c: Define and use WCSLEN.
10710 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
10711 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
10712 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
10713 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
10714 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
10715 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
10716 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
10717
ce7dd29f
LD
107182011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10719
10720 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
10721 strnlen-sse2-no-bsf.
10722 Rename strlen-no-bsf to strlen-sse2-no-bsf.
10723 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
10724 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
10725 Add strnlen support.
10726 (USE_AS_STRNLEN): New macro.
10727 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
10728 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
10729 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
10730 * sysdeps/x86_64/wcslen.S: New file.
10731
979c70a3
MZ
107322011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
10733
10734 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
10735 XMM-moves are used for copying on small sizes.
10736
2d09f82f
LD
107372011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10738
10739 * wcsmbs/Makefile (strop-tests): Add wcschr.
10740 * wcsmbs/test-wcschr.c: New file.
10741 * string/test-strchr.c: Update.
10742 Add wcschr support.
10743 (WIDE): New macro.
10744
619fccca
LD
107452011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10746
2d09f82f 10747 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
10748 * wcsmbs/test-wcslen.c: New file.
10749 * string/test-strlen.c: Update.
10750 Add wcslen support.
10751 (WIDE): New macro.
10752
09f699ea
UD
107532011-10-23 Ulrich Drepper <drepper@gmail.com>
10754
10755 * po/it.po: Update from translation team.
10756
95584d3b
LD
107572011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10758
10759 * sysdeps/x86_64/wcscmp.S: Update.
10760 Fix wrong comparison semantics.
10761 wcscmp shall use signed comparison not unsigned.
10762 Don't use substraction to avoid overflow bug.
10763 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
10764 * wcsmbc/wcscmp.c: Likewise.
10765 * string/test-strcmp.c: Likewise.
10766 Add new tests to check cases with negative values.
10767
c8b3296b
UD
107682011-10-23 Ulrich Drepper <drepper@gmail.com>
10769
10770 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
10771 * sysdeps/x86_64/dla.h: ...here. New file.
10772 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
10773 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
10774 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
10775 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
10776 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
10777 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
10778 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
10779 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
10780 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
10781
246ad57a
AS
107822011-10-23 Andreas Schwab <schwab@linux-m68k.org>
10783
10784 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
10785 __ynl_finite aliases.
10786
a1a87169
UD
107872011-10-22 Ulrich Drepper <drepper@gmail.com>
10788
0d355eb7
UD
10789 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10790
a1a87169
UD
10791 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
10792 define DLA_FMA.
10793 [DLA_FMA] (EMULV): Use DLA_FMA.
10794 [DLA_FMA] (MUL12): Use EMULV.
10795 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
10796 that are not needed.
10797 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
10798 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
10799 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
10800 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
10801 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
10802 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
10803 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
10804
ee2aafe0
AS
108052011-10-22 Andreas Schwab <schwab@linux-m68k.org>
10806
10807 * math/s_nan.c: Undef __nan.
10808 * math/s_nanf.c: Undef __nanf.
10809 * math/s_nanl.c: Undef __nanl.
10810 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
10811 "math_private.h".
10812
bc62c2fb
UD
108132011-10-22 Ulrich Drepper <drepper@gmail.com>
10814
77425c63
UD
10815 * math/s_catan.c: Add branch predictions.
10816 * math/s_catanf.c: Likewise.
10817 * math/s_catanh.c: Likewise.
10818 * math/s_catanhf.c: Likewise.
10819 * math/s_catanhl.c: Likewise.
10820 * math/s_catanl.c: Likewise.
10821 * math/s_cexp.c: Likewise.
10822 * math/s_cexpf.c: Likewise.
10823 * math/s_cexpl.c: Likewise.
10824 * math/s_clog.c: Likewise.
10825 * math/s_clog10.c: Likewise.
10826 * math/s_clog10f.c: Likewise.
10827 * math/s_clog10l.c: Likewise.
10828 * math/s_clogf.c: Likewise.
10829 * math/s_clogl.c: Likewise.
10830 * math/s_csqrt.c: Likewise.
10831 * math/s_csqrtf.c: Likewise.
10832 * math/s_csqrtl.c: Likewise.
10833 * math/s_ctanf.c: Likewise.
10834 * math/s_ctanh.c: Likewise.
10835 * math/s_ctanhf.c: Likewise.
10836 * math/s_ctanhl.c: Likewise.
10837 * math/s_ctanl.c: Likewise.
10838
bc62c2fb
UD
10839 * math/math_private.h: Define __nan, __nanf, __nanl.
10840 * math/s_cacosh.c: Include <math_private.h>.
10841 * math/s_cacoshl.c: Likewise.
10842 * math/s_casinh.c: Likewise.
10843 * math/s_casinhf.c: Likewise.
10844 * math/s_casinhl.c: Likewise.
10845 * math/s_ccos.c: Rely entire on ccosh.
10846 * math/s_ccosf.c: Rely entire on ccoshf.
10847 * math/s_ccosl.c: Rely entirely on ccoshl.
10848 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
10849 Remove tests for FE_INVALID.
10850 * math/s_ccoshf.c: Likewise.
10851 * math/s_ccoshl.c: Likewise.
10852 * math/s_csin.c: Likewise.
10853 * math/s_csinf.c: Likewise.
10854 * math/s_csinh.c Likewise.
10855 * math/s_csinhf.c: Likewise.
10856 * math/s_csinhl.c: Likewise.
10857 * math/s_csinl.c: Likewise.
10858 * math/s_ctan.c: Likewise.
10859 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
10860 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
10861 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
10862
8ec250a4
UD
108632011-10-21 Ulrich Drepper <drepper@gmail.com>
10864
c196fed8
UD
10865 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
10866 compilation problems.
10867
8ec250a4
UD
10868 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
10869 __builtin_expect.
10870
8d4f46c6
UD
108712011-10-20 Ulrich Drepper <drepper@gmail.com>
10872
ed72b654
UD
10873 * sysdeps/i386/configure.in: Test for -mfma4 option.
10874 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
10875 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
10876 COMMON_CPUID_INDEX_80000001.
10877 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
10878 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
10879 use it if FMA3 is not supported.
10880 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
10881
8d4f46c6
UD
10882 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
10883 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
10884
d45c60c2
AS
108852011-10-20 Andreas Schwab <schwab@redhat.com>
10886
10887 [BZ #12892]
10888 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
10889 it would create a cycle with a link time dependency.
10890
d9a4d2ab
UD
108912011-10-19 Ulrich Drepper <drepper@gmail.com>
10892
855d1560
UD
10893 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
10894 instruction.
10895 * string/Makefile (strop-tests): Add rawmemchr.
10896 * string/test-rawmemchr.c: New file.
10897
d9a4d2ab
UD
10898 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
10899 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
10900 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
10901 when compiling str{,n}casecmp and when AVX is available. Hook up
10902 new optimized code in initializers.
10903
8f3b1ffe
AS
109042011-10-19 Andreas Schwab <schwab@redhat.com>
10905
10906 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
10907 __feraiseexcept instead of feraiseexcept.
10908
d38f1dba
UD
109092011-10-18 Ulrich Drepper <drepper@gmail.com>
10910
d9a8d0ab
UD
10911 * math/math_private.h: Define defaults for libc_fetestexcept and
10912 libc_feupdateenv.
10913 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
10914 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
10915 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
10916 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
10917 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
10918 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
10919 libc_fetestexcept and libc_feupdateenv.
10920
4855e3dd
UD
10921 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
10922 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
10923 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
10924 * sysdeps/x86_64/fpu/math_private.h: Define special version of
10925 libc_feholdexcept_setround.
10926
581d30e3
UD
10927 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
10928 Add s_nearbyint-c and s_nearbyintf-c.
10929 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
10930 nearbyintf inlines.
10931 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
10932 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
10933 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
10934 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
10935
d38f1dba
UD
10936 * math/math_private.h: Define defaults for libc_fegetround,
10937 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
10938 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
10939 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
10940 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
10941 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
10942 standard functions.
10943 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
10944 Remove comments and hacks for old compiler versions.
10945 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
10946 libc_fegetround, libc_fesetround, libc_feholdexcept, and
10947 libc_feholdexceptl.
10948
caa6c9d8
AS
109492011-10-18 Andreas Schwab <schwab@redhat.com>
10950
10951 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
10952 (__feraiseexcept_renamed): Add __NTH.
10953 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
10954 namespace violations.
10955
97c066e6
UD
109562011-10-17 Ulrich Drepper <drepper@gmail.com>
10957
99ce7b04
UD
10958 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
10959
1004d182
UD
10960 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
10961
228a984d
UD
10962 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
10963 recently added interfaces.
10964 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
10965
c8553a6a
UD
10966 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
10967 about macro parameter expansion.
10968
ed22dcf6
UD
10969 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
10970 __NO_MATH_INLINES is defined. Cleanups.
10971
10972 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
10973 and __floorf is target has SSE4.1.
10974 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
10975 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
10976 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
10977 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
10978
b171c137
UD
10979 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
10980 name.
10981 (floorf): Likewise.
10982
97c066e6
UD
10983 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
10984
629f62ef
AS
109852011-10-17 Andreas Schwab <schwab@redhat.com>
10986
49a43d80
AS
10987 * misc/sys/cdefs.h: Fix last change.
10988
629f62ef
AS
10989 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
10990 database lookup.
10991
e453f6cd
UD
109922011-10-16 Ulrich Drepper <drepper@gmail.com>
10993
aa78043a
UD
10994 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
10995
ad0f5cad
UD
10996 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
10997 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
10998 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
10999 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
11000 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
11001 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
11002 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
11003 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
11004 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
11005 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
11006 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
11007 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
11008 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
11009 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
11010 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
11011 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
11012 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
11013 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
11014 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
11015 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
11016 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
11017 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
11018
11019 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
11020 ceil, ceilf, floor, floorf.
11021
11022 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
11023 Perform IRELATIVE relocations last.
11024
e453f6cd
UD
11025 * elf/do-rel.h: Add another parameter nrelative, replacing the
11026 local variable with the same name. Change name of the function
11027 to end in Rel or Rela (uppercase).
11028 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
11029 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
11030 elf_dynamic_do_##reloc function.
11031
fd5bdc09
UD
110322011-10-15 Ulrich Drepper <drepper@gmail.com>
11033
79b195b5
UD
11034 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
11035 is sufficient, at least on modern CPUs.
11036
d4a28569
UD
11037 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
11038
b61099b5
UD
11039 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
11040 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
11041
bcf01e6d
UD
11042 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
11043 __expl_finite.
11044 * math/bits/math-finite.h: Add entries for exp.
11045 * math/e_expl.c: Add __*_finite alias.
11046 * sysdeps/i386/fpu/e_exp.S: Likewise.
11047 * sysdeps/i386/fpu/e_expf.S: Likewise.
11048 * sysdeps/i386/fpu/e_expl.c: Likewise.
11049 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
11050 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
11051 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
11052 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
11053 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
11054 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
11055 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
11056
ba1a0d59
UD
11057 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
11058 is sufficient, at least on modern CPUs.
11059
fd5bdc09
UD
11060 * ctype/ctype-info.c (__ctype_init): Define.
11061 * include/ctype.h (__ctype_init): Declare.
11062 (__ctype_b_loc): The variable is always initialized.
11063 (__ctype_toupper_loc): Likewise.
11064 (__ctype_tolower_loc): Likewise.
11065 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
11066 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
11067
7872cfb0
AS
110682011-10-15 Andreas Schwab <schwab@linux-m68k.org>
11069
b468825a
AS
11070 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
11071
7872cfb0
AS
11072 * configure.in: Also look in $cxxmachine/include for C++ system
11073 headers.
11074
be13f7bf
LD
110752011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
11076
11077 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
11078 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
11079 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
11080 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
11081 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
11082 (USE_AS_WMEMCMP): New macro.
11083 Fixing indents.
11084 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
11085 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
11086 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
11087 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
11088 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
11089 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
11090 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
11091 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
11092 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
11093 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
11094 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
11095 (USE_AS_WMEMCMP): New macro.
11096 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
11097 * sysdeps/string/test-memcmp.c: Update.
11098 Fix simple_wmemcmp.
11099 Add new tests.
11100 * wcsmbs/wmemcmp.c: Update.
11101 (WMEMCMP): New macro.
11102 Fix overflow bug.
11103
556a2007
AJ
111042011-10-12 Andreas Jaeger <aj@suse.de>
11105
11106 [BZ #13268]
11107 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
11108
538faaa7
UD
111092011-10-15 Ulrich Drepper <drepper@gmail.com>
11110
ab6737ff
UD
11111 * libio/iofwide.c (do_length): Avoid warning.
11112
538faaa7
UD
11113 * ctype/ctype.h (__isctype_f): Add missing __THROW.
11114
396a21b1
UD
111152011-10-14 Ulrich Drepper <drepper@gmail.com>
11116
cdf2901f
UD
11117 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
11118
38ad40ce
UD
11119 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
11120 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
11121 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
11122 * sysdeps/i386/i686/fpu/e_log.S: New file.
11123 * sysdeps/i386/i686/fpu/e_logf.S: New file.
11124 * sysdeps/i386/i686/fpu/e_logl.S: New file.
11125
396a21b1
UD
11126 * ctype/ctype.h: Add support for inlined isXXX functions when
11127 compiling C++ code.
11128
6b1f68c9
AS
111292011-10-14 Andreas Schwab <schwab@redhat.com>
11130
349290c0
AS
11131 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
11132
6b1f68c9
AS
11133 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
11134
f2282d42
RM
111352011-10-13 Roland McGrath <roland@hack.frob.com>
11136
11137 [BZ #13291]
11138 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
11139
5298ffa8
AS
111402011-10-13 Andreas Schwab <schwab@redhat.com>
11141
714fad23
AS
11142 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
11143 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
11144 feraiseexcept.
11145
81dcc7fb
AS
11146 * sysdeps/x86_64/memrchr.S: Check for zero size.
11147
5298ffa8
AS
11148 * string/stratcliff.c: Add memrchr tests.
11149
951fbcec
LD
111502011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
11151
11152 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
11153 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
11154 rawmemchr-sse2 rawmemchr-sse2-bsf.
11155 * sysdeps/i386/i686/multiarch/memchr.S: New file.
11156 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
11157 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
11158 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
11159 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
11160 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
11161 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
11162 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
11163 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
11164 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
11165 * string/memrchr.c (MEMRCHR): New macro.
11166
0ac5ae23
UD
111672011-10-12 Ulrich Drepper <drepper@gmail.com>
11168
11169 Add integration with gcc's -ffinite-math-only and optimize wrapper
11170 functions in libm.
11171 * Versions.def: Define GLIBC_2.15 version for libm.
11172 * math/Makefile (headers): Add bits/math-finite.h.
11173 * math/bits/math-finite.h: New file.
11174 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
11175 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
11176 * math/e_acoshl.c: Add __*_finite alias.
11177 * math/e_acosl.c: Likewise.
11178 * math/e_asinl.c: Likewise.
11179 * math/e_atan2l.c: Likewise.
11180 * math/e_atanhl.c: Likewise.
11181 * math/e_coshl.c: Likewise.
11182 * math/e_exp10.c: Likewise.
11183 * math/e_exp10f.c: Likewise.
11184 * math/e_exp10l.c: Likewise.
11185 * math/e_exp2l.c: Likewise.
11186 * math/e_fmodl.c: Likewise.
11187 * math/e_gammal_r.c: Likewise.
11188 * math/e_hypotl.c: Likewise.
11189 * math/e_j0l.c: Likewise.
11190 * math/e_j1l.c: Likewise.
11191 * math/e_jnl.c: Likewise.
11192 * math/e_lgammal_r.c: Likewise.
11193 * math/e_log10l.c: Likewise.
11194 * math/e_log2l.c: Likewise.
11195 * math/e_logl.c: Likewise.
11196 * math/e_powl.c: Likewise.
11197 * math/e_sinhl.c: Likewise.
11198 * math/e_sqrtl.c: Likewise.
11199 * math/e_scalb.c: Completely rewritten and optimized.
11200 * math/e_scalbf.c: Likewise.
11201 * math/e_scalbl.c: Likewise.
11202 * math/w_acos.c: Likewise.
11203 * math/w_acosf.c: Likewise.
11204 * math/w_acosl.c: Likewise.
11205 * math/w_acosh.c: Likewise.
11206 * math/w_acoshf.c: Likewise.
11207 * math/w_acoshl.c: Likewise.
11208 * math/w_asin.c: Likewise.
11209 * math/w_asinf.c: Likewise.
11210 * math/w_asinl.c: Likewise.
11211 * math/w_atan2.c: Likewise.
11212 * math/w_atan2f.c: Likewise.
11213 * math/w_atan2l.c: Likewise.
11214 * math/w_atanh.c: Likewise.
11215 * math/w_atanhf.c: Likewise.
11216 * math/w_atanhl.c: Likewise.
11217 * math/w_exp10.c: Likewise.
11218 * math/w_exp10f.c: Likewise.
11219 * math/w_exp10l.c: Likewise.
11220 * math/w_fmod.c: Likewise.
11221 * math/w_fmodf.c: Likewise.
11222 * math/w_fmodl.c: Likewise.
11223 * math/w_j0.c: Likewise.
11224 * math/w_j0f.c: Likewise.
11225 * math/w_j0l.c: Likewise.
11226 * math/w_j1.c: Likewise.
11227 * math/w_j1f.c: Likewise.
11228 * math/w_j1l.c: Likewise.
11229 * math/w_jn.c: Likewise.
11230 * math/w_jnf.c: Likewise.
11231 * math/w_log.c: Likewise.
11232 * math/w_logf.c: Likewise.
11233 * math/w_logl.c: Likewise.
11234 * math/w_log10.c: Likewise.
11235 * math/w_log10f.c: Likewise.
11236 * math/w_log10l.c: Likewise.
11237 * math/w_log2.c: Likewise.
11238 * math/w_log2f.c: Likewise.
11239 * math/w_log2l.c: Likewise.
11240 * math/w_pow.c: Likewise.
11241 * math/w_powf.c: Likewise.
11242 * math/w_powl.c: Likewise.
11243 * math/w_remainder.c: Likewise.
11244 * math/w_remainderf.c: Likewise.
11245 * math/w_remainderl.c: Likewise.
11246 * math/w_scalb.c: Likewise.
11247 * math/w_scalbf.c: Likewise.
11248 * math/w_scalbl.c: Likewise.
11249 * math/w_sqrt.c: Likewise.
11250 * math/w_sqrtf.c: Likewise.
11251 * math/w_sqrtl.c: Likewise.
11252 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
11253 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
11254 used.
11255 * math/math_private.h: Declare __kernel_standard_f.
11256 * math/w_cosh.c: Remove cruft and optimize a bit.
11257 * math/w_coshf.c: Likewise.
11258 * math/w_coshl.c: Likewise.
11259 * math/w_exp2.c: Likewise.
11260 * math/w_exp2f.c: Likewise.
11261 * math/w_exp2l.c: Likewise.
11262 * math/w_hypot.c: Likewise.
11263 * math/w_hypotf.c: Likewise.
11264 * math/w_hypotl.c: Likewise.
11265 * math/w_lgamma.c: Likewise.
11266 * math/w_lgamma_r.c: Likewise.
11267 * math/w_lgammaf.c: Likewise.
11268 * math/w_lgammaf_r.c: Likewise.
11269 * math/w_lgammal.c: Likewise.
11270 * math/w_lgammal_r.c: Likewise.
11271 * math/w_sinh.c: Likewise.
11272 * math/w_sinhf.c: Likewise.
11273 * math/w_sinhl.c: Likewise.
11274 * math/w_tgamma.c: Likewise.
11275 * math/w_tgammaf.c: Likewise.
11276 * math/w_tgammal.c: Likewise.
11277 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
11278 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
11279 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
11280 Minor optimizations. Pretty printing. Remove cruft.
11281 * sysdeps/i386/fpu/e_acosf.S: Likewise.
11282 * sysdeps/i386/fpu/e_acosh.S: Likewise.
11283 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
11284 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
11285 * sysdeps/i386/fpu/e_acosl.c: Likewise.
11286 * sysdeps/i386/fpu/e_asin.S: Likewise.
11287 * sysdeps/i386/fpu/e_asinf.S: Likewise.
11288 * sysdeps/i386/fpu/e_atan2.S: Likewise.
11289 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
11290 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
11291 * sysdeps/i386/fpu/e_atanh.S: Likewise.
11292 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
11293 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
11294 * sysdeps/i386/fpu/e_exp10.S: Likewise.
11295 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
11296 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
11297 * sysdeps/i386/fpu/e_exp2.S: Likewise.
11298 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
11299 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
11300 * sysdeps/i386/fpu/e_fmod.S: Likewise.
11301 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
11302 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
11303 * sysdeps/i386/fpu/e_hypot.S: Likewise.
11304 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
11305 * sysdeps/i386/fpu/e_log.S: Likewise.
11306 * sysdeps/i386/fpu/e_log10.S: Likewise.
11307 * sysdeps/i386/fpu/e_log10f.S: Likewise.
11308 * sysdeps/i386/fpu/e_log10l.S: Likewise.
11309 * sysdeps/i386/fpu/e_log2.S: Likewise.
11310 * sysdeps/i386/fpu/e_log2f.S: Likewise.
11311 * sysdeps/i386/fpu/e_log2l.S: Likewise.
11312 * sysdeps/i386/fpu/e_logf.S: Likewise.
11313 * sysdeps/i386/fpu/e_logl.S: Likewise.
11314 * sysdeps/i386/fpu/e_pow.S: Likewise.
11315 * sysdeps/i386/fpu/e_powf.S: Likewise.
11316 * sysdeps/i386/fpu/e_powl.S: Likewise.
11317 * sysdeps/i386/fpu/e_remainder.S: Likewise.
11318 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
11319 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
11320 * sysdeps/i386/fpu/e_scalb.S: Likewise.
11321 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
11322 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
11323 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
11324 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
11325 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
11326 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
11327 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
11328 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
11329 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
11330 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
11331 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
11332 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
11333 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
11334 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
11335 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
11336 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
11337 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
11338 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
11339 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
11340 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
11341 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
11342 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
11343 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
11344 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
11345 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
11346 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
11347 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
11348 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
11349 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
11350 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
11351 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
11352 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
11353 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
11354 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
11355 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
11356 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
11357 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
11358 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
11359 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
11360 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
11361 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
11362 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
11363 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
11364 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
11365 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
11366 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
11367 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
11368 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
11369 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
11370 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
11371 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
11372 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
11373 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
11374 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
11375 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
11376 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
11377 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
11378 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
11379 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
11380 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
11381 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
11382 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
11383 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
11384 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
11385 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
11386 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
11387 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
11388 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
11389 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
11390 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
11391 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
11392 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
11393 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
11394 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
11395 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
11396 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
11397 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
11398 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
11399 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
11400 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
11401 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
11402 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
11403 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
11404 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
11405 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
11406 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
11407 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
11408 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
11409 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
11410 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
11411 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
11412 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
11413 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
11414 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
11415 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
11416 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
11417 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
11418 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
11419 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
11420 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
11421 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
11422 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
11423 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
11424 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
11425 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
11426 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
11427 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
11428 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
11429 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
11430 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
11431 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
11432 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
11433 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
11434 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
11435 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
11436 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
11437 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
11438 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
11439 (__isnanf): Likewise.
11440 (__isinf_ns): Likewise.
11441 (__isinf_nsf): Likewise.
11442 (__finite): Likewise.
11443 (__finitef): Likewise.
11444 (__ieee754_sqrt): Define as macro.
11445 (__ieee754_sqrtf): Define as macro.
11446 (__ieee754_sqrtl): Define as macro.
11447 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
11448 inlined copy.
11449 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
11450 __FINITE_MATH_ONLY__ consistent.
11451 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
11452
12cc2fcd
AS
114532011-10-10 Andreas Schwab <schwab@linux-m68k.org>
11454
a843a204
AS
11455 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
11456 of rawmemchr.
11457
12cc2fcd
AS
11458 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
11459
c853acd5
UD
114602011-10-09 Ulrich Drepper <drepper@gmail.com>
11461
11462 * po/ja.po: Update from translation team.
11463
c658d255
RM
114642011-10-08 Roland McGrath <roland@hack.frob.com>
11465
110946e4
RM
11466 * locale/programs/locarchive.c (prepare_address_space): New function.
11467 (create_archive, enlarge_archive, open_archive): Use it.
11468
50604220
RM
11469 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
11470 inside [SHARED], where it is used.
11471
c658d255
RM
11472 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
11473
11474 * nss/getent.c (netgroup_keys): Remove unused variable.
11475 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
11476
6a621eb7
UD
114772011-10-08 Ulrich Drepper <drepper@gmail.com>
11478
7edb55ce
UD
11479 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
11480 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
11481 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
11482 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
11483 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
11484 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
11485 * math/Makefile (libm-calls): Add s_isinf_ns.
11486 * math/divtc3.c: Use __isinf_nsl instead of isinf.
11487 * math/multc3.c: Likewise.
11488 * math/s_casin.c: Likewise.
11489 * math/s_casinf.c: Likewise.
11490 * math/s_casinl.c: Likewise.
11491 * math/s_ccos.c: Likewise.
11492 * math/s_ccosf.c: Likewise.
11493 * math/s_ccosl.c: Likewise.
11494 * math/s_ctan.c: Likewise.
11495 * math/s_ctanf.c: Likewise.
11496 * math/s_ctanh.c: Likewise.
11497 * math/s_ctanhf.c: Likewise.
11498 * math/s_ctanhl.c: Likewise.
11499 * math/s_ctanl.c: Likewise.
11500 * math/w_fmod.c: Likewise.
11501 * math/w_fmodf.c: Likewise.
11502 * math/w_fmodl.c: Likewise.
11503 * math/w_remainder.c: Likewise.
11504 * math/w_remainderf.c: Likewise.
11505 * math/w_remainderl.c: Likewise.
11506 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
11507 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
11508 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
11509 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
11510 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
11511 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
11512 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
11513 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
11514
187da0ae
UD
11515 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
11516 of the number.
11517 * stdio-common/printf_fphex.c: Likewise.
11518 * stdio-common/printf_size.c: Likewise.
11519
9277c064
UD
11520 * math/e_exp10.c: Include math_private.h using <...> not "...".
11521 * math/e_exp10f.c: Likewise.
11522 * math/e_exp10l.c: Likewise.
11523 * math/e_exp2l.c: Likewise.
11524 * math/e_j0l.c: Likewise.
11525 * math/e_j1l.c: Likewise.
11526 * math/e_jnl.c: Likewise.
11527 * math/e_lgammal_r.c: Likewise.
11528 * math/e_rem_pio2l.c: Likewise.
11529 * math/e_scalb.c: Likewise.
11530 * math/e_scalbf.c: Likewise.
11531 * math/e_scalbl.c: Likewise.
11532 * math/k_cosl.c: Likewise.
11533 * math/k_sinl.c: Likewise.
11534 * math/k_tanl.c: Likewise.
11535 * math/s_cacoshf.c: Likewise.
11536 * math/s_catan.c: Likewise.
11537 * math/s_catanf.c: Likewise.
11538 * math/s_catanh.c: Likewise.
11539 * math/s_catanhf.c: Likewise.
11540 * math/s_catanhl.c: Likewise.
11541 * math/s_catanl.c: Likewise.
11542 * math/s_ccosh.c: Likewise.
11543 * math/s_ccoshf.c: Likewise.
11544 * math/s_ccoshl.c: Likewise.
11545 * math/s_cexp.c: Likewise.
11546 * math/s_cexpf.c: Likewise.
11547 * math/s_cexpl.c: Likewise.
11548 * math/s_clog.c: Likewise.
11549 * math/s_clog10.c: Likewise.
11550 * math/s_clog10f.c: Likewise.
11551 * math/s_clog10l.c: Likewise.
11552 * math/s_clogf.c: Likewise.
11553 * math/s_clogl.c: Likewise.
11554 * math/s_csin.c: Likewise.
11555 * math/s_csinf.c: Likewise.
11556 * math/s_csinh.c: Likewise.
11557 * math/s_csinhf.c: Likewise.
11558 * math/s_csinhl.c: Likewise.
11559 * math/s_csinl.c: Likewise.
11560 * math/s_csqrt.c: Likewise.
11561 * math/s_csqrtf.c: Likewise.
11562 * math/s_csqrtl.c: Likewise.
11563 * math/s_ctan.c: Likewise.
11564 * math/s_ctanf.c: Likewise.
11565 * math/s_ctanh.c: Likewise.
11566 * math/s_ctanhf.c: Likewise.
11567 * math/s_ctanhl.c: Likewise.
11568 * math/s_ctanl.c: Likewise.
11569 * math/s_ldexp.c: Likewise.
11570 * math/s_ldexpf.c: Likewise.
11571 * math/s_ldexpl.c: Likewise.
11572 * math/s_significand.c: Likewise.
11573 * math/s_significandf.c: Likewise.
11574 * math/s_significandl.c: Likewise.
11575 * math/w_acos.c: Likewise.
11576 * math/w_acosf.c: Likewise.
11577 * math/w_acosh.c: Likewise.
11578 * math/w_acoshf.c: Likewise.
11579 * math/w_acoshl.c: Likewise.
11580 * math/w_acosl.c: Likewise.
11581 * math/w_asin.c: Likewise.
11582 * math/w_asinf.c: Likewise.
11583 * math/w_asinl.c: Likewise.
11584 * math/w_atan2.c: Likewise.
11585 * math/w_atan2f.c: Likewise.
11586 * math/w_atan2l.c: Likewise.
11587 * math/w_atanh.c: Likewise.
11588 * math/w_atanhf.c: Likewise.
11589 * math/w_atanhl.c: Likewise.
11590 * math/w_cosh.c: Likewise.
11591 * math/w_coshf.c: Likewise.
11592 * math/w_coshl.c: Likewise.
11593 * math/w_dremf.c: Likewise.
11594 * math/w_exp10.c: Likewise.
11595 * math/w_exp10f.c: Likewise.
11596 * math/w_exp10l.c: Likewise.
11597 * math/w_exp2.c: Likewise.
11598 * math/w_exp2f.c: Likewise.
11599 * math/w_fmod.c: Likewise.
11600 * math/w_fmodf.c: Likewise.
11601 * math/w_fmodl.c: Likewise.
11602 * math/w_hypot.c: Likewise.
11603 * math/w_hypotf.c: Likewise.
11604 * math/w_hypotl.c: Likewise.
11605 * math/w_j0.c: Likewise.
11606 * math/w_j0f.c: Likewise.
11607 * math/w_j0l.c: Likewise.
11608 * math/w_j1.c: Likewise.
11609 * math/w_j1f.c: Likewise.
11610 * math/w_j1l.c: Likewise.
11611 * math/w_jn.c: Likewise.
11612 * math/w_jnf.c: Likewise.
11613 * math/w_jnl.c: Likewise.
11614 * math/w_lgamma.c: Likewise.
11615 * math/w_lgamma_r.c: Likewise.
11616 * math/w_lgammaf.c: Likewise.
11617 * math/w_lgammaf_r.c: Likewise.
11618 * math/w_lgammal.c: Likewise.
11619 * math/w_lgammal_r.c: Likewise.
11620 * math/w_log.c: Likewise.
11621 * math/w_log10.c: Likewise.
11622 * math/w_log10f.c: Likewise.
11623 * math/w_log10l.c: Likewise.
11624 * math/w_log2.c: Likewise.
11625 * math/w_log2f.c: Likewise.
11626 * math/w_log2l.c: Likewise.
11627 * math/w_logf.c: Likewise.
11628 * math/w_logl.c: Likewise.
11629 * math/w_pow.c: Likewise.
11630 * math/w_powf.c: Likewise.
11631 * math/w_powl.c: Likewise.
11632 * math/w_remainder.c: Likewise.
11633 * math/w_remainderf.c: Likewise.
11634 * math/w_remainderl.c: Likewise.
11635 * math/w_scalb.c: Likewise.
11636 * math/w_scalbf.c: Likewise.
11637 * math/w_scalbl.c: Likewise.
11638 * math/w_sinh.c: Likewise.
11639 * math/w_sinhf.c: Likewise.
11640 * math/w_sinhl.c: Likewise.
11641 * math/w_sqrt.c: Likewise.
11642 * math/w_sqrtf.c: Likewise.
11643 * math/w_sqrtl.c: Likewise.
11644 * math/w_tgamma.c: Likewise.
11645 * math/w_tgammaf.c: Likewise.
11646 * math/w_tgammal.c: Likewise.
11647
6a621eb7
UD
11648 * po/ja.po: Update from translation team.
11649
bf582445
AJ
116502011-09-29 Andreas Jaeger <aj@suse.de>
11651
f9efbf3a
AJ
11652 [BZ #13179]
11653 * sunrpc/netname.c (netname2host): Fix logic.
11654
bf582445
AJ
11655 [BZ #6779]
11656 [BZ #6783]
11657 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
11658 correctly.
11659 * math/w_remainder.c (__remainder): Likewise.
11660 * math/w_remainderf.c (__remainderf): Likewise.
11661 * math/libm-test.inc (remainder_test): Add test cases.
11662
48693bea
AK
116632011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11664
11665 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
11666 sdiv_qrnnd.
11667
42622229
LD
116682011-10-07 Ulrich Drepper <drepper@gmail.com>
11669
11670 * string/test-memcmp.c: Avoid unncessary #defines.
11671 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
11672
093ecf92
LD
116732011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
11674
11675 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
11676 Use new sse2 version for core i3 - i7 as it's faster
11677 than sse42 version.
11678 (bit_Prefer_PMINUB_for_stringop): New.
11679 * sysdeps/x86_64/rawmemchr.S: Update.
11680 Replace with faster SSE2 version.
11681 * sysdeps/x86_64/memrchr.S: New file.
11682 * sysdeps/x86_64/memchr.S: Update.
11683 Replace with faster SSE2 version.
11684
fde56e5c
MP
116852011-09-12 Marek Polacek <mpolacek@redhat.com>
11686
11687 * elf/dl-load.c (lose): Add cast to avoid warning.
11688
21fd49a9
UD
116892011-10-07 Ulrich Drepper <drepper@gmail.com>
11690
5a06e643
UD
11691 * po/ca.po: Update from translation team.
11692
684ae515
UD
11693 * inet/getnetgrent_r.c: Hook up nscd.
11694 * nscd/Makefile (routines): Add nscd_netgroup.
11695 (nscd-modules): Add netgroupcache.
11696 (CFLAGS-netgroupcache.c): Define.
11697 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
11698 (cache_search): Add const to second parameter.
11699 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
11700 INNETGR.
11701 (dbs): Add netgrdb entry.
11702 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
11703 (verify_persistent_db): Handle netgrdb.
11704 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
11705 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
11706 GETFDNETGR.
11707 (netgroup_response_header): Define.
11708 (innetgroup_response_header): Define.
11709 (datahead): Add netgroup_response_header and innetgroup_response_header
11710 elements.
11711 * nscd/nscd.conf: Add entries for netgroup cache.
11712 * nscd/nscd.h (dbtype): Add netgrdb.
11713 (_PATH_NSCD_NETGROUP_DB): Define.
11714 (netgroup_iov_disabled): Declare.
11715 (xmalloc, xcalloc, xrealloc): Move declarations here.
11716 (cache_search): Adjust prototype.
11717 Add netgroup-related prototypes.
11718 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
11719 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
11720 (__nscd_innetgr): Declare.
11721 * nscd/selinux.c (perms): Use access_vector_t as element type and
11722 add netgroup-related initializers.
11723 * nscd/netgroupcache.c: New file.
11724 * nscd/nscd_netgroup.c: New file.
11725 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
11726 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
11727 For four parameters use innetgr.
11728 * nss/nss_files/files-init.c: Add definition and callback for netgr.
11729 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
11730 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
11731 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
11732
21fd49a9
UD
11733 * nscd/connections.c (register_traced_file): Don't register file
11734 for disabled databases.
11735
054c0457
UD
117362011-10-06 Ulrich Drepper <drepper@gmail.com>
11737
32b63198
UD
11738 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
11739
054c0457
UD
11740 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
11741 from tree and freeing node.
11742
64031225
JO
117432011-09-25 Jiri Olsa <jolsa@redhat.com>
11744
11745 * nss/nsswitch.c (__nss_database_lookup): Handle
11746 nss_parse_service_list out of memory case.
11747
0490345c
JO
117482011-09-15 Jiri Olsa <jolsa@redhat.com>
11749
11750 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
11751 out of memory case.
11752
3a62d00d
AS
117532011-10-04 Andreas Schwab <schwab@redhat.com>
11754
11755 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
11756 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
11757 pass it down.
11758 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
11759 elf_machine_rela, elf_machine_lazy_rel.
11760 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
11761 (ELF_DYNAMIC_DO_REL): Likewise.
11762 (ELF_DYNAMIC_DO_RELA): Likewise.
11763 (ELF_DYNAMIC_RELOCATE): Likewise.
11764 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
11765 to ELF_DYNAMIC_DO_REL.
11766 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
11767 (dl_main): In trace mode always set __RTLD_NOIFUNC.
11768 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
11769 elf_machine_rela.
11770 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
11771 skip_ifunc, don't call ifunc function if non-zero.
11772 (elf_machine_rela): Likewise.
11773 (elf_machine_lazy_rel): Likewise.
11774 (elf_machine_lazy_rela): Likewise.
11775 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
11776 (elf_machine_lazy_rel): Likewise.
11777 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
11778 Likewise.
11779 (elf_machine_lazy_rel): Likewise.
11780 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
11781 Likewise.
11782 (elf_machine_lazy_rel): Likewise.
11783 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
11784 (elf_machine_lazy_rel): Likewise.
11785 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
11786 (elf_machine_lazy_rel): Likewise.
11787 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
11788 (elf_machine_lazy_rel): Likewise.
11789 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
11790 (elf_machine_lazy_rel): Likewise.
11791 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
11792 (elf_machine_lazy_rel): Likewise.
11793 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
11794 (elf_machine_lazy_rel): Likewise.
11795
68577918
UD
117962011-09-28 Ulrich Drepper <drepper@gmail.com>
11797
11798 * nss/nss_files/files-init.c (_nss_files_init): Use static
11799 initialization for all the *_traced_file variables.
11800
68822d74
AS
118012011-09-28 Andreas Schwab <schwab@redhat.com>
11802
11803 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
11804
2056100b
RM
118052011-09-27 Roland McGrath <roland@hack.frob.com>
11806
11807 [BZ #13226]
11808 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
11809
32c76b63
AS
118102011-09-27 Andreas Schwab <schwab@redhat.com>
11811
11812 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
11813 Reread the line before reparsing it.
11814
bf972c9d
AS
118152011-09-26 Andreas Schwab <schwab@redhat.com>
11816
11817 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
11818
e057a1b5
JM
118192011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
11820 Maxim Kuvyrkov <maxim@codesourcery.com>
11821 Joseph Myers <joseph@codesourcery.com>
11822
11823 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
11824 if needed for __stack_chk_guard.
11825
bc7e1c36
RM
118262011-09-19 Roland McGrath <roland@hack.frob.com>
11827
ecb1482f
RM
11828 * sysdeps/posix/spawni.c (script_execute): Always define it.
11829 It will be optimized away if unused.
11830 (maybe_script_execute): New function.
11831 (__spawni): Call it.
11832
bc7e1c36
RM
11833 * Makerules: Don't include tls.make.
11834 (config-tls): Always set to thread.
11835 * tls.make.c: File removed.
11836
1c3b002b
MF
118372011-09-19 Mike Frysinger <vapier@gentoo.org>
11838
11839 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
11840 * config.make.in (CPPFLAGS-config): New substituted variable.
11841
2840865d
UD
118422011-09-15 Ulrich Drepper <drepper@gmail.com>
11843
88738eb6
UD
11844 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
11845
cbf645a6 11846 [BZ #13192]
2840865d
UD
11847 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
11848 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
11849
b402e91a
RM
118502011-09-15 Roland McGrath <roland@hack.frob.com>
11851
11852 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
11853 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
11854 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
11855 (CALL_FAIL): Likewise.
11856 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
11857 (CALL_FAIL): Macro removed.
11858 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
11859
4c1a1f71
UD
118602011-09-15 Ulrich Drepper <drepper@gmail.com>
11861
11862 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
11863 for __FINITE_MATH_ONLY__ == 1.
11864
edc121be
AS
118652011-09-15 Andreas Schwab <schwab@redhat.com>
11866
11867 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
11868 __ieee754_sqrt instead of sqrt.
11869 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
11870 __ieee754_sqrtf instead of sqrtf.
11871 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
11872 __floorf instead of floorf.
11873 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
11874 __floorf, __truncf instead of floorf, truncf.
11875
cd205654
UD
118762011-09-14 Ulrich Drepper <drepper@gmail.com>
11877
ee4d0315
UD
11878 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
11879
cd205654
UD
11880 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
11881 __extern_always_inline.
11882 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
11883 32-bit.
11884
48b67d71
AS
118852011-09-14 Andreas Schwab <schwab@redhat.com>
11886
11887 * elf/rtld.c (dl_main): Also relocate in dependency order when
11888 doing symbol dependency testing.
11889
1ae12c75
AS
118902011-09-13 Andreas Schwab <schwab@linux-m68k.org>
11891
11892 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
11893 Always define `refsym'.
11894
995a80df
AS
118952011-09-13 Andreas Schwab <schwab@redhat.com>
11896
e529793b
AS
11897 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
11898 (__FD_ELT): Renamed from __FDELT.
11899 * misc/bits/select2.h (__FD_ELT): Likewise.
11900 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
11901 __FD_MASK instead of __FDELT, __FDMASK.
11902 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
11903 Likewise.
11904 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
11905 Likewise.
11906
52d4fef8
AS
11907 * elf/Makefile (gen-ldd): Fix pattern.
11908
995a80df
AS
11909 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
11910 (init_tls): Likewise.
11911
8682f8b0
UD
119122011-09-12 Ulrich Drepper <drepper@gmail.com>
11913
11914 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
11915
de82006d
AS
119162011-09-12 Andreas Schwab <schwab@redhat.com>
11917
a7c8e6a1
AS
11918 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
11919 `struct cmsghdr *' instead of `void *'.
11920 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
11921 Likewise.
11922
0f31fe77
AS
119232011-09-11 Andreas Schwab <schwab@linux-m68k.org>
11924
11925 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
11926 if non-absolute.
11927 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
11928 ldd_rewrite_script.
0f31fe77 11929
32b4c839
UD
119302011-09-11 Ulrich Drepper <drepper@gmail.com>
11931
83cd1420
UD
11932 * configure.in: Remove --with-tls option.
11933 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
11934 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
11935 out in case it is missing.
11936 * sysdeps/ia64/elf/configure.in: Likewise.
11937 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
11938 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
11939 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
11940 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
11941 * sysdeps/sh/elf/configure.in: Likewise.
11942 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
11943 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
11944 * sysdeps/x86_64/elf/configure.in: Likewise.
11945 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
11946 * sysdeps/mach/hurd/tls.h: Likewise.
11947
633f745d
UD
11948 [BZ #13067]
11949 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
11950
f318beb8
UD
11951 [BZ #13090]
11952 * configure.in: Fix use of AC_INIT.
11953
32b4c839
UD
11954 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
11955
3ce1f295
UD
119562011-09-10 Ulrich Drepper <drepper@gmail.com>
11957
bb016596
UD
11958 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
11959 __set_errno.
8e58439c
UD
11960 * malloc/hooks.c: Likewise.
11961
aebae053 11962 [BZ #11929]
02d46fc4
UD
11963 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
11964 variables statically.
11965 (narenas): Initialize.
11966 (list_lock): Initialize.
bb016596
UD
11967 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
11968 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
11969 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
11970 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
11971 Add initializers to main_arena and mp_.
11972 (malloc_state): Remove pagesize member. Change all users to use
11973 GLRO(dl_pagesize).
11974
11975 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
11976 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
11977 is always initialized.
11978
22a89187
UD
11979 * malloc/malloc.c: Removed unused configurations and dead code.
11980 * malloc/arena.c: Likewise.
11981 * malloc/hooks.c: Likewise.
02d46fc4 11982 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 11983
d063d164
UD
11984 * include/tls.h: Removed. USE___THREAD must always be defined.
11985 * bits/libc-tsd.h: Don't handle !USE___THREAD.
11986 * elf/dl-libc.c: Likewise.
11987 * elf/dl-tsd.c: Likewise.
11988 * include/errno.h: Likewise.
11989 * include/netdb.h: Likewise.
11990 * include/resolv.h: Likewise.
11991 * inet/herrno-loc.c: Likewise.
11992 * inet/herrno.c: Likewise.
11993 * malloc/arena.c: Likewise.
11994 * malloc/hooks.c: Likewise.
11995 * malloc/malloc.c: Likewise.
11996 * resolv/res-state.c: Likewise.
11997 * resolv/res_libc.c: Likewise.
11998 * sysdeps/i386/dl-machine.h: Likewise.
11999 * sysdeps/ia64/dl-machine.h: Likewise.
12000 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
12001 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
12002 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
12003 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
12004 * sysdeps/sh/dl-machine.h: Likewise.
12005 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
12006 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
12007 * sysdeps/unix/i386/sysdep.S: Likewise.
12008 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
12009 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
12010 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
12011 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
12012 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
12013 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
12014 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
12015 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
12016 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
12017 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
12018 * sysdeps/unix/x86_64/sysdep.S: Likewise.
12019 * sysdeps/x86_64/dl-machine.h: Likewise.
12020 * tls.make.c: Likewise.
12021
3ce1f295
UD
12022 * configure.in: Remove --with-__thread option. Make tests for
12023 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
12024 tls_model attribute fail if no support is available. Remove
12025 USE_IN_LIBIO.
12026 * Makeconfig: Adjust for dropped configure option. All features are
12027 now mandatory.
12028 * Makerules: Likewise.
12029 * Versions.def: Likewise.
12030 * argp/argp-fmtstream.c: Likewise.
12031 * argp/argp-fmtstream.h: Likewise.
12032 * argp/argp-help.c: Likewise.
12033 * assert/assert.c: Likewise.
12034 * config.h.in: Likewise.
12035 * config.make.in: Likewise.
12036 * configure: Likewise.
12037 * configure.in: Likewise.
12038 * csu/Versions: Likewise.
12039 * csu/init.c: Likewise.
12040 * elf/tst-audit2.c: Likewise.
12041 * elf/tst-tls10.c: Likewise.
12042 * elf/tst-tls10.h: Likewise.
12043 * elf/tst-tls11.c: Likewise.
12044 * elf/tst-tls12.c: Likewise.
12045 * elf/tst-tls14.c: Likewise.
12046 * elf/tst-tlsmod11.c: Likewise.
12047 * elf/tst-tlsmod12.c: Likewise.
12048 * elf/tst-tlsmod13.c: Likewise.
12049 * elf/tst-tlsmod13a.c: Likewise.
12050 * elf/tst-tlsmod14a.c: Likewise.
12051 * elf/tst-tlsmod15b.c: Likewise.
12052 * elf/tst-tlsmod16a.c: Likewise.
12053 * elf/tst-tlsmod16b.c: Likewise.
12054 * elf/tst-tlsmod7.c: Likewise.
12055 * elf/tst-tlsmod8.c: Likewise.
12056 * elf/tst-tlsmod9.c: Likewise.
12057 * gmon/gmon.c: Likewise.
12058 * grp/fgetgrent_r.c: Likewise.
12059 * grp/putgrent.c: Likewise.
12060 * hurd/fopenport.c: Likewise.
12061 * include/libc-symbols.h: Likewise.
12062 * include/tls.h: Likewise.
12063 * intl/gettextP.h: Likewise.
12064 * intl/loadinfo.h: Likewise.
12065 * locale/global-locale.c: Likewise.
12066 * locale/localeinfo.h: Likewise.
12067 * mach/devstream.c: Likewise.
12068 * malloc/arena.c: Likewise.
12069 * malloc/set-freeres.c: Likewise.
12070 * misc/err.c: Likewise.
12071 * misc/getttyent.c: Likewise.
12072 * misc/mntent_r.c: Likewise.
12073 * posix/getopt.c: Likewise.
12074 * posix/wordexp.c: Likewise.
12075 * pwd/fgetpwent_r.c: Likewise.
12076 * resolv/Versions: Likewise.
12077 * resolv/res_hconf.c: Likewise.
12078 * shadow/fgetspent_r.c: Likewise.
12079 * shadow/putspent.c: Likewise.
12080 * stdio-common/printf_fphex.c: Likewise.
12081 * stdio-common/tmpfile.c: Likewise.
12082 * stdlib/abort.c: Likewise.
12083 * stdlib/fmtmsg.c: Likewise.
12084 * sunrpc/auth_unix.c: Likewise.
12085 * sunrpc/clnt_perr.c: Likewise.
12086 * sunrpc/clnt_tcp.c: Likewise.
12087 * sunrpc/clnt_udp.c: Likewise.
12088 * sunrpc/clnt_unix.c: Likewise.
12089 * sunrpc/openchild.c: Likewise.
12090 * sunrpc/svc_simple.c: Likewise.
12091 * sunrpc/svc_tcp.c: Likewise.
12092 * sunrpc/svc_udp.c: Likewise.
12093 * sunrpc/svc_unix.c: Likewise.
12094 * sunrpc/xdr.c: Likewise.
12095 * sunrpc/xdr_array.c: Likewise.
12096 * sunrpc/xdr_rec.c: Likewise.
12097 * sunrpc/xdr_ref.c: Likewise.
12098 * sunrpc/xdr_stdio.c: Likewise.
12099
1248c1c4
PB
121002011-09-09 Ulrich Drepper <drepper@gmail.com>
12101
12102 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
12103
121042011-07-03 Andreas Jaeger <aj@suse.de>
12105
12106 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
12107 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
12108 regenerate with gen-libm-tests.pl.
12109
121102010-05-12 Petr Baudis <pasky@suse.cz>
12111
12112 [BZ #11589]
12113 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
12114 around j0() zero points by switching to j1().
12115 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
12116 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
12117 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
12118 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
12119
f22e1074
UD
121202011-09-09 Ulrich Drepper <drepper@gmail.com>
12121
f19009c1
UD
12122 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
12123 instead of 0.
12124 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
12125 instead of 0. .
12126 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
12127 Patch in part by Pavel Roskin <proski@gnu.org>.
12128
3f8cc204
UD
12129 [BZ #13138]
12130 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
12131 realloc.
12132 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
12133 Free memory block if necessary.
12134
f22e1074
UD
12135 [BZ #12847]
12136 * libio/genops.c (INTDEF): For string streams the _lock pointer can
12137 be NULL. Don't lock in this case.
12138
0a2349f9
RM
121392011-09-09 Roland McGrath <roland@hack.frob.com>
12140
12141 * elf/elf.h (ELFOSABI_GNU): New macro.
12142 (ELFOSABI_LINUX): Define to that.
12143
f3cdd467
DZ
121442011-07-29 Denis Zaitceff <zaitceff@gmail.com>
12145
12146 * string/strncat.c (strncat): Undef the symbol in case it has been
12147 defined in bits/string.h.
12148
74718d13
UD
121492011-09-09 Ulrich Drepper <drepper@gmail.com>
12150
633e9e0f
UD
12151 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
12152
0a2349f9 12153 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
12154 link map.
12155
f9924780
AJ
121562011-08-17 Andreas Jaeger <aj@suse.de>
12157
12158 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
12159
7f5517aa
PP
121602011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
12161 Ian Lance Taylor <iant@google.com>
12162
12163 * math/libm-test.inc (lround_test): New testcase.
12164 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
12165
762011fe
UD
121662011-09-08 Ulrich Drepper <drepper@gmail.com>
12167
92963737
UD
12168 * Makefile: Remove support for automatic cvs check-ins.
12169 * Makerules: Likewise.
12170 * config.make.in: Likewise.
12171 * configure.in: Likewise.
12172 * intl/Makefile: Likewise.
12173 * locale/Makefile: Likewise.
12174 * po/Makefile: Likewise.
12175 * posix/Makefile: Likewise.
12176 * sysdeps/gnu/Makefile: Likewise.
12177 * sysdeps/mach/hurd/Makefile: Likewise.
12178 * sysdeps/sparc/sparc32/Makefile: Likewise.
12179
b0727fd8
JS
12180 [BZ #13118]
12181 * posix/Makefile (bug-regex32-ENV): Define.
12182 Patch by John Stanley <jpsinthemix@verizon.net>.
12183
a0f33f99
UD
12184 * misc/Makefile (headers): Add bits/select2.h.
12185 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
12186 * misc/bits/select2.h: New file.
12187 * include/bits/select2.h: New file.
12188 * debug/Makefile (routines): Add fdelt_chk.
12189 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
12190 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
12191 FD_ISSET.
12192 * debug/fdelt_chk.c: New file.
12193
762011fe
UD
12194 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
12195 * wcsmbs/test-wmemcmp.c: Likewise.
12196 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 12197 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
12198
121992011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12200
12201 * string/Makefile (strop-tests): Add memcmp.
12202 * string/test-wmemcmp.c: New file.
12203 * string/test-memcmp.c: Add wmemcmp support.
12204
7f513ec8
RM
122052011-09-08 Roland McGrath <roland@hack.frob.com>
12206
0442afb4
RM
12207 [BZ #13153]
12208 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
12209 2011-07-19 change.
12210
7f513ec8
RM
12211 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
12212 garbage value in a __mach_port_mod_refs call in the cases of the
12213 task-self and thread-self ports.
12214
a12b2239
ST
122152011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
12216
12217 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
12218
610f9ab4
AS
122192011-09-08 Andreas Schwab <schwab@redhat.com>
12220
7f513ec8 12221 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 12222
48882a1a
LD
122232011-09-07 Ulrich Drepper <drepper@gmail.com>
12224
b49865be
UD
12225 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
12226
fdc86bc9
UD
12227 * elf/dl-libc.c (dlerror_run): Pass back error code from
12228 dl_catch_error.
12229
c966526a
UD
12230 [BZ #13123]
12231 * elf/dl-load.c (lose): Free l_origin if it is valid.
12232
48882a1a
LD
12233 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
12234 names.
12235 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
12236 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
12237 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
12238 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
12239 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
12240 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
12241
77a2a8b4
AZ
122422011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12243
12244 * sysdeps/powerpc/fpu/e_hypot.c: New file.
12245 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
12246 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
12247 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
12248 * sysdeps/powerpc/fpu/k_cosf.c: New file.
12249 * sysdeps/powerpc/fpu/k_sinf.c: New file.
12250 * sysdeps/powerpc/fpu/s_cosf.c: New file.
12251 * sysdeps/powerpc/fpu/s_sinf.c: New file.
12252 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
12253 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
12254
24f579d8
AM
122552011-08-15 Alan Modra <amodra@gmail.com>
12256
12257 [BZ #13092]
12258 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
12259 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
12260 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
12261 ppc_mcount to static-only-routines.
12262 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
12263 __mcount_internal.
12264 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
12265 __mcount_internal with usual JUMPTARGET. Remove useless nop.
12266
3d4837df
UD
122672011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
12268
12269 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
12270 for finite and infinity parameters.
12271
22700377
WS
122722011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
12273
12274 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
12275 and add nop instructions for throughput optimization.
12276 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
12277
5025581e
WS
122782011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
12279
12280 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
12281 aligned copy for power7 with vector-scalar instructions.
12282 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
12283
08a300c9
L
122842011-07-24 H.J. Lu <hongjiu.lu@intel.com>
12285
12286 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
12287 AVX check.
12288
59178ef9
AS
122892011-09-07 Andreas Schwab <schwab@redhat.com>
12290
12291 [BZ #13144]
12292 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
12293 last change.
12294
e38ba7ab
UD
122952011-09-07 Ulrich Drepper <drepper@gmail.com>
12296
12297 * sysdeps/unix/sysv/linux/x86_64/init-first.c
12298 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
12299 syscall wrapper around clock_gettime in __vdso_clock_gettime.
12300 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
12301 clock_gettime.
12302
d53a73ac
UD
123032011-09-06 Ulrich Drepper <drepper@gmail.com>
12304
fc8bffcc
UD
12305 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
12306 Forgot to demangle the pointer.
12307
ceaa0c5d
UD
12308 * sysdeps/i386/sysdep.h: Define atom_text_section.
12309 * sysdeps/x86_64/sysdep.h: Likewise.
12310 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
12311 section with atom_text_section.
12312 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
12313 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
12314 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
12315 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
12316 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
12317
a77d3c17
UD
12318 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
12319 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
12320 already be defined. Change to take two parameters and don't assign
12321 result to variable. Adjust all users.
12322 Define INTERNAL_GETTIME if not already defined.
12323 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
12324 call.
12325 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
12326 HAVE_CLOCK_GETTIME_VSYSCALL.
12327 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
12328
d53a73ac
UD
12329 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
12330 gettimeofday vsyscall, just use time.
12331
a8f84144
AS
123322011-09-06 Andreas Schwab <schwab@redhat.com>
12333
12334 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
12335 <errno.h>.
12336
ef606249
UD
123372011-09-06 Ulrich Drepper <drepper@gmail.com>
12338
12339 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
12340 syscall on x86-64.
12341 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
12342 syscall.
12343 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
12344 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
12345 syscall if possible.
12346
6585cb60
UD
123472011-09-05 Ulrich Drepper <drepper@gmail.com>
12348
12349 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
12350 e_ident. Don't pass to find_mapsXX.
12351 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
12352
a5f524e4
LD
123532011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
12354
12355 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
12356 strchr-sse2-no-bsf strrchr-sse2-no-bsf
12357 * sysdeps/x86_64/multiarch/strchr.S: Update.
12358 Check bit_slow_BSF bit.
12359 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
12360 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
12361 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
12362
554881ef
UD
123632011-09-05 Ulrich Drepper <drepper@gmail.com>
12364
d96de963
UD
12365 [BZ #13134]
12366 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
12367 before glibc 2.15.
12368 (tryshell): Define.
12369 (__spawni): Change last parameter to be flag. Test
12370 SPAWN_XFLAGS_USE_PATH flag to use path or not.
12371 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
12372 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
12373 * posix/spawni.c: Likewise.
12374 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
12375 * posix/spawnp.c: Likewise. Change normal version to use
12376 SPAWN_XFLAGS_USE_PATH.
12377 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
12378 SPAWN_XFLAGS_TRY_SHELL.
12379
d48e5868
UD
12380 [BZ #13150]
12381 * posix/glob.h: Remove gcc 1.x support.
12382
554881ef
UD
12383 [BZ #13068]
12384 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
12385
693fb948
LD
123862011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
12387
12388 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
12389 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
12390 strrchr-sse2-bsf
12391 * sysdeps/i386/i686/multiarch/strchr.S: New file.
12392 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
12393 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
12394 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
12395 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
12396 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
12397
1b48c537
UD
123982011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12399
49d42c37
UD
12400 * sysdeps/x86_64/wcscmp.S: New file.
12401
1b48c537
UD
12402 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
12403 wcscmp-c wcscmp-sse2
12404 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
12405 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
12406 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
12407 * wcsmbs/wcscmp.c: Allow renaming.
12408
15c95c5d
DM
124092011-09-05 David S. Miller <davem@davemloft.net>
12410
12411 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
12412 stack slot, rather than the struct return pointer slot.
12413 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
12414 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
12415 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
12416 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
12417
2f0ad8f3
UD
124182011-09-05 Ulrich Drepper <drepper@gmail.com>
12419
d88ae418
UD
12420 * po/ja.po: Update from translation team.
12421
2f0ad8f3
UD
12422 [BZ #13144]
12423 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
12424 kernel in 64-bit binaries.
12425
5f4318d1
DM
124262011-09-01 David S. Miller <davem@davemloft.net>
12427
12428 * elf/elf.h (HWCAP_SPARC_*): Move to..
12429 * sysdeps/sparc/sysdep.h: this new file and add new values.
12430 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
12431 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
12432 _DL_HWCAP_COUNT to 24.
12433 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
12434 entries.
12435 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
12436 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
12437 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
12438 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
12439 instead of magic constants.
12440 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
12441
3ba57516
DM
124422011-08-31 David S. Miller <davem@davemloft.net>
12443
12444 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
12445 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
12446 Reimplement to do errno handling inline.
12447 (SYSCALL_ERROR_HANDLER): New macro.
12448 (__SYSCALL_STRING): Do not do errno handling in asm.
12449 (__CLONE_SYSCALL_STRING): Delete.
12450 (__INTERNAL_SYSCALL_STRING): Delete.
12451 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
12452 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
12453 (PSEUDO): Reimplement to do errno handling inline.
12454 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
12455 (SYSCALL_ERROR_HANDLER): New macro.
12456 (__SYSCALL_STRING): Do not do errno handling in asm.
12457 (__CLONE_SYSCALL_STRING): Delete.
12458 (__INTERNAL_SYSCALL_STRING): Delete.
12459 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
12460 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
12461 i386.
12462 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
12463 (inline_syscall*): Add 'err' argument.
12464 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
12465 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
12466 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
12467 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
12468
12469 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
12470 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
12471
2bc17433
AS
124722011-08-30 Andreas Schwab <schwab@redhat.com>
12473
12474 * elf/rtld.c (dl_main): Relocate objects in dependency order.
12475
fbeb5f4d
JO
124762011-08-29 Jiri Olsa <jolsa@redhat.com>
12477
12478 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
12479 directive.
12480
ad69cc26
DM
124812011-08-24 David S. Miller <davem@davemloft.net>
12482
12483 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
12484
39dd69df
AS
124852011-08-24 Andreas Schwab <schwab@redhat.com>
12486
12487 * elf/Makefile: Add rules to build and run unload8 test.
12488 * elf/unload8.c: New file.
12489 * elf/unload8mod1.c: New file.
12490 * elf/unload8mod1x.c: New file.
12491 * elf/unload8mod2.c: New file.
12492 * elf/unload8mod3.c: New file.
12493
12494 * elf/dl-close.c (_dl_close_worker): Reset private search list if
12495 it wasn't used.
12496
2c0b250a
DM
124972011-08-23 David S. Miller <davem@davemloft.net>
12498
12499 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
12500 subtract stack bias.
12501 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
12502 %sp not %fp in calculations.
12503 (_JMPBUF_UNWINDS_ADJ): Likewise.
12504
22044b48
DM
12505 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
12506 (aio_suspend): Call it to force an exception region around the
12507 AIO_MISC_WAIT() invocation.
12508
2cae4995
AS
125092011-08-23 Andreas Schwab <schwab@redhat.com>
12510
12511 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
12512 backslash.
12513
873a772e
AJ
125142011-07-04 Aurelien Jarno <aurelien@aurel32.net>
12515
12516 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
12517 protection macro.
12518 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
12519 and <dl-machine.h>.
12520 (Elf64_FuncDesc): Remove.
12521
25ad0df1
DM
125222011-08-22 David S. Miller <davem@davemloft.net>
12523
12524 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
12525 sigaltstack check, add missing cfi directives.
12526 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
12527 missing cfi directives, and sigaltstack handling.
12528
e888bcbe
AS
125292011-08-16 Andreas Schwab <schwab@redhat.com>
12530
12531 [BZ #11724]
12532 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
12533 object is seen twice.
12534 * elf/dl-fini.c (_dl_sort_fini): Likewise.
12535
12536 * elf/Makefile (distribute): Add tst-initorder2.c.
12537 (tests): Add tst-initorder2.
12538 (modules-names): Add tst-initorder2a tst-initorder2b
12539 tst-initorder2c tst-initorder2d. Add rules to build them.
12540 ($(objpfx)tst-initorder2.out): New rule.
12541 * elf/tst-initorder2.c: New file.
12542 * elf/tst-initorder2.exp: New file.
12543
87162f46
AS
125442011-08-22 Andreas Schwab <schwab@redhat.com>
12545
70538b7f
AS
12546 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
12547
f55ffe58
AS
12548 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
12549 dependencies back to end of function.
12550
87162f46
AS
12551 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
12552 $(elfobjdir)/ld.so.
12553
91b392a4
UD
125542011-08-21 Ulrich Drepper <drepper@gmail.com>
12555
12556 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
12557 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
12558 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
12559 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
12560 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
12561 of __vdso_gettimeofday.
12562 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
12563 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
12564 attribute_hidden.
12565 (_libc_vdso_platform_setup): Remove initialization of
12566 __vdso_gettimeofday and __vdso_time.
12567
5c43483f
UD
125682011-08-20 Ulrich Drepper <drepper@gmail.com>
12569
775a77e7
UD
12570 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
12571 and fgetc_unlocked.
12572 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
12573 getc_unlocked.
89f447ed 12574
49c74ba9
UD
12575 * elf/dl-open.c (add_to_global): Report additions to the global scope
12576 for LD_DEBUG=scopes.
12577 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 12578 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 12579
5c43483f
UD
12580 [BZ #13114]
12581 * stdio-common/Makefile (tests): Add bug24.
12582 * stdio-common/bug24.c: New file.
12583
a101b025
AJ
125842011-08-19 Andreas Jaeger <aj@suse.de>
12585
12586 [BZ #13114]
12587 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
12588 non-existant file when using close-on-exec mode.
12589
c88f1766
UD
125902011-08-20 Ulrich Drepper <drepper@gmail.com>
12591
0276a718
UD
12592 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
12593 the very first instruction.
12594
c88f1766
UD
12595 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
12596 the CFI state in the end.
12597 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
12598 inclusion of dl-trampoline.h.
12599 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
12600
51ccffa0
AS
126012011-08-19 Andreas Schwab <schwab@redhat.com>
12602
94d7165f
AS
12603 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
12604 expectations for long double.
12605
51ccffa0
AS
12606 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
12607 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
12608
fd708658 126092011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
12610
12611 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
12612 artificual limit depends upon the system page size.
12613
44f0a71e
UD
126142011-08-17 Ulrich Drepper <drepper@gmail.com>
12615
12616 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
12617 * resolv/Makefile: Define CFLAGS-libresolv.
12618
8de79a24
AS
126192011-08-17 Andreas Schwab <schwab@redhat.com>
12620
12621 * nss/makedb.c (compute_tables): Make variables used in nested
12622 function static.
12623
27724598
UD
126242011-08-17 Ulrich Drepper <drepper@gmail.com>
12625
c5305d88
UD
12626 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
12627 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
12628 if buffer was too small.
12629
27724598
UD
12630 * elf/pldd.c (main): Attach to all threads in the process.
12631 Rewrite /proc handling to use *at functions.
12632
076fe015
UD
126332011-08-16 Ulrich Drepper <drepper@gmail.com>
12634
174baab3
UD
12635 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
12636 specifies first scope to show.
12637 (dl_open_worker): Update callers. Move printing scope of new
12638 object to before the relocation.
44f0a71e 12639 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
12640 * sysdeps/generic/ldsodefs.h: Update declaration.
12641
076fe015
UD
12642 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
12643 string for the scope number.
12644
a60df2c3
UD
126452011-08-14 Ulrich Drepper <drepper@gmail.com>
12646
12647 * nscd/servicescache.c (cache_addserv): Make sure written is always
12648 initialized.
12649
5e4287d1
RM
126502011-08-14 Roland McGrath <roland@hack.frob.com>
12651
85ae0589
RM
12652 * sysdeps/i386/i486/bits/atomic.h
12653 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
12654 statement expression, so as to suppress "set but not used" warning.
12655 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
12656
69f63097
RM
12657 * string/strncat.c (STRNCAT): Use prototype definition.
12658
675456ef
RM
12659 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
12660 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
12661 -Iprograms here.
12662 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
12663 (localedef-modules): Add localedef.
12664 (locale-modules): Add locale.
12665
5e4287d1
RM
12666 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
12667 * elf/rtld.c (dl_main): Invert order of assignment in last change,
12668 to avoid a warning.
12669
9c96ff23
DM
126702011-08-14 David S. Miller <davem@davemloft.net>
12671
12672 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
12673 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
12674
f9ddf089
UD
126752011-08-13 Ulrich Drepper <drepper@gmail.com>
12676
44f0a71e 12677 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
12678 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
12679 * elf/rtld.c (dl_main): Set l_name of vDSO.
12680 Call _dl_show_scope when DL_DEBUG_SCOPES.
12681 (process_dl_debug): Recognize scopes flag and also set it for all.
12682 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
12683 Declare _dl_show_scope.
12684
1dc27704
UD
12685 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
12686 (do_dlopen): Pass caller_dlopen to dl_open.
12687 (__libc_dlopen_mode): Initialize caller_dlopen.
12688
f9ddf089
UD
12689 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
12690 of libc. Make tolower call locale-independent. Optimize a bit by
12691 using isdigit instead of isalnum.
12692 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
12693
9ac533d3
UD
126942011-08-12 Ulrich Drepper <drepper@gmail.com>
12695
12696 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
12697 was a dependency or dynamically loaded.
12698
89edf2e9
UD
126992011-08-11 Ulrich Drepper <drepper@gmail.com>
12700
8e999d29
UD
12701 * intl/l10nflist.c: Allow architecture-specific pop function.
12702 * sysdeps/x86_64/l10nflist.c: New file.
12703
89edf2e9
UD
12704 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
12705 classification.
12706
14d96785
AS
127072011-08-10 Andreas Schwab <schwab@redhat.com>
12708
12709 * include/dirent.h: Add libc_hidden_proto for scandirat and
12710 scandirat64. Don't declare __scandirat64.
12711 * dirent/scandirat.c: Add libc_hidden_def.
12712 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
12713 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
12714
6761ac04
DM
127152011-08-10 David S. Miller <davem@davemloft.net>
12716
12717 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
12718 enum.
12719 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
12720 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
12721 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
12722
c55fbd1e
UD
127232011-08-09 Ulrich Drepper <drepper@gmail.com>
12724
12725 * Versions.def [libc]: Add GLIBC_2.15.
12726 * dirent/Makefile (routines): Add scandirat and scandirat64.
12727 * dirent/Versions [libc]: Export scandirat and scandirat64 for
12728 GLIBC_2.15.
12729 * dirent/dirent.h: Declare scandirat and scandirat64.
12730 * dirent/scandirat.c: New file.
12731 * dirent/scandirat64.c: New file.
12732 * sysdeps/wordsize-64/scandirat.c: New file.
12733 * sysdeps/wordsize-64/scandirat64.c: New file.
12734 * dirent/opendir.c: Define opendirat.
12735 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
12736 using scandirat.
12737 * dirent/scandir64.c: Adjust for scandir.c change.
12738 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
12739 __scandirat64, and __scandir_cancel_handler.
12740 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
12741 additional parameter and use openat instead of open (outside of ld.so).
12742 Add new __opendir as wrapper around __opendirat.
12743 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
12744 here without requiring old scandirat implementation.
12745
879165f2
UD
127462011-08-08 Ulrich Drepper <drepper@gmail.com>
12747
12748 * dirent/scandir.c (cancel_handler): Renamed to
12749 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
12750 defined. Adjust users.
12751 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
12752 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
12753
cb7e923b
UD
127542011-08-04 Ulrich Drepper <drepper@gmail.com>
12755
16292edd
UD
12756 * string/test-string.h (IMPL): Use __STRING to expand name and then
12757 stringify it.
12758
cb7e923b
UD
12759 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
12760 of cleanups.
12761
cff82933
LD
127622011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12763
12764 * string/Makefile: Update.
12765 (strop-tests): Append strncat.
12766 * string/test-wcscmp.c: New file.
12767 New comprehensive test for wcscmp.
12768 * string/test-strcmp.c: Update.
12769 (WIDE): New define.
12770
9be9bfcc
AS
127712011-07-22 Andreas Schwab <schwab@redhat.com>
12772
12773 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
12774 line.
12775
2e96f1c7
AS
127762011-07-26 Andreas Schwab <schwab@redhat.com>
12777
12778 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
12779 encoding to ACE if AI_IDN.
12780
85188888
JJ
127812011-08-01 Jakub Jelinek <jakub@redhat.com>
12782
12783 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
12784 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
12785
5fa16e9b
LD
127862011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
12787
12788 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
12789 Fix overflow bug in strncat.
12790 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
12791
12792 * string/test-strncat.c: Update.
12793 Add new tests for checking overflow bugs.
12794
127952011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
12796
12797 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
12798 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
12799 * sysdeps/i386/i686/multiarch/strcat.S: New file.
12800 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
12801 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
12802 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
12803 * sysdeps/i386/i686/multiarch/strncat.S: New file.
12804 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
12805 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
12806
12807 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
12808 (USE_AS_STRCAT): Define.
12809 Add strcat and strncat support.
12810 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
12811
8c1a459f
AS
128122011-07-25 Andreas Schwab <schwab@redhat.com>
12813
12814 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
12815 __n bigger than INT_MAX+1.
12816 (__strncmp_g): Likewise.
12817
bba33c28
UD
128182011-07-23 Ulrich Drepper <drepper@gmail.com>
12819
798be72d
UD
12820 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
12821 * libio/stido.h: Likewise.
12822
8accd4dc
UD
12823 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
12824 (AF_NFC): Define.
12825 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
12826 (AF_NFC): Define.
12827
cbff0d96
UD
12828 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
12829 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
12830 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
12831 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
12832 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
12833
9191c04a
UD
12834 [BZ #13021]
12835 * scripts/test-installation.pl: Don't expect libnss_test1 to be
12836 installed.
12837
bba33c28
UD
12838 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
12839 typo.
12840 (_dl_x86_64_save_sse): Likewise.
12841
90f139dd
UD
128422011-07-22 Ulrich Drepper <drepper@gmail.com>
12843
1aae088a
UD
12844 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
12845 OSXSAVE.
12846 (_dl_x86_64_save_sse): Likewise.
12847
8e2045f5
UD
12848 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
12849
90f139dd
UD
12850 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
12851
1d002f25
AS
128522011-07-21 Andreas Schwab <schwab@redhat.com>
12853
12854 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
12855 change.
12856 (_dl_x86_64_save_sse): Use correct AVX check.
12857
21137f89
UD
128582011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12859
12860 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
12861 bug in strncpy/strncat.
12862 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
12863
a65c0b7a
UD
128642011-07-21 Ulrich Drepper <drepper@gmail.com>
12865
12866 * string/tester.c (test_strcat): Add tests for different alignments
12867 of source and destination.
12868 (test_strncat): Likewise.
12869
6986b98a
UD
128702011-07-20 Ulrich Drepper <drepper@gmail.com>
12871
90bb2039
UD
12872 [BZ #12852]
12873 * posix/glob.c (glob): Check passed in values before using them in
12874 expressions to avoid some overflows.
12875 (glob_in_dir): Likewise.
12876
5644ef54
UD
12877 [BZ #13007]
12878 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
12879 check for AVX enablement so that we don't crash with old kernels and
12880 new hardware.
12881 * elf/tst-audit4.c: Add same checks here.
12882 * elf/tst-audit6.c: Likewise.
12883
12884 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 12885
bfc9dc9b
AS
128862011-07-09 Andreas Schwab <schwab@linux-m68k.org>
12887
12888 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
12889
702e64bb
UD
128902011-07-20 Ulrich Drepper <drepper@gmail.com>
12891
12892 * po/cs.po: Update from translation team.
12893 * po/bg.po: Likewise.
12894
295e904f
MP
128952011-07-12 Marek Polacek <mpolacek@redhat.com>
12896
12897 * misc/sys/cdefs.h: Add support for const attribute.
12898 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
12899 to gnu_dev_{major,minor,makedev} functions.
12900
3ff94596
MP
129012011-07-20 Marek Polacek <mpolacek@redhat.com>
12902
12903 * intl/dcigettext.c (get_output_charset): Add missing bracket.
12904
28b59fca
AS
129052011-07-20 Andreas Schwab <schwab@redhat.com>
12906
12907 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
12908 strlen results.
12909
19df733e
AK
129102011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12911
12912 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
12913 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
12914 register in order to avoid conflicts with the soft frame pointer
12915 being held in r11 when necessary.
12916 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
12917 (INTERNAL_VSYSCALL_NCS): Likewise.
12918
c8835729
MP
129192011-07-14 Marek Polacek <mpolacek@redhat.com>
12920
12921 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
12922 * elf/dl-fini.c (_dl_fini): Adjust caller.
12923 * elf/dl-close.c (_dl_close_worker): Likewise.
12924 * sysdeps/generic/ldsodefs.h: Adjust declaration.
12925
b902330c
MP
129262011-07-15 Marek Polacek <mpolacek@redhat.com>
12927
8991e135
MP
12928 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
12929 "aux_cache->nlibs < 0".
12930
b902330c
MP
12931 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
12932 in the reload-count case.
12933
99710781
LD
129342011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
12935
12936 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
12937 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
12938 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
12939 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
12940 * sysdeps/x86_64/multiarch/strcat.S: New file.
12941 * sysdeps/x86_64/multiarch/strncat.S: New file.
12942 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
12943 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
12944 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
12945 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
12946 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
12947 (USE_AS_STRCAT): Define.
12948 Add strcat and strncat support.
12949 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
12950 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
12951 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
12952 * string/strncat.c: Update.
12953 (USE_AS_STRNCAT): Define.
12954 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
12955 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
12956 and i7.
12957 * sysdeps/x86_64/multiarch/init-arch.h
12958 (bit_Prefer_PMINUB_for_stringop): New.
12959 (index_Prefer_PMINUB_for_stringop): Likewise.
12960 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
12961 bit_Prefer_PMINUB_for_stringop.
12962
7dc6bd90
UD
129632011-07-19 Ulrich Drepper <drepper@gmail.com>
12964
12965 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
12966 buffer64.
12967 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
12968 of casting of buffer.
12969 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
12970 buffer32 and buffer64.
12971 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
12972 writes instead of casting of buffer.
12973 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
12974 buffer32.
12975 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
12976 casting of buffer.
12977
e0e72284
AS
129782011-07-19 Andreas Schwab <schwab@redhat.com>
12979
12980 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
12981
feb1eb0b
UD
129822011-07-19 Ulrich Drepper <drepper@gmail.com>
12983
12984 * nscd/nscd.c (termination_handler): Don't do anything for a database
12985 if it has not yet been initialized.
12986
298711ff
UD
129872011-07-18 Ulrich Drepper <drepper@gmail.com>
12988
12989 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
12990
129912011-07-15 Marek Polacek <mpolacek@redhat.com>
12992
12993 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
12994
f9d68389
UD
129952011-07-18 Ulrich Drepper <drepper@gmail.com>
12996
12997 * po/nl.po: Update from translation team.
12998 * po/sv.po: Likewise.
12999
db290cf5
RM
130002011-07-16 Roland McGrath <roland@hack.frob.com>
13001
13002 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
13003 now disallowed by GCC.
5c550700 13004
fd5e21c7
RM
13005 * configure.in (use-default-link): Default to yes if a test -shared
13006 link meets our qualifications.
13007 * configure: Regenerated.
13008
5c550700
RM
13009 * config.make.in (output-format): New variable.
13010 * configure.in: Check for ld --print-output-format support.
13011 * configure: Regenerated.
13012 * Makerules ($(common-objpfx)format.lds)
13013 [$(output-format) != unknown]: Just use $(output-format),
13014 instead of the linker-script munging.
13015
9fa2c032
RM
130162011-07-14 Roland McGrath <roland@hack.frob.com>
13017
a6928d51
RM
13018 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
13019 of $(common-objpfx)shlib.lds.
13020 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
13021
661607b3
RM
13022 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
13023 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
13024
9fa2c032
RM
13025 * configure.in (-z relro check): Adjust test code to add a large
13026 writable data section after it.
13027 * configure: Regenerated.
13028
defe9061
RM
130292011-07-11 Roland McGrath <roland@hack.frob.com>
13030
13031 * configure.in (-z relro check): Fix test code to make the variable
13032 truly const.
13033 * configure: Regenerated.
13034
319b9ad4
UD
130352011-07-11 Ulrich Drepper <drepper@gmail.com>
13036
13037 * nscd/nscd.h (struct traced_file): Define.
13038 (struct database_dyn): Remove inotify_descr, reset_res, and filename
13039 elements. Add traced_files.
13040 (inotify_fd): Declare.
13041 (register_traced_file): Declare.
13042 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
13043 (inotify_fd): Export.
13044 (resolv_conf_descr): Remove.
13045 (nscd_init): Move inotify descriptor creation to main.
13046 Don't register files for notification here.
13047 (register_traced_file): New function.
13048 (invalidate_cache): Don't use reset_res to determine whether to call
13049 res_init, go through the list of registered files.
13050 (main_loop_poll): The inotify descriptors are now stored in the
13051 structures for the traced files.
13052 (main_loop_epoll): Likewise
13053 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
13054 to __nss_disable_nscd.
13055 * nscd/cache.c (prune_cache): There is no single inotify descriptor
13056 for a database anymore. Check the records for all the registered
13057 files instead.
13058 * nss/Makefile (libnss_files-routines): Add files-init.
13059 (libnss_db-routines): Add db-init.
13060 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
13061 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
13062 * nss/nss_db/db-init.c: New file.
13063 * nss/nss_files/files-init.c: New file.
13064 * nss/nsswitch.c (nss_load_library): New function. Broken out of
13065 __nss_lookup_function.
13066 (__nss_lookup_function): Call nss_load_library.
13067 (nss_load_all_libraries): New function.
13068 (__nss_disable_nscd): Take parameter with callback function for files
13069 to register. Set is_nscd. Load all the DSOs for the NSS modules
13070 used for the cached services.
13071 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
13072 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
13073 options for features to all the files in nscd.
13074
13075 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
13076
23bee3e8
RM
130772011-07-10 Roland McGrath <roland@hack.frob.com>
13078
13079 * csu/elf-init.c (__libc_csu_init): Comment typo.
13080
46a5b7f0
UD
130812011-07-09 Ulrich Drepper <drepper@gmail.com>
13082
13083 * po/pl.po: Update from translation team.
13084 * po/ja.po: Likewise.
13085 * po/ru.po: Likewise.
13086 * po/ko.po: Likewise.
13087 * po/fr.po: Likewise.
13088
d30cf5bb
RM
130892011-07-09 Roland McGrath <roland@hack.frob.com>
13090
113ddea4
RM
13091 * configure.in (.ctors/.dtors header and trailer check):
13092 Use an empirical test on a built program.
13093 * configure: Regenerated.
13094
574920b4
RM
13095 * configure.in (-z relro check): Use an empirical test on a built DSO.
13096 Detect, but do not require, on ia64.
13097 * configure: Regenerated.
13098
d30cf5bb
RM
13099 * configure.in (READELF): Find it with AC_CHECK_TOOL.
13100 Update tests that use readelf to use $READELF instead.
13101 * configure: Regenerated.
13102
8538fdb3
UD
131032011-07-08 Ulrich Drepper <drepper@gmail.com>
13104
13105 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
13106 if the result is not used.
13107
04d08991
AJ
131082011-07-05 Andreas Jaeger <aj@suse.de>
13109
13110 [BZ#9696]
13111 * stdlib/tst-strtod.c: Add testcase.
13112
de283087
AD
131132011-07-07 Ulrich Drepper <drepper@gmail.com>
13114
4e5f31c8 13115 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 13116 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
13117 The latter has a higher limit. Take additional parameter to pass to
13118 the new function.
13119 (__pathconf): Pass file to __statfs_link_max.
13120 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
13121 __statfs_link_max.
13122 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
13123 __statfs_link_max.
13124
de283087
AD
13125 [BZ #12868]
13126 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
13127 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
13128 Handle Lustre.
13129 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
13130 (__statfs_filesize_max): Likewise.
13131 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
13132
c75fa153
AJ
131332011-07-05 Andreas Jaeger <aj@suse.de>
13134
13135 * resolv/res_comp.c (dn_skipname): Remove unused variable.
13136
1a544854
UD
131372011-07-06 Marek Polacek <mpolacek@redhat.com>
13138
13139 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
13140 `status' variable.
13141 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
13142 Likewise.
13143
6f0eec67
UD
131442011-07-04 H.J. Lu <hongjiu.lu@intel.com>
13145
13146 * Makefile (strop-tests): Add strncat.
13147 * string/test-strncat.c: New file.
13148
aae30307
UD
131492011-06-30 Marek Polacek <mpolacek@redhat.com>
13150
13151 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
13152
c0cfb5eb
UD
131532011-06-21 Andreas Jaeger <aj@suse.de>
13154
13155 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
13156 Copy rule from iconvdata/Makefile.
13157
01636b21
UD
131582011-07-06 Ulrich Drepper <drepper@gmail.com>
13159
13160 [BZ #12922]
13161 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
13162 but no long options are defined, just return 'W'.
13163
9895c8bc
UD
131642011-06-22 Marek Polacek <mpolacek@redhat.com>
13165
13166 [BZ #9696]
13167 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
13168
5d4cf042
UD
131692011-07-06 Ulrich Drepper <drepper@gmail.com>
13170
13171 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
13172 netgroups to read.
960e5535 13173 (innetgr): Likewise.
5d4cf042 13174
751eb97e
RM
131752011-07-05 Roland McGrath <roland@hack.frob.com>
13176
13177 * config.make.in (install_root): Default to $(DESTDIR).
13178
f15f1e45
UD
131792011-07-05 Ulrich Drepper <drepper@gmail.com>
13180
13181 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
13182
4e34ac6a
RM
131832011-07-02 Roland McGrath <roland@hack.frob.com>
13184
5e9b6af4
RM
13185 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
13186
84f9ea0f
RM
13187 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
13188 containing directory rather than embedding absolute directory names.
13189
ea5ee9f7
RM
13190 * scripts/check-local-headers.sh: Rewritten using awk.
13191 Match by word, not by line. Print error messages for matches.
13192 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
13193
1b74661a
RM
13194 * Makerules [shlib-lds-flags empty]:
13195 ($(common-objpfx)libc_pic.opts): New target.
13196 ($(common-objpfx)libc_pic.os.clean): New target.
13197 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
13198
13199 * config.make.in (OBJCOPY): New variable.
13200 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
13201 * configure: Regenerated.
13202
f781ef40
RM
13203 * config.make.in (use-default-link): New variable.
13204 * configure.in (use_default_link): Grok --with-default-link to set it.
13205 * configure: Regenerated.
13206 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
13207 (shlib-lds, shlib-lds-flags): Define to empty.
13208
2d4fa81e
RM
13209 * Makerules (shlib-lds): New variable.
13210 (shlib-lds-flags): New variable.
13211 (build-shlib, build-moduile, build-module-asneeded): Use it.
13212 ($(common-objpfx)libc.so): Use $(shlib-lds).
13213 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
13214 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
13215
31fffa6b
RM
13216 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
13217 DT_FLAGS/DT_FLAGS_1 with zero flags.
13218
4e34ac6a
RM
13219 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
13220 linker script munging.
13221
fcfc776b
UD
132222011-07-02 Ulrich Drepper <drepper@gmail.com>
13223
13224 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
13225 as 128-bit value.
13226 * crypt/sha512.c (sha512_process_block): Perform total addition using
13227 128-bit if possible.
13228 (__sha512_finish_ctx): Likewise.
13229 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
13230 as 64-bit value.
13231 * crypt/sha256.c (SWAP64): Define.
13232 (sha256_process_block): Perform total addition using 64-bit if
13233 possible.
13234 (__sha256_finish_ctx): Likewise.
13235
99231d9a
UD
132362011-07-01 Ulrich Drepper <drepper@gmail.com>
13237
13238 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
13239 * nscd/initgrcache.c (addinitgroupsX): Likewise.
13240 * nscd/hstcache.c (cache_addhst): Likewise.
13241 * nscd/grpcache.c (cache_addgr): Likewise.
13242 * nscd/aicache.c (addhstaiX): Likewise
13243 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
13244
445b4a53
TK
132452011-07-01 Thorsten Kukuk <kukuk@suse.de>
13246
13247 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
13248 * nscd/initgrcache.c (addinitgroupsX): Likewise.
13249 * nscd/hstcache.c (cache_addhst): Likewise.
13250 * nscd/grpcache.c (cache_addgr): Likewise.
13251 * nscd/aicache.c (addhstaiX): Likewise
13252
6d4d8e8e
AS
132532011-07-01 Andreas Schwab <schwab@redhat.com>
13254
13255 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
13256 domain only when needed.
13257
89f654c5
AS
132582011-06-30 Andreas Schwab <schwab@redhat.com>
13259
13260 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
13261 is always restored.
13262
cf3b23ff
UD
132632011-06-29 Ulrich Drepper <drepper@gmail.com>
13264
13265 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
13266 are re-adding the entry.
13267 * nscd/servicescache.c (cache_addserv): Likewise.
13268
751626f9
AJ
132692011-06-30 Aurelien Jarno <aurelien@aurel32.net>
13270
13271 * sysdeps/generic/dl-irel.h: fix protection against multiple
13272 inclusions.
13273 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
13274
9113ea1f
UD
132752011-06-28 Ulrich Drepper <drepper@gmail.com>
13276
5c0b8d90
UD
13277 [BZ #12935]
13278 * malloc/memusage.sh: Fix quoting in message.
13279 * debug/xtrace.sh: Likewise.
13280
9113ea1f
UD
13281 * configure.in: Remove support for --experimental-malloc option, make
13282 it the default.
13283 * config.make.in: Likewise.
13284 * malloc/Makefile: Likewise.
13285
a4172181
AS
132862011-06-27 Andreas Schwab <schwab@redhat.com>
13287
13288 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
13289 two-byte characters.
13290
78a7eee7
RM
132912011-06-27 Roland McGrath <roland@hack.frob.com>
13292
62bede13
RM
13293 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
13294 AC_CACHE_CHECK invocation.
13295 * configure: Regenerated.
13296
78a7eee7
RM
13297 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
13298
5ce33a62
UD
132992011-06-27 Ulrich Drepper <drepper@gmail.com>
13300
034807a9
UD
13301 [BZ #12350]
13302 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
13303 bit from old_res_options.
13304
4902da17
UD
13305 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
13306
5ce33a62
UD
13307 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
13308 value type for setfct.
13309
c2344f56
L
133102011-06-23 H.J. Lu <hongjiu.lu@intel.com>
13311
13312 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
13313 __gettimeofday instead of gettimeofday.
13314
68468076
UD
133152011-06-26 Ulrich Drepper <drepper@gmail.com>
13316
13317 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
13318
acb0d739
L
133192011-06-24 H.J. Lu <hongjiu.lu@intel.com>
13320
13321 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
13322
13323 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
13324 info.
13325
8912479f
L
133262011-06-22 H.J. Lu <hongjiu.lu@intel.com>
13327
13328 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
13329 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
13330 strcpy-sse2-unaligned strncpy-sse2-unaligned
13331 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
13332 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
13333 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
13334 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
13335 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
13336 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
13337 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
13338 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
13339 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
13340 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
13341 (STRCPY): Support SSE2 and SSSE3 versions.
13342
d5495a11
UD
133432011-06-24 Ulrich Drepper <drepper@gmail.com>
13344
13345 [BZ #12874]
13346 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
13347 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
13348 kernels which artificially limit size of requests.
13349
0b1cbaae
L
133502011-06-22 H.J. Lu <hongjiu.lu@intel.com>
13351
13352 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
13353 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
13354 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
13355 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
13356 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
13357 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
13358 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
13359 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
13360 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
13361 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
13362 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
13363 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
13364 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
13365 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
13366 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
13367 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
13368 Enable unaligned load optimization for Intel Core i3, i5 and i7
13369 processors.
13370 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
13371 Define.
13372 (index_Fast_Unaligned_Load): Define.
13373 (HAS_FAST_UNALIGNED_LOAD): Define.
13374
07f494a0
MP
133752011-06-23 Marek Polacek <mpolacek@redhat.com>
13376
13377 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
13378
fa3fc0fe
UD
133792011-06-22 Ulrich Drepper <drepper@gmail.com>
13380
13381 [BZ #12907]
13382 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
13383 until it is clear that the information is realy needed.
13384 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
13385
e12df166
AS
133862011-06-22 Andreas Schwab <schwab@redhat.com>
13387
13388 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
13389
852eb34d
UD
133902011-06-22 Ulrich Drepper <drepper@gmail.com>
13391
84e2a551
UD
13392 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
13393 /sys/devices/system/cpu/online if it is usable.
13394
852eb34d
UD
13395 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
13396 reading the information from the /proc filesystem to once a second.
13397
6e502e19
UD
133982011-06-21 Andreas Jaeger <aj@suse.de>
13399
13400 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
13401 NULL after inclusion of kernel headers.
13402
75d39ff2
UD
134032011-06-21 Ulrich Drepper <drepper@gmail.com>
13404
51f9aa6a
UD
13405 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
13406 calls to internal_setent.
13407
c0244a9d
UD
13408 [BZ #12885]
13409 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
13410 addresses using gethostbyname4_r ignore IPv4 addresses.
13411
c5e3c2ae
UD
13412 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
13413 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
13414
75d39ff2
UD
13415 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
13416
42675c6f
DM
134172011-06-20 David S. Miller <davem@davemloft.net>
13418
13419 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
13420 inclusions.
13421 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
13422
13423 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
13424 (elf_irel): Use it.
13425 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
13426 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
13427 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
13428 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
13429 * sysdeps/x86_64/dl-irel.h: Likewise.
13430
13431 * elf/dl-runtime.c: Use elf_ifunc_invoke.
13432 * elf/dl-sym.c: Likewise.
13433
57912a71
UD
134342011-06-15 Ulrich Drepper <drepper@gmail.com>
13435
13436 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
13437 need to dereference resplen2.
13438
ee22793d
AS
134392011-06-14 Andreas Schwab <schwab@redhat.com>
13440
13441 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
13442
a9e836b0
UD
134432011-06-15 Ulrich Drepper <drepper@gmail.com>
13444
77fb9117
UD
13445 * Makeconfig: Define vardbdir and inst_vardbdir.
13446 * nss/Makefile: Add rules to install db-Makefile.
13447
40c1b22c
UD
13448 * nss/nss_db/db-XXX.c: Cleanup.
13449
9f2da732
UD
13450 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
13451 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
13452 GLIBC_PRIVATE.
13453 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
13454 * nss/makedb.c: Implement -g option to specify that value strings
13455 are generated and should not be added to table iterated over for
13456 get*ent calls.
13457 * nss/nss_db/db-initgroups.c: New file.
13458
82e9a1f7
UD
13459 * nss/getent.c: Add support for initgroups lookups through getgrouplist
13460 interface.
13461
c41af17e
UD
13462 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
13463 (internal_getgrouplist): Adjust to name change.
13464 Update use_initgroups_entry if this is not the first call.
13465 * nss/databases.def: Add initgroups entry.
13466
a9e836b0
UD
13467 * nss/makedb.c (compute_tables): Check result of multiple hash table
13468 sizes to minimize maximum chain length.
13469
2666d441
UD
134702011-06-14 Ulrich Drepper <drepper@gmail.com>
13471
13472 * Versions.def: Add entry for libnss_db.
13473 * shlib-versions: Likewise.
13474 * nss/Makefile: Add rules to build libnss_db.
13475 * nss/Versions: Add libnss_db information. Organize libnss_files
13476 entries better.
13477 * nss/db-Makefile: Add gshadow support. Change rules for the new
13478 makedb progra. Some minor improvements to generate smaller files.
13479 * nss/nss_db/nss_db.h: Move NSS database header data structures to
13480 here from...
13481 * nss/makedb.c: ...here.
13482 Improve database format to be smaller and require less memory at
13483 runtime.
13484 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
13485 db anymore.
13486 * nss/nss_db/db-netgrp.c: Likewise.
13487 * nss/nss_db/db-open.c: Likewise.
13488 * nss/nss_files/flies-XXX.x: Adjust comments.
13489 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
13490 * nss/nss_files/files-grp.c: Likewise.
13491 * nss/nss_files/files-hosts.c: Likewise.
13492 * nss/nss_files/files-network.c: Likewise.
13493 * nss/nss_files/files-proto.c: Likewise.
13494 * nss/nss_files/files-pwd.c: Likewise.
13495 * nss/nss_files/files-rpc.c: Likewise.
13496 * nss/nss_files/files-service.c: Likewise.
13497 * nss/nss_files/files-sgrp.c: Likewise.
13498 * nss/nss_files/files-spwd.c: Likewise.
13499 * nss/nss_db/db-alias.c: Removed.
13500 * nss/nss_db/dummy-db.h: Removed.
13501
9ee76b5a
UD
135022011-06-02 Ulrich Drepper <drepper@gmail.com>
13503
13504 * nss/makedb.c: Rewritten to not use database library.
13505 * nss/Makefile: Update to build new makedb program.
13506
c71ca1f8
AJ
135072011-06-14 Andreas Jaeger <aj@suse.de>
13508
13509 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
13510 memset declaration.
13511
3154bfb8
UD
135122011-06-10 Andreas Schwab <schwab@redhat.com>
13513
13514 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
13515 tmpbuf.
13516
b350afab
RM
135172011-06-10 Roland McGrath <roland@hack.frob.com>
13518
decd4e50
RM
13519 * Makerules (shlib.lds): Fail if the linker script comes out empty.
13520 * elf/Makefile ($(objpfx)ld.so): Likewise.
13521
5615eaf2
RM
13522 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
13523 Don't list ld.so twice in dependencies.
13524
13525 * posix/bug-regex31.c: Include <stdlib.h>.
13526
13527 * nscd/hstcache.c (cache_addhst): Remove unused variable.
13528
13529 * nis/nss_compat/compat-spwd.c
13530 (getspent_next_nss_netgr): Remove unused variable.
13531 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
13532
13533 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
13534 nonmembers" output to use the right array.
13535
13536 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
13537
13538 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
13539
13540 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
13541 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
13542 * catgets/gencat.c (read_input_file): Likewise.
13543 * locale/programs/locarchive.c (enlarge_archive): Likewise.
13544
13545 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
13546 variable definition inside #if's controlling its use.
13547
13548 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
13549
13550 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
13551
13552 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
13553
13554 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
13555 unreachable code.
13556
13557 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
13558
b68e08db
RM
13559 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
13560 * configure: Regenerated.
13561
b350afab
RM
13562 * Makerules: Revert last change.
13563 * elf/Makefile: Likewise.
13564
28368601
RM
135652011-06-09 Roland McGrath <roland@hack.frob.com>
13566
13567 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
13568 * elf/Makefile ($(objpfx)librtld.os): Likewise.
13569 (reloc-link): Likewise.
13570
11988f8f
UD
135712011-06-09 Ulrich Drepper <drepper@gmail.com>
13572
13573 * elf/Makefile: Add rules to build pldd.
13574 * elf/pldd.c: New file.
13575 * elf/pldd-xx.c: New file.
13576
e80fab37
UD
135772011-06-07 Ulrich Drepper <drepper@gmail.com>
13578
13579 * version.h: Update for 2.15 development version.
13580
9b849836
DM
135812011-06-07 David S. Miller <davem@davemloft.net>
13582
13583 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
13584 ifuncs.
13585 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
13586 elf_machine_lazy_rel): Likewise.
13587 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
13588 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
13589 elf_machine_lazy_rel): Likewise.
13590 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
13591 dl_hwcap via passed in argument.
13592 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
13593 Likewise.
13594
5a31b283
AK
135952011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13596
13597 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
13598
069e52f8
RM
135992011-06-06 Roland McGrath <roland@hack.frob.com>
13600
13601 [BZ #12849]
13602 * manual/fdl-1.1.texi: New file, verbatim from:
13603 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
13604 * manual/lgpl-2.1.texi: New file, verbatim from:
13605 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
13606 * manual/Makefile (licenses): New variable, list those new file names.
13607 (texis): Use it.
13608 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
13609
13610 * manual/fdl.texi: File removed.
13611 * manual/lesser.texi: File removed.
13612 * manual/libc.texinfo (Copying, Documentation License):
13613 Use new @include file names, put @appendix directive before @include.
13614
f16846a5
JJ
136152011-06-04 Jakub Jelinek <jakub@redhat.com>
13616
13617 [BZ #12841]
13618 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
13619 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
13620 (mq_open): Add __NTH.
13621
3d29045b
L
136222011-06-02 H.J. Lu <hongjiu.lu@intel.com>
13623
13624 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
13625 Assume Intel Core i3/i5/i7 processor if AVX is available.
13626
8c297311
UD
136272011-05-31 Ulrich Drepper <drepper@gmail.com>
13628
13629 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
13630 typo.
13631
c8fc0c91
UD
136322011-05-31 Andreas Schwab <schwab@redhat.com>
13633
13634 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
13635 memory. Use alloca_account. Fix memory leak when retrying.
13636
5b27a807
UD
136372011-05-31 Ulrich Drepper <drepper@gmail.com>
13638
356f8bc6
UD
13639 * version.h (RELEASE): Bump for 2.14 release.
13640 * include/features.h (__GLIBC_MINOR__): Bump to 14.
13641
5b27a807
UD
13642 * config.make.in (RANLIB): Remove entry.
13643
01f16ab0
UD
136442011-05-30 Ulrich Drepper <drepper@gmail.com>
13645
41fce8bd
UD
13646 * po/Makefile (po-sed-cmd): Add ksh to extensions.
13647 (libc.pot): Work around missing support for .ksh extension in xgettext.
13648
4769ae77
UD
13649 [BZ #12684]
13650 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
13651 if both request failed.
13652 (send_dg): In case of server errors clear resplen or *resplen2.
13653
6b1e7d19
UD
13654 [BZ #12454]
13655 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
13656 when there are multiple maps.
13657 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
13658 (_dl_fini): Remove test here.
13659
01f16ab0
UD
13660 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
13661
b1ebd700
UD
136622011-05-29 Ulrich Drepper <drepper@gmail.com>
13663
7ae22829
UD
13664 [BZ #12350]
13665 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
13666 bit from old_res_options.
13667 (gaih_inet): Likewise.
13668
553149f6 13669 [BZ #11099]
18a84741 13670 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
13671 as signed.
13672
652ffab1
UD
13673 * resolv/res_init.c (res_setoptions): Make the code more compact.
13674
16985fd0
UD
13675 [BZ #11558]
13676 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
13677 set RES_USEVC.
13678
0464f746
UD
13679 [BZ #11634]
13680 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
13681
7d17596c
UD
13682 * malloc/malloc.h: Mark malloc hook variables as deprecated.
13683
cf6bbbd7
UD
13684 [BZ #11781]
13685 * malloc/malloc.h: Declare malloc hook variables as volatile.
13686
13f1ab36
UD
13687 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
13688 in last patch.
13689
b1ebd700
UD
13690 [BZ #11799]
13691 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 13692 raise in the comment.
80e2212d
UD
13693 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
13694 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
13695 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 13696
ce67228d
UD
136972011-05-28 Ulrich Drepper <drepper@gmail.com>
13698
8887a920
UD
13699 [BZ #12811]
13700 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
13701 grow the buffers more if it already has to be sufficient.
13702 (build_wcs_upper_buffer): Likewise.
13703 * posix/regexec.c (check_matching): Likewise.
13704 (clean_state_log_if_needed): Likewise.
13705 (extend_buffers): Don't enlarge buffers beyond size of the input
13706 buffer.
13707 Patches mostly by Emil Wojak <emil@wojak.eu>.
13708 * posix/bug-regex32.c: New file.
13709 * posix/Makefile (tests): Add bug-regex32.
13710
4f031072
UD
13711 * locale/findlocale.c (_nl_find_locale): Return right away if
13712 _nl_explode_name failed.
13713 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
13714
d0478f0c
UD
13715 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
13716
de81b246
UD
13717 * debug/xtrace.sh: Unify messages.
13718 * malloc/memusage.sh: Likewise.
13719
c738465a
UD
13720 [BZ #12813]
13721 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
13722 time symbol from vDSO. Substitute with vsyscall if not available.
13723 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
13724 __vdso_time.
13725
f1f929d7
UD
13726 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
13727 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
13728 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
13729 Add sendmmsg and internal_sendmmsg.
13730 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
13731 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
13732 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
13733
ce67228d
UD
13734 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
13735 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
13736 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
13737
e57420c6
UD
137382011-05-27 Ulrich Drepper <drepper@gmail.com>
13739
a8509ca5
UD
13740 [BZ #12813]
13741 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
13742 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
13743 available.
13744 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
13745 __vdso_getcpu.
13746
e57420c6
UD
13747 [BZ #12814]
13748 * iconvdata/Makefile (tests): Add bug-iconv9.
13749 * iconvdata/bug-iconv9.c: New file.
13750
4d07db15
AS
137512011-05-27 Andreas Schwab <schwab@redhat.com>
13752
13753 [BZ #12814]
13754 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
13755
ea486f69
JJ
137562011-05-25 Jakub Jelinek <jakub@redhat.com>
13757
13758 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
13759 (struct user_regs_struct): Change intcs field back to cs.
13760
6f038433
UD
137612011-05-25 Ulrich Drepper <drepper@gmail.com>
13762
13763 * po/ja.po: Update from translation team.
13764
67f86a25
UD
137652011-05-23 Ulrich Drepper <drepper@gmail.com>
13766
13767 [BZ #12795]
13768 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
13769 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
13770
def7fbd6
AS
137712011-05-20 Andreas Schwab <schwab@redhat.com>
13772
13773 * stdlib/longlong.h: Update from GCC.
13774
f50ef8f1
AS
137752011-05-23 Andreas Schwab <schwab@redhat.com>
13776
13777 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
13778 parameter name.
13779 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
13780 Add parameter name.
13781 (__sysconf): Pass it down.
13782
de7ce8f1
UD
137832011-05-22 Ulrich Drepper <drepper@gmail.com>
13784
f2962a71
UD
13785 [BZ #12671]
13786 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
13787 some situations.
13788 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
13789 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
13790 add in in __libc_use_alloca calls. Adjust callers.
13791 (glob): Use malloc in some situations.
13792
de7ce8f1
UD
13793 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
13794 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
13795 pltexit.
13796
aec84f53
UD
137972011-05-21 Ulrich Drepper <drepper@gmail.com>
13798
05bb4a68
UD
13799 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
13800 and CLOCK_BOOTTIME_ALARM.
13801
7ea72f99
UD
13802 [BZ #12782]
13803 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
13804 is returned.
13805
7e4afad5
UD
13806 * string/_strerror.c (__strerror_r): Print negative errors as signed
13807 numbers.
13808
8e211fec
UD
13809 [BZ #12777]
13810 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
13811 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
13812 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
13813
f7d82dc9
UD
13814 * configure.in: Fix typo in redirection and correct removal of test
13815 files in two cases.
13816
cc9e536d
UD
13817 [BZ #12788]
13818 * locale/setlocale.c (new_composite_name): Fix test to check for
13819 identical name of all categories.
13820
aec84f53
UD
13821 [BZ #12792]
13822 * libio/filedoalloc.c (local_isatty): New function.
13823 (_IO_file_doallocate): Use local_isatty.
13824 * stdio-common/perror.c (perror): In case a new stream is used
13825 forward the stream error.
13826 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
13827 error flag.
13828
78e64fdc
RT
138292011-05-20 Ulrich Drepper <drepper@gmail.com>
13830
34a9094f
UD
13831 [BZ #11869]
13832 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
13833 alloca.
13834 * include/alloca.h (extend_alloca_account): Define.
13835
78e64fdc
RT
13836 [BZ #11857]
13837 * posix/regex.h: Fix comments with documentation of user-accessible
13838 fields after compilation and describe correct free'ing of pattern
13839 after re_compile_pattern.
13840 Patch by Reuben Thomas <rrt@sc3d.org>.
13841
457bddfc
RA
138422011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
13843
13844 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
13845 and -mno-altivec to prevent the compiler from using Altivec and/or
13846 VSX instructions when the corresponding registers are not available.
13847
a4527b51
AS
138482011-05-19 Andreas Schwab <schwab@redhat.com>
13849
13850 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
13851
ed690b2f
UD
138522011-05-19 Ulrich Drepper <drepper@gmail.com>
13853
13854 * libio/freopen.c (freopen): Use __dup2, not dup2.
13855 * libio/freopen64.c (freopen64): Likewise.
13856
8db73634
L
138572011-05-17 H.J. Lu <hongjiu.lu@intel.com>
13858
13859 [BZ #12775]
13860 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
13861 * math/Makefile (tests): Add test-powl.
13862 (CFLAGS-test-powl.c): Define.
13863 * math/test-powl.c: New file.
13864
0a197a9d
L
138652011-05-16 H.J. Lu <hongjiu.lu@intel.com>
13866
13867 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
13868
ee30c380
UD
138692011-05-17 Ulrich Drepper <drepper@gmail.com>
13870
13871 [BZ #11837]
13872 * iconvdata/gb18030.c: Update to GB18020-2005.
13873
6ce75379
UD
138742011-05-16 Ulrich Drepper <drepper@gmail.com>
13875
a4b89fd8
AR
13876 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
13877 RE_SYNTAX_POSIX_AWK): Update to match recent development.
13878 Patch by Aharon Robbins <arnold@skeeve.com>.
13879
ea389b12
UD
13880 [BZ #11892]
13881 * stdlib/putenv.c (putenv): Don't always create copy of the variable
13882 on the stack.
13883
68a3f91f
UD
13884 [BZ #11895]
13885 * misc/pselect.c (__pselect): Handle timeout value errors hidden
13886 through underflows.
13887
15cc7dd1
UD
13888 [BZ #12766]
13889 * misc/error.c (error_at_line): Ensure file_name and old_file_name
13890 point to strings before performing equality test for error_one_per_line
13891 mode.
13892
f3799213
UD
13893 [BZ #11697]
13894 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
13895
d79a9c94
UD
13896 [BZ #11820]
13897 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
13898 (struct user_fpregs_struct): Avoid __uint*_t types.
13899
56e5eb46
UD
13900 [BZ #6420]
13901 * malloc/mtrace.c (tr_where): Add additional parameter to point to
13902 symbol info. Use it instead of calling _dl_addr locally.
13903 (lock_and_info): New function.
13904 (tr_freehook): Call lock_and_info and pass symbol info as additional
13905 parameter to tr_where.
13906 (tr_mallochook): Likewise.
13907 (tr_reallochook): Likewise.
13908 (tr_memalignhook): Likewise.
13909
6ce75379
UD
13910 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
13911 used and couldn't be at all thread-safe.
13912
f8a3b5bf
UD
139132011-05-15 Ulrich Drepper <drepper@gmail.com>
13914
94b7cc37
UD
13915 * libio/freopen.c (freopen): Don't close old file descriptor
13916 before the new one is opened. Instead dup the new file descriptor
13917 to the old one after the new stream is created.
13918 * libio/freopen64.c (freopen64): Likewise.
13919 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
13920 * libio/fileops.c (_IO_new_file_close_it): Handle new
13921 _IO_FLAGS2_NOCLOSE flag.
13922 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
13923 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
13924 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
13925 _IO_FLAGS2_NOCLOSE flag.
13926 * include/unistd.h: Add hidden_proto for dup3.
13927 Define __have_dup3.
13928 * io/dup3.c: Define hidden symbol.
13929 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
13930
bd25564e
UD
13931 [BZ #7101]
13932 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
13933 when an incomplete long option is used.
13934 * posix/tst-getopt_long1.c: New file.
13935 * posix/Makefile (tests): Add tst-getopt_long1.
13936
c84cfef4
UD
13937 [BZ #10138]
13938 * scripts/config.guess: Update from autoconf-2.68.
13939 * scripts/config.sub: Likewise.
13940
3b85df27
UD
13941 [BZ #10157]
13942 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
13943 tests into ...
13944 (has_cpuclock): ...this. New function.
13945 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
13946 macro here based on has_cpuclock code.
13947
15a856b1
UD
13948 [BZ #10149]
13949 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
13950 First byte (not low byte) is now always NUL.
13951 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
13952
05f399e6
UD
13953 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
13954 Use non-cancelable interfaces.
13955
10a52685 13956 [BZ #9809]
94ecc67d
UD
13957 * locale/iso-639.def: Add entry for Sorani.
13958
f8a3b5bf
UD
13959 [BZ #11901]
13960 * include/stdlib.h: Move include protection to the right place.
13961 Define abort_msg_s. Declare __abort_msg with it.
13962 * stdlib/abort.c (__abort_msg): Adjust type.
13963 * assert/assert.c (__assert_fail_base): New function. Majority
13964 of code from __assert_fail. Allocate memory for __abort_msg with
13965 mmap.
13966 (__assert_fail): Now call __assert_fail_base.
13967 * assert/assert-perr.c: Remove bulk of implementation. Use
13968 __assert_fail_base.
13969 * include/assert.hL Declare __assert_fail_base.
13970 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
13971 mmap.
13972 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
13973
1af4e298
UD
139742011-05-14 Ulrich Drepper <drepper@gmail.com>
13975
f8a3b5bf 13976 [BZ #11952]
d26dfc60
MG
13977 [BZ #12453]
13978 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
13979 until all modules are registered in the DTV.
13980 * elf/Makefile: Add rules to build and run tst-tls19.
13981 * elf/tst-tls19.c: New file.
13982 * elf/tst-tls19mod1.c: New file.
13983 * elf/tst-tls19mod2.c: New file.
13984 * elf/tst-tls19mod3.c: New file.
13985 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
13986
2fc54d6f
UD
13987 [BZ #12083]
13988 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
13989 correctly.
13990
98d76b46
UD
13991 [BZ #12601]
13992 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
13993 two-byte sequence errors.
13994 * iconvdata/Makefile (tests): Add bug-iconv8.
13995 * iconvdata/bug-iconv8.c: New file.
13996
da3c19ef
UD
13997 [BZ #12626]
13998 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
13999 buf2 definition.
14000
ca408c15
UD
14001 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
14002
d6f67f7d
UD
14003 [BZ #12432]
14004 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
14005 (dummy_getcfa): New function.
14006 (init): Get _Unwind_GetCFA address, use dummy if not found.
14007 (backtrace_helper): In recursion check, also check whether CFA changes.
14008 (__backtrace): Completely initialize arg.
14009
1af4e298 14010 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
14011 storing incomplete byte sequence in state object. Avoid testing for
14012 guaranteed too small input if we know there is enough data available.
1af4e298 14013
da62f81b
AS
140142011-05-11 Andreas Schwab <schwab@redhat.com>
14015
14016 * Makeconfig (+link-pie): Indent.
14017 * Rules (binaries-pie): Define if $(have-fpie) and
14018 $(build-shared).
14019 (binaries-shared): Also filter out $(binaries-pie).
14020 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
14021 * nscd/Makefile (others-pie): Add nscd.
14022 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
14023 ($(objpfx)nscd): Remove command override.
14024 * login/Makefile (others-pie): Add pt_chown.
14025 ($(objpfx)pt_chown): Remove command override.
14026 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
14027 remove command overrides.
14028
fcabc0f8
UD
140292011-05-13 Ulrich Drepper <drepper@gmail.com>
14030
20030ae6
UD
14031 * libio/tst_putwc.c: Fix error messages.
14032
fcabc0f8
UD
14033 [BZ #12724]
14034 * libio/fileops.c (_IO_new_file_close_it): Always flush when
14035 currently writing and seek to current position when not.
14036 * libio/Makefile (tests): Add bug-fclose1.
14037 * libio/bug-fclose1.c: New file.
14038
320a5dc0
PB
140392011-05-12 Ulrich Drepper <drepper@gmail.com>
14040
14041 [BZ #12511]
14042 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
14043 don't set DF_1_NODELETE here.
14044 (do_lookup_x): When entering new entry test for copy relocation
14045 and if necessary set DF_1_NODELETE flag.
14046 * elf/tst-unique4.cc: New file.
14047 * elf/tst-unique4.h: New file.
14048 * elf/tst-unique4lib.cc: New file.
14049 * elf/Makefile: Add rules to build and run tst-unique4.
14050 Patch by Piotr Bury <pbury@goahead.com>.
14051
22836f52
UD
140522011-05-11 Ulrich Drepper <drepper@gmail.com>
14053
f574184a
UD
14054 [BZ #12052]
14055 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
14056
e1fb097f
UD
14057 [BZ #12625]
14058 * misc/mntent_r.c (addmntent): Flush the stream after the output
14059
22836f52
UD
14060 [BZ #12393]
14061 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
14062 (is_trusted_path_normalize): Skip initial colon. Append slash
14063 to empty buffer. Duplicate is_trusted_path code but allow
14064 constructed patch to be prefix.
14065 (is_dst): Allow $ORIGIN followed by /.
14066 (_dl_dst_substitute): Correct clearing of check_for_trusted.
14067 Correct testing of result of is_trusted_path_normalize
14068 (decompose_rpath): Fix warning.
14069
7b3b0b2a
UD
140702011-05-10 Ulrich Drepper <drepper@gmail.com>
14071
14072 [BZ #11257]
14073 * grp/initgroups.c (internal_getgrouplist): When we found the service
14074 list through the initgroups entry in nsswitch.conf do not always
14075 continue on a successful lookup. Don't always use the
eac80ce2 14076 __nss_group_database value if it is set.
7b3b0b2a
UD
14077 * nss/nsswitch.conf (initgroups): Change action for successful db
14078 lookup to continue for compatibility.
14079
2a81eaa5
UD
140802011-05-09 Ulrich Drepper <drepper@gmail.com>
14081
be97a69e
UD
14082 [BZ #11532]
14083 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
14084 and CP774 modules.
14085 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
14086 and CP774 modules.
14087 * iconvdata/tst-tables.sh: Likewise.
14088 * iconvdata/cp770.c: New file.
14089 * iconvdata/cp771.c: New file.
14090 * iconvdata/cp772.c: New file.
14091 * iconvdata/cp773.c: New file.
14092 * iconvdata/cp774.c: New file.
14093 * iconvdata/testdata/CP770: New file.
14094 * iconvdata/testdata/CP770..UTF8: New file.
14095 * iconvdata/testdata/CP771: New file.
14096 * iconvdata/testdata/CP771..UTF8: New file.
14097 * iconvdata/testdata/CP772: New file.
14098 * iconvdata/testdata/CP772..UTF8: New file.
14099 * iconvdata/testdata/CP773: New file.
14100 * iconvdata/testdata/CP773..UTF8: New file.
14101 * iconvdata/testdata/CP774: New file.
14102 * iconvdata/testdata/CP774..UTF8: New file.
14103
14104 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
14105 END CHARMAP line.
14106 * iconvdata/gen-8bit-gap.sh: Likewise.
14107 * iconvdata/gen-8bit.sh: Likewise.
14108
c1e9e399
UD
14109 * locale/iso-639.def: Add ary entry.
14110
24c55fb3 14111 [BZ #11258]
96b4b1b0
UD
14112 * locale/C-translit.h.in: Add U20A1 transliteration.
14113
bdc2f971
KB
14114 [BZ #12178]
14115 * locale/iso-639.def: Add wae entry.
14116 Patch by Kevin Bortis <bortis@translate-wae.ch>.
14117
2952b117
UD
14118 [BZ #12545]
14119 * locale/programs/localedef.c (construct_output_path): Use ssize_t
14120 for n.
14121
2a81eaa5
UD
14122 [BZ #12711]
14123 * locale/C-translit.h.in: Add entry for U20B9.
14124 Patch by pravin.d.s@gmail.com.
14125
28377d1b
UD
141262011-05-08 Ulrich Drepper <drepper@gmail.com>
14127
7fb90fb8
UD
14128 [BZ #12713]
14129 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
14130 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
14131 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
14132 in rtld. Use *stat64.
7fb90fb8 14133 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 14134 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 14135 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
14136 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
14137 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
14138 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
14139 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
14140 __fstatat64 macros.
7fb90fb8
UD
14141 * include/dirent.h: Add libc_hidden_proto for rewinddir.
14142 * dirent/rewinddir.c: Add libc_hidden_def.
14143 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 14144 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 14145
28377d1b
UD
14146 * include/dirent.h (__alloc_dir): Add flags parameter.
14147 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
14148 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
14149 __alloc_dir.
14150 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
14151 from fdopendir if O_CLOEXEC is already set.
14152
66bdbaa4
AM
141532011-03-15 Alan Modra <amodra@gmail.com>
14154
14155 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
14156 l_tls_firstbyte_offset non-zero. Save padding offset in
14157 l_tls_firstbyte_offset for later use.
14158 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
14159 freeing static tls block.
14160
95721191
JN
141612011-03-05 Jonathan Nieder <jrnieder@gmail.com>
14162
14163 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
14164 where #ifdef was intended. The intent is to prevent ARG_MAX from
14165 being defined by the kernel headers.
14166
f87dfb1f
UD
141672011-05-07 Ulrich Drepper <drepper@gmail.com>
14168
14169 [BZ #12734]
14170 * resolv/resolv.h: Define RES_NOTLDQUERY.
14171 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
14172 no-tld-query and set RES_NOTLDQUERY.
14173 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
14174 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
14175 modern BIND to search name as TLD unless forbidden.
14176
47c3cd7a
UD
141772011-05-07 Petr Baudis <pasky@suse.cz>
14178 Ulrich Drepper <drepper@gmail.com>
14179
14180 [BZ #12393]
14181 * elf/dl-load.c (fillin_rpath): Move trusted path check...
14182 (is_trusted_path): ...to here.
c1e9ea35 14183 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 14184 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 14185 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 14186
8a35c912
PP
141872011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
14188
14189 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
14190 __BEGIN/__END_DECLS.
14191
acd41f47
UD
141922011-05-06 Ulrich Drepper <drepper@gmail.com>
14193
14194 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
14195 NSS_STATUS_NOTFOUND if no record was found.
14196
597df647
AS
141972011-05-05 Andreas Schwab <schwab@redhat.com>
14198
14199 * sunrpc/Makefile (headers): Add rpc/netdb.h.
14200 (headers-not-in-tirpc): Remove rpc/netdb.h
14201 * resolv/netdb.h: Revert last change.
14202
b9af1301
PP
142032011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
14204
14205 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
14206 circular dependency between libgcc.a and libc.a.
14207
4e34d5f5
AS
142082011-05-05 Andreas Schwab <schwab@redhat.com>
14209
14210 * resolv/netdb.h: Don't include <rpc/netdb.h>.
14211 * nis/Makefile: Don't install rpcsvc/*.
14212 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
14213 instead of <rpc/types.h>.
14214 (MAXHOSTNAMELEN): Define.
14215
00ee369c
AS
142162011-05-03 Andreas Schwab <schwab@redhat.com>
14217
14218 * elf/ldconfig.c (add_dir): Don't crash on empty path.
14219
0b592a30
MB
142202011-04-28 Maciej Babinski <mbabinski@google.com>
14221
14222 [BZ #12714]
14223 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
14224 gethostbyname4_r when IPv6 results are possible.
14225
6e04cbbe
UD
142262011-05-02 Ulrich Drepper <drepper@gmail.com>
14227
14228 [BZ #12723]
14229 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
14230 _PC_PIPE_BUF handling.
14231
e4ecafe0
BH
142322011-04-30 Bruno Haible <bruno@clisp.org>
14233
14234 [BZ #12717]
14235 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
14236 * resolv/netdb.h (getnameinfo): Change type of flags parameter
14237 to 'int'.
14238 * inet/getnameinfo.c (getnameinfo): Likewise.
14239
125ee683
UD
142402011-04-29 Ulrich Drepper <drepper@gmail.com>
14241
14242 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
14243 to groups setting in database lookup.
14244 * nss/nsswitch.conf: Add initgroups entry.
14245
b722481a
EB
142462011-04-22 Ulrich Drepper <drepper@gmail.com>
14247
14248 [BZ #12685]
14249 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
14250 mode string.
14251 Patch by Eric Blake <eblake@redhat.com>.
14252
4df46dbd
L
142532011-04-20 H.J. Lu <hongjiu.lu@intel.com>
14254
14255 * sunrpc/Makefile (need-export-routines): Add svc_run.
14256 (routines): Remove svc_run.
14257 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
14258 * sunrpc/clnt_perr.c (clnt_perrno): Export.
14259 * sunrpc/svc_run.c (svc_run): Likewise.
14260 * sunrpc/svc_udp.c (svcudp_create): Likewise.
14261
e84142d2
UD
142622011-04-21 Ulrich Drepper <drepper@gmail.com>
14263
14264 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
14265 problem in reallocation in last patch.
14266
877175d8
UD
142672011-04-20 Ulrich Drepper <drepper@gmail.com>
14268
14269 * sunrpc/Makefile: Move inclusion of Rules.
14270
ab8eed78
UD
142712011-04-19 Ulrich Drepper <drepper@gmail.com>
14272
14273 * nss/nss_files/files-initgroups.c: New file.
14274 * nss/Makefile (libnss_files-routines): Add files-initgroups.
14275 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
14276 _nss_files_initgroups_dyn.
14277
e3d8f584
RS
142782011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
14279
14280 * elf/elf.h (R_ARM_IRELATIVE): Define.
14281
af190f45
UD
142822011-04-19 Ulrich Drepper <drepper@gmail.com>
14283
14284 * po/ru.po: Update from translation team.
14285
53cf59ef
UD
142862011-04-17 Ulrich Drepper <drepper@gmail.com>
14287
14288 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
14289 dependencies.
14290
4c559bcd
MF
142912011-02-06 Mike Frysinger <vapier@gentoo.org>
14292
14293 [BZ #12653]
14294 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
14295 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
14296 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
14297 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
14298 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
14299
4420675c
AS
143002011-03-28 Andreas Schwab <schwab@linux-m68k.org>
14301
14302 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
14303 differing bytes.
14304 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
14305 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
14306 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
14307
75ea32ab
UD
143082011-04-17 Ulrich Drepper <drepper@gmail.com>
14309
14310 [BZ #12420]
14311 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
14312 storing it.
14313 * stdlib/bug-getcontext.c: New file.
14314 * stdlib/Makefile: Add rules to build and run bug-getcontext.
14315
27390476
AK
143162011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14317
14318 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
14319 instructions into .machine "z9-109".
14320 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
14321 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
14322
10442705
AK
143232011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14324
14325 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
14326 between environment variables and auxiliary vector.
14327
7b57bfe5
UD
143282011-04-16 Ulrich Drepper <drepper@gmail.com>
14329
14330 * Makefile: Add rules to build linkobj/libc.so.
14331 * include/libc-symbols.h: Define libc_hidden_nolink.
14332 * include/rpc/auth.h: Mark functions which are to be hidden.
14333 * include/rpc/auth_des.h: Likewise.
14334 * include/rpc/auth_unix.h: Likewise.
14335 * include/rpc/clnt.h: Likewise.
14336 * include/rpc/des_crypt.h: Likewise.
14337 * include/rpc/key_prot.h: Likewise.
14338 * include/rpc/pmap_clnt.h: Likewise.
14339 * include/rpc/pmap_prot.h: Likewise.
14340 * include/rpc/pmap_rmt.h: Likewise.
14341 * include/rpc/rpc_msg.h: Likewise.
14342 * include/rpc/svc.h: Likewise.
14343 * include/rpc/svc_auth.h: Likewise.
14344 * include/rpc/xdr.h: Likewise.
14345 * nis/Makefile: Link all DSOs against linkobj/libc.so.
14346 * nss/Makefile: Likewise.
14347 * sunrpc/Makefile: Don't install headers. Build library with normal
14348 entry points. Don't build rpcinfo. Link RPC tests appropriately.
14349 * sunrpc/auth_des.c: Hide exported symbols by default, export some
14350 for the compat linking library. Remove use of INTDEF/INTUSE.
14351 * sunrpc/auth_none.c: Likewise.
14352 * sunrpc/auth_unix.c: Likewise.
14353 * sunrpc/authdes_prot.c: Likewise.
14354 * sunrpc/authuxprot.c: Likewise.
14355 * sunrpc/clnt_gen.c: Likewise.
14356 * sunrpc/clnt_perr.c: Likewise.
14357 * sunrpc/clnt_raw.c: Likewise.
14358 * sunrpc/clnt_simp.c: Likewise.
14359 * sunrpc/clnt_tcp.c: Likewise.
14360 * sunrpc/clnt_udp.c: Likewise.
14361 * sunrpc/clnt_unix.c: Likewise.
14362 * sunrpc/des_crypt.c: Likewise.
14363 * sunrpc/des_soft.c: Likewise.
14364 * sunrpc/get_myaddr.c: Likewise.
14365 * sunrpc/key_call.c: Likewise.
14366 * sunrpc/key_prot.c: Likewise.
14367 * sunrpc/netname.c: Likewise.
14368 * sunrpc/pm_getmaps.c: Likewise.
14369 * sunrpc/pm_getport.c: Likewise.
14370 * sunrpc/pmap_clnt.c: Likewise.
14371 * sunrpc/pmap_prot.c: Likewise.
14372 * sunrpc/pmap_prot2.c: Likewise.
14373 * sunrpc/pmap_rmt.c: Likewise.
14374 * sunrpc/publickey.c: Likewise.
14375 * sunrpc/rpc_cmsg.c: Likewise.
14376 * sunrpc/rpc_common.c: Likewise.
14377 * sunrpc/rpc_dtable.c: Likewise.
14378 * sunrpc/rpc_prot.c: Likewise.
14379 * sunrpc/rpc_thread.c: Likewise.
14380 * sunrpc/rtime.c: Likewise.
14381 * sunrpc/svc.c: Likewise.
14382 * sunrpc/svc_auth.c: Likewise.
14383 * sunrpc/svc_authux.c: Likewise.
14384 * sunrpc/svc_raw.c: Likewise.
14385 * sunrpc/svc_run.c: Likewise.
14386 * sunrpc/svc_simple.c: Likewise.
14387 * sunrpc/svc_tcp.c: Likewise.
14388 * sunrpc/svc_udp.c: Likewise.
14389 * sunrpc/svc_unix.c: Likewise.
14390 * sunrpc/svcauth_des.c: Likewise.
14391 * sunrpc/xcrypt.c: Likewise.
14392 * sunrpc/xdr.c: Likewise.
14393 * sunrpc/xdr_array.c: Likewise.
14394 * sunrpc/xdr_float.c: Likewise.
14395 * sunrpc/xdr_intXX_t.c: Likewise.
14396 * sunrpc/xdr_mem.c: Likewise.
14397 * sunrpc/xdr_rec.c: Likewise.
14398 * sunrpc/xdr_ref.c: Likewise.
14399 * sunrpc/xdr_sizeof.c: Likewise.
14400 * sunrpc/xdr_stdio.c: Likewise.
14401
e6c61494
UD
144022011-04-10 Ulrich Drepper <drepper@gmail.com>
14403
14404 [BZ #12650]
14405 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
14406 * sysdeps/ia64/dl-tls.h: Likewise.
14407 * sysdeps/powerpc/dl-tls.h: Likewise.
14408 * sysdeps/s390/dl-tls.h: Likewise.
14409 * sysdeps/sh/dl-tls.h: Likewise.
14410 * sysdeps/sparc/dl-tls.h: Likewise.
14411 * sysdeps/x86_64/dl-tls.h: Likewise.
14412 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
14413
34fe483e
AS
144142011-03-14 Andreas Schwab <schwab@redhat.com>
14415
14416 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
14417 rpath element also skip the following colon.
14418 (expand_dynamic_string_token): Add is_path parameter and pass
14419 down to DL_DST_REQUIRED and _dl_dst_substitute.
14420 (decompose_rpath): Call expand_dynamic_string_token with
14421 non-zero is_path. Ignore empty rpaths.
14422 (_dl_map_object_from_fd): Call expand_dynamic_string_token
14423 with zero is_path.
14424
f12a32e6
AS
144252011-04-08 Andreas Schwab <schwab@linux-m68k.org>
14426
14427 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
14428 Make cancelable.
14429
38a7d692
UD
144302011-04-09 Ulrich Drepper <drepper@gmail.com>
14431
14432 [BZ #12655]
14433 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
14434 Patch by Filipe David Manana <fdmanana@apache.org>.
14435
e451d22b
AS
144362011-04-07 Andreas Schwab <schwab@redhat.com>
14437
14438 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
14439 Maintain aligned stack.
14440 (CHECK_RSP): Remove unused macro.
14441
dedc7c7b
UD
144422011-04-03 Ulrich Drepper <drepper@gmail.com>
14443
14444 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
14445 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
14446
94521213
UD
144472011-04-02 Ulrich Drepper <drepper@gmail.com>
14448
14449 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
14450
8cb700c0 14451 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 14452
0354e355
L
144532011-03-26 H.J. Lu <hongjiu.lu@intel.com>
14454
14455 [BZ #12518]
14456 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
14457 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
14458 * sysdeps/x86_64/memmove.c: New file.
14459 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
14460 (memcpy): Renamed to ...
14461 (__new_memcpy): This.
14462 (memcpy): Provide GLIBC_2_14 memcpy.
14463 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
14464 (memcpy): Provide GLIBC_2_2_5 memcpy.
14465
8593482f
UD
144662011-04-01 Ulrich Drepper <drepper@gmail.com>
14467
14468 [BZ #12631]
14469 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
14470
81a5726b
AS
144712011-03-30 Andreas Schwab <schwab@redhat.com>
14472
14473 * misc/syncfs.c: New file.
14474 * misc/Makefile (routines): Add syncfs.
14475 * posix/unistd.h: Declare syncfs.
14476 * sysdeps/unix/syscalls.list: Add syncfs.
14477
00e5419f
AS
144782011-04-01 Andreas Schwab <schwab@redhat.com>
14479
14480 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
14481 open_by_handle_at.
14482 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
14483 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
14484 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
14485 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
14486 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
14487 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
14488 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
14489
748876bf
UD
144902011-04-01 Ulrich Drepper <drepper@gmail.com>
14491
658e451d
UD
14492 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
14493 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
14494 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
14495 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
14496 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
14497 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
14498 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
14499
748876bf
UD
14500 * io/Makefile: Compile fallocate.c, fallocate64.c, and
14501 sync_file_range.c with -fexceptions.
14502 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
14503 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
14504 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
14505 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
14506 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
14507 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
14508 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
14509 sync_file_range as cancellation point
14510 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
14511 now a wrapper around __call_sync_file_range with cancellation handling.
14512 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
14513 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
14514 function name to __call_sync_file_range.
14515 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
14516 Add call_sync_file_range.
748876bf 14517
6e63d5e1
AS
145182011-04-01 Andreas Schwab <schwab@redhat.com>
14519
14520 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 14521 bits/timex.h.
6e63d5e1 14522
46998f74
UD
145232011-04-01 Ulrich Drepper <drepper@gmail.com>
14524
4c1423ed
UD
14525 * iconv/iconv.h: Fix typo in comment.
14526 * io/fcntl.h: Likewise.
14527 * libio/stdio.h: Likewise.
14528 * posix/spawn.h: Likewise.
14529 * posix/unistd.h: Likewise.
14530 * stdlib/stdlib.h: Likewise.
14531 * time/time.h: Likewise.
14532 * wcsmbs/wchar.h: Likewise.
14533
158648c0
UD
14534 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
14535 open_by_handle): Add.
14536 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
14537 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
14538 Augment a few comments.
14539 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
14540 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
14541 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
14542 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
14543 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
14544 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
14545 open_by_handle.
14546
46998f74
UD
14547 * io/fcntl.h (AT_EMPTY_PATH): Define.
14548
83fe108b
UD
145492011-03-30 Ulrich Drepper <drepper@gmail.com>
14550
14551 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
14552 * sysdeps/unix/sysv/linux/bits/time.h: New file.
14553 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
14554 to...
14555 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
14556 * Versions.def: Add GLIBC_2.14.
14557 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
14558 Export.
83fe108b 14559
bb242059
UD
145602011-03-22 Ulrich Drepper <drepper@gmail.com>
14561
14562 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
14563 round counter.
14564 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
14565
c97a1282
L
145662011-03-20 H.J. Lu <hongjiu.lu@intel.com>
14567
14568 [BZ #12597]
14569 * string/test-strncmp.c (do_page_test): New function.
14570 (check2): Likewise.
14571 (test_main): Call check2.
14572 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
14573
2a115601
UD
145742011-03-20 Ulrich Drepper <drepper@gmail.com>
14575
14576 [BZ #12587]
14577 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
14578 Handle cache information in CPU leaf 4.
14579 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
14580
8126d904
UD
145812011-03-18 Ulrich Drepper <drepper@gmail.com>
14582
042c49c6 14583 [BZ #12583]
8126d904
UD
14584 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
14585 character representation.
14586 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
14587
ccfe366e
RA
145882011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
14589
14590 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
14591 END(__isnan) to END(__isnanf) to match function entry point/label
14592 EALIGN(__isnanf,...).
14593
c6e13027
JJ
145942011-03-10 Jakub Jelinek <jakub@redhat.com>
14595
14596 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
14597
33f85a3f
UD
145982011-03-10 Ulrich Drepper <drepper@gmail.com>
14599
028478fa
UD
14600 [BZ #12510]
14601 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
14602 copy from the symbol referenced in the relocation to initialize the
14603 used variable.
14604 Patch by Piotr Bury <pbury@goahead.com>.
14605 * elf/Makefile: Add rules to build and tst-unique3.
14606 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
14607 * elf/tst-unique3.cc: New file.
14608 * elf/tst-unique3.h: New file.
14609 * elf/tst-unique3lib.cc: New file.
14610 * elf/tst-unique3lib2.cc: New file.
14611
33f85a3f
UD
14612 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
14613
03592fc7
MF
146142011-03-10 Mike Frysinger <vapier@gentoo.org>
14615
14616 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
14617 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
14618 to _start.
03592fc7 14619
6a5ee102
UD
146202011-03-06 Ulrich Drepper <drepper@gmail.com>
14621
14622 * elf/dl-load.c (_dl_map_object): If we are looking for the first
14623 to-be-loaded object along a path to loader is ld.so.
14624
7e4ba49c
HJ
146252011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
14626 Ulrich Drepper <drepper@gmail.com>
14627
14628 * sysdeps/x86_64/memset.S: After aligning destination, code
14629 branches to different locations depending on the value of
14630 misalignment, when multiarch is enabled. Fix this.
14631
146322011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
14633
14634 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
14635 Set _x86_64_preferred_memory_instruction for AMD processsors.
14636 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
14637 Set bit_Prefer_SSE_for_memop for AMD processors.
14638
13a804de
UD
146392011-03-04 Ulrich Drepper <drepper@gmail.com>
14640
14641 * libio/fmemopen.c (fmemopen): Optimize a bit.
14642
9d25c392
AS
146432011-03-03 Andreas Schwab <schwab@redhat.com>
14644
14645 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
14646
a5543c6a
RM
146472011-03-03 Roland McGrath <roland@redhat.com>
14648
14649 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
14650
012d35f7
DM
146512011-02-28 Aurelien Jarno <aurelien@aurel32.net>
14652
7e4ba49c 14653 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
14654 __bzero_ultra1 instead of __memset_ultra1.
14655
4bff6e01
AS
146562011-02-23 Andreas Schwab <schwab@redhat.com>
14657 Ulrich Drepper <drepper@gmail.com>
14658
14659 [BZ #12509]
14660 * include/link.h (struct link_map): Add l_orig_initfini.
14661 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
14662 returning unsuccessfully.
14663 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
14664 close of a file loaded at startup, restore the original l_initfini
14665 list.
14666 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
14667 list, store the pointer.
14668 * elf/Makefile ($(objpfx)noload-mem): New rule.
14669 (noload-ENV): Define.
14670 (tests): Add $(objpfx)noload-mem.
14671 * elf/noload.c: Include <memcheck.h>.
14672 (main): Call mtrace. Close all opened handles.
14673
f2092faf
AS
146742011-02-17 Andreas Schwab <schwab@redhat.com>
14675
14676 [BZ #12454]
14677 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
14678 dependencies are missing.
14679
6c8a2e88
ST
146802011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
14681
f2092faf 14682 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
14683 Hurd needs munmap.
14684 * sysdeps/mach/hurd/ifreq.h: New file.
14685
84a42118
PB
146862011-01-27 Petr Baudis <pasky@suse.cz>
14687 Ulrich Drepper <drepper@gmail.com>
14688
071f805e 14689 [BZ 12445]#
84a42118
PB
14690 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
14691 to extend_alloca().
14692 * stdio-common/bug23.c: New file.
14693 * stdio-common/Makefile (tests): Add bug23.
14694
e23fe25b
AS
146952010-09-28 Andreas Schwab <schwab@redhat.com>
14696 Ulrich Drepper <drepper@gmail.com>
14697
14698 [BZ #12489]
14699 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
14700 before performing relro protection. At old place add assertion
14701 to make sure nothing changed.
14702
d3f02e10
NS
147032011-02-17 Nathan Sidwell <nathan@codesourcery.com>
14704 Glauber de Oliveira Costa <glommer@gmail.com>
14705
14706 * elf/elf.h: Add new ARM TLS relocs.
14707
d55fd7a5
RA
147082011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
14709
14710 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
14711 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
14712 cast from r3.
14713 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
14714 'tests' variable.
14715 * sysdeps/wordsize-64/tst-writev.c: New file.
14716
2206397e
RA
147172011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
14718
14719 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
14720 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
14721 insns in _dl_start to prevent a TOC reference before relocs are
14722 resolved.
14723
e9433893
UD
147242011-02-15 Ulrich Drepper <drepper@gmail.com>
14725
14726 [BZ #12469]
14727 * Makeconfig: Remove RANLIB definition.
14728 * Makerules: Don't use RANLIB.
14729 * aclocal.m4: Remove ranlib test.
14730 * configure.in: No need to check for ranlib.
14731 * elf/rtld-Rules: Don't use RANLIB.
14732
f75286c6
ST
147332011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
14734
8e31c82d
ST
14735 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
14736 protection macro.
14737 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
14738 inclusion protection macro.
14739
f75286c6
ST
14740 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
14741 SIGRTMIN and SIGRTMAX and print information in that case only when
14742 SIGRTMIN is defined.
14743
c1d0e639
JJ
147442011-02-11 Jakub Jelinek <jakub@redhat.com>
14745
14746 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
14747 arginfo fn returning -1.
14748
14749 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
14750 and thousands string is zero terminated.
14751
edf9294e
AS
147522011-02-03 Andreas Schwab <schwab@redhat.com>
14753
14754 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
14755 sysdeps/unix/sysv/linux/bits/socket.h.
14756
2b7e92df
ST
147572011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
14758
edf9294e
AS
14759 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
14760 (__CPU_COUNT): Remove old macros.
14761 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
14762 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
14763 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
14764 (__sched_cpualloc, __sched_cpufree): Add declarations.
14765
a4c7ea7b
UD
147662011-02-05 Ulrich Drepper <drepper@gmail.com>
14767
14768 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
14769 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
14770 * nscd/aicache.c (addhstaiX): Return timeout of added value.
14771 (readdhstai): Return value of addhstaiX call.
14772 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
14773 (addgrbyX): Return value returned by cache_addgr.
14774 (readdgrbyname): Return value returned by addgrbyX.
14775 (readdgrbygid): Likewise.
14776 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
14777 (addpwbyX): Return value returned by cache_addpw.
14778 (readdpwbyname): Return value returned by addhstbyX.
14779 (readdpwbyuid): Likewise.
14780 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
14781 (addservbyX): Return value returned by cache_addserv.
14782 (readdservbyname): Return value returned by addservbyX:
14783 (readdservbyport): Likewise.
14784 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
14785 (addhstbyX): Return value returned by cache_addhst.
14786 (readdhstbyname): Return value returned by addhstbyX.
14787 (readdhstbyaddr): Likewise.
14788 (readdhstbynamev6): Likewise.
14789 (readdhstbyaddrv6): Likewise.
14790 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
14791 (readdinitgroups): Return value returned by addinitgroupsX.
14792 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
14793 (prune_cache): Keep track of timeout value of re-added entries.
14794 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
14795 * nscd/nscd.h: Adjust prototypes of readd* functions.
14796
a0bf67cc
RM
147972011-02-04 Roland McGrath <roland@redhat.com>
14798
14799 * nis/nis_server.c (nis_servstate): Use the right name for 0.
14800 (nis_stats): Likewise.
14801 * nis/nis_modify.c (nis_modify): Likewise.
14802 * nis/nis_remove.c (nis_remove): Likewise.
14803 * nis/nis_add.c (nis_add): Likewise.
14804
14805 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
14806
14807 * posix/fnmatch_loop.c: Add some consts.
14808
14809 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
14810
435b95eb
L
148112011-02-02 H.J. Lu <hongjiu.lu@intel.com>
14812
14813 [BZ #12460]
14814 * config.make.in (config-cflags-novzeroupper): Define.
14815 * configure.in: Substitute libc_cv_cc_novzeroupper.
14816 * elf/Makefile (AVX-CFLAGS): Define.
14817 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
14818 (CFLAGS-tst-auditmod4a.c): Likewise.
14819 (CFLAGS-tst-auditmod4b.c): Likewise.
14820 (CFLAGS-tst-auditmod6b.c): Likewise.
14821 (CFLAGS-tst-auditmod6c.c): Likewise.
14822 (CFLAGS-tst-auditmod7b.c): Likewise.
14823 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
14824
8517b15e
UD
148252011-02-02 Ulrich Drepper <drepper@gmail.com>
14826
14827 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
14828 function to the callback.
14829 Patch partly by Jiri Olsa <jolsa@redhat.com>.
14830
10a656fe
AS
148312011-02-02 Andreas Schwab <schwab@redhat.com>
14832
14833 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
14834 of errno.
14835
968dad0a
UD
148362011-01-19 Ulrich Drepper <drepper@gmail.com>
14837
9f94d2ea 14838 [BZ #11724]
968dad0a
UD
14839 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
14840 of constructors.
14841 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
14842 of destructors.
14843 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
14844
14845 [BZ #11724]
14846 * elf/Makefile: Add rules to build and run new test.
14847 * elf/tst-initorder.c: New file.
14848 * elf/tst-initorder.exp: New file.
14849 * elf/tst-initordera1.c: New file.
14850 * elf/tst-initordera2.c: New file.
14851 * elf/tst-initordera3.c: New file.
14852 * elf/tst-initordera4.c: New file.
14853 * elf/tst-initorderb1.c: New file.
14854 * elf/tst-initorderb2.c: New file.
14855 * elf/tst-order-a1.c: New file.
14856 * elf/tst-order-a2.c: New file.
14857 * elf/tst-order-a3.c: New file.
14858 * elf/tst-order-a4.c: New file.
14859 * elf/tst-order-b1.c: New file.
14860 * elf/tst-order-b2.c: New file.
14861 * elf/tst-order-main.c: New file.
14862 New test case by George Gensure <werkt0@gmail.com>.
14863
86e92359
UD
148642010-10-01 Andreas Schwab <schwab@redhat.com>
14865
14866 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
14867 decoding ACE if AI_CANONIDN.
14868
5d5732b0
UD
148692011-01-18 Ulrich Drepper <drepper@gmail.com>
14870
14871 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
14872
a77e8cbc
UD
148732011-01-17 Ulrich Drepper <drepper@gmail.com>
14874
6392473f
UD
14875 * version.h (RELEASE): Bump for 2.13 release.
14876 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
14877
620a0529
UD
14878 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
14879
18ba70a5
UD
14880 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
14881 MADV_NOHUGEPAGE.
32465c3e
UD
14882 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
14883 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
14884 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
14885 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
14886 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
14887 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
14888
c0dafcf1
UD
14889 * posix/getconf.c: Update copyright year.
14890 * catgets/gencat.c: Likewise.
14891 * csu/version.c: Likewise.
14892 * debug/catchsegv.sh: Likewise.
14893 * debug/xtrace.sh: Likewise.
14894 * elf/ldconfig.c: Likewise.
14895 * elf/ldd.bash.in: Likewise.
14896 * elf/sprof.c (print_version): Likewise.
14897 * iconv/iconv_prog.c: Likewise.
14898 * iconv/iconvconfig.c: Likewise.
14899 * locale/programs/locale.c: Likewise.
14900 * locale/programs/localedef.c: Likewise.
14901 * malloc/memusage.sh: Likewise.
14902 * malloc/mtrace.pl: Likewise.
14903 * nscd/nscd.c (print_version): Likewise.
14904 * nss/getent.c: Likewise.
14905
a77e8cbc
UD
14906 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
14907 PF_CAIF, and PF_ALG.
14908 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
14909
77e8bddf
AS
149102011-01-16 Andreas Schwab <schwab@linux-m68k.org>
14911
1f20b93a
AS
14912 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
14913 (modules-names): Use them.
14914 (ifunc-test-modules, ifunc-pie-tests): Define.
14915 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
14916 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
14917 (test-extras): Likewise.
14918 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
14919 $(compile-command.c).
14920 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
14921 (all-built-dso): Define.
14922 (check-textrel.out, check-execstack.out): Depend on it.
14923
77e8bddf
AS
14924 * configure.in: Don't override --enable-multi-arch.
14925
bc425b33
UD
149262011-01-15 Ulrich Drepper <drepper@gmail.com>
14927
14928 [BZ #6812]
14929 * nscd/hstcache.c (tryagain): Define.
14930 (cache_addhst): Return tryagain not notfound for temporary errors.
14931 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
14932 failed.
14933
794c3ad3
UD
149342011-01-14 Ulrich Drepper <drepper@gmail.com>
14935
70181fdd
UD
14936 [BZ #10563]
14937 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
14938 to make the syscall.
14939 * sysdeps/unix/sysv/linux/setgroups.c: New file.
14940
794c3ad3
UD
14941 [BZ #12378]
14942 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
14943 and fall back to matching as normal character if the string ends before
14944 the matching ']' is found. This is what POSIX requires.
14945 * posix/testfnm.c: Adjust test result.
14946 * posix/globtest.sh: Adjust test result. Add new test.
14947 * posix/tst-fnmatch.input: Likewise.
14948 * posix/tst-fnmatch2.c: Add new test.
14949
68dc9497
AS
149502010-12-28 Andreas Schwab <schwab@linux-m68k.org>
14951
14952 * elf/Makefile (check-execstack): Revert last change. Depend on
14953 check-execstack.h.
14954 (check-execstack.h): New target.
14955 (generated): Add check-execstack.h.
14956 * elf/check-execstack.c: Include "check-execstack.h".
14957 (main): Revert last change.
14958 (handle_file): Return zero if GNU_STACK is absent and
14959 DEFAULT_STACK_PERMS doesn't include PF_X.
14960
451f001b
UD
149612011-01-13 Ulrich Drepper <drepper@gmail.com>
14962
cfa28e56
UD
14963 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
14964 in child fails because the descriptor is already closed.
8cf8ce17
UD
14965 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
14966 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
14967 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 14968
1086d70d
UD
14969 [BZ #12397]
14970 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
14971 syscall.
14972
451f001b
UD
14973 [BZ #10484]
14974 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
14975 temporary buffer used to handle multi lookups locally.
a85b5cb4 14976 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 14977
08769175
UD
149782011-01-12 Ulrich Drepper <drepper@gmail.com>
14979
14980 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
14981 loader is ld.so.
14982
5e49c52e
UD
149832011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
14984
14985 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
14986 alignment for SSE2.
14987
60522a5f
UD
149882011-01-12 Ulrich Drepper <drepper@gmail.com>
14989
14990 [BZ #12394]
14991 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
14992 characters. When rounding increased number of integer digits recompute
14993 number of groups.
14994 * stdio-common/tst-grouping.c: New file.
14995 * stdio-common/Makefile: Add rules to build and run tst-grouping.
14996
f257bbd7
UD
149972011-01-09 Ulrich Drepper <drepper@gmail.com>
14998
14999 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
15000 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
15001
15002 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
15003 void.
15004 * bits/select.h: Likewise.
15005
fa9c15cb
UD
150062011-01-08 Ulrich Drepper <drepper@gmail.com>
15007
15008 * po/ja.po: Update from translation team.
15009
16c2895f
DM
150102011-01-04 David S. Miller <davem@sunset.davemloft.net>
15011
15012 [BZ #11155]
15013 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
15014 implementation just like for lxstat, fxstatat, et al.
15015
2543fef2
JM
150162010-12-27 Jim Meyering <meyering@redhat.com>
15017
15018 [BZ #12348]
15019 * posix/regexec.c (build_trtable): Return failure indication upon
15020 calloc failure. Otherwise, re_search_internal could infloop on OOM.
15021
98727dbe
UD
150222010-12-25 Ulrich Drepper <drepper@gmail.com>
15023
5bd6dc5c
UD
15024 [BZ #12201]
15025 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
15026 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
15027 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
15028 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
15029
97983464
UD
15030 [BZ #12207]
15031 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
15032
98727dbe
UD
15033 [BZ #12204]
15034 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
15035 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
15036
4a531bb0
L
150372010-12-15 H.J. Lu <hongjiu.lu@intel.com>
15038
15039 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
15040 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
15041 script has SORT_BY_INIT_PRIORITY.
15042 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
15043 NO_CTORS_DTORS_SECTIONS is defined.
15044 * elf/soinit.c: Likewise.
15045 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
15046 NO_CTORS_DTORS_SECTIONS is defined.
15047 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
15048 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
15049 * sysdeps/sh/init-first.c: Likewise.
15050 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
15051
07eb4b71
UD
150522010-12-24 Ulrich Drepper <drepper@gmail.com>
15053
15054 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
15055 always use the slow path.
15056
30950a5f
RA
150572010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
15058
15059 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
15060 similar rule which adds the sysdep directories to the header search in
15061 order to pick up the correct platform stackinfo.h.
15062 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
15063 perform test if it is, otherwise return successfully without testing.
15064 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
15065 DEFAULT_STACK_PERMS define in stackinfo.h.
15066 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
15067 defined in stackinfo.h.
15068 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
15069 DEFAULT_STACK_PERMS defined in stackinfo.h.
15070 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
15071 * sysdeps/ia64/stackinfo.h: Likewise.
15072 * sysdeps/s390/stackinfo.h: Likewise.
15073 * sysdeps/sh/stackinfo.h: Likewise.
15074 * sysdeps/sparc/stackinfo.h: Likewise.
15075 * sysdeps/x86_64/stackinfo.h: Likewise.
15076 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
15077 PF_X for powerpc64. Retain PF_X for powerpc32.
15078
db753e2c
UD
150792010-12-19 Ulrich Drepper <drepper@gmail.com>
15080
14b697f7
UD
15081 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
15082 accurately.
db753e2c
UD
15083 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
15084 GETDENTS_64BIT_ALIGNED.
15085
28300719
UD
150862010-12-14 Ulrich Drepper <dreper@gmail.com>
15087
14b697f7 15088 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 15089
4f197237
AS
150902010-12-10 Andreas Schwab <schwab@redhat.com>
15091
dbb0472f
AS
15092 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
15093 _GNU_SOURCE.
15094
4f197237
AS
15095 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
15096 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
15097 Remove __restrict.
15098 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
15099 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
15100
fb88ac72
UD
151012010-12-09 Ulrich Drepper <drepper@gmail.com>
15102
15103 [BZ #11655]
15104 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
15105 are initialized.
15106
42acbb92
JJ
151072010-12-09 Jakub Jelinek <jakub@redhat.com>
15108
15109 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
15110
c038d98d
UD
151112010-12-03 Ulrich Drepper <drepper@gmail.com>
15112
15113 * po/it.po: Update from translation team.
15114
3a4a2499
L
151152010-12-01 H.J. Lu <hongjiu.lu@intel.com>
15116
15117 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
15118 unused codes.
15119
1e24cf6e
UD
151202010-11-30 Ulrich Drepper <drepper@gmail.com>
15121
15122 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
15123
a7690819
AS
151242010-11-24 Andreas Schwab <schwab@redhat.com>
15125
15126 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
15127 specially.
15128 (gaih_getanswer_slice): Likewise.
15129
3bf8d1b1
JJ
151302010-10-20 Jakub Jelinek <jakub@redhat.com>
15131
15132 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
15133
6db52fbb
PB
151342010-05-31 Petr Baudis <pasky@suse.cz>
15135
15136 [BZ #11149]
15137 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
15138 silently even in the chroot mode.
15139
eaca7569
UD
151402010-11-22 Ulrich Drepper <drepper@gmail.com>
15141
15142 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
15143 last patch a bit. Pretty printing
15144
3056dcdb
UD
151452010-05-31 Petr Baudis <pasky@suse.cz>
15146
15147 [BZ #10085]
15148 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
15149 initialization of skip_initgroups_dyn.
15150
cf7c9078
UD
151512010-11-19 Ulrich Drepper <drepper@gmail.com>
15152
15153 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
15154 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
15155
a1fb5e3e
UD
151562010-11-16 Ulrich Drepper <drepper@gmail.com>
15157
15158 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
15159
3540d66b
AS
151602010-11-11 Andreas Schwab <schwab@redhat.com>
15161
15162 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
15163 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
15164 (tst-fnmatch-ENV): Set MALLOC_TRACE.
15165 ($(objpfx)tst-fnmatch-mem): New rule.
15166 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
15167 * posix/tst-fnmatch.c (main): Call mtrace.
15168
13b69574
L
151692010-11-11 H.J. Lu <hongjiu.lu@intel.com>
15170
15171 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
15172 Support Intel processor model 6 and model 0x2c.
15173
da93d214
LM
151742010-11-10 Luis Machado <luisgpm@br.ibm.com>
15175
15176 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
15177 signed comparison.
15178
8ca52c6e
L
151792010-11-09 H.J. Lu <hongjiu.lu@intel.com>
15180
15181 [BZ #12205]
15182 * string/test-strncasecmp.c (check_result): New function.
15183 (do_one_test): Use it.
15184 (check1): New function.
15185 (test_main): Use it.
15186 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
15187 Support strcasecmp and strncasecmp.
15188
69da074d
UD
151892010-11-08 Ulrich Drepper <drepper@gmail.com>
15190
15191 [BZ #12194]
15192 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
15193 * sysdeps/x86_64/bits/byteswap.h: Likewise.
15194
ff02d528
L
151952010-11-07 H.J. Lu <hongjiu.lu@intel.com>
15196
15197 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
15198 IFUNC support.
15199 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
15200 memset-x86-64.
15201 * sysdeps/x86_64/multiarch/bzero.S: New file.
15202 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
15203 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
15204 * sysdeps/x86_64/multiarch/memset.S: New file.
15205 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
15206 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
15207 Set bit_Prefer_SSE_for_memop for Intel processors.
15208 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
15209 Define.
15210 (index_Prefer_SSE_for_memop): Define.
15211 (HAS_PREFER_SSE_FOR_MEMOP): Define.
15212
344d0b54
LM
152132010-11-04 Luis Machado <luisgpm@br.ibm.com>
15214
15215 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
15216 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
15217
c0dde15b
UD
152182010-11-03 H.J. Lu <hongjiu.lu@intel.com>
15219
15220 [BZ #12191]
15221 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
15222 (__x86_64_raw_data_cache_size_half): Likewise.
15223 (__x86_64_raw_shared_cache_size): Likewise.
15224 (__x86_64_raw_shared_cache_size_half): Likewise.
15225
15226 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
15227 (__x86_64_raw_data_cache_size_half): Likewise.
15228 (__x86_64_raw_shared_cache_size): Likewise.
15229 (__x86_64_raw_shared_cache_size_half): Likewise.
15230 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
15231 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
15232 and __x86_64_raw_shared_cache_size_half. Round
15233 __x86_64_data_cache_size_half, __x86_64_data_cache_size
15234 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
15235 to multiple of 256 bytes.
15236
0e516e0e
MS
152372010-11-03 Ulrich Drepper <drepper@gmail.com>
15238
15239 [BZ #12167]
15240 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
15241 of inacessible symlinks. Verify result of symlink before returning it.
15242 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
15243 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
15244
0e012e87
ER
152452010-10-28 Erich Ritz <erichritz@gmail.com>
15246
15247 * math/math.h (isinf): Fix typo in comment.
15248
de0ff7bc
UD
152492010-11-01 Ulrich Drepper <drepper@gmail.com>
15250
15251 * po/da.po: Update from translation team.
15252
fa41c84d
UD
152532010-10-26 Ulrich Drepper <drepper@gmail.com>
15254
15255 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
15256 is added to the list.
15257
f0967738
AK
152582010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15259 Ulrich Drepper <drepper@gmail.com>
15260
15261 * elf/dl-object.c (_dl_new_object): Don't append the new object to
15262 the global list here. Move code to...
15263 (_dl_add_to_namespace_list): ...here. New function.
15264 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
15265 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
15266 * elf/dl-load.c (lose): Don't remove the element from the list.
15267 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
15268 (_dl_map_object): Likewise.
15269
152702010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
15271
15272 [BZ #12159]
15273 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
15274 into all bytes of SSE register.
15275 Patch by Richard Li <richardpku@gmail.com>.
15276
f0967738 152772010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
15278
15279 [BZ #12140]
15280 * malloc/malloc.c (_int_free): Fill correct number of bytes when
15281 perturbing.
15282
d0b9e94f
MB
152832010-10-20 Michael B. Brutman <brutman@us.ibm.com>
15284
15285 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
15286 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
15287 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
15288 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
15289 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
15290 submachine.
15291 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
15292
8e9f92e9
AS
152932010-10-22 Andreas Schwab <schwab@redhat.com>
15294
15295 * include/dlfcn.h (__RTLD_SECURE): Define.
15296 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
15297 mode & __RTLD_SECURE instead.
15298 (open_path): Rename preloaded parameter to secure.
15299 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
15300 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
15301 * elf/dl-deps.c (openaux): Likewise.
15302 * elf/rtld.c (struct map_args): Remove is_preloaded.
15303 (map_doit): Don't use it.
15304 (dl_main): Likewise.
15305 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
15306 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
15307
bc96fbda
AS
153082010-09-09 Andreas Schwab <schwab@redhat.com>
15309
15310 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
15311 (sysd-rules-targets): Remove duplicates.
15312 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
15313 rtld-%.$o dependency.
15314
22cd1c9b
AS
153152010-10-18 Andreas Schwab <schwab@redhat.com>
15316
15317 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
15318 _dl_map_object do it.
15319
18edac48
UD
153202010-10-19 Ulrich Drepper <drepper@gmail.com>
15321
15322 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
15323 fast fma builtins, define the macros in the C99 standard.
15324 (FP_FAST_FMAF): Likewise.
15325 (FP_FAST_FMAL): Likewise.
15326 * sysdeps/x86_64/bits/mathdef.h: Likewise.
15327
15328 * bits/mathdef.h: Update copyright year.
15329 * sysdeps/powerpc/bits/mathdef.h: Likewise.
15330
d2050124
MM
153312010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
15332
15333 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
15334 builtins, define the macros in the C99 standard.
15335 (FP_FAST_FMAF): Likewise.
15336 (FP_FAST_FMAL): Likewise.
15337 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
15338 multiply/add.
15339 (FP_FAST_FMAF): Likewise.
15340
475facd1
JJ
153412010-10-15 Jakub Jelinek <jakub@redhat.com>
15342
15343 [BZ #3268]
15344 * math/libm-test.inc (fma_test): Some new testcases.
15345 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
15346 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
15347 y and infinite z. Do multiplication by C already in long double.
15348 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
15349 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
15350 y and infinite z. Do bitwise or of inexact bit into u.d.
15351 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
15352 * sysdeps/i386/fpu/s_fmaf.S: Removed.
15353 * sysdeps/i386/fpu/s_fma.S: Removed.
15354 * sysdeps/i386/fpu/s_fmal.S: Removed.
15355
7c08a05c
JJ
153562010-10-16 Jakub Jelinek <jakub@redhat.com>
15357
15358 [BZ #3268]
15359 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
15360 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
15361 computation is not scheduled after fetestexcept. Fix value
15362 of minimum denormal long double.
15363
f3f7372d
JJ
153642010-10-14 Jakub Jelinek <jakub@redhat.com>
15365
15366 [BZ #3268]
15367 * math/libm-test.inc (fma_test): Add some more tests.
15368 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
15369 correctly.
15370
14d43591
AS
153712010-10-15 Andreas Schwab <schwab@redhat.com>
15372
15373 * scripts/data/localplt-s390-linux-gnu.data: New file.
15374 * scripts/data/localplt-s390x-linux-gnu.data: New file.
15375
5e908464
JJ
153762010-10-13 Jakub Jelinek <jakub@redhat.com>
15377
15378 [BZ #3268]
15379 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
15380 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
15381 instead of dbl-64.
15382 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
15383 inlines.
15384 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
15385 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
15386 if one of x and y is very large and the other is subnormal.
15387 * sysdeps/s390/fpu/s_fmaf.c: New file.
15388 * sysdeps/s390/fpu/s_fma.c: New file.
15389 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
15390 * sysdeps/powerpc/fpu/s_fma.S: New file.
15391 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
15392 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
15393 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
15394
153952010-10-12 Jakub Jelinek <jakub@redhat.com>
15396
15397 [BZ #3268]
15398 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
15399 fma tests.
15400 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
15401 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
15402 * sysdeps/i386/i686/multiarch/s_fma.c: Include
15403 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
15404 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
15405 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
15406 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
15407
b833d51f
UD
154082010-10-12 Ulrich Drepper <drepper@redhat.com>
15409
15410 [BZ #12078]
15411 * posix/regcomp.c (parse_branch): One more memory leak plugged.
15412 * posix/bug-regex31.input: Add test case.
15413
1751705d
UD
154142010-10-11 Ulrich Drepper <drepper@gmail.com>
15415
e9b9cbf5
UD
15416 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
15417 * posix/bug-regex31.input: New file.
15418
15419 [BZ #12078]
15420 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
15421 (parse_sub_exp): Fix last change, use postorder.
15422
ef06edbe
UD
15423 * posix/bug-regex31.c: New file.
15424 * posix/Makefile: Add rules to build and run bug-regex31.
15425
a129c80d
UD
15426 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
15427
15428 [BZ #12078]
15429 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
15430
b76b818e
UD
15431 [BZ #12108]
15432 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
15433 to have entries in sys_siglist.
15434
1751705d
UD
15435 [BZ #12093]
15436 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
15437 be NULL.
15438
9ff8d36f
JJ
154392010-10-07 Jakub Jelinek <jakub@redhat.com>
15440
15441 [BZ #3268]
15442 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
15443 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
15444 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
15445 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
15446 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
15447 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
15448 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
15449 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
15450 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
15451 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
15452 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
15453 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
15454 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
15455 * math/ftestexcept.c (fetestexcept): Likewise.
15456 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
15457 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
15458 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
15459 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
15460 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
15461 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
15462 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
15463
af325969
UD
154642010-10-11 Ulrich Drepper <drepper@gmail.com>
15465
c579b202 15466 [BZ #12107]
af325969
UD
15467 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
15468 newline.
15469
67a67b95
UD
154702010-10-06 Ulrich Drepper <drepper@gmail.com>
15471
15472 * string/bug-strstr1.c: New file.
15473 * string/Makefile: Add rules to build and run bug-strstr1.
15474
5fb308bc
EB
154752010-10-05 Eric Blake <eblake@redhat.com>
15476
15477 [BZ #12092]
15478 * string/str-two-way.h (two_way_long_needle): Always clear memory
15479 when skipping input due to the shift table.
15480
45db99c7
UD
154812010-10-03 Ulrich Drepper <drepper@gmail.com>
15482
3b111893
UD
15483 [BZ #12005]
15484 * malloc/mcheck.c: Handle large requests.
15485
45db99c7
UD
15486 [BZ #12077]
15487 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
15488 for strncmp and strncasecmp.
15489 * string/stratcliff.c: Add tests for strcmp and strncmp.
15490 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
15491
cf7a1eb8
NI
154922010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
15493
15494 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
15495 __set_fpscr.
15496
6484ba5e
AJ
154972010-09-30 Andreas Jaeger <aj@suse.de>
15498
15499 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
15500 (CGROUP_SUPER_MAGIC): Define.
15501 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
15502 Handle btrfs and cgroup file systems.
15503 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
15504 Likewise.
15505
91c42559
LM
155062010-09-27 Luis Machado <luisgpm@br.ibm.com>
15507
15508 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
15509 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
15510
87a97932
AK
155112010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15512
15513 [BZ #12067]
15514 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
15515 trying to locate the ELF header.
15516
c21cc9bc
AS
155172010-09-27 Andreas Schwab <schwab@redhat.com>
15518
15519 [BZ #11611]
15520 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
15521 Mask out sign-bit copies when constructing f_fsid.
15522
315970f6
PB
155232010-09-24 Petr Baudis <pasky@suse.cz>
15524
15525 * debug/stack_chk_fail_local.c: Add missing licence exception.
15526 * debug/warning-nop.c: Likewise.
15527
1ac7a2c7
JM
155282010-09-15 Joseph Myers <joseph@codesourcery.com>
15529
15530 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
15531 implementing getdents64 using getdents syscall, set d_type if
15532 __ASSUME_GETDENTS32_D_TYPE.
15533
56801c50
AS
155342010-09-16 Andreas Schwab <schwab@redhat.com>
15535
15536 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
15537 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
15538
dda51327
UD
155392010-09-21 Ulrich Drepper <drepper@redhat.com>
15540
15541 [BZ #12037]
15542 * posix/unistd.h: Undo change of feature selection for ftruncate from
15543 2010-01-11.
15544
8ffcee4a
UD
155452010-09-20 Ulrich Drepper <drepper@redhat.com>
15546
a545ecd9 15547 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
15548 detection.
15549
e24f0a8b
AS
155502010-09-20 Andreas Schwab <schwab@redhat.com>
15551
15552 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
15553 fanotify_mark.
15554 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
15555
7291c56f
AS
155562010-09-14 Andreas Schwab <schwab@redhat.com>
15557
15558 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
15559 variables after CHECK_SP call.
15560 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
15561
bc5fb037
AS
155622010-09-13 Andreas Schwab <schwab@redhat.com>
15563 Ulrich Drepper <drepper@redhat.com>
15564
15565 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
15566 re-relocationg ld.so.
15567 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
15568 _dl_init_paths call.
15569 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
15570 here anymore.
15571
e66e7419
UD
155722010-09-14 Ulrich Drepper <drepper@redhat.com>
15573
15574 * resolv/res_init.c (__res_vinit): Count the default server we added.
15575
c044aa75
CLT
155762010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
15577 Ulrich Drepper <drepper@redhat.com>
15578
15579 [BZ #11968]
15580 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
15581 (____longjmp_chk): Use %ebx for saving value across system call.
15582 Add unwind info.
15583
32cf4069
AS
155842010-09-06 Andreas Schwab <schwab@redhat.com>
15585
15586 * manual/Makefile: Don't mix pattern rules with normal rules.
15587
817328ee
AS
155882010-09-05 Andreas Schwab <schwab@linux-m68k.org>
15589
15590 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
15591 operation.
15592 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
15593 * libio/iofopncook.c (_IO_cookie_init): Likewise.
15594 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
15595 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
15596 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
15597 Likewise.
15598
29fddf61
UD
155992010-09-04 Ulrich Drepper <drepper@redhat.com>
15600
15601 [BZ #11979]
15602 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
15603 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
15604
0959ffc9
UD
156052010-09-02 Ulrich Drepper <drepper@redhat.com>
15606
15607 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
15608 * sysdeps/x86_64/addmul_1.S: Likewise.
15609 * sysdeps/x86_64/lshift.S: Likewise.
15610 * sysdeps/x86_64/mul_1.S: Likewise.
15611 * sysdeps/x86_64/rshift.S: Likewise.
15612 * sysdeps/x86_64/sub_n.S: Likewise.
15613 * sysdeps/x86_64/submul_1.S: Likewise.
15614
ece29840
ST
156152010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
15616
0959ffc9
UD
15617 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
15618 Define __sched_param instead of SCHED_* and sched_param when
ece29840 15619 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 15620 * bits/sched.h [__need_schedparam]
ece29840 15621 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
15622 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
15623 (__defined_schedparam): Define to 1.
ece29840
ST
15624 (__sched_param): New structure, identical to sched_param.
15625 (__need_schedparam): Undefine.
15626
e53a31fe
MF
156272010-08-31 Mike Frysinger <vapier@gentoo.org>
15628
fdc0c10d
MF
15629 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
15630 (epoll_create1): Declare.
15631
e53a31fe
MF
15632 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
15633
a726d796
AS
156342010-08-31 Andreas Schwab <schwab@redhat.com>
15635
15636 [BZ #7066]
15637 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
15638 shifting retval into place.
15639
2f3e3dc7
UD
156402010-09-01 Ulrich Drepper <drepper@redhat.com>
15641
f2933da9
UD
15642 * nis/rpcsvc/nis.h: Update copyright notice.
15643 * nis/rpcsvc/nis.x: Likewise.
15644 * nis/rpcsvc/nis_callback.h: Likewise.
15645 * nis/rpcsvc/nis_callback.x: Likewise.
15646 * nis/rpcsvc/nis_object.x: Likewise.
15647 * nis/rpcsvc/nis_tags.h: Likewise.
15648 * nis/rpcsvc/yp.h: Likewise.
15649 * nis/rpcsvc/yp.x: Likewise.
15650 * nis/rpcsvc/ypupd.h: Likewise.
15651 * nis/yp_xdr.c: Likewise.
15652 * nis/ypupdate_xdr.c: Likewise.
15653
2f3e3dc7
UD
15654 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
15655 mainly the body of pmap_getport. Add parameters to specify timeouts.
15656 (pmap_getport): Use __libc_rpc_getport.
15657 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
15658 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
15659 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
15660
f3dcc2f9
AS
156612010-08-31 Andreas Schwab <schwab@linux-m68k.org>
15662
15663 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
15664 fanotify_mark.
15665
6d34eb5b
RM
156662010-08-27 Roland McGrath <roland@redhat.com>
15667
15668 * sysdeps/i386/i686/multiarch/Makefile
15669 (CFLAGS-varshift.c): New variable.
15670
9ea3de11
UD
156712010-08-27 Ulrich Drepper <drepper@redhat.com>
15672
c96d23fc
UD
15673 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
15674 * sysdeps/i386/i686/multiarch/varshift.c: New file.
15675
9ea3de11
UD
15676 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
15677
15678 * sysdeps/x86_64/strlen.S: Minimal code improvement.
15679
623aac7f
L
156802010-08-26 H.J. Lu <hongjiu.lu@intel.com>
15681
15682 * sysdeps/x86_64/strlen.S: Unroll the loop.
15683 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
15684 strlen-sse2 strlen-sse2-bsf.
15685 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
15686 __strlen_no_bsf if bit_Slow_BSF is set.
15687 (__strlen_sse42): Removed.
15688 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
15689 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
15690
8b2b7715
RM
156912010-08-25 Roland McGrath <roland@redhat.com>
15692
15693 * sysdeps/x86_64/multiarch/varshift.S: File removed.
15694 * sysdeps/x86_64/multiarch/varshift.c: New file.
15695 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
15696 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
15697 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
15698 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
15699
e73015f2
L
157002010-08-25 H.J. Lu <hongjiu.lu@intel.com>
15701
15702 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
15703 strlen-sse2 strlen-sse2-bsf.
15704 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
15705 __strlen_sse2_bsf if bit_Slow_BSF is unset.
15706 (__strlen_sse2): Removed.
15707 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
15708 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
15709 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
15710 bit_Slow_BSF for Atom.
15711 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
15712 (index_Slow_BSF): Define.
15713 (HAS_SLOW_BSF): Define.
15714
df24a73e
UD
157152010-08-25 Ulrich Drepper <drepper@redhat.com>
15716
15717 [BZ #10851]
15718 * resolv/res_init.c (__res_vinit): When no server address at all
15719 is given default to loopback.
15720
f2ac4868
RM
157212010-08-24 Roland McGrath <roland@redhat.com>
15722
09055553
RM
15723 * configure.in: Remove config-name.h generation.
15724 * configure: Regenerated.
15725 * config-name.in: File removed.
15726 * scripts/config-uname.sh: New file.
15727 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
15728 ($(objdir)config-name.h): New target.
15729
f2ac4868
RM
15730 * sunrpc/rpc_parse.h: Avoid nested comment.
15731
73f27d5e
RH
157322010-08-24 Richard Henderson <rth@redhat.com>
15733 Ulrich Drepper <drepper@redhat.com>
15734 H.J. Lu <hongjiu.lu@intel.com>
15735
15736 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
15737 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
15738 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
15739 Replace _mm_srli_si128 with __m128i_shift_right. Replace
15740 _mm_alignr_epi8 with _mm_loadu_si128.
15741 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
15742 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
15743 (__m128i_shift_right): Removed.
15744 * sysdeps/i386/i686/multiarch/varshift.h: New file.
15745 * sysdeps/i386/i686/multiarch/varshift.S: New file.
15746 * sysdeps/x86_64/multiarch/varshift.h: New file.
15747 * sysdeps/x86_64/multiarch/varshift.S: New file.
15748
84b9230c
MF
157492010-08-21 Mike Frysinger <vapier@gentoo.org>
15750
15751 * configure.in: Move assembler checks to before sysdep dir checking.
15752
9bbd0ddc
PB
157532010-08-20 Petr Baudis <pasky@suse.cz>
15754
15755 * LICENSES: Sync the sunrpc license.
15756
9da4bb31
UD
157572010-08-19 Ulrich Drepper <drepper@redhat.com>
15758
a7ab6ec8
UD
15759 * sunrpc/auth_des.c: Update copyright notice once again.
15760 * sunrpc/auth_none.c: Likewise.
15761 * sunrpc/auth_unix.c: Likewise.
15762 * sunrpc/authdes_prot.c: Likewise.
15763 * sunrpc/authuxprot.c: Likewise.
15764 * sunrpc/bindrsvprt.c: Likewise.
15765 * sunrpc/clnt_gen.c: Likewise.
15766 * sunrpc/clnt_perr.c: Likewise.
15767 * sunrpc/clnt_raw.c: Likewise.
15768 * sunrpc/clnt_simp.c: Likewise.
15769 * sunrpc/clnt_tcp.c: Likewise.
15770 * sunrpc/clnt_udp.c: Likewise.
15771 * sunrpc/clnt_unix.c: Likewise.
15772 * sunrpc/des_crypt.c: Likewise.
15773 * sunrpc/des_soft.c: Likewise.
15774 * sunrpc/get_myaddr.c: Likewise.
15775 * sunrpc/getrpcport.c: Likewise.
15776 * sunrpc/key_call.c: Likewise.
15777 * sunrpc/key_prot.c: Likewise.
15778 * sunrpc/openchild.c: Likewise.
15779 * sunrpc/pm_getmaps.c: Likewise.
15780 * sunrpc/pm_getport.c: Likewise.
15781 * sunrpc/pmap_clnt.c: Likewise.
15782 * sunrpc/pmap_prot.c: Likewise.
15783 * sunrpc/pmap_prot2.c: Likewise.
15784 * sunrpc/pmap_rmt.c: Likewise.
15785 * sunrpc/rpc/auth.h: Likewise.
15786 * sunrpc/rpc/auth_unix.h: Likewise.
15787 * sunrpc/rpc/clnt.h: Likewise.
15788 * sunrpc/rpc/des_crypt.h: Likewise.
15789 * sunrpc/rpc/key_prot.h: Likewise.
15790 * sunrpc/rpc/netdb.h: Likewise.
15791 * sunrpc/rpc/pmap_clnt.h: Likewise.
15792 * sunrpc/rpc/pmap_prot.h: Likewise.
15793 * sunrpc/rpc/pmap_rmt.h: Likewise.
15794 * sunrpc/rpc/rpc.h: Likewise.
15795 * sunrpc/rpc/rpc_des.h: Likewise.
15796 * sunrpc/rpc/rpc_msg.h: Likewise.
15797 * sunrpc/rpc/svc.h: Likewise.
15798 * sunrpc/rpc/svc_auth.h: Likewise.
15799 * sunrpc/rpc/types.h: Likewise.
15800 * sunrpc/rpc/xdr.h: Likewise.
15801 * sunrpc/rpc_clntout.c: Likewise.
15802 * sunrpc/rpc_cmsg.c: Likewise.
15803 * sunrpc/rpc_common.c: Likewise.
15804 * sunrpc/rpc_cout.c: Likewise.
15805 * sunrpc/rpc_dtable.c: Likewise.
15806 * sunrpc/rpc_hout.c: Likewise.
15807 * sunrpc/rpc_main.c: Likewise.
15808 * sunrpc/rpc_parse.c: Likewise.
15809 * sunrpc/rpc_parse.h: Likewise.
15810 * sunrpc/rpc_prot.c: Likewise.
15811 * sunrpc/rpc_sample.c: Likewise.
15812 * sunrpc/rpc_scan.c: Likewise.
15813 * sunrpc/rpc_scan.h: Likewise.
15814 * sunrpc/rpc_svcout.c: Likewise.
15815 * sunrpc/rpc_tblout.c: Likewise.
15816 * sunrpc/rpc_util.c: Likewise.
15817 * sunrpc/rpc_util.h: Likewise.
15818 * sunrpc/rpcinfo.c: Likewise.
15819 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
15820 * sunrpc/rpcsvc/key_prot.x: Likewise.
15821 * sunrpc/rpcsvc/klm_prot.x: Likewise.
15822 * sunrpc/rpcsvc/mount.x: Likewise.
15823 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
15824 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
15825 * sunrpc/rpcsvc/rex.x: Likewise.
15826 * sunrpc/rpcsvc/rstat.x: Likewise.
15827 * sunrpc/rpcsvc/rusers.x: Likewise.
15828 * sunrpc/rpcsvc/sm_inter.x: Likewise.
15829 * sunrpc/rpcsvc/spray.x: Likewise.
15830 * sunrpc/rpcsvc/yppasswd.x: Likewise.
15831 * sunrpc/rtime.c: Likewise.
15832 * sunrpc/svc.c: Likewise.
15833 * sunrpc/svc_auth.c: Likewise.
15834 * sunrpc/svc_authux.c: Likewise.
15835 * sunrpc/svc_raw.c: Likewise.
15836 * sunrpc/svc_run.c: Likewise.
15837 * sunrpc/svc_simple.c: Likewise.
15838 * sunrpc/svc_tcp.c: Likewise.
15839 * sunrpc/svc_udp.c: Likewise.
15840 * sunrpc/svc_unix.c: Likewise.
15841 * sunrpc/svcauth_des.c: Likewise.
15842 * sunrpc/xcrypt.c: Likewise.
15843 * sunrpc/xdr.c: Likewise.
15844 * sunrpc/xdr_array.c: Likewise.
15845 * sunrpc/xdr_float.c: Likewise.
15846 * sunrpc/xdr_mem.c: Likewise.
15847 * sunrpc/xdr_rec.c: Likewise.
15848 * sunrpc/xdr_ref.c: Likewise.
15849 * sunrpc/xdr_sizeof.c: Likewise.
15850 * sunrpc/xdr_stdio.c: Likewise.
15851
9da4bb31
UD
15852 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
15853 handling.
15854
bdaa77bc
AS
158552010-08-19 Andreas Schwab <schwab@redhat.com>
15856
15857 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
15858
fe2f79db
LM
158592010-08-19 Luis Machado <luisgpm@br.ibm.com>
15860
15861 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
15862 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
15863 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
15864 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
15865 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
15866 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
15867 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
15868 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
15869 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
15870 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
15871 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
15872 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
15873 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
15874 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
15875
b9b42ee0
AB
158762010-07-26 Anton Blanchard <anton@samba.org>
15877
15878 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
15879 * malloc/arena.c (heap_trim): Likewise.
15880
1c06ba31
UD
158812010-08-16 Ulrich Drepper <drepper@redhat.com>
15882
15883 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
15884 here. Not...
15885 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
15886 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
15887
f8392f40
L
158882010-08-12 H.J. Lu <hongjiu.lu@intel.com>
15889
15890 * sysdeps/i386/elf/Makefile: New file.
15891
3162f12e
AS
158922010-08-14 Andreas Schwab <schwab@linux-m68k.org>
15893
15894 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
15895 from fanotify_init.
15896 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
15897 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
15898
28c90b2c
UD
158992010-08-15 Ulrich Drepper <drepper@redhat.com>
15900
15901 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
15902 of strncasecmp_l.
1feccb6c 15903 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 15904
ca6bb004
UD
159052010-08-14 Ulrich Drepper <drepper@redhat.com>
15906
e9f82e0d
UD
15907 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
15908 strncase_l-nonascii.
15909 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
15910 Add strncase_l-ssse3.
15911 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
15912 * sysdeps/x86_64/strcmp.S: Likewise.
15913 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
15914 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
15915 * sysdeps/x86_64/strncase.S: New file.
15916 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
15917 * sysdeps/x86_64/strncase_l.S: New file.
15918 * string/Makefile (strop-tests): Add strncasecmp.
15919 * string/test-strncasecmp.c: New file.
15920
15921 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
15922 warning.
15923
ca6bb004
UD
15924 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
15925 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
15926
052fa7b3
AS
159272010-08-14 Andreas Schwab <schwab@linux-m68k.org>
15928
15929 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
15930
962dba78
UD
159312010-08-12 Ulrich Drepper <drepper@redhat.com>
15932
15933 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
15934 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
15935 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
15936
bebff237
AM
159372010-05-01 Alan Modra <amodra@gmail.com>
15938
15939 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
15940 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
15941 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
15942 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
15943 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
15944 tidying. Don't tail-call __sigjmp_save for static lib.
15945 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
15946 save location.
15947 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
15948 (CALL_MCOUNT): Add eh info, and nop after bl.
15949 (TAIL_CALL_SYSCALL_ERROR): New macro.
15950 (PSEUDO_RET): Use it.
15951 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
15952 Correct save location of integer regs and cr.
15953 (_dl_profile_resolve): Correct cr save location. Delete nops
15954 after bl when SHARED. Reduce cfi size a little by better
15955 placement of cfi directives.
15956 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
15957 make a stack frame. Instead use parm save area as a temp.
15958 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
15959 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
15960 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
15961 Don't make a stack frame for parent, use parm save area.
15962 Increase child stack frame to 112 bytes. Don't save unused reg,
15963 and adjust reg usage. Set up cfi on error recovery and
15964 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
15965 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
15966 (__makecontext): Add dummy nop after jump to exit.
15967 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
15968 Use correct parm save area and cr save, reduce stack frame.
15969 Correct cfi for possible PSEUDO_RET frame setup.
15970 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
15971 Branch to local label emitted by PSEUDO_RET rather than
15972 __syscall_error.
15973
02637374
AS
159742010-08-12 Andreas Schwab <schwab@redhat.com>
15975
15976 [BZ #11904]
15977 * locale/programs/locale.c (print_assignment): New function.
15978 (show_locale_vars): Use it.
15979
c3e2f19b
UD
159802010-08-11 Ulrich Drepper <drepper@redhat.com>
15981
3cdaa6ad
UD
15982 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
15983 field.
15984 (struct statfs64): Likewise.
15985 (_STATFS_F_FLAGS): Define.
15986 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
15987 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
15988 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
15989 (ST_VALID): Define locally.
15990 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
15991 __statvfs_getflags, use the provided value.
15992 * sysdeps/unix/sysv/linux/kernel-features.h: Define
15993 __ASSUME_STATFS_F_FLAGS.
15994
754f7da3
UD
15995 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
15996
10b3bedc
UD
15997 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
15998 Add sys/fanotify.h.
15999 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
16000 fanotify_mask for GLIBC_2.13.
16001 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
16002 fanotify_init and fanotify_mark.
16003 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
16004 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
16005
c08fb0d7
UD
16006 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
16007 Add prlimit.
16008 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
16009 prlimit64 for GLIBC_2.13.
16010 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
16011 prlimit64.
16012 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
16013 syscall.
16014 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
16015 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
16016 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
16017 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
16018 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
16019 add prlimit alias.
16020 * sysdeps/unix/sysv/linux/prlimit.c: New file.
16021
15bac72b
UD
16022 [BZ #11903]
16023 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
16024 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
16025
c3e2f19b
UD
16026 * nss/Makefile: Add rules to build and run tst-nss-test1.
16027 * shlib-versions: Add entry for libnss_test1.
16028 * nss/nss_test1.c: New file.
16029 * nss/tst-nss-test1.c: New file.
16030
16031 * nss/nsswitch.c (__nss_database_custom): Define new variable.
16032 (__nss_configure_lookup): Set appropriate entry in
16033 __nss_configure_lookup to true.
16034 * nss/nsswitch.h: Define enum with indeces of databases in
16035 databases and __nss_database_custom arrays. Declare
16036 __nss_database_custom.
16037 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
16038 to avoid using nscd when custom rules are installed.
16039 * nss/getXXbyYY_r.c: Likewise.
16040 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
16041
16042 * nss/nss_files/files-parse.c: Whitespace fixes.
16043
f15ce4d8
UD
160442010-08-09 Ulrich Drepper <drepper@redhat.com>
16045
16046 [BZ #11883]
16047 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
16048 * posix/fnmatch_loop.c: Likewise.
16049
d22e4cc9
AK
160502010-07-17 Andi Kleen <ak@linux.intel.com>
16051
16052 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
16053 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
16054 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
16055 * Versions.def [GLIBC_2.13]: Add.
16056
805bc17d
UD
160572010-08-06 Ulrich Drepper <drepper@redhat.com>
16058
16059 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
16060 Also fail if tpwd after pwuid call is NULL.
16061
5a42321d
ST
160622010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
16063
16064 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
16065 when converting to ms.
16066
fd3ebeda
ST
160672010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
16068
16069 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
16070 EOPNOTSUPP errors with ENOTTY.
16071 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
16072 EOPNOTSUPP errors with ENOTTY.
16073
73507d3a
UD
160742010-07-31 Ulrich Drepper <drepper@redhat.com>
16075
16076 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
16077 Add strcasecmp_l-ssse3.
16078 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
16079 strcasecmp.
16080 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
16081 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
16082 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
16083
fe36dd02
UD
160842010-07-30 Ulrich Drepper <drepper@redhat.com>
16085
66f6765a
UD
16086 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
16087
42e08a54
UD
16088 * string/Makefile (strop-tests): Add strcasecmp.
16089 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
16090 strcasecmp_l-nonascii.
16091 (gen-as-const-headers): Add locale-defines.sym.
16092 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
16093 * sysdeps/x86_64/strcasecmp.S: New file.
16094 * sysdeps/x86_64/strcasecmp_l.S: New file.
16095 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
16096 * sysdeps/x86_64/locale-defines.sym: New file.
16097 * string/test-strcasecmp.c: New file.
16098
fe36dd02
UD
16099 * string/test-strcasestr.c: Test both ends of the range of characters.
16100 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
16101
48cbc0d6
RM
161022010-07-29 Roland McGrath <roland@redhat.com>
16103
76e6d6bc 16104 [BZ #11856]
48cbc0d6
RM
16105 * manual/locale.texi (Yes-or-No Questions): Fix example code.
16106
880113d9
UD
161072010-07-27 Ulrich Drepper <drepper@redhat.com>
16108
16109 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
16110 for ld.so.
16111
deb9cabb
AS
161122010-07-27 Andreas Schwab <schwab@redhat.com>
16113
16114 * manual/memory.texi (Malloc Tunable Parameters): Document
16115 M_PERTURB.
16116
1c7570ff
RM
161172010-07-26 Roland McGrath <roland@redhat.com>
16118
16119 [BZ #11840]
16120 * configure.in (-fgnu89-inline check): Set and substitute
16121 gnu89_inline, not libc_cv_gnu89_inline.
16122 * configure: Regenerated.
16123 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
16124
24fb0f88
UD
161252010-07-26 Ulrich Drepper <drepper@redhat.com>
16126
16127 * string/test-strnlen.c: New file.
16128 * string/Makefile (strop-tests): Add strnlen.
16129 * string/tester.c (test_strnlen): Add a few more test cases.
16130 * string/tst-strlen.c: Better error reporting.
16131
16132 * sysdeps/x86_64/strnlen.S: New file.
16133
8e96b93a
UD
161342010-07-24 Ulrich Drepper <drepper@redhat.com>
16135
16136 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
16137 lower-latency instructions.
16138
dbc676d4
UD
161392010-07-23 Ulrich Drepper <drepper@redhat.com>
16140
16141 * string/test-strcasestr.c: New file.
16142 * string/test-strstr.c: New file.
16143 * string/Makefile (strop-tests): Add strstr and strcasestr.
16144 * string/str-two-way.h: Don't undefine MAX.
16145 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
16146
f6a31e0e
AS
161472010-07-21 Andreas Schwab <schwab@redhat.com>
16148
16149 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
16150 strcasestr-nonascii.
16151 (CFLAGS-strcasestr-nonascii.c): Define.
16152 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
16153 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
16154 Remove unused attribute.
16155
5dbc3b6c
RM
161562010-07-20 Roland McGrath <roland@redhat.com>
16157
16158 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
16159 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
16160 ld.so.cache was broken. With it, there is no way to disable dsocaps
16161 like LD_HWCAP_MASK can disable hwcaps.
16162
23d101d8
EPM
161632010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
16164
16165 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
16166
cc9f2e47
UD
161672010-07-16 Ulrich Drepper <drepper@redhat.com>
16168
16169 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
16170 call in strcasestr.
16171 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
16172 __strcasestr_sse42_nonascii.
16173 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
16174 strcasestr-nonascii.c.
16175 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
16176
77c1b069
LM
161772010-06-15 Luis Machado <luisgpm@br.ibm.com>
16178
16179 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
16180 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
16181 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
16182 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
16183
440566c3
UD
161842010-07-09 Ulrich Drepper <drepper@redhat.com>
16185
16186 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
16187 fcntl.
16188
5be9d05d
AS
161892010-07-06 Andreas Schwab <schwab@redhat.com>
16190
c30b7ee2 16191 [BZ #11577]
5be9d05d
AS
16192 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
16193 dl_signal_cerror.
16194
8a492a67
UD
161952010-07-06 Ulrich Drepper <drepper@redhat.com>
16196
16197 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
16198 _PC_PIPE_BUF using F_GETPIPE_SZ.
16199
713df3d5
RM
162002010-07-05 Roland McGrath <roland@redhat.com>
16201
16202 * manual/arith.texi (Rounding Functions): Fix rint description
16203 implicit in round description.
16204
702e8f14
UD
162052010-07-02 Ulrich Drepper <drepper@redhat.com>
16206
16207 * elf/Makefile: Fix linking for a few tests to make recent linker
16208 happy.
16209
52ed8be9
AS
162102010-06-30 Andreas Schwab <schwab@redhat.com>
16211
16212 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
16213 $(common-objpfx)libc_nonshared.a.
16214
f47c9a11
LM
162152010-06-21 Luis Machado <luisgpm@br.ibm.com>
16216
16217 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
16218 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
16219 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
16220 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
16221 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
16222 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
16223 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
16224 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
16225 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
16226 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
16227 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
16228 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
16229 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
16230 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
16231 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
16232 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
16233 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
16234 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
16235 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
16236 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
16237 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
16238 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
16239 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
16240 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
16241 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
16242 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
16243 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
16244 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
16245 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
16246 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
16247 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
16248 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
16249 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
16250 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
16251 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
16252 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
16253 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
16254 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
16255 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
16256 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
16257 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
16258 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
16259 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
16260 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
16261 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
16262 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
16263 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
16264 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
16265
6fb8cbcb
L
162662010-06-25 H.J. Lu <hongjiu.lu@intel.com>
16267
16268 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
16269 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
16270 * string/memmove.c (memmove): Renamed to ...
16271 (MEMMOVE): ...this. Default to memmove.
16272 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
16273 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
16274 (END_CHK): Define.
16275 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
16276 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
16277 mempcpy-ssse3-back memmove-ssse3-back.
16278 * sysdeps/x86_64/multiarch/bcopy.S: New file .
16279 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
16280 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
16281 * sysdeps/x86_64/multiarch/memcpy.S: New file.
16282 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
16283 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
16284 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
16285 * sysdeps/x86_64/multiarch/memmove.c: New file.
16286 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
16287 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
16288 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
16289 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
16290 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
16291 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
16292 Define.
16293 (index_Fast_Copy_Backward): Define.
16294 (HAS_ARCH_FEATURE): Define.
16295 (HAS_FAST_REP_STRING): Define.
16296 (HAS_FAST_COPY_BACKWARD): Define.
16297
4e733bac 162982010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
16299
16300 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
16301 Restore proper fallback handling.
16302
63c4ed22
UD
163032010-06-19 Ulrich Drepper <drepper@redhat.com>
16304
ac2b484c
UD
16305 [BZ #11701]
16306 * posix/group_member.c (__group_member): Correct checking loop.
16307
63c4ed22
UD
16308 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
16309 OOM in getpwuid_r correctly. Return error number when the caller
16310 should return, otherwise -1.
16311 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
16312 call returning > 0 value.
16313 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
16314
765ade4b
AS
163152010-06-07 Andreas Schwab <schwab@redhat.com>
16316
16317 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
16318 libc_nonshared.a from targets in modules-names.
16319
80da2e09
KS
163202010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
16321
16322 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
16323 requires it.
16324
158db122
LM
163252010-06-10 Luis Machado <luisgpm@br.ibm.com>
16326
16327 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
16328 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
16329 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
16330 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
16331
caa78cf8
AS
163322010-06-02 Andreas Schwab <schwab@redhat.com>
16333
16334 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
16335
b2ef2c01
UD
163362010-06-14 Ulrich Drepper <drepper@redhat.com>
16337
16338 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
16339 and F_GETPIPE_SZ.
16340 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
16341 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
16342 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
16343 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
16344 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
16345 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
16346
fbd643b6
RM
163472010-06-14 Roland McGrath <roland@redhat.com>
16348
16349 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
16350
f32f2869
JJ
163512010-06-07 Jakub Jelinek <jakub@redhat.com>
16352
16353 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
16354 __REDIRECT followed by __THROW.
16355 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
16356 * posix/getopt.h (getopt): Likewise.
16357
2a50c078
EPM
163582010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
16359
16360 * hurd/lookup-at.c (__file_name_lookup_at): Accept
16361 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
16362 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
16363 in AT_FLAGS.
16364 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
16365 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
16366
eb5ad2eb
LM
163672010-05-28 Luis Machado <luisgpm@br.ibm.com>
16368
16369 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
16370
3c88fe1e
L
163712010-05-26 H.J. Lu <hongjiu.lu@intel.com>
16372
16373 [BZ #11640]
16374 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
16375 Properly check family and model.
16376
d2f73151
TY
163772010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
16378
16379 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
16380
ebd2e13d
LM
163812010-05-24 Luis Machado <luisgpm@br.ibm.com>
16382
16383 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
16384
b32b8b45
UD
163852010-05-21 Ulrich Drepper <drepper@redhat.com>
16386
16387 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
16388 symbol reference.
16389
9acbe24d
AS
163902010-05-19 Andreas Schwab <schwab@redhat.com>
16391
16392 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
16393 symbol reference.
16394
f0ccf6ea
AS
163952010-05-21 Andreas Schwab <schwab@redhat.com>
16396
3d04ff3a
AS
16397 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
16398 and internal_recvmmsg.
16399 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
16400 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
16401 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
16402 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
16403
f0ccf6ea
AS
16404 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
16405 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
16406 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
16407
5b08ac57
AS
164082010-05-20 Andreas Schwab <schwab@redhat.com>
16409
16410 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
16411
4828935d
LM
164122010-05-17 Luis Machado <luisgpm@br.ibm.com>
16413
16414 POWER7 optimizations.
16415 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
16416 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
16417
373d545e
UD
164182010-05-19 Ulrich Drepper <drepper@redhat.com>
16419
16420 * version.h: Update for 2.13 development version.
16421
21a2b1ae
AS
164222010-05-12 Andrew Stubbs <ams@codesourcery.com>
16423
16424 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
16425 exceptions. Return 0.
16426
3f7dcb2b
RM
164272010-05-07 Roland McGrath <roland@redhat.com>
16428
16429 * elf/ldconfig.c (main): Add a const.
16430
5f24d53a 164312010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 16432
a160f8d8
UD
16433 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
16434 (args_options): Add no-idn option.
16435 (ahosts_keys_int): Add idn_flags to ai_flags.
16436 (parse_option): Handle 'i' option to clear idn_flags.
16437
5f24d53a
UD
16438 * malloc/malloc.c (_int_free): Possible race in the most recently
16439 added check. Only act on the data if no current modification
16440 happened.
265bb1ce
UD
16441
16442See ChangeLog.17 for earlier changes.
This page took 2.086895 seconds and 5 git commands to generate.