]> git.ipfire.org Git - thirdparty/glibc.git/blame - ChangeLog
Check __SSE_MATH__ in x86_64 feraiseexcept
[thirdparty/glibc.git] / ChangeLog
CommitLineData
a728a38f
L
12012-06-06 H.J. Lu <hongjiu.lu@intel.com>
2
3 [BZ #14117]
4 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
5 __SSE_MATH__.
6
6e230d11
SP
72012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
8
9 [BZ #14134]
10 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
11 character 0xffff that matches the last element of the
12 conversion table.
13
1b671feb
AZ
142012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15
16 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
17 fmodl commit.
18
6043738b
AZ
192012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20
21 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
22 values higher than 25.6283.
23
34ae0b32
AZ
242012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25
26 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
27 subnormal exponent extraction and add some __builtin_expect.
28 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
29 Fix for subnormal mantissa calculation.
30
1214ec8f
MF
312012-06-04 Mike Frysinger <vapier@gentoo.org>
32
33 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
34 cpu2 is -1 and errno is not ENOSYS.
35
f3d1f93c
L
362012-06-04 H.J. Lu <hongjiu.lu@intel.com>
37
38 [BZ #14117]
0e4a3cd7
L
39 * sysdeps/i386/i486/bits/string.h: Renamed to ...
40 * sysdeps/x86/bits/string.h: This.
41 * sysdeps/x86_64/bits/string.h: Removed.
42
6704c645
L
43 * sysdeps/i386/i486/bits/string.h: Define inline functions only
44 if not compiling for x86-64, but compiling for >= i486.
45
48495318
L
46 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
47 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
48
14adcbfc
L
49 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
50 New macro from Linux kernel 3.4.0.
51 (FP_XSTATE_MAGIC2): Likewise.
52 (FP_XSTATE_MAGIC2_SIZE): Likewise.
53 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
54 (struct _fpx_sw_bytes): New struct.
55 (struct _xsave_hdr): Likewise.
56 (struct _ymmh_state): Likewise.
57 (struct _xstate): Likewise.
58
68e408ab
L
59 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
60 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
61 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
62 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
63 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
64 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
65
f3d1f93c
L
66 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
67 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
68 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
69 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
70 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
71 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
72
d9dc34cd
TMQMF
732012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
74
75 [BZ #13743]
76 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
77 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
78 (sysdep_headers): Include sys/platform/ppc.h.
79 * sysdeps/powerpc/test-gettimebase.c: Test for
80 __ppc_get_timebase() to catch future ISA opcode/insn changes.
81 * manual/Makefile (appendices): Include platform.texi.
82 * manual/contrib.texi (Contributors): Update @node pointers.
83 * manual/maint.texi (Maintenance): Likewise.
84 (Platform): New node.
85 * manual/platform.texi: New file. Document the new features.
86
4af3879c
SP
872012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
88 Jakub Jelinek <jakub@redhat.com>
89
90 [BZ #14188]
91 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
92 where __builtin_expect is unavailable.
93
2fd6ff13
DM
942012-06-03 David S. Miller <davem@davemloft.net>
95
96 * stdlib/longlong.h: Updated from GCC.
97
173f7220
AS
982012-06-02 Andreas Schwab <schwab@linux-m68k.org>
99
100 [BZ #14042]
101 * sysdeps/powerpc/powerpc32/mcount.c: New file.
102 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
103 __mcount_internal.
104 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
105 (GLIBC_2.16): Likewise.
106
f34a1c6f
L
1072012-06-01 H.J. Lu <hongjiu.lu@intel.com>
108
109 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
110
88a4576f
JM
1112012-06-01 Joseph Myers <joseph@codesourcery.com>
112
ea32bcdd
JM
113 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
114 (default-abi): New variable.
115 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
116 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
117 variable.
118 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
119 Likewise.
120 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
121 Likewise.
122 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
123 Likewise.
124
88a4576f
JM
125 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
126 definition. Document in comment.
127
402fe938
DM
1282012-06-01 David S. Miller <davem@davemloft.net>
129
130 * stdlib/longlong.h: Updated from GCC.
131
3553723f
L
1322012-06-01 H.J. Lu <hongjiu.lu@intel.com>
133
134 [BZ #14117]
3bd872c4
L
135 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
136 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
137 sys/debugreg.h sys/io.h here.
138 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
139 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
140 sys/io.h.
141 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
142 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
143 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
144 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
145 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
146 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
147
3553723f
L
148 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
149 Define only if __x86_64__ is defined.
150
4842e4fe
JM
1512012-06-01 Joseph Myers <joseph@codesourcery.com>
152
c5bfe3d5
JM
153 [BZ #14048]
154 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
155 Use int64_t for variable i.
156 * math/libm-test.inc (fmod_test): Add more tests.
157
4842e4fe
JM
158 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
159 z computation is not scheduled after fetestexcept.
160 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
161 Use math_force_eval instead of asm to ensure calculation scheduled
162 before exception test.
163 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
164 Ensure a1 + u.d computation is not scheduled after fetestexcept.
165
efb73488
AJ
1662012-06-01 Aurelien Jarno <aurelien@aurel32.net>
167
168 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
169 computation is not scheduled after fetestexcept.
170
29bcce7c
L
1712012-06-01 H.J. Lu <hongjiu.lu@intel.com>
172
173 [BZ #14117]
174 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
175 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
176
73a68f94
AZ
1772012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
178
179 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
180 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
181
67b6df78
L
1822012-05-31 H.J. Lu <hongjiu.lu@intel.com>
183
edf2933a 184 [BZ #14117]
ebc64a18
L
185 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
186 <bits/wordsize.h>.
187 (__WCHAR_MIN): Support __WORDSIZE == 64.
188 (__WCHAR_MAX): Likewise.
189
edf2933a
L
190 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
191 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
192
57c6cf40
L
193 [BZ #14183]
194 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
195 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
196
67b6df78 197 [BZ #14117]
8eb6281e
L
198 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
199 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
200
aac639f4
L
201 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
202 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
203
67b6df78
L
204 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
205 Defined to 1 if __x86_64__ isn't defined.
206 (_STAT_VER_LINUX_OLD): New.
207 (st_atime): Remove duplicate.
208 (st_mtime): Likewise.
209 (st_ctime): Likewise.
210
1c2cfe81
DM
2112012-05-31 David S. Miller <davem@davemloft.net>
212
213 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
214 entries.
215
5be8418c
AS
2162012-06-01 Andreas Schwab <schwab@linux-m68k.org>
217
e7725326
AS
218 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
219 gen-libm-test.pl.
220
5be8418c
AS
221 [BZ #14132]
222 * elf/dl-reloc.c: Include <_itoa.h>.
223 (_dl_reloc_bad_type): Remove use of INTUSE.
224 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
225 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
226 * stdio-common/psiginfo.c (psiginfo): Likewise.
227 * stdio-common/psignal.c (psignal): Likewise.
228 * string/strsignal.c (strsignal): Likewise.
229 * include/signal.h (_sys_siglist): Declare hidden proto.
230 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
231 INTVARDEF with libc_hidden_data_def.
232 * stdio-common/itoa-udigits.c: Likewise.
233 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
234 (_itoa_lower_digits_internal): Remove declaration.
235 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
236 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
237 (_sys_sigabbrev_internal): Remove aliases.
238 (_sys_siglist): Define hidden alias.
239
507352f1
MT
2402012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
241
242 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
243 bits/sysctl.h.
244
42bbb1c3
L
2452012-05-31 H.J. Lu <hongjiu.lu@intel.com>
246
247 [BZ #14117]
6bd784b6
L
248 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
249 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
250
8bca20f0
L
251 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
252 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
253 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
254 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
255 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
256 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
257
f9e890a9
L
258 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
259 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
260 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
261
471101a1
L
262 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
263 with __addr.
264 (insw): Likewise.
265 (insl): Likewise.
266 (outsb): Likewise.
267 (outsw): Likewise.
268 (outsl): Likewise.
269
6451c862
L
270 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
271 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
272 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
273
a254b8c9
L
274 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
275 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
276 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
277 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
278 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
279 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
280
b8dfdd92
L
281 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
282 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
283
578cd270
L
284 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
285 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
286
de662f5f
L
287 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
288 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
289 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
290
25653439
L
291 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
292 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
293 to ...
294 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
295
6bad24a0
L
296 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
297 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
298 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
299
42bbb1c3
L
300 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
301 for x86-64.
302 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
303
2d10d547
JM
3042012-05-31 Joseph Myers <joseph@codesourcery.com>
305
306 * math/math.h (M_El): Use two more decimal places.
307 (M_LOG2El): Likewise.
308 (M_LOG10El): Likewise.
309 (M_LN2l): Likewise.
310 (M_LN10l): Likewise.
311 (M_PIl): Likewise.
312 (M_PI_2l): Likewise.
313 (M_PI_4l): Likewise.
314 (M_1_PIl): Likewise.
315 (M_2_PIl): Likewise.
316 (M_2_SQRTPIl): Likewise.
317 (M_SQRT2l): Likewise.
318 (M_SQRT1_2l): Likewise.
319
f230c29b
DM
3202012-05-31 David S. Miller <davem@davemloft.net>
321
322 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
323 values between float registers.
324 * sysdeps/sparc/sparc64/memset.S: Likewise.
325 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
326
fed806c3
MF
3272012-05-31 Mike Frysinger <vapier@gentoo.org>
328
329 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
330 -D_FORTIFY_SOURCE=1.
331 (CPPFLAGS-tst-longjmp_chk.c): Define.
332 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
333 (CPPFLAGS-tst-longjmp_chk2.c): Define.
334 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
335 CFLAGS-tst-wchar-h.c.
336
30917259
MP
3372012-05-31 Marek Polacek <polacek@redhat.com>
338
339 [BZ #14132]
340 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
341 __endmntent_internal): Remove declaration.
342 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
343 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
344 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
345
1c58d5dc
DM
3462012-05-30 David S. Miller <davem@davemloft.net>
347
348 * sysdeps/sparc/sparc32/soft-fp/q_util.c
349 (___Q_simulate_exceptions): Use real FP ops rather than writing
350 into the %fsr.
351 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
352 Likewise.
353
7dc00e0d
L
3542012-05-30 H.J. Lu <hongjiu.lu@intel.com>
355
356 [BZ #14117]
0bd53985
L
357 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
358 * sysdeps/x86/bits/xtitypes.h: This.
359
3a257e66
L
360 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
361 * sysdeps/x86/bits/wordsize.h: This.
362
62f62904
L
363 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
364 * sysdeps/x86/bits/huge_vall.h: This.
365
404fe9d9
L
366 * sysdeps/i386/bits/select.h: Removed.
367 * sysdeps/x86_64/bits/select.h: Renamed to ...
368 * sysdeps/x86/bits/select.h: This.
369
d48d0446
L
370 * sysdeps/i386/bits/setjmp.h: Removed.
371 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
372 * sysdeps/x86/bits/setjmp.h: This.
373
7dc00e0d
L
374 * sysdeps/i386/bits/mathdef.h: Removed.
375 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
376 * sysdeps/x86/bits/mathdef.h: This.
377
03277f8f
AS
3782012-05-30 Andreas Schwab <schwab@linux-m68k.org>
379
380 [BZ #14132]
381 * include/sys/socket.h (__connect_internal)
382 (__libc_sa_len_internal): Remove declaration.
383 (__connect, __libc_sa_len): Declare hidden_proto.
384 (SA_LEN): Remove use of INTUSE.
385 * socket/connect.c: Add libc_hidden_def.
386 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
387 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
388 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
389 alias.
390 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
391 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
392 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
393 of adding _internal alias.
394
13764867
L
3952012-05-30 H.J. Lu <hongjiu.lu@intel.com>
396
397 [BZ #14117]
6bd97696
L
398 * sysdeps/i386/bits/link.h: Removed.
399 * sysdeps/i386/bits/linkmap.h: Likewise.
400 * sysdeps/x86_64/bits/link.h: Renamed to ...
401 * sysdeps/x86/bits/link.h: This.
402 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
403 * sysdeps/x86/bits/linkmap.h: This.
404
f726f0bb
L
405 * sysdeps/i386/bits/endian.h: Removed.
406 * sysdeps/x86_64/bits/endian.h: Renamed to ...
407 * sysdeps/x86/bits/endian.h: This.
408
13764867
L
409 * sysdeps/i386/bits/byteswap.h: Removed.
410 * sysdeps/i386/bits/byteswap-16.h: Likewise.
411 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
412 * sysdeps/x86/bits/byteswap.h: This.
413 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
414 * sysdeps/x86/bits/byteswap-16.h: This.
415 * sysdeps/i386/Implies: Add x86.
416 * sysdeps/x86_64/Implies: Likewise.
417
ae251b0b
DM
4182012-05-30 David S. Miller <davem@davemloft.net>
419
420 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
421 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
422 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
423 (FP_TRAPPING_EXCEPTIONS): Define.
424 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
425 (FP_TRAPPING_EXCEPTIONS): Define.
426 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
427 subnormals only when inexact has been signalled or underflow
428 exceptions are enabled.
429 (_FP_PACK_CANONICAL): Likewise.
430
d5c90867
L
4312012-05-30 H.J. Lu <hongjiu.lu@intel.com>
432
433 [BZ #14183]
434 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
435 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
436
63f1549e
RH
4372012-05-30 Richard Henderson <rth@twiddle.net>
438
8d8f2279
RH
439 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
440 with #ifndef NOT_IN_libc.
441
63f1549e
RH
442 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
443 marked to avoid plt entry.
444
0ab0291b
L
4452012-05-30 H.J. Lu <hongjiu.lu@intel.com>
446
447 [BZ #14112]
448 * Makeconfig (default-abi): New macro.
449 (abi-includes): Likewise.
450 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
451 $(abi-$(default-abi)-lib-soname) for soname if defined.
452 ($(common-objpfx)gnu/lib-names.stmp): Generate from
453 abi-variants.
454 * Makefile (installed-stubs): Likewise.
455 * include/stubs-biarch.h: Removed.
456 * scripts/lib-names.awk: Only handle one library at a time.
457 * scripts/soversions.awk: Remove WORDSIZE support.
458 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
459 entries.
460 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
461 Removed.
462 (syscall-list-default-condition): Likewise.
463 (syscall-list-default-condition): Likewise.
464 (syscall-list-includes): Likewise.
465 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
466 syscall-list-* with abi-*. Handle undefined abi-variants.
467 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
468 * sysdeps/unix/sysv/linux/i386/Implies: New file.
469 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
470 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
471 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
472 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
473 Removed.
474 (syscall-list-32-options): Likewise.
475 (syscall-list-32-condition): Likewise.
476 (syscall-list-64-options): Likewise.
477 (syscall-list-64-condition): Likewise.
478 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
479 macro.
480 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
481 Renamed to ...
482 (abi-*): This.
483 (abi-64-ld-soname): New macro.
484 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
485 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
486 Renamed to ...
487 (abi-*): This.
488 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
489 * sysdeps/x86_64/x32/shlib-versions: Likewise.
490
4da0431d
JM
4912012-05-30 Joseph Myers <joseph@codesourcery.com>
492
3a85279c
JM
493 * sysdeps/unix/sysv/linux/kernel-features.h
494 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
495 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
496 include <kernel-features.h>.
497 [!__NR_ftruncate64]: Remove conditional code.
498 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
499 [__NR_ftruncate64]: Make code unconditional.
500 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
501 * sysdeps/unix/sysv/linux/truncate64.c: Do not
502 include <kernel-features.h>.
503 [!__NR_ftruncate64]: Remove conditional code.
504 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
505 [__NR_ftruncate64]: Make code unconditional.
506 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
507 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
508 include <kernel-features.h>.
509 [!__NR_ftruncate64]: Remove conditional code.
510 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
511 [__NR_ftruncate64]: Make code unconditional.
512 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
513 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
514 include <kernel-features.h>.
515 [!__NR_ftruncate64]: Remove conditional code.
516 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
517 [__NR_ftruncate64]: Make code unconditional.
518 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
519
4da0431d
JM
520 * configure.in (libc_cv_fpie): Weaken to a compile test using
521 LIBC_TRY_CC_OPTION.
522 * configure: Regenerated.
523
11ef492c
AK
5242012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
525
526 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
527 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
528 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
529 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
530 Refreshed.
531 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
532 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
533 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
534 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
535 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
536 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
537 Refreshed.
538
d66ef399
DM
5392012-05-27 David S. Miller <davem@davemloft.net>
540
541 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
542 (___Q_zero): New.
543 (__Q_simulate_exceptions): Return void. Change to simulate
544 exceptions by writing into the %fsr.
545 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
546 (__Qp_handle_exceptions): Likewise.
547 (numbers): Delete.
548 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
549 __Qp_handle_exceptions.
550 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
551 __Qp_handle_exceptions.
552 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
553 as unused and give dummy FP_RND_NEAREST initializer.
554 (FP_INHIBIT_RESULTS): Define.
555 (___Q_simulate_exceptions): Update declaration.
556 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
557 formatting.
558 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
559 as unused and give dummy FP_RND_NEAREST initializer.
560 (__Qp_handle_exceptions): Update declaration.
561 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
562 formatting.
563
04fb54b5
TS
5642012-05-27 Thomas Schwinge <thomas@codesourcery.com>
565
566 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
567 the temporary FPU control word.
568 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
569 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
570 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
571 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
572 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
573 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
574 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
575 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
576 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
577 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
578 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
579
3f99608f
KK
5802012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
581
582 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
583 fields.
584
65a4de4e
CLT
5852012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
586
587 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
588 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
589 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
590 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
591 Likewise.
592 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
593 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
594 Likewise.
595
15749d40
UD
5962012-05-27 Ulrich Drepper <drepper@gmail.com>
597
598 * po/h.po: Update from translation team.
599
25dbcb27
AS
6002012-05-26 Andreas Schwab <schwab@linux-m68k.org>
601
3d3f8e55
AS
602 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
603
25dbcb27
AS
604 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
605 handling of denormals.
606 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
607 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
608 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
609 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
610 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
611 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
612 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
613 Likewise.
614
7ad47a80 6152012-05-26 Marek Polacek <polacek@redhat.com>
d81dcb35
MP
616
617 [BZ #14152]
618 * math/libm-test.inc (fma_test): Don't always expect underflow
619 exception.
620
9c6ea9fa
SP
6212012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
622
623 [BZ #12416]
624 * elf/tst-execstack.c: Include stackinfo.h.
625 (do_test): Adjust test case to ensure that pthread_getattr_np
626 behaviour remains the same after marking stack executable.
627
a8239222
JM
6282012-05-25 Joseph Myers <joseph@codesourcery.com>
629
630 * sysdeps/unix/sysv/linux/kernel-features.h
631 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
632 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
633 kernel-features.h.
634 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
635 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
636 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
637 kernel-features.h.
638 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
639 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
640
918b5606
L
6412012-05-25 H.J. Lu <hongjiu.lu@intel.com>
642
643 * configure.in: Define the default includes to being none.
644 * configure: Regenerated.
645
3a097cc7
RM
6462012-05-25 Roland McGrath <roland@hack.frob.com>
647
8422c9a5
RM
648 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
649 * sysdeps/x86_64/setjmp.S: Likewise.
650 * sysdeps/i386/bsd-setjmp.S: Likewise.
651 * sysdeps/i386/bsd-_setjmp.S: Likewise.
652 * sysdeps/i386/setjmp.S: Likewise.
653 * sysdeps/i386/__longjmp.S: Likewise.
654 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
655 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
656
3a097cc7
RM
657 * include/stap-probe.h: New file.
658 * configure.in: Handle --enable-systemtap.
659 * configure: Regenerated.
660 * config.h.in (USE_STAP_PROBE): New #undef.
661 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
662 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
663 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
664
21708942
JM
6652012-05-25 Joseph Myers <joseph@codesourcery.com>
666
667 [BZ #13717]
668 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
669 to 2.4.0 where earlier.
670 * sysdeps/unix/sysv/linux/configure: Regenerated.
671 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
672 <kernel-features.h>.
673 [__ASSUME_32BITUIDS]: Make code unconditional.
674 [!__ASSUME_32BITUIDS]: Remove conditional code.
675 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
676 <kernel-features.h>.
677 [__ASSUME_32BITUIDS]: Make code unconditional.
678 [!__ASSUME_32BITUIDS]: Remove conditional code.
679 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
680 [__ASSUME_32BITUIDS]: Make code unconditional.
681 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
682 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
683 <kernel-features.h>.
684 [__ASSUME_32BITUIDS]: Make code unconditional.
685 [!__ASSUME_32BITUIDS]: Remove conditional code.
686 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
687 <kernel-features.h>.
688 [__ASSUME_32BITUIDS]: Make code unconditional.
689 [!__ASSUME_32BITUIDS]: Remove conditional code.
690 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
691 <kernel-features.h>.
692 [__ASSUME_32BITUIDS]: Make code unconditional.
693 [!__ASSUME_32BITUIDS]: Remove conditional code.
694 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
695 <kernel-features.h>.
696 [__ASSUME_32BITUIDS]: Make code unconditional.
697 [!__ASSUME_32BITUIDS]: Remove conditional code.
698 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
699 <kernel-features.h>.
700 [__ASSUME_32BITUIDS]: Make code unconditional.
701 [!__ASSUME_32BITUIDS]: Remove conditional code.
702 * sysdeps/unix/sysv/linux/i386/getresuid.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/getuid.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/lchown.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/msgctl.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/semctl.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/setegid.c: Do not include
723 <kernel-features.h>.
724 [__NR_setresgid] (__setresgid): Do not declare.
725 [__ASSUME_32BITUIDS]: Make code unconditional.
726 [!__ASSUME_32BITUIDS]: Remove conditional code.
727 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
728 <kernel-features.h>.
729 [__NR_setresuid] (__setresuid): Do not declare.
730 [__ASSUME_32BITUIDS]: Make code unconditional.
731 [!__ASSUME_32BITUIDS]: Remove conditional code.
732 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
733 <kernel-features.h>.
734 [__ASSUME_32BITUIDS]: Make code unconditional.
735 [!__ASSUME_32BITUIDS]: Remove conditional code.
736 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
737 <kernel-features.h>.
738 [__ASSUME_32BITUIDS]: Make code unconditional.
739 [!__ASSUME_32BITUIDS]: Remove conditional code.
740 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
741 <kernel-features.h>.
742 [__ASSUME_32BITUIDS]: Make code unconditional.
743 [!__ASSUME_32BITUIDS]: Remove conditional code.
744 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
745 <kernel-features.h>.
746 [__ASSUME_32BITUIDS]: Make code unconditional.
747 [!__ASSUME_32BITUIDS]: Remove conditional code.
748 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
749 <kernel-features.h>.
750 [__ASSUME_32BITUIDS]: Make code unconditional.
751 [!__ASSUME_32BITUIDS]: Remove conditional code.
752 * sysdeps/unix/sysv/linux/i386/setresgid.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/setresuid.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/setreuid.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/setuid.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/shmctl.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/kernel-features.h
773 (__ASSUME_SETRESUID_SYSCALL): Remove.
774 (__ASSUME_SETRESGID_SYSCALL): Likewise.
775 (__ASSUME_32BITUIDS): Likewise.
776 (__ASSUME_LDT_WORKS): Likewise.
777 (__ASSUME_O_DIRECTORY): Likewise.
778 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
779 architecture but not kernel version.
780 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
781 (__ASSUME_MMAP2_SYSCALL): Likewise.
782 (__ASSUME_STAT64_SYSCALL): Likewise.
783 (__ASSUME_IPC64): Likewise.
784 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
785 <kernel-features.h>.
786 [__ASSUME_32BITUIDS]: Make code unconditional.
787 [!__ASSUME_32BITUIDS]: Remove conditional code.
788 * sysdeps/unix/sysv/linux/opendir.c: Do not include
789 <kernel-features.h>.
790 [__ASSUME_O_DIRECTORY]: Make code unconditional.
791 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
792 132096]: Remove conditional code.
793 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
794 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
795 <kernel-features.h>.
796 [__ASSUME_32BITUIDS]: Make code unconditional.
797 [!__ASSUME_32BITUIDS]: Remove conditional code.
798 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
799 <kernel-features.h>.
800 [__ASSUME_32BITUIDS]: Make code unconditional.
801 [!__ASSUME_32BITUIDS]: Remove conditional code.
802 * sysdeps/unix/sysv/linux/setegid.c: Do not include
803 <kernel-features.h>.
804 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
805 unconditional.
806 (__setresgid): Do not declare.
807 [__ASSUME_32BITUIDS]: Make code unconditional.
808 [!__ASSUME_32BITUIDS]: Remove conditional code.
809 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
810 <kernel-features.h>.
811 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
812 unconditional.
813 (__setresuid): Do not declare.
814 [__ASSUME_32BITUIDS]: Make code unconditional.
815 [!__ASSUME_32BITUIDS]: Remove conditional code.
816 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
817 <kernel-features.h>.
818 [__ASSUME_32BITUIDS]: Make code unconditional.
819 [!__ASSUME_32BITUIDS]: Remove conditional code.
820 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
821 <kernel-features.h>.
822 [__ASSUME_32BITUIDS]: Make code unconditional.
823 [!__ASSUME_32BITUIDS]: Remove conditional code.
824
a386f1cc
RH
8252012-05-25 Richard Henderson <rth@twiddle.net>
826
827 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
828 dl_hwcap to ifunc resolver.
829 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
830 elf_ifunc_invoke.
831 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
832 dl_hwcap to ifunc resolver.
833 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
834
b6550497
JM
8352012-05-24 Joseph Myers <joseph@codesourcery.com>
836
837 [BZ #14153]
838 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
839 for |x| <= 2**-26, not 2**-57.
840 * math/libm-test.inc (acos_test): Do not allow spurious underflow
841 exception.
842
b0bc23a1
JL
8432012-05-24 Jeff Law <law@redhat.com>
844
845 * stdio-common/Makefile (tests): Add bug25.
846 * stdio-common/bug25.c: New test.
847
347c92e9
L
8482012-05-24 H.J. Lu <hongjiu.lu@intel.com>
849
850 [BZ #13576]
851 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
852 multiple of MALLOC_ALIGNMENT in size.
853 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
854
6bcc8b3f
JM
8552012-05-24 Joseph Myers <joseph@codesourcery.com>
856
857 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
858 Require >= 256.
859 (FILENAME_MAX): Use macro-int-constant.
860 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
861 (_IOFBF): Use macro-int-constant.
862 (_IOLBF): Likewise.
863 (_IONBF): Likewise.
864 (SEEK_CUR): Likewise.
865 (SEEK_END): Likewise.
866 (SEEK_SET): Likewise.
867 (TMP_MAX): Likewise.
868 (EOF): Use macro-int-constant. Require < 0.
869 (NULL): Use macro-constant. Require == 0.
870 (stdin): Require type to be FILE *.
871 (stdout): Likewise.
872 (stderr): Likewise.
873 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
874 macro-int-constant.
875 (EXIT_SUCCESS): Likewise.
876 (NULL): Use macro-constant. Require == 0.
877 (RAND_MAX): Use macro-int-constant.
878 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
879 [C99-based standards] (strtof): Require function.
880 [C99-based standards] (strtold): Likewise.
881 [C99-based standards] (strtoll): Likewise.
882 [C99-based standards] (strtoull): Likewise.
883 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
884 [ISO || ISO99 || ISO11] (limits.h): Likewise.
885 [ISO || ISO99 || ISO11] (math.h): Likewise.
886 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
887 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
888 [ISO || ISO99 || ISO11] (*_t): Do not allow.
889
d18ea0c5
AS
8902012-05-24 Andreas Schwab <schwab@linux-m68k.org>
891
892 [BZ #14132]
56d25bb8
AS
893 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
894 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
895 * intl/dgettext.c (DCGETTEXT): Likewise.
896 * intl/gettext.c (DCGETTEXT): Likewise.
897 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
898 * posix/regex_internal.h (gettext): Likewise.
899 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
900 Remove declaration.
901 * include/argz.h (__argz_count_internal)
902 (__argz_stringify_internal): Remove declaration.
903 (__argz_count, __argz_stringify): Declare hidden proto.
904 * intl/dcgettext.c: Remove use of INTDEF.
905 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
906 * string/argz-stringify.c: Likewise.
907 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
908 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
909 Declare hidden proto.
d18ea0c5
AS
910 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
911 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
912 Declare hidden proto.
913 * include/stdio.h (__asprintf_internal): Don't declare.
914 (__asprintf): Don't define as macro. Declare hidden proto.
915 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
916 (__fsetlocking): Declare hidden proto.
917 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
918 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
919 hidden proto.
920 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
921 (_IO_setlinebuf): Remove use of INTUSE.
922 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
923 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
924 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
925 Remove declaration.
926 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
927 (_IO_do_flush): Remove use of INTUSE.
928 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
929 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
930 (_IO_adjust_column, _IO_least_wmarker)
931 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
932 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
933 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
934 (_IO_default_doallocate, _IO_wdefault_doallocate)
935 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
936 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
937 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
938 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
939 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
940 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
941 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
942 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
943 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
944 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
945 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
946 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
947 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
948 proto.
949 (_IO_flush_all_internal, _IO_adjust_column_internal)
950 (_IO_default_uflow_internal, _IO_default_finish_internal)
951 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
952 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
953 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
954 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
955 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
956 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
957 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
958 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
959 (_IO_file_close_internal, _IO_file_close_it_internal)
960 (_IO_file_underflow_internal, _IO_file_overflow_internal)
961 (_IO_file_init_internal, _IO_file_attach_internal)
962 (_IO_file_fopen_internal, _IO_file_read_internal)
963 (_IO_file_sync_internal, _IO_file_seek_internal)
964 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
965 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
966 (_IO_str_underflow_internal, _IO_str_overflow_internal)
967 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
968 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
969 (_IO_list_all_internal, _IO_link_in_internal)
970 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
971 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
972 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
973 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
974 (_IO_do_write_internal, _IO_padn_internal)
975 (_IO_getline_info_internal, _IO_getline_internal)
976 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
977 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
978 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
979 (_IO_vfscanf_internal, _IO_vfprintf_internal)
980 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
981 (_IO_init_internal, _IO_un_link_internal): Don't declare.
982 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
983 with libc_hidden_ver, remove use of INTUSE.
984 * libio/genops.c: Likewise.
985 * libio/freopen.c: Likewise.
986 * libio/freopen64.c: Likewise.
987 * libio/iofclose.c: Likewise.
988 * libio/iofdopen.c: Likewise.
989 * libio/iofflush.c: Likewise.
990 * libio/iofflush_u.c: Likewise.
991 * libio/iofgets.c: Likewise.
992 * libio/iofgets_u.c: Likewise.
993 * libio/iofopen.c: Likewise.
994 * libio/iofopncook.c: Likewise.
995 * libio/iofread.c: Likewise.
996 * libio/iofread_u.c: Likewise.
997 * libio/ioftell.c: Likewise.
998 * libio/iofwrite.c: Likewise.
999 * libio/iogetline.c: Likewise.
1000 * libio/iogets.c: Likewise.
1001 * libio/iogetwline.c: Likewise.
1002 * libio/iopadn.c: Likewise.
1003 * libio/iopopen.c: Likewise.
1004 * libio/ioseekoff.c: Likewise.
1005 * libio/ioseekpos.c: Likewise.
1006 * libio/iosetbuffer.c: Likewise.
1007 * libio/iosetvbuf.c: Likewise.
1008 * libio/ioungetc.c: Likewise.
1009 * libio/ioungetwc.c: Likewise.
1010 * libio/iovdprintf.c: Likewise.
1011 * libio/iovsprintf.c: Likewise.
1012 * libio/iovsscanf.c: Likewise.
1013 * libio/memstream.c: Likewise.
1014 * libio/obprintf.c: Likewise.
1015 * libio/oldfileops.c: Likewise.
1016 * libio/oldiofclose.c: Likewise.
1017 * libio/oldiofdopen.c: Likewise.
1018 * libio/oldiofopen.c: Likewise.
1019 * libio/oldiopopen.c: Likewise.
1020 * libio/oldstdfiles.c: Likewise.
1021 * libio/putc.c: Likewise.
1022 * libio/setbuf.c: Likewise.
1023 * libio/setlinebuf.c: Likewise.
1024 * libio/stdfiles.c: Likewise.
1025 * libio/strops.c: Likewise.
1026 * libio/vasprintf.c: Likewise.
1027 * libio/vscanf.c: Likewise.
1028 * libio/vsnprintf.c: Likewise.
1029 * libio/vswprintf.c: Likewise.
1030 * libio/wfiledoalloc.c: Likewise.
1031 * libio/wfileops.c: Likewise.
1032 * libio/wgenops.c: Likewise.
1033 * libio/wmemstream.c: Likewise.
1034 * libio/wstrops.c: Likewise.
1035 * libio/__fpurge.c: Likewise.
1036 * libio/__fsetlocking.c: Likewise.
1037 * assert/assert.c: Likewise.
1038 * debug/fgets_chk.c: Likewise.
1039 * debug/fgets_u_chk.c: Likewise.
1040 * debug/fread_chk.c: Likewise.
1041 * debug/fread_u_chk.c: Likewise.
1042 * debug/gets_chk.c: Likewise.
1043 * debug/obprintf_chk.c: Likewise.
1044 * debug/vasprintf_chk.c: Likewise.
1045 * debug/vdprintf_chk.c: Likewise.
1046 * debug/vsnprintf_chk.c: Likewise.
1047 * debug/vsprintf_chk.c: Likewise.
1048 * malloc/mtrace.c: Likewise.
1049 * misc/error.c: Likewise.
1050 * misc/syslog.c: Likewise.
1051 * stdio-common/asprintf.c: Likewise.
1052 * stdio-common/fxprintf.c: Likewise.
1053 * stdio-common/getw.c: Likewise.
1054 * stdio-common/isoc99_fscanf.c: Likewise.
1055 * stdio-common/isoc99_scanf.c: Likewise.
1056 * stdio-common/isoc99_vfscanf.c: Likewise.
1057 * stdio-common/isoc99_vscanf.c: Likewise.
1058 * stdio-common/isoc99_vsscanf.c: Likewise.
1059 * stdio-common/printf-prs.c: Likewise.
1060 * stdio-common/printf_fp.c: Likewise.
1061 * stdio-common/printf_fphex.c: Likewise.
1062 * stdio-common/printf_size.c: Likewise.
1063 * stdio-common/putw.c: Likewise.
1064 * stdio-common/scanf.c: Likewise.
1065 * stdio-common/sprintf.c: Likewise.
1066 * stdio-common/tmpfile.c: Likewise.
1067 * stdio-common/vfprintf.c: Likewise.
1068 * stdio-common/vfscanf.c: Likewise.
1069 * stdlib/strfmon_l.c: Likewise.
1070 * sunrpc/openchild.c: Likewise.
1071 * sunrpc/xdr_stdio.c: Likewise.
1072 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
1073 * sysdeps/mach/hurd/tmpfile.c: Likewise.
1074
d6c33fda
RM
10752012-05-24 Roland McGrath <roland@hack.frob.com>
1076
c1487492
RM
1077 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
1078
1079 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
1080 in the third column, to generate for the shared library an IFUNC
1081 that uses _dl_vdso_vsym.
1082 * Makerules (COMPILE.c, compile-stdin.c): New variables.
1083 * Makeconfig (object-suffixes-noshared): New variable.
1084
1085 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
1086 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
1087 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
1088 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
1089
d6c33fda
RM
1090 [BZ #14132]
1091 * include/sys/time.h (__gettimeofday): Remove macro.
1092 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
1093 * time/gettimeofday.c (__gettimeofday): Remove #undef.
1094 Remove INTDEF.
1095 (__gettimeofday): Add libc_hidden_def.
1096 (gettimeofday): Add libc_hidden_weak.
1097 * sysdeps/mach/gettimeofday.c: Likewise.
1098 * sysdeps/posix/gettimeofday.c: Likewise.
1099 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
1100 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
1101 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
1102 (__gettimeofday_internal): Remove strong_alias.
1103 (__gettimeofday): Add libc_hidden_def.
1104 (gettimeofday): Add libc_hidden_weak.
1105 * sysdeps/unix/syscalls.list (gettimeofday):
1106 Remove __gettimeofday_internal alias.
1107
b5a2bbe6
L
11082012-05-24 Daniel Jacobowitz <drow@false.org>
1109 H.J. Lu <hongjiu.lu@intel.com>
1110
1111 [BZ #12495]
1112 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
1113 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
1114 (largebin_index_32_big): New.
1115 (largebin_index): Use it for 16-byte alignment.
1116 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
1117 correction with front_misalign.
1118
cfba4fda
L
11192012-05-24 H.J. Lu <hongjiu.lu@intel.com>
1120
7f907421
L
1121 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
1122 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
1123 Likewise.
1124 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
1125 Likewise.
1126 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
1127 Likewise.
1128 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
1129 Likewise.
1130 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
1131 Likewise.
1132 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
1133 Likewise.
1134 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
1135 Likewise.
1136 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
1137 Likewise.
1138 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
1139 Likewise.
1140 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
1141 Likewise.
1142 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
1143 Likewise.
1144 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
1145 Likewise.
1146
cfba4fda
L
1147 * scripts/data/c++-types-x32-linux-gnu.data: New file.
1148 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
1149
80bad0cc
JM
11502012-05-24 Joseph Myers <joseph@codesourcery.com>
1151
7a25eb06
JM
1152 [BZ #10846]
1153 [BZ #14036]
1154 * math/libm-test.inc (exp_test): Add test from bug 14036.
1155 (pow_test): Add test from bug 10846.
1156
795405f9
JM
1157 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
1158 and other flags.
1159 (special_function): Do not include flags in test name.
1160 (parse_args): Likewise.
1161 * sysdeps/i386/fpu/libm-test-ulps: Update.
1162 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
1163 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
1164 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
1165 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1166
80bad0cc
JM
1167 * math/gen-libm-test.pl (%beautify): Add entries for underflow
1168 exceptions.
1169 * math/libm-test.inc ("Philosophy"): Update comment about
1170 exception testing.
1171 (UNDERFLOW_EXCEPTION): New macro.
1172 (UNDERFLOW_EXCEPTION_OK): Likewise.
1173 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
1174 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
1175 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
1176 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
1177 (INVALID_EXCEPTION_OK): Update value.
1178 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
1179 (OVERFLOW_EXCEPTION_OK): Likewise.
1180 (IGNORE_ZERO_INF_SIGN): Likewise.
1181 (test_exceptions): Handle underflow exceptions.
1182 (acos_test): Update for underflow exception expectations.
1183 (cexp_test): Likewise.
1184 (clog_test): Likewise.
1185 (clog10_test): Likewise.
1186 (csqrt_test): Likewise.
1187 (ctan_test): Likewise.
1188 (ctanh_test): Likewise.
1189 (exp_test): Likewise.
1190 (exp10_test): Likewise.
1191 (exp2_test): Likewise.
1192 (expm1_test): Likewise.
1193 (fma_test): Likewise.
1194 (j0_test): Likewise.
1195 (jn_test): Likewise.
1196 (nexttoward_test): Likewise.
1197 (pow_test): Likewise.
1198 (scalbn_test): Likewise.
1199 (scalbln_test): Likewise.
1200 (tan_test): Likewise.
1201 (y1_test): Likewise.
1202 * sysdeps/i386/fpu/libm-test-ulps: Update.
1203 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1204
9e0e3d0b
DM
12052012-05-23 David S. Miller <davem@davemloft.net>
1206
1207 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
1208 (__libc_sigaction): Remove unused local variables.
1209
ccd0a08f
L
12102012-05-23 H.J. Lu <hongjiu.lu@intel.com>
1211
1212 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
1213
62bdf9a6
PE
12142012-05-23 Paul Eggert <eggert@cs.ucla.edu>
1215
f8591f80
PE
1216 mktime: avoid signed integer overflow
1217 * time/mktime.c (__mktime_internal): Do not mishandle the case
1218 where diff == INT_MIN.
1219
94c7d826
PE
1220 mktime: simplify computation of average
1221 * time/mktime.c (ranged_convert): Use new time_t_avg function
1222 instead of rolling our own (probably-slower) code.
1223
ce73d683
PE
1224 mktime: do not assume signed right shift propagates sign bit
1225 * time/mktime.c (isdst_differ): New static function.
1226 (__mktime_internal): No need to normalize tm_isdst now.
1227 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
1228 tm_isdst values.
1229
72a22e59
PE
1230 mktime: merge another wrapv change from gnulib
1231 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
1232 from some compilers.
1233
68605433
PE
1234 mktime: remove incorrect attempt at unusual arithmetics
1235 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
1236 The code didn't really work on such machines anyway.
1237 (TYPE_MINIMUM): Assume two's complement.
1238 (twos_complement_arithmetic): Verify that long_int and time_t
1239 are two's complement (or unsigned, in the latter case).
1240
03cf7fe3
PE
1241 mktime: check signed shifts on long_int and time_t, too
1242 * time/mktime.c (SHR): Check that shifts work as desired
1243 on the types long_int and time_t too, as SHR is used on
1244 such types.
1245
f04dfbc2
PE
1246 mktime: do not assume 'long' is wide enough
1247 * time/mktime.c (verify): Move decl up.
1248 (long_int): New type.
1249 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
1250 to remove assumption in the code that 'long' is wide enough to
1251 store year values. This assumption is not true on x32 and on
1252 some non-glibc platforms.
1253
62bdf9a6
PE
1254 mktime: merge wrapv change from gnulib
1255 * time/mktime.c (WRAPV): New macro.
1256 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
1257 (guess_time_tm, __mktime_internal): Do not assume that signed
1258 integer overflow wraps around; modern compilers generate code
1259 where this assumption is no longer valid.
1260
5e292e4f
L
12612012-05-23 H.J. Lu <hongjiu.lu@intel.com>
1262
1263 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
1264 Replace "jmp L(pseudo_end)" with "ret".
1265 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
1266 Likewise.
1267
8caf8c87
AJ
12682012-05-23 Andreas Jaeger <aj@suse.de>
1269
1270 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
1271 * sysdeps/unix/sysv/linux/poll.c: Remove file.
1272
1a09dc56
AJ
12732012-05-23 Andreas Jaeger <aj@suse.de>
1274 Maximilian Attems <max@stro.at>
1275
1276 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
1277 New macros.
1278
1c87aba0
L
12792012-05-23 H.J. Lu <hongjiu.lu@intel.com>
1280
1281 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
1282 code so that pseudo_end is just ret and the stack pointer is
1283 correct also for static library in error case.
1284
40e45bd5
JM
12852012-05-23 Joseph Myers <joseph@codesourcery.com>
1286
c2670533
JM
1287 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
1288 move to syscalls.list.
1289 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
1290 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
1291 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
1292 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
1293
40e45bd5
JM
1294 * manual/install.texi (Running make install): Do not mention Linux
1295 kernel version for which pt_chown is not needed.
1296 (Linux): Do not mention problems with nscd with 2.0 kernels.
1297 * INSTALL: Regenerated.
1298
be08eda5
AJ
12992012-05-23 Andreas Jaeger <aj@suse.de>
1300
1301 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
1302 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
1303 macro.
1304 * sysdeps/unix/sysv/linux/s390/bits/mman.h
1305 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
1306 * sysdeps/unix/sysv/linux/sh/bits/mman.h
1307 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
1308 * sysdeps/unix/sysv/linux/i386/bits/mman.h
1309 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
1310 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
1311 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
1312 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
1313 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
1314 * sysdeps/unix/sysv/linux/bits/in.h
1315 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
1316
a6a056bb
RM
13172012-05-22 Roland McGrath <roland@hack.frob.com>
1318
1319 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
1320 (PREPARE_VERSION): Just use assert instead, it will be elided
1321 under [NDEBUG] anyway.
1322
c9009328
L
13232012-05-22 H.J. Lu <hongjiu.lu@intel.com>
1324
1325 * sysdeps/unix/sysv/linux/Makefile: Include
1326 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
cb191f23 1327 (sysdep_routines): Remove sysctl.
c9009328
L
1328 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
1329 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
1330 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
1331 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
1332 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
1333
73338355
AJ
13342012-05-22 Andreas Jaeger <aj@suse.de>
1335
1336 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
1337 that pseudo_end is just ret and the stack pointer is correct also
1338 for static library in error case.
1339
d44638b0
PP
13402012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
1341
1342 [BZ #14122]
1343 * nss/nsswitch.c (defconfig_entries): New variable.
1344 (__nss_database_lookup): Don't leak defconfig entries.
1345 (nss_parse_service_list): Don't leak on error paths.
1346 (free_database_entries): New function.
1347 (free_defconfig): New function.
1348 (free_mem): Move common code to free_database_entries.
1349
31a39bd8
L
13502012-05-22 H.J. Lu <hongjiu.lu@intel.com>
1351
da0331a8
L
1352 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
1353 Add arch_prctl.
1354 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
1355
31a39bd8
L
1356 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
1357 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
1358 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
1359 New macro.
1360 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
1361 (INTERNAL_SYSCALL_TYPES): Likewise.
1362 (LOAD_ARGS_TYPES_[1-6]): Likewise.
1363 (LOAD_REGS_TYPES_[1-6]): Likewise.
1364 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
1365 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
1366
45470df3
AZ
13672012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1368
1369 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
1370 copysignl for GLIBC_2_0.
1371 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
1372 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
1373 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
1374 logbl for GLIBC_2_0.
1375 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
1376 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
1377
98a61bcb
L
13782012-05-22 H.J. Lu <hongjiu.lu@intel.com>
1379
a4f6e481
L
1380 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
1381 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
1382
f63d5db6
L
1383 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
1384 Use "neg %eax".
1385
98a61bcb
L
1386 * time/mktime.c: Update copyright years.
1387
95770f14
PE
13882012-05-22 Paul Eggert <eggert@cs.ucla.edu>
1389
6226efbd
PE
1390 mktime: merge comment-quoting-style change from gnulib
1391 * time/mktime.c: Quote 'like this' in comments.
1392 The GNU coding standards suggest that we no longer quote `like this',
1393 as "`" and "'" are typically rendered asymmetrically nowadays.
1394 The typical gnulib style is to quote 'like this' when quoting
1395 code, and "like this" when quoting English.
1396
b99e4f78
PE
1397 * time/mktime.c (compile-command): Add "-I.".
1398
643e01e6
PE
1399 mktime: merge mktime-internal.h change from gnulib
1400 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
1401
2554247d
PE
1402 mktime: merge time_r change from gnulib
1403 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
1404
826dd0ab
PE
1405 mktime: merge DEBUG change from gnulib
1406 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
1407 case system <time.h> has a #define.
1408
bd83aabe
PE
1409 mktime: merge <sys/types.h> change from gnulib
1410 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
1411 since <time.t> is now guaranteed to define time_t.
1412
95770f14
PE
1413 mktime: merge HAVE_CONFIG_H change from gnulib
1414 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
1415
5e1a27a9
L
14162012-05-22 H.J. Lu <hongjiu.lu@intel.com>
1417
0e44a77e
L
1418 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
1419 Use "neg %eax".
1420
5e1a27a9
L
1421 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
1422 __rlim_t cast.
1423 (struct rusage): Use anonymous union to pad each field to
1424 __syscall_slong_t.
1425
46259bec
DM
14262012-05-21 David S. Miller <davem@davemloft.net>
1427
1428 * Makefules (o-iterator): Remove .s cases.
1429 (compile-command.s): Delete.
1430 (COMPILE.s): Delete.
1431 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
1432
59f0c22e
JM
14332012-05-21 Joseph Myers <joseph@codesourcery.com>
1434
1435 * configure.in (libc_cv_predef_stack_protector): Only consider
1436 "foobar" and "__stack_chk_fail" lines in libc_undefs.
1437 * configure: Regenerated.
1438
20c07380
L
14392012-05-21 H.J. Lu <hongjiu.lu@intel.com>
1440
bbb3154b
L
1441 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
1442 New macro. Use R*LP on int and pointer.
1443 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
c5b3a2c0
L
1444 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
1445 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
bbb3154b
L
1446 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
1447
20c07380
L
1448 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
1449 [__WORDSIZE_TIME64_COMPAT32] instead of
1450 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
1451 (struct utmp): Likewise.
1452 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
1453 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
1454 Renamed to ...
1455 (__WORDSIZE_TIME64_COMPAT32): This.
1456 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
1457 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
1458 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
1459 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
1460 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
1461 (__WORDSIZE_TIME64_COMPAT32): New macro.
1462
d8d1017e
AJ
14632012-05-21 Andreas Jaeger <aj@suse.de>
1464
1465 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
1466 only if [SHARED]. Add prototype for __wcschr_ia32.
1467
6c7fb145
RM
14682012-05-21 Roland McGrath <roland@hack.frob.com>
1469
1470 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
1471 of %rbp unmolested in the jmp_buf while mangling the low bits.
1472 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
1473 unmolested high bits of %rbp while demangling the low bits.
1474 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
1475
66274218
AJ
14762012-05-21 Andreas Jaeger <aj@suse.de>
1477
07c58f8f
AJ
1478 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
1479 * sunrpc/svc_simple.c: Use it for registerrpc.
1480 * sunrpc/xcrypt.c: Use it for passwd2des.
1481
66274218
AJ
1482 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
1483
61f65140
L
14842012-05-21 H.J. Lu <hongjiu.lu@intel.com>
1485
1486 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
1487 Don't define if [__SYSCALL_WORDSIZE != 32].
1488 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
1489 New macro.
1490
5fefb436
AJ
14912012-05-21 Bruno Haible <bruno@clisp.org>
1492 Andreas Jaeger <aj@suse.de>
1493
1494 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
1495 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
1496 inptr and inend for must_buffer_ch.
1497 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
1498 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
1499 * stdio-common/Makefile (tests): Remove bug15.
1500 (bug15-ENV): Remove macro.
1501 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
1502 anymore.
1503
d8e272ab
AJ
15042012-05-19 Andreas Jaeger <aj@suse.de>
1505 Roland McGrath <roland@hack.frob.com>
1506
1507 * manual/contrib.texi: Completely rewritten. It contains now an
1508 alphabetical list of contributors and their contributions.
1509
4a56a162
RH
15102012-05-21 Richard Henderson <rth@twiddle.net>
1511
1512 * misc/getauxval.c (__getauxval): Use unsigned long int.
1513 * misc/sys/auxv.h: Include <sys/cdefs.h>.
1514 (getauxval): Use unsigned long int.
1515
d024d23c
L
15162012-05-21 H.J. Lu <hongjiu.lu@intel.com>
1517
1518 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
1519
cbc00a03
RM
15202012-05-21 Roland McGrath <roland@hack.frob.com>
1521
1522 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
1523 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
1524 __alignof__ (long double).
1525
478143fa
AZ
15262012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1527
1528 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1529
c7683a6d
RH
15302012-05-20 Richard Henderson <rth@twiddle.net>
1531
1532 * misc/getauxval.c: New file.
1533 * misc/sys/auxv.h: New file.
1534 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
1535 (routines): Add getauxval.
1536 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
1537 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
1538 * elf/dl-sysdep.c (_dl_auxv): Remove.
1539 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
1540 * elf/dl-support.c (_dl_auxv): New variable.
1541 (_dl_aux_init): Initialize it.
1542 * manual/startup.texi (Auxiliary Vector): New node.
1543 * sysdeps/generic/bits/hwcap.h: New file.
1544 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
1545 * sysdeps/powerpc/sysdep.h: ... here. Include it.
1546 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
1547 * sysdeps/sparc/sysdep.h: ... here. Include it.
1548 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
1549 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
cbc00a03
RM
1550 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
1551 Update.
c7683a6d
RH
1552 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
1553 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
1554 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
1555 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
1556 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
1557 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
1558 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
1559 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
1560
a6f1845d
AZ
15612012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1562
1563 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1564
cbcbe830
DM
15652012-05-19 David S. Miller <davem@davemloft.net>
1566
1567 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1568
e0b16cc2
JM
15692012-05-19 Joseph Myers <joseph@codesourcery.com>
1570
1571 [BZ #14123]
1572 * math/s_ccosh.c: Include <float.h>
1573 (__ccosh): Avoid internal overflow calculating sinh and cosh
1574 values before multiplying by sin and cos values.
1575 * math/s_ccoshf.c: Likewise.
1576 * math/s_ccoshl.c: Likewise.
1577 * math/s_csin.c: Likewise.
1578 * math/s_csinf.c: Likewise.
1579 * math/s_csinl.c: Likewise.
1580 * math/s_csinh.c: Likewise.
1581 * math/s_csinhf.c: Likewise.
1582 * math/s_csinhl.c: Likewise.
1583 * math/libm-test.inc (ccos_test): Add more tests.
1584 (ccosh_test): Likewise.
1585 (csin_test): Likewise.
1586 (csinh_test): Likewise.
1587 * sysdeps/i386/fpu/libm-test-ulps: Update.
1588 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1589
6ad13e08
L
15902012-05-19 H.J. Lu <hongjiu.lu@intel.com>
1591
f66f0ce8
L
1592 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
1593 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
1594
6ad13e08
L
1595 * sysdeps/x86_64/x32/_itoa.h: Add comment.
1596
b1d072a7
JM
15972012-05-19 Joseph Myers <joseph@codesourcery.com>
1598
1599 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
1600 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
1601 * sysdeps/powerpc/soft-fp/Versions: Likewise.
1602 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
1603 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
1604 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
1605 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
1606 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
1607 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
1608 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
1609 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
1610 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
1611 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
1612 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
1613 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
1614 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
1615 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
1616 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
1617 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
1618 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
1619 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
1620 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
1621 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
1622 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
1623 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
1624 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
1625 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
1626 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
1627 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
1628 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
1629 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
1630
9eae47cb
AJ
16312012-05-18 Andreas Jaeger <aj@suse.de>
1632
1633 * csu/.gitignore: Delete.
1634
bb07f69f
L
16352012-05-18 H.J. Lu <hongjiu.lu@intel.com>
1636
1637 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
1638 (timex): Use __syscall_slong_t.
1639
e6bdb741
AJ
16402012-05-18 Andreas Jaeger <aj@suse.de>
1641 Carlos O'Donell <carlos_odonell@mentor.com>
1642
1643 * manual/install.texi (Configuring and compiling): Update
1644 description about files modified in the source directory.
d6c33fda 1645 * INSTALL: Regenerated.
e6bdb741 1646
1b74487e
L
16472012-05-18 H.J. Lu <hongjiu.lu@intel.com>
1648
1649 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
1650 value. Use "or" to set return value to -1.
1651 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
1652 negate return value.
1653
a88b64b9
TMQMF
16542012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
1655
1656 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
1657 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
1658 failure if the compiler has Graphite support disabled.
1659 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
1660 Likewise.
1661 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
1662 CFLAGS-memmove.c): Likewise.
1663 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
1664 Likewise.
1665
3707636e
L
16662012-05-18 H.J. Lu <hongjiu.lu@intel.com>
1667
610b8622
L
1668 * sysdeps/x86_64/x32/_itoa.h: New file.
1669
7cd195df
L
1670 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
1671 getdents system call only if kernel and user dirents have the
1672 same d_ino and d_off.
1673
94b07d20
L
1674 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
1675 LLONG_MAX != LONG_MAX.
1676 (_itoa_word): Use _ITOA_WORD_TYPE on value.
1677 (_fitoa_word): Likewise.
1678
18298070
L
1679 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
1680 years.
1681 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
1682 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
1683 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
1684
553c7ea4
L
1685 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
1686 include <bits/wordsize.h>. Check __x86_64__ instead of
1687 __WORDSIZE.
1688 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
1689 if __x86_64__ is defined. Use anonymous union on fpstate.
1690
3707636e
L
1691 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
1692 anonymous union.
1693
b53ef01a
AS
16942012-05-18 Andreas Schwab <schwab@linux-m68k.org>
1695
37fb1dc0
AS
1696 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
1697 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
1698 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
1699 Refer to _rtld_local_ro instead of _rtld_global_ro.
1700 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
1701 Likewise.
1702 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
1703 Likewise.
1704 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
1705 Likewise.
1706 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
1707 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
1708 of _rtld_global, and rtld_progname instead of _dl_argv[0].
1709
b53ef01a
AS
1710 * sysdeps/powerpc/powerpc32/dl-machine.c
1711 (__elf_machine_runtime_setup) [PROF]: Don't reference
1712 _dl_prof_resolve.
1713
7a185db2
AJ
17142012-05-18 Andreas Jaeger <aj@suse.de>
1715
1716 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
1717 function only available for GCCs before 3.4 since GCC 3.4
1718 introduced a builtin.
1719 (lrint): Likewise.
1720 (llrintf): Likewise.
1721 (llrint): Likewise.
1722 (fmaxf): Likewise.
1723 (fmax): Likewise.
1724 (fminf): Likewise.
1725 (fmin): Likewise.
1726 (rint): Likewise.
1727 (rintf): Likewise.
1728 (nearbyint): Likewise.
1729 (nearbyintf): Likewise.
1730 (ceil): Likewise.
1731 (ceilf): Likewise.
1732 (floor): Likewise.
1733 (floorf): Likewise.
1734
3e5aef87
L
17352012-05-17 H.J. Lu <hongjiu.lu@intel.com>
1736
428bd707
L
1737 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
1738 on both fields and cast pointer to __syscall_ulong_t.
1739
3e5aef87
L
1740 * bits/types.h (__fsword_t): New type.
1741 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
1742 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
1743 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
1744 (__FSWORD_T_TYPE): Likewise.
1745 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
1746 (__FSWORD_T_TYPE): Likewise.
1747 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
1748 (__FSWORD_T_TYPE): Likewise.
1749 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
1750 (__FSWORD_T_TYPE): Likewise.
1751 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
1752 __SWORD_TYPE with __fsword_t.
1753 (statfs64): Likewise.
1754
1ba7c3dc
DM
17552012-05-17 David S. Miller <davem@davemloft.net>
1756
1757 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
1758
59910343
AJ
17592012-05-17 Andreas Jaeger <aj@suse.de>
1760
1761 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
1762 warning.
1763
2e4c1e9e
L
17642012-05-17 H.J. Lu <hongjiu.lu@intel.com>
1765
1766 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
1767
de7f5ce7
AJ
17682012-05-17 Andreas Jaeger <aj@suse.de>
1769
1770 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
1771 when it is used.
1772
286abc3d
CM
17732012-05-17 Chris Metcalf <cmetcalf@tilera.com>
1774
1775 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
1776
477cc68e
L
17772012-05-17 H.J. Lu <hongjiu.lu@intel.com>
1778
1779 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
1780 * sysdeps/x86_64/tst-mallocalign1.c: New file.
1781
1a0994f5
CD
17822012-05-17 Andreas Jaeger <aj@suse.de>
1783 Carlos O'Donell <carlos_odonell@mentor.com>
1784
1785 [BZ #14059]
1786 * sysdeps/x86_64/multiarch/init-arch.h
1787 (bit_YMM_Usable): Rename to...
1788 (bit_AVX_Usable): ... this.
1789 (bit_FMA4_Usable): New macro.
1790 (bit_XMM_state): New macro.
1791 (bit_YMM_state): New macro.
1792 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
1793 [__ASSEMBLER__] (index_AVX_Usable): ... this.
1794 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
1795 (CPUID_OSXSAVE): New macro.
1796 (CPUID_AVX): New macro.
1797 (CPUID_FMA4): New macro.
1798 (index_YMM_Usable): Rename to...
1799 (index_AVX_Usable): ... this.
1800 (HAS_AVX): Use HAS_ARCH_FEATURE.
1801 (HAS_FMA4): Likewise.
1802 (HAS_YMM_USABLE): Remove.
1803 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
1804 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
1805 are present.
1806 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
1807 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
1808 * sysdeps/x86_64/multiarch/Makefile: Likewise.
1809 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
1810 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
1811
0af797de
CM
18122012-05-17 Chris Metcalf <cmetcalf@tilera.com>
1813
1814 * math/libm-test.c: Support platforms without multiple rounding modes.
1815 * math/bug-nextafter.c: Support platforms without FP exceptions.
1816 * math/bug-nexttoward.c: Likewise.
1817 * math/test-fenv.c: Likewise.
1818 * math/test-misc.c: Likewise.
1819 * stdlib/bug-getcontext.c: Likewise.
1820
e39745ff
AJ
18212012-05-17 Andreas Jaeger <aj@suse.de>
1822
1823 * manual/examples/search.c (critter_cmp): Change signature to
1824 avoid warnings.
1825 * manual/string.texi (Collation Functions): Likewise.
1826
48970aba
L
18272012-05-16 H.J. Lu <hongjiu.lu@intel.com>
1828
1829 * bits/types.h: Fold copyright years.
1830 * bits/typesizes.h: Likewise.
1831 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
1832 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
1833 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
1834 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
1835 * time/time.h: Likewise.
1836
bedee953
PP
18372012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
1838
1839 [BZ #208]
1840 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
1841 in instead of returning them. Return void.
1842 (__libc_mallinfo): Accumulate over all arenas.
1843 (__malloc_stats): Adjust for change in int_mallinfo interface.
1844
61653dfb
RM
18452012-05-16 Roland McGrath <roland@hack.frob.com>
1846
30b99d79
RM
1847 [BZ #10375]
1848 * configure.in (NM): Add AC_CHECK_TOOL for it.
1849 (libc_extra_cflags): New substituted variable.
1850 Check for -fstack-protector being used implicitly.
1851 * configure: Regenerated.
1852 * config.make.in (config-extra-cflags): New variable,
1853 gets @libc_extra_cflags@.
1854 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
1855
61653dfb
RM
1856 [BZ #10375]
1857 * configure.in: Check for _FORTIFY_SOURCE being predefined.
1858 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
1859 * configure: Regenerated.
1860 * config.make.in (CPPUNDEFS): New substituted variable.
1861 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
1862 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
1863 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
1864
661768bb
L
18652012-05-16 H.J. Lu <hongjiu.lu@intel.com>
1866
1867 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
1868 (mq_attr): Use __syscall_slong_t.
1869
d4261567
L
18702012-05-16 H.J. Lu <hongjiu.lu@intel.com>
1871
1872 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
1873 Check __x86_64__ instead of __WORDSIZE.
1874 (_STAT_VER_LINUX): Likewise.
1875 (stat): Check __x86_64__ instead of __WORDSIZE. Use
1876 __syscall_ulong_t and __syscall_slong_t.
1877 (stat64): Likewise.
1878
cf3ff365
L
18792012-05-16 H.J. Lu <hongjiu.lu@intel.com>
1880
1881 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
1882
76cf3e4d
L
18832012-05-16 H.J. Lu <hongjiu.lu@intel.com>
1884
1885 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
1886
a637753a
L
18872012-05-16 H.J. Lu <hongjiu.lu@intel.com>
1888
1889 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
1890 __syscall_ulong_t.
1891
d5e05119
L
1892 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
1893 include <bits/wordsize.h>. Check __x86_64__ instead of
1894 __WORDSIZE.
1895 (greg_t): Use "__extension__ long long int" if __x86_64__ is
1896 defined.
1897 (mcontext_t): Replace "unsigned long" with "unsigned long long".
1898
f62ee380
L
1899 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
1900 include <bits/wordsize.h>. Check __x86_64__ instead of
1901 __WORDSIZE.
1902 (user_regs_struct): Use "__extension__ unsigned long long"
1903 instead of "unsigned long" if __x86_64__ is defined.
1904 (user): Likewise. Pad after pointer field if __ILP32__ is
1905 defined.
1906
4e124ced
JM
19072012-05-16 Joseph Myers <joseph@codesourcery.com>
1908
6a3951a0
JM
1909 * configure.in (makeinfo): Require version 4.5 or later. Allow
1910 versions 5 to 9.
1911 * configure: Regenerated.
1912 * manual/install.texi (texinfo): Increase version requirement to
1913 4.5 or later.
1914 * INSTALL: Regenerated.
1915
4e124ced
JM
1916 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
1917
953ca31a
L
19182012-05-16 H.J. Lu <hongjiu.lu@intel.com>
1919
1920 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
1921
617aca05
L
1922 * sysdeps/x86_64/x32/ffs.c: New file.
1923
5762f7ae
L
1924 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
1925 __syscall_ulong_t.
1926 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
1927 defined. Use __syscall_ulong_t.
1928 (shminfo): Use __syscall_ulong_t.
1929 (shm_info): Likewise.
1930
a26b6856
L
1931 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
1932 __syscall_ulong_t.
1933
cb2b9ef7
L
1934 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
1935 <bits/wordsize.h>.
1936 (msgqnum_t): Use __syscall_ulong_t.
1937 (msglen_t): Likewise.
1938 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
1939 __syscall_ulong_t.
1940
34683bb0
L
1941 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
1942 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
1943
84a68786
L
1944 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
1945
48baa5f1
L
1946 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
1947 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
1948
180be88b
L
1949 * sysvipc/sys/msg.h (msgbuf): Replace long int with
1950 __syscall_slong_t.
1951
5e90c8ad
L
1952 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
1953 include <bits/wordsize.h>. Check __x86_64__ instead of
1954 __WORDSIZE.
1955
23dfb58b
L
1956 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
1957 "unsigned long long int" if __x86_64__ is defined.
1958 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
1959
ce5d54b0
L
1960 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
1961 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
1962 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
1963
13dc9eac
L
1964 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
1965 <stdint.h>.
1966 (GET_PC): Cast to uintptr_t first.
1967 (GET_FRAME): Likewise.
1968 (GET_STACK): Likewise.
1969
a7895d15
L
1970 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
1971 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
1972 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
1973 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
1974 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
1975 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
1976 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
1977 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
1978 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
1979 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
1980 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
1981 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
1982 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
1983 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
1984 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
1985 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
1986 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
1987 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
1988 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
1989 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
1990 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
1991 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
1992 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
1993 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
1994 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
1995 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
1996 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
1997 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
1998 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
1999
656416c9
AS
20002012-05-16 Andreas Schwab <schwab@linux-m68k.org>
2001
5bd66283
AS
2002 * Makerules (+depfiles): Also collect depfiles from .oS in
2003 $(extra-objs).
2004 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
2005 .oS, $(libnldbl-routines)).
2006
656416c9
AS
2007 * Makerules (native-compile-mkdep-flags): Define.
2008 * sunrpc/Makefile (extra-objs): Add $(addprefix
2009 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
2010 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
2011 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
2012 calling $(make-target-directory).
2013
a46f2169
L
20142012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2015
2016 * bits/types.h (__snseconds_t): Removed.
2017 * time/time.h (struct timespec): Replace __snseconds_t with
2018 __syscall_slong_t.
2019 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
2020 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
2021 Likewise.
2022 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
2023 (__SNSECONDS_T_TYPE): Likewise.
2024 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
2025 (__SNSECONDS_T_TYPE): Likewise.
2026 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
2027 (__SNSECONDS_T_TYPE): Likewise.
2028
6af6528b
L
20292012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2030
2031 * sysdeps/mach/hurd/bits/typesizes.h
2032 (__SYSCALL_SLONG_TYPE): New macro.
2033 (__SYSCALL_ULONG_TYPE): Likewise.
2034
de986b56
L
20352012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2036
2037 * bits/types.h (__syscall_slong_t): New type.
2038 (__syscall_ulong_t): Likewise.
2039
2040 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
2041 (__SYSCALL_ULONG_TYPE): Likewise.
2042 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
2043 (__SYSCALL_SLONG_TYPE): Likewise.
2044 (__SYSCALL_ULONG_TYPE): Likewise.
2045 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
2046 (__SYSCALL_SLONG_TYPE): Likewise.
2047 (__SYSCALL_ULONG_TYPE): Likewise.
2048 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
2049 (__SYSCALL_SLONG_TYPE): Likewise.
2050 (__SYSCALL_ULONG_TYPE): Likewise.
2051
85736dc7
L
20522012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2053
2054 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
2055 Add sigaltstack-offsets.sym.
2056 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
2057 <sigaltstack-offsets.h>.
2058 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
2059 longjmp_msg pointer.
2060 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
2061 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
2062 signal stack.
2063 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
2064
cc03b296
JM
20652012-05-15 Joseph Myers <joseph@codesourcery.com>
2066
a9538892
JM
2067 * elf/stackguard-macros.h: Remove file.
2068 * sysdeps/generic/stackguard-macros.h: New file.
2069 * sysdeps/i386/stackguard-macros.h: Likewise.
2070 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
2071 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
2072 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
2073 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
2074 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
2075 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
2076 * sysdeps/x86_64/stackguard-macros.h: Likewise.
2077 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
2078 <elf/stackguard-macros.h>.
2079
cc03b296
JM
2080 [BZ #14109]
2081 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
2082 __aligned__ in attribute.
2083 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
2084 (gregset_t): Likewise.
2085
93171016
L
20862012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2087
2088 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
2089 * sysdeps/x86_64/64/Implies-after: Here. New file.
2090 * sysdeps/x86_64/x32/Implies-after: New file.
2091
d86813a0
L
20922012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2093
2094 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
2095 and access return value for _dl_profile_fixup. Use R10_LP to
2096 load frame size.
2097
2953ec75
L
20982012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2099
2100 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
2101
3b550e9e
L
21022012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2103
2104 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
2105 * sysdeps/x86_64/x32/sysdep.h: New file.
2106
eda41706
L
21072012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2108
2109 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
2110 * sysdeps/x86_64/setjmp.S: Likewise.
2111
9ea01d93
AZ
21122012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2113
2114 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
2115 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
2116 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
2117 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
2118 remove unused global constant.
2119
02a91938
CM
21202012-05-15 Chris Metcalf <cmetcalf@tilera.com>
2121
2122 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
2123 include of <not-cancel.h>.
2124
6540185f
RM
21252012-05-15 Roland McGrath <roland@hack.frob.com>
2126
2127 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
2128
509072a0
AJ
21292012-05-15 Jeff Law <law@redhat.com>
2130 Andreas Jaeger <aj@suse.de>
2131
2132 [BZ #13594]
2133 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
2134 out from...
2135 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
2136 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
2137 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
2138 code changing __hst_map_handle.map.
2139
ba75122d
RM
21402012-05-15 Roland McGrath <roland@hack.frob.com>
2141
2142 * configure.in (sysnames): Look for Implies-before and Implies-after
2143 files.
2144 * configure: Regenerated.
2145
890d8bd8
L
21462012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2147
2148 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
2149 8-byte data alignment with LP_SIZE alignment.
2150
f6ee6623
L
21512012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2152
2153 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
2154 into R10_LP.
2155
ea2626f6
L
21562012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2157
2158 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
2159
085f715e
L
21602012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2161
2162 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
2163 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
2164 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
2165 Likewise.
2166 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
2167
be8498fc
L
21682012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2169
2170 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
2171 (stackinfo_sub_sp): Likewise.
2172
70bc83b9
L
21732012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2174
2175 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
2176 RAX_LP.
2177
9bc0b730
L
21782012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2179
2180 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
2181 into R*_LP.
2182
6d2850e7
L
21832012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2184
2185 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
2186 sizes into R*_LP.
2187
3cb84561
L
21882012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2189
2190 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
2191
54e2ed81
L
21922012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2193
2194 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
2195 into R11_LP and load __x86_64_shared_cache_size_half into
2196 R8_LP.
2197
8a17f349
L
21982012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2199
2200 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
2201 R8_LP.
2202
777b1eea
AZ
22032012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2204
2205 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
2206 logb for POWER7.
2207 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
2208 logbf for POWER7.
2209 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
2210 logbl for POWER7.
2211 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
2212 powerpc32/power7/fpu/s_logb.c via #include.
2213 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
2214 powerpc32/power7/fpu/s_logbf.c via #include.
2215 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
2216 powerpc32/power7/fpu/s_logbl.c via #include.
2217
d20d4ac2
JM
22182012-05-15 Joseph Myers <joseph@codesourcery.com>
2219
2220 * README.libm: Remove file.
2221
6cdef1ab
L
22222012-05-14 H.J. Lu <hongjiu.lu@intel.com>
2223
2224 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
2225 count for x32. Use R*_LP and omit operand-size suffix.
2226
0b254d8f
L
22272012-05-14 H.J. Lu <hongjiu.lu@intel.com>
2228
2229 * shlib-versions: Move x86_64-.*-linux.* entries to ...
2230 * sysdeps/x86_64/64/shlib-versions: Here. New file.
2231 * sysdeps/x86_64/x32/shlib-versions: New file.
2232
ceb809dc
RM
22332012-05-14 Roland McGrath <roland@hack.frob.com>
2234
2235 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
2236 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
2237 Use _dl_fatal_printf instead.
2238
37f1abd4
JM
22392012-05-14 Joseph Myers <joseph@codesourcery.com>
2240
2241 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
2242 set if not set by the user. Do not allow for being unset.
2243 * sysdeps/unix/sysv/linux/configure: Regenerated.
2244
11de3a33
L
22452012-05-14 H.J. Lu <hongjiu.lu@intel.com>
2246
2247 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
2248 the `q' suffix from lea and replace .quad with ASM_ADDR.
2249
e02f153a
L
22502012-05-14 H.J. Lu <hongjiu.lu@intel.com>
2251
2252 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
2253 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
2254 instead of $17.
2255 (PTR_DEMANGLE): Likewise.
2256
520ae0fd
L
22572012-05-14 H.J. Lu <hongjiu.lu@intel.com>
2258
2259 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
2260 (LP_OP): Likewise.
2261 (ASM_ADDR): Likewise.
2262 (RAX_LP): Likewise.
2263 (RBP_LP): Likewise.
2264 (RBX_LP): Likewise.
2265 (RCX_LP): Likewise.
2266 (RDI_LP): Likewise.
2267 (RSI_LP): Likewise.
2268 (RSP_LP): Likewise.
2269 (R8_LP): Likewise.
2270 (R9_LP): Likewise.
2271 (R10_LP): Likewise.
2272 (R10_LP): Likewise.
2273 (R11_LP): Likewise.
2274 (R12_LP): Likewise.
2275 (R13_LP): Likewise.
2276 (R14_LP): Likewise.
2277 (R15_LP): Likewise.
2278
b985be81
L
22792012-05-14 H.J. Lu <hongjiu.lu@intel.com>
2280
2281 * sysdeps/x86_64/x32/dl-machine.h: New file.
2282
6a4888ff
AJ
22832012-05-14 Andreas Jaeger <aj@suse.de>
2284
2285 * manual/Makefile (subdir): Remove export of subdir.
2286 (all): Remove target.
2287 (.PHONY): Remove all from list.
2288 (mkinstalldirs): Remove.
2289 (.PHONY): Remove installdirs from list.
2290 ($(inst_infodir)/libc.info): Use make-target-directory.
2291 (installdirs): Remove.
2292 (subdir_%): Remove.
2293 (glibc-targets): Remove.
2294 (lib): Remove.
2295 (stubs): Remove.
2296 ($(objpfx)stubs ../po/manual.pot): Remove.
2297 ($(objpfx)stamp%): Remove.
2298 (make-target-directory): Remove.
2299 (subdir_install): Remove.
2300 (routines): Remove.
2301 (aux): Remove.
2302 (sources): Remove.
2303 (objects): Remove.
2304 (headers): Remove.
2305
2306 [BZ #13750]
2307 * manual/.gitignore: Remove, it's not needed anymore.
2308 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
2309 all files in it.
2310 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
2311 directory.
2312 (texis): Renamed to $(objpfx)texis.
2313 (texis-path): New, contains path to generated files.
2314 (chapters.%): Use texis-path for complete path, add extra argument
2315 libc-texinfo.sh.
2316 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
2317 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
2318 (summary,texi, stamp-summary): Use complete path of
2319 files. Generate files in build dir.
2320 (dir-add.texi): Build in build dir.
2321 (libm-err.texi,stamp-libm-err): Likewise.
2322 (version.texi, stamp-version): Likewise.
2323 (.%c.texi): Likewise.
2324 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
2325 (mostlyclean): Remove target.
2326 (realclean): Remove target.
2327 (generated): Add new variable with contents from mostlyclean and
2328 realclean, remove entries duplicated in common-mostlyclean, add
2329 stamp-libm-err and stamp-version.
2330 (generated-dirs): Add libc directory.
2331 ($(inst_infodir)/libc.info): Install files from build dir.
2332
2333 * manual/install.texi (Configuring and compiling): Adjust since
2334 the info files are not part of the tar ball anymore.
2335
7ac77294
AJ
23362012-05-14 Andreas Jaeger <aj@suse.de>
2337
2338 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
2339 variable.
2340
ffb7875d
JM
23412012-05-14 Joseph Myers <joseph@codesourcery.com>
2342
2343 [BZ #13717]
2344 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
2345 to 2.2.0 where earlier.
2346 * sysdeps/unix/sysv/linux/configure: Regenerated.
2347 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
2348 Remove conditional code.
2349 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
2350 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
2351 Remove conditional code.
2352 [!__NR_lchown]: Likewise.
2353 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
2354 [__NR_lchown]: Likewise.
2355 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
2356 comment referencing __ASSUME_LCHOWN_SYSCALL.
2357 * sysdeps/unix/sysv/linux/i386/sigaction.c
2358 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
2359 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
2360 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
2361 Remove conditional code.
2362 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
2363 (__protocol_available): Remove #if 0 code.
2364 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
2365 conditional code.
2366 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
2367 * sysdeps/unix/sysv/linux/kernel-features.h
2368 (__ASSUME_GETCWD_SYSCALL): Don't define.
2369 (__ASSUME_REALTIME_SIGNALS): Likewise.
2370 (__ASSUME_PREAD_SYSCALL): Likewise.
2371 (__ASSUME_PWRITE_SYSCALL): Likewise.
2372 (__ASSUME_POLL_SYSCALL): Likewise.
2373 (__ASSUME_LCHOWN_SYSCALL): Likewise.
2374 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
2375 non-SPARC.
2376 (__ASSUME_SIOCGIFNAME): Don't define.
2377 (__ASSUME_MSG_NOSIGNAL): Likewise.
2378 (__ASSUME_SENDFILE): Define unconditionally.
2379 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
2380 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
2381 conditional code.
2382 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
2383 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
2384 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
2385 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
2386 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
2387 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
2388 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
2389 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
2390 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
2391 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
2392 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
2393 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
2394 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
2395 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
2396 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
2397 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
2398 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
2399 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
2400 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
2401 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
2402 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
2403 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
2404 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
2405 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
2406 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
2407 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
2408 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
2409 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
2410 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
2411 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
2412 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
2413 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
2414 Remove conditional code.
2415 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
2416 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
2417 Remove conditional code.
2418 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
2419 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
2420 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
2421 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
2422 Remove conditional code.
2423 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
2424 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
2425 Remove conditional code.
2426 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
2427 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
2428 Remove conditional code.
2429 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
2430 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
2431 Remove conditional code.
2432 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
2433 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
2434 Remove conditional code.
2435 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
2436 * sysdeps/unix/sysv/linux/sh/pwrite64.c
2437 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
2438 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
2439 * sysdeps/unix/sysv/linux/sigaction.c
2440 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
2441 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
2442 * sysdeps/unix/sysv/linux/sigpending.c
2443 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
2444 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
2445 * sysdeps/unix/sysv/linux/sigprocmask.c
2446 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
2447 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
2448 * sysdeps/unix/sysv/linux/sigsuspend.c
2449 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
2450 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
2451 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
2452 (__libc_missing_rt_sigs): Remove.
2453 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
2454 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
2455 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
2456 Remove conditional code.
2457 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
2458 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
2459 return 1.
2460 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
2461 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
2462 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
2463 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
2464
1bfb7291
AJ
24652012-05-14 Andreas Jaeger <aj@suse.de>
2466
caae5a81
AJ
2467 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
2468 it's not used in glibc.
2469 (__coshm1): Likewise.
2470 (__acosh1p): Likewise.
2471 (__sgn): Likewise.
2472
1bfb7291
AJ
2473 * manual/string.texi (Copying and Concatenation): Add missing
2474 variable in concat example.
2475 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
2476
c044d724
L
24772012-05-14 H.J. Lu <hongjiu.lu@intel.com>
2478
144c5467 2479 [BZ #14103]
c044d724
L
2480 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
2481 __builtin_clzl with __builtin_clzll.
2482
2523c62b
L
24832012-05-14 H.J. Lu <hongjiu.lu@intel.com>
2484
2485 [BZ #14104]
2486 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
2487 libc_freeres_ptr.
2488
d7bb4c42
LD
24892012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
2490
2491 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
2492 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
2493 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
2494 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
2495
9dc4e1fb
MF
24962012-05-14 Mike Frysinger <vapier@gentoo.org>
2497
2498 * NEWS: Update ia64 info.
2499
c7df0112
AS
25002012-05-12 Andreas Schwab <schwab@linux-m68k.org>
2501
2502 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
2503 used as bcopy.
2504
dc70356c
TS
25052012-05-12 Thomas Schwinge <thomas@codesourcery.com>
2506
2507 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
2508 * sysdeps/unix/syscalls.list (dup3): Likewise.
2509 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
2510 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
2511
9fb1a21f
L
25122012-05-11 H.J. Lu <hongjiu.lu@intel.com>
2513
2514 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
2515 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
2516
4822a2a5
L
25172012-05-11 H.J. Lu <hongjiu.lu@intel.com>
2518
2519 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
2520 thread pointer.
2521 (TLS_IE): Use mov/add instead of movq/addq to load thread
2522 pointer.
2523 (TLS_GD_PREFIX): New.
2524 (TLS_GD): Use it.
2525
842b81d6
DM
25262012-05-11 David S. Miller <davem@davemloft.net>
2527
2528 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
2529 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
2530 (_FPU_SETCW): Likewise.
2531
1cf463cd
L
25322012-05-10 H.J. Lu <hongjiu.lu@intel.com>
2533
2534 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
2535 is 32-byte aligned.
2536
60cc4a18
AS
25372012-05-11 Andreas Schwab <schwab@linux-m68k.org>
2538
2539 [BZ #11837]
2540 * iconvdata/gb18030.c: Update tables.
2541 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
2542 characters specially.
2543 (BODY for TO_LOOP): Add encoding of missing ranges.
2544
febb44a4
TS
25452012-05-11 Thomas Schwinge <thomas@codesourcery.com>
2546
2547 [BZ #13673]
2548 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
2549 * sysdeps/mach/hurd/dup3.c: Likewise.
2550 * sysdeps/mach/hurd/readlinkat.c: Likewise.
2551 * sysdeps/powerpc/memmove.c:: Likewise.
2552
0a10fb9e
L
25532012-05-10 H.J. Lu <hongjiu.lu@intel.com>
2554
2555 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
2556 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
2557
df8a552f
L
25582012-05-10 H.J. Lu <hongjiu.lu@intel.com>
2559
2560 * elf/elf.h (R_X86_64_RELATIVE64): New.
2561 (R_X86_64_NUM): Updated.
2562 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
2563 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
2564 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
2565 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
2566 tst-quad1pie tst-quad2pie
2567 (modules-names): Add tst-quadmod1 tst-quadmod2.
2568 ($(objpfx)tst-quad1): New dependency.
2569 ($(objpfx)tst-quad2): Likewise.
2570 ($(objpfx)tst-quad1pie): Likewise.
2571 ($(objpfx)tst-quad2pie): Likewise.
2572 * sysdeps/x86_64/tst-quad1.c: New file.
2573 * sysdeps/x86_64/tst-quad1pie.c: New file.
2574 * sysdeps/x86_64/tst-quad2.c: Likewise.
2575 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
2576 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
2577 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
2578 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
2579 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
2580
f34d6f84
ST
25812012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
2582
f42d41d1
ST
2583 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
2584 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
2585 * streams/stropts.h (t_scalar_t): Define type.
2586
3c3571fc
ST
2587 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
2588 (_PATH_PRESERVE): Set to "/var/lib".
2589 (_PATH_RWHODIR): Set to "/var/spool/rwho".
2590
61f06bd3
ST
2591 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
2592 instead of int.
2593
918d4d71
ST
2594 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
2595 if __dir_mkfile succeeded.
2596
f34d6f84
ST
2597 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
2598 checking for _hurd_dtablesize. Unlock it right after having
2599 finished _hurd_dtable allocation.
2600
10589b4a
TS
26012012-05-10 Thomas Schwinge <thomas@schwinge.name>
2602
674cdbc7
TS
2603 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
2604 * sysdeps/mach/hurd/configure: Regenerated.
2605 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
2606 special-casing to...
2607 * sysdeps/gnu/configure.in: ... this new file.
2608 * sysdeps/unix/sysv/linux/configure: Regenerated.
2609 * sysdeps/gnu/configure: New generated file.
2610
8e41b99f
TS
2611 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
2612 for Linux: use nsec instead of usec, as well as:
2613 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
2614 members of type struct timespec.
2615 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
2616 New macros.
2617 (struct stat64): Likewise.
2618 (_STATBUF_ST_NSEC): New macro.
2619 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
2620
10589b4a
TS
2621 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
2622 __strtoul_internal rather than strtoul.
2623
63643c85
PT
26242012-05-10 Pino Toscano <toscano.pino@tiscali.it>
2625
2626 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
2627 and reject them.
2628
3faebe6a
ST
26292012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
2630
2631 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
2632 which preserves existing values.
2633 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
2634
c6474b07
PT
26352012-05-10 Pino Toscano <toscano.pino@tiscali.it>
2636
2637 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
2638 TIMEOUT values. Return EINVAL for NFDS values either negative or
2639 greater than FD_SETSIZE.
2640
1043890b
ST
26412012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
2642
2643 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
2644 allocated, call __vm_protect to finish enabling the existing space, and
2645 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
2646 allocate the remainder.
2647
37ed8b9b
PT
26482012-05-10 Pino Toscano <toscano.pino@tiscali.it>
2649
2650 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
2651 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
2652
db653660
ST
26532012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
2654
37ed8b9b
PT
2655 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
2656 sysdeps/mach/hurd/readlink.c.
b29d4053 2657
db653660
ST
2658 * posix/tst-sysconf.c (posix_options): Only use
2659 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
2660 _POSIX_SYNCHRONIZED_IO when they are defined
2661 * sysdeps/mach/hurd/bits/posix_opt.h:
2662 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
2663 (_XOPEN_REALTIME): Undefine macro.
2664 (_XOPEN_REALTIME_THREADS): Undefine macro.
2665 (_XOPEN_SHM): Undefine macro.
2666 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
2667 macro to -1.
2668 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
2669 macro to -1.
2670 (_POSIX_ASYNC_IO): Undefine macro.
2671 (_POSIX_PRIORITIZED_IO): Undefine macro.
2672 (_POSIX_SPIN_LOCKS): Define macro to -1.
2673
ee16e894
ST
2674 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
2675 SA_NODEFER, SA_RESETHAND.
2676 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
2677 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
2678 F_DUPFD_CLOEXEC.
2679
6103ae3b
TS
26802012-05-10 Thomas Schwinge <thomas@schwinge.name>
2681
2682 * elf/Makefile (pldd-modules): Define unconditionally.
2683
80b4e5f3
TS
26842012-05-10 Thomas Schwinge <thomas@schwinge.name>
2685
2686 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
2687
edadcbd6
ST
26882012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
2689
2690 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
2691 Return ENOENT when name is empty.
2692 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
2693
80694780
TS
26942012-05-10 Thomas Schwinge <thomas@schwinge.name>
2695
1792c087
TS
2696 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
2697
80694780
TS
2698 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
2699
6b645f0d
ST
27002012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
2701
80694780
TS
2702 Fix mlock in all cases except non-readable pages.
2703 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
2704 instead of VM_PROT_ALL as parameter to __vm_wire function.
66cbbebc 2705
6b645f0d
ST
2706 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
2707 (__mkdir): When path is `/', just fail with EEXIST.
2708 * sysdeps/mach/hurd/mkdirat.c: Likewise.
2709
e468f8a3
TS
27102012-05-10 Thomas Schwinge <thomas@schwinge.name>
2711
2712 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
2713 <sys/uio.h> (for writev).
2714 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
2715 and <sys/param.h> (for MIN).
2716
a4186cff
PT
27172012-05-10 Pino Toscano <toscano.pino@tiscali.it>
2718
2719 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
2720 REQUESTED_TIME. Properly set the remaining time and return EINTR
2721 if interrupted.
2722
510bbf14
TS
27232012-05-10 Thomas Schwinge <thomas@schwinge.name>
2724
2725 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
2726 Depend on against $(link-rpcuserlibs).
2727
5d5722e8
ST
27282012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
2729
a4186cff
PT
2730 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
2731 (__libc_stack_end): Do not use attribute_relro.
2732 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
2733 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
5d5722e8 2734 to libthread-provided value.
a4186cff
PT
2735 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
2736 attribute_relro.
5d5722e8 2737
37233df9
TS
27382012-05-10 Thomas Schwinge <thomas@schwinge.name>
2739
be971a2b
TS
2740 [BZ #3748]
2741 * bits/libc-lock.h (__libc_once_get): New macro.
2742 * sysdeps/mach/bits/libc-lock.h: Likewise.
2743 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
2744 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
2745 instead of using implementation details.
2746
37233df9
TS
2747 * libio/fileops.c: Unconditionally include <kernel-features.h>.
2748 * libio/freopen.c: Likewise.
2749 * libio/freopen64.c: Likewise.
2750 * misc/syslog.c: Likewise.
2751 * nscd/connections.c: Likewise.
2752 * nscd/netgroupcache.c: Likewise.
2753 * sysdeps/posix/getcwd.c: Likewise.
2754
38de94a5
RM
27552012-05-10 Roland McGrath <roland@hack.frob.com>
2756
2757 * math/w_ilogbf.c: Add #include <limits.h>.
2758
67530489
ST
27592012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
2760
a4186cff 2761 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
bbc49098
ST
2762 path instead of returning without unlocking.
2763
67530489
ST
2764 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
2765 immediate-write ioctls.
2766 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
2767
5aa3a74a
TS
27682012-05-10 Thomas Schwinge <thomas@schwinge.name>
2769
18bad2ae
TS
2770 * sysdeps/mach/hurd/i386/init-first.c (init): Use
2771 __builtin_frame_address instead of making assumptions about the
2772 location of the return address relative to DATA. Force early load of
2773 the return address.
2774 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
2775 __builtin_frame_address.
2776
5aa3a74a
TS
2777 dup3 for GNU Hurd.
2778 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
2779 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
2780 implement dup3 and do some further code clean-ups.
2781 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
2782 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
2783
ecd0de9a
ST
27842012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
2785
cd9fa985
ST
2786 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
2787
a4186cff
PT
2788 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
2789 HURD_CRITICAL_END around holding _hurd_dtable_lock.
2790 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
2791 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
2792 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
2793 d->port.lock.
802ca5a5 2794
a4186cff
PT
2795 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
2796 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
2797 when handler == SIG_ERR, not when handler != SIG_ERR.
ecd0de9a 2798
bcf55240
TS
27992012-05-10 Thomas Schwinge <thomas@schwinge.name>
2800
6960eb42
TS
2801 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
2802 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
2803 definitions.
2804
eb43375f
TS
2805 accept4 for GNU Hurd.
2806 * include/sys/socket.h (__libc_accept4): New prototype.
2807 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
2808 to implement __libc_accept4.
2809 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
2810 __libc_accept4.
2811 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
2812
bcf55240
TS
2813 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
2814 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
2815 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
2816 signal-defines.sym.
2817
6178c55b
ST
28182012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
2819
a4186cff 2820 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
6178c55b 2821
6f080c2f
TS
28222012-05-10 Thomas Schwinge <thomas@schwinge.name>
2823
2824 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
2825 assertion on O_CLOEXEC flag.
2826 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
2827 * hurd/intern-fd.c: Likewise.
2828 * hurd/port2fd.c: Likewise.
2829
bcfe3a54
ST
28302012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
2831
2832 [BZ #3906]
2833 * bits/in.h (IPV6_PKTINFO): Define new macro.
2834 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
2835
89c9aa49
AZ
28362012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2837
2838 [BZ #13954]
2839 [BZ #13955]
2840 [BZ #13956]
2841 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
2842 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
2843 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
2844 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
2845 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
2846 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
2847 * math/libm-test.inc (logb_test) : Additional logb tests.
2848
021db4be
AJ
28492012-05-09 Andreas Schwab <schwab@linux-m68k.org>
2850 Andreas Jaeger <aj@suse.de>
2851
2852 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
2853 * configure: Regenerated.
2854 * config.h.in (LINK_OBSOLETE_RPC): New macro.
2855 * config.make.in (link-obsolete-rpc): New substituted variable.
2856 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
2857 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
2858 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
2859 (shared-only-routines): Don't set it under [link-obsolete-rpc],
2860 so that libc.a contains the symbols.
2861 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
2862 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
2863 * sunrpc/auth_none.c: Likewise.
2864 * sunrpc/auth_unix.c: Likewise.
2865 * sunrpc/authdes_prot.c: Likewise.
2866 * sunrpc/authuxprot.c: Likewise.
2867 * sunrpc/clnt_gen.c: Likewise.
2868 * sunrpc/clnt_perr.c: Likewise.
2869 * sunrpc/clnt_raw.c: Likewise.
2870 * sunrpc/clnt_simp.c: Likewise.
2871 * sunrpc/clnt_tcp.c: Likewise.
2872 * sunrpc/clnt_udp.c: Likewise.
2873 * sunrpc/clnt_unix.c: Likewise.
2874 * sunrpc/des_crypt.c: Likewise.
2875 * sunrpc/des_soft.c: Likewise.
2876 * sunrpc/get_myaddr.c: Likewise.
2877 * sunrpc/key_call.c: Likewise.
2878 * sunrpc/key_prot.c: Likewise.
2879 * sunrpc/netname.c: Likewise.
2880 * sunrpc/pm_getmaps.c: Likewise.
2881 * sunrpc/pm_getport.c: Likewise.
2882 * sunrpc/pmap_clnt.c: Likewise.
2883 * sunrpc/pmap_prot.c: Likewise.
2884 * sunrpc/pmap_prot2.c: Likewise.
2885 * sunrpc/pmap_rmt.c: Likewise.
2886 * sunrpc/publickey.c: Likewise.
2887 * sunrpc/rpc_cmsg.c: Likewise.
2888 * sunrpc/rpc_common.c: Likewise.
2889 * sunrpc/rpc_dtable.c: Likewise.
2890 * sunrpc/rpc_prot.c: Likewise.
2891 * sunrpc/rpc_thread.c: Likewise.
2892 * sunrpc/rtime.c: Likewise.
2893 * sunrpc/svc.c: Likewise.
2894 * sunrpc/svc_auth.c: Likewise.
2895 * sunrpc/svc_raw.c: Likewise.
2896 * sunrpc/svc_run.c: Likewise.
2897 * sunrpc/svc_tcp.c: Likewise.
2898 * sunrpc/svc_udp.c: Likewise.
2899 * sunrpc/svc_unix.c: Likewise.
2900 * sunrpc/svcauth_des.c: Likewise.
2901 * sunrpc/xcrypt.c: Likewise.
2902 * sunrpc/xdr.c: Likewise.
2903 * sunrpc/xdr_array.c: Likewise.
2904 * sunrpc/xdr_float.c: Likewise.
2905 * sunrpc/xdr_intXX_t.c: Likewise.
2906 * sunrpc/xdr_mem.c: Likewise.
2907 * sunrpc/xdr_rec.c: Likewise.
2908 * sunrpc/xdr_ref.c: Likewise.
2909 * sunrpc/xdr_sizeof.c: Likewise.
2910 * sunrpc/xdr_stdio.c: Likewise.
2911
b5c086a2
RM
29122012-05-10 Roland McGrath <roland@hack.frob.com>
2913
2914 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
2915 change. Update copyright years.
2916
6d74dd09
JM
29172012-05-10 Joseph Myers <joseph@codesourcery.com>
2918
2919 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
2920
28e72501
MK
29212012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
2922 Joseph Myers <joseph@codesourcery.com>
2923 Paul Pluzhnikov <ppluzhnikov@google.com>
2924
2925 [BZ #14012]
2926 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
2927 requiring rpcgen.
2928 [cross-compiling] (extra-libs): Likewise.
2929 [cross-compiling] (extra-libs-others): Likewise.
2930 [cross-compiling] (librpcsvc-routines): Likewise.
2931 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
2932 [cross-compiling] (omit-deps): Likewise.
2933 (sunrpc-CPPFLAGS): New variable.
2934 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
2935 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
2936 (cross-rpcgen-objs): New variable.
2937 (extra-objs): Append $(cross-rpcgen-objs).
2938 ($(cross-rpcgen-objs)): New rule.
2939 ($(objpfx)cross-rpcgen): Likewise.
2940 (rpcgen-cmd): Define to use $(built-program-file). Expand
2941 comment.
2942 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
2943 ($(objpfx)x%.stmp): Likewise.
2944 * sunrpc/proto.h [IS_IN_build] (_): Define.
2945 [IS_IN_build] (_libc_intl_domainname): Likewise.
2946
c8c59454
L
29472012-05-10 H.J. Lu <hongjiu.lu@intel.com>
2948
2949 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
2950 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
2951 and R_X86_64_TPOFF64.
2952
6f27cd16
JM
29532012-05-10 Joseph Myers <joseph@codesourcery.com>
2954
2955 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
2956 sysdeps/unix/sysv/syscalls.list.
2957 (stime): Likewise.
2958 (utime): Likewise.
2959 * sysdeps/unix/sysv/syscalls.list: Remove file.
2960
02467e1c
PE
29612012-05-10 Paul Eggert <eggert@cs.ucla.edu>
2962
2963 [BZ #3440]
2964 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
2965 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
2966 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
2967 (__LC_IDENTIFICATION): Make these macros useful in #if
2968 expressions, as required by C99.
2969
da392631
AS
29702012-05-10 Andreas Schwab <schwab@linux-m68k.org>
2971
2972 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
2973 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
2974 after this.
2975
8115f29b
L
29762012-05-09 H.J. Lu <hongjiu.lu@intel.com>
2977
2978 * stdlib/longlong.h: Updated from GCC.
2979
bdd74070
AJ
29802012-05-09 Andreas Jaeger <aj@suse.de>
2981
edfe0dbe
AJ
2982 * nscd/nscd.c (run_modes): Make named enum, reorder so that
2983 default is first entry.
2984 (run_mode): Set type.
2985 (main): Remove informal message about syslog.
2986 (options): Fix typo.
2987
bcfe3a54
ST
2988 [BZ #14053]
2989 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
bdd74070 2990 to asm.
bcfe3a54
ST
2991 (lrint): Likewise.
2992 (llrintf): Likewise.
2993 (llrint): Likewise.
2994 (rint): Likewise.
2995 (rintf): Likewise.
2996 (nearbyint): Likewise.
2997 (nearbyintf): Likewise.
bdd74070 2998
91d8d69e
AJ
29992012-05-09 Andreas Jaeger <aj@suse.de>
3000 Pedro Alves <palves@redhat.com>
3001
3002 * nscd/nscd.c (run_mode): Use enum.
3003 (main): Cleanup coding style issue.
3004
bb90b80b
AJ
30052012-05-09 Alexandre Oliva <aoliva@redhat.com>
3006 Andreas Jaeger <aj@suse.de>
3007
bcfe3a54
ST
3008 * nscd/nscd.c (go_background): Replaced with...
3009 (run_mode): ... this.
bb90b80b 3010 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
bcfe3a54
ST
3011 (options): Add -F --foreground.
3012 (main): Implement it.
3013 (parse_opt): Parse it.
bb90b80b 3014
1a4b75a1
AJ
30152012-05-09 Andreas Jaeger <aj@suse.de>
3016
3017 [BZ #14083]
3018 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
3019 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
3020 -Wconversion warning.
3021 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
3022 Likewise.
3023
b1cc2472
JM
30242012-05-09 Joseph Myers <joseph@codesourcery.com>
3025
3026 * conform/data/locale.h-data (NULL): Use macro-constant. Require
3027 == 0.
3028 (LC_ALL): Use macro-int-constant.
3029 (LC_COLLATE): Likewise.
3030 (LC_CTYPE): Likewise.
3031 (LC_MESSAGES): Likewise.
3032 (LC_MONETARY): Likewise.
3033 (LC_NUMERIC): Likewise.
3034 (LC_TIME): Likewise.
3035 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
3036 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
3037 [ISO || ISO99 || ISO11] (*_t): Do not allow.
3038 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
3039 Specify type.
3040 [C99-based standards] (float_t): Expect type.
3041 [C99-based standards] (double_t): Expect type.
3042 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
3043 type.
3044 [C99-based standards] (HUGE_VALL): Likewise.
3045 [C99-based standards] (INFINITY): Likewise.
3046 [C99-based standards] (NAN): Likewise.
3047 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
3048 [C99-based standards] (FP_NAN): Likewise.
3049 [C99-based standards] (FP_NORMAL): Likewise.
3050 [C99-based standards] (FP_SUBNORMAL): Likewise.
3051 [C99-based standards] (FP_ZERO): Likewise.
3052 [C99-based standards] (FP_FAST_FMA): Use
3053 optional-macro-int-constant. Specify type. Require == 1.
3054 [C99-based standards] (FP_FAST_FMAF): Likewise.
3055 [C99-based standards] (FP_FAST_FMAL): Likewise.
3056 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
3057 [C99-based standards] (FP_ILOGBNAN): Likewise.
3058 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
3059 Specify type.
3060 [C99-based standards] (MATH_ERREXCEPT): Likewise.
3061 [C99-based standards] (math_errhandling): Specify type.
3062 [ISO99 || ISO11] (signgam): Do not allow.
3063 [non-C99-based standards] (copysignf): Do not allow.
3064 [non-C99-based standards] (exp2f): Likewise.
3065 [non-C99-based standards] (log2f): Likewise.
3066 [non-C99-based standards] (modff): Allow.
3067 [non-C99-based standards] (erff): Do not allow.
3068 [non-C99-based standards] (erfcf): Likewise.
3069 [non-C99-based standards] (gammaf): Likewise.
3070 [non-C99-based standards] (hypotf): Likewise.
3071 [non-C99-based standards] (j0f): Likewise.
3072 [non-C99-based standards] (j1f): Likewise.
3073 [non-C99-based standards] (jnf): Likewise.
3074 [non-C99-based standards] (lgammaf): Likewise.
3075 [non-C99-based standards] (tgammaf): Likewise.
3076 [non-C99-based standards] (y0f): Likewise.
3077 [non-C99-based standards] (y1f): Likewise.
3078 [non-C99-based standards] (ynf): Likewise.
3079 [non-C99-based standards] (isnanf): Likewise.
3080 [non-C99-based standards] (acoshf): Likewise.
3081 [non-C99-based standards] (asinhf): Likewise.
3082 [non-C99-based standards] (atanhf): Likewise.
3083 [non-C99-based standards] (cbrtf): Likewise.
3084 [non-C99-based standards] (expm1f): Likewise.
3085 [non-C99-based standards] (ilogbf): Likewise.
3086 [non-C99-based standards] (log1pf): Likewise.
3087 [non-C99-based standards] (logbf): Likewise.
3088 [non-C99-based standards] (nextafterf): Likewise.
3089 [non-C99-based standards] (remainderf): Likewise.
3090 [non-C99-based standards] (rintf): Likewise.
3091 [non-C99-based standards] (scalbf): Likewise.
3092 [non-C99-based standards] (copysignl): Likewise.
3093 [non-C99-based standards] (exp2l): Likewise.
3094 [non-C99-based standards] (log2l): Likewise.
3095 [non-C99-based standards] (modfl): Allow.
3096 [non-C99-based standards] (erfl): Do not allow.
3097 [non-C99-based standards] (erfcl): Likewise.
3098 [non-C99-based standards] (gammal): Likewise.
3099 [non-C99-based standards] (hypotl): Likewise.
3100 [non-C99-based standards] (j0l): Likewise.
3101 [non-C99-based standards] (j1l): Likewise.
3102 [non-C99-based standards] (jnl): Likewise.
3103 [non-C99-based standards] (lgammal): Likewise.
3104 [non-C99-based standards] (tgammal): Likewise.
3105 [non-C99-based standards] (y0l): Likewise.
3106 [non-C99-based standards] (y1l): Likewise.
3107 [non-C99-based standards] (ynl): Likewise.
3108 [non-C99-based standards] (isnanl): Likewise.
3109 [non-C99-based standards] (acoshl): Likewise.
3110 [non-C99-based standards] (asinhl): Likewise.
3111 [non-C99-based standards] (atanhl): Likewise.
3112 [non-C99-based standards] (cbrtl): Likewise.
3113 [non-C99-based standards] (expm1l): Likewise.
3114 [non-C99-based standards] (ilogbl): Likewise.
3115 [non-C99-based standards] (log1pl): Likewise.
3116 [non-C99-based standards] (logbl): Likewise.
3117 [non-C99-based standards] (nextafterl): Likewise.
3118 [non-C99-based standards] (remainderl): Likewise.
3119 [non-C99-based standards] (rintl): Likewise.
3120 [non-C99-based standards] (scalbl): Likewise.
3121 [ISO || ISO99 || ISO11] (*_t): Do not allow.
3122 [non-C99-based standards] (FP_*): Do not allow.
3123 [C99-based standards] (FP_*): Change to
3124 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
3125 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
3126 allow.
3127 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
3128 (SIG_ERR): Likewise.
3129 [X/Open-based standards] (SIG_HOLD): Likewise.
3130 (SIG_IGN): Likewise.
3131 (SIGABRT): Use macro-int-constant. Specify type. Require
3132 positive value.
3133 (SIGFPE): Likewise.
3134 (SIGILL): Likewise.
3135 (SIGINT): Likewise.
3136 (SIGSEGV): Likewise.
3137 (SIGTER): Likewise.
3138 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
3139 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
3140 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
3141 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
3142 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
3143 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
3144 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
3145 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
3146 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
3147 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
3148 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
3149 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
3150 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
3151 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
3152 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
3153 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
3154 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
3155 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
3156 [X/Open-based standards] (SIGTRAP): Likewise.
3157 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
3158 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
3159 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
3160 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
3161 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
3162 allow.
3163
b9f1922d
IW
31642012-05-08 Ian Wienand <ianw@vmware.com>
3165
3166 [BZ #14080]
3167 * time/tzset.c (__tzset_parse_tz): Update default rules for
3168 daylight time changes in the Energy Policy Act of 2005.
3169
1db86e88
AJ
31702012-05-09 Andreas Jaeger <aj@suse.de>
3171
3172 [BZ #13983]
3173 * elf/ldconfig.c (parse_conf): Change string to make clear that
3174 ldconfig only issued a warning if ld.so.conf does not exist.
3175
dee4a4e3
DM
31762012-05-08 David S. Miller <davem@davemloft.net>
3177
ee0db190
DM
3178 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
3179 movxtod instead of popping the value on the stack.
3180
dee4a4e3
DM
3181 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3182
6a43ec98
CD
31832012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
3184
3185 * config.h.in: Add HAVE_ARM_PCS_VFP.
3186
05c2c961
RMG
31872012-05-08 Roland Mc Grath <roland@hack.frob.com>
3188
bcfe3a54
ST
3189 [BZ #13979]
3190 * include/features.h: Warn if user requests __FORTIFY_SOURCE
3191 checking but the checks are disabled for any reason.
05c2c961 3192
4b30f61a
L
31932012-05-08 H.J. Lu <hongjiu.lu@intel.com>
3194
3195 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
3196 and ELF64_R_TYPE with ELFW(R_TYPE).
3197
eee2bc67
JM
31982012-05-08 Joseph Myers <joseph@codesourcery.com>
3199
7ea5391a
JM
3200 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
3201 (ulimit): Likewise.
3202
eee2bc67
JM
3203 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
3204 (settimeofday): Likewise.
3205
abb66a67
MF
32062012-05-08 Mike Frysinger <vapier@gentoo.org>
3207
3208 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
3209 a struct th_u2 inside the union, and move tu_block/tu_code into
3210 a new th_u3 union of tu_block/tu_code inside of that. Move
3211 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
3212 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
3213 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
3214 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
3215 (th_stuff): Change to th_u1.tu_stuff.
3216 (th_data): Define.
3217 (th_msg): Change to th_u1.th_u2.tu_data.
3218
7f18b530
DM
32192012-05-07 David S. Miller <davem@davemloft.net>
3220
05760585
DM
3221 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3222
7f18b530
DM
3223 [BZ #14074]
3224 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
3225 (SETUP_PIC_REG): Use it.
3226 (SETUP_PIC_REG_LEAF): Use it.
3227
495fd99f
JM
32282012-05-07 Joseph Myers <joseph@codesourcery.com>
3229
3230 [BZ #13885]
3231 [BZ #13923]
3232 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
3233 USE_AS_EXPM1L.
3234 (EXPL_FINITE): Likewise.
3235 (FLDLOG): Likewise.
3236 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
3237 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
3238 e_expl.S.
3239 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
3240 USE_AS_EXPM1L.
3241 (EXPL_FINITE): Likewise.
3242 (FLDLOG): Likewise.
3243 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
3244 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
3245 e_expl.S.
3246 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
3247 test of -max_value argument for long double.
3248 * sysdeps/i386/fpu/libm-test-ulps: Update.
3249 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3250
6693d694
DM
32512012-05-06 David S. Miller <davem@davemloft.net>
3252
3253 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
3254 quad soft-float symbols whose references which are compiler
3255 generated.
3256 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
3257
6c23e11c
JM
32582012-05-06 Joseph Myers <joseph@codesourcery.com>
3259
d8b82cad
JM
3260 [BZ #13884]
3261 [BZ #13914]
3262 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
3263 USE_AS_EXP10L.
3264 (EXPL_FINITE): Likewise.
3265 (FLDLOG): Likewise.
3266 (c0): Likewise.
3267 (c1): Likewise.
3268 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
3269 Adjust comments for base varying.
3270 (__expl_finite): Change alias to EXPL_FINITE.
3271 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
3272 e_expl.S.
3273 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
3274 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
3275 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
3276 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
3277 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
3278 USE_AS_EXP10L.
3279 (EXPL_FINITE): Likewise.
3280 (FLDLOG): Likewise.
3281 (c0): Likewise.
3282 (c1): Likewise.
3283 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
3284 Adjust comments for base varying.
3285 (__expl_finite): Change alias to EXPL_FINITE.
3286 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
3287 tests for bugs.
3288 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3289
6c23e11c
JM
3290 [BZ #14064]
3291 * math/libm-test.inc (check_float_internal): Correct ulp
3292 calculation for subnormal expected results.
3293
29ba805c
AJ
32942012-05-06 Andreas Jaeger <aj@suse.de>
3295
3296 * Makeconfig (+math-flags): New, set to -frounding-math.
3297 (+cflags): Add +math-flags so that all of glibc gets compiled with
3298 it.
3299
3300 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
3301
7b17aeda
JM
33022012-05-05 Joseph Myers <joseph@codesourcery.com>
3303
5779f134
JM
3304 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
3305 Disable one test.
3306
41498f4d
JM
3307 [BZ #13787]
3308 [BZ #13922]
3309 [BZ #14036]
3310 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
3311 (__ieee754_expl): Allow for and saturate large arguments.
3312 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
3313 (u_threshold): Likewise.
3314 (__exp): Call __ieee754_exp before checking for overflow and
3315 underflow.
3316 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
3317 (u_threshold): Likewise.
3318 (__expf): Call __ieee754_expf before checking for overflow and
3319 underflow.
3320 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
3321 (u_threshold): Likewise.
3322 (__expl): Call __ieee754_expl before checking for overflow and
3323 underflow.
3324 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
3325 (__ieee754_expl): Allow for and saturate large arguments.
3326 * math/libm-test.inc (exp_test): Add another test. Do not allow
3327 missing overflow exception on overflow.
3328 (expm1_test): Do not allow missing overflow exception on overflow.
3329
6698b8bf
JM
3330 * sysdeps/i386/fpu/e_expl.c: Move to ...
3331 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
3332 rather than using inline asm.
3333 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
3334 * sysdeps/x86_64/fpu/e_expl.S: Copy from
3335 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
3336
7b17aeda
JM
3337 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
3338 (nice): Likewise.
3339 (poll): Likewise.
3340 (signal): Likewise.
3341 (time): Likewise.
3342 (times): Likewise.
3343
f7c85819
JM
33442012-05-04 Joseph Myers <joseph@codesourcery.com>
3345
3346 * sysdeps/unix/syscalls.list (adjtime): Add entry from
3347 sysdeps/unix/common/syscalls.list.
3348 (fchmod): Likewise.
3349 (fchown): Likewise.
3350 (ftruncate): Likewise.
3351 (getrusage): Likewise.
3352 (gettimeofday): Likewise.
3353 (setpgid): Likewise.
3354 (setregid): Likewise.
3355 (setreuid): Likewise.
3356 (sigaction): Likewise.
3357 (truncate): Likewise.
3358 (vhangup): Likewise.
3359 * sysdeps/unix/common/syscalls.list: Remove file.
3360 * sysdeps/unix/bsd/Implies: Don't include unix/common.
3361 * sysdeps/unix/sysv/linux/Implies: Likewise.
3362
336270d0
L
33632012-05-04 H.J. Lu <hongjiu.lu@intel.com>
3364
3365 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
3366 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
3367 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
3368 Moved to ...
3369 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
3370 Here.
3371 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
3372 to ...
3373 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
3374 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
3375 to ...
3376 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
3377 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
3378 to ...
3379 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
3380 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
3381 to ...
3382 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
3383 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
3384 to ...
3385 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
3386 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
3387 to ...
3388 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
3389 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
3390 to ...
3391 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
3392 Here.
3393 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
3394 to ...
3395 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
3396 Here.
3397 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
3398 to ...
3399 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
3400 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
3401 Moved to ...
3402 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
3403 Here.
3404 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
3405 to ...
3406 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
3407
d128e450
JM
34082012-05-04 Joseph Myers <joseph@codesourcery.com>
3409
fa8ee516
JM
3410 * sysdeps/unix/common/bits/dirent.h: Remove file.
3411 * sysdeps/unix/common/bits/fcntl.h: Likewise.
3412
d128e450
JM
3413 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
3414 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
3415 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
3416 * sysdeps/unix/bsd/isatty.c: Likewise.
3417 * sysdeps/unix/bsd/tcdrain.c: Likewise.
3418 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
3419 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
3420
ff8faaf0 34212012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31dc8730 3422
62881be4 3423 [BZ #13563]
31dc8730
AZ
3424 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
3425 long double comparison inaccuracies.
3426 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
3427 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3428
6fef930c
AS
34292012-05-04 Andreas Schwab <schwab@linux-m68k.org>
3430
3431 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
3432 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
3433
8f203e6c
JM
34342012-05-04 Joseph Myers <joseph@codesourcery.com>
3435
3436 [BZ #14049]
3437 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
3438 nonzero digits before rounding a hex value.
3439 * stdlib/tst-strtod.c (tests): Add another test.
3440
5197d9c2
AK
34412012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3442
3443 * sysdeps/s390/fpu/libm-test-ulps: Update.
3444
f0c1dedf
AJ
34452012-05-03 Andreas Jaeger <aj@suse.de>
3446
3447 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
3448 does not get optimized out.
3449 (malloc_opt_barrier): New.
3450
a65ef2ae 34512012-05-03 Andreas Jaeger <aj@suse.de>
461b8e5a 3452 Roland McGrath <roland@hack.frob.com>
a65ef2ae 3453
2b942cb7 3454 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
a65ef2ae 3455 intermediate file deletion.
2b942cb7 3456 (generated): Add .symlist files.
a65ef2ae 3457
54b71e02
JM
34582012-05-03 Joseph Myers <joseph@codesourcery.com>
3459
3460 [BZ #13775]
3461 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
3462 Redirect under this condition.
3463 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
3464 [__USE_GNU] (__dprintf_chk): Not under this condition.
3465 [__USE_GNU] (__vdprintf_chk): Likewise.
3466 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
3467 under this condition.
3468 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
3469 [__USE_XOPEN2K8] (dprintf): Define under this condition.
3470 [__USE_XOPEN2K8] (vdprintf): Likewise.
3471 [__USE_GNU] (__dprintf_chk): Not under this condition.
3472 [__USE_GNU] (__vdprintf_chk): Likewise.
3473 [__USE_GNU] (dprintf): Likewise.
3474 [__USE_GNU] (vdprintf): Likewise.
3475
d3dfcc41
RM
34762012-05-03 Roland McGrath <roland@hack.frob.com>
3477
3478 * elf/Makefile (common-generated): Set this instead of generated for
3479 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
3480 $(all-built-dso)-derived lists.
3481
7ac30cc5
AJ
34822012-05-03 Andreas Jaeger <aj@suse.de>
3483
0c51e550
AJ
3484 * sysdeps/i386/fpu/libm-test-ulps: Update.
3485
7ac30cc5
AJ
3486 * FAQ: Removed.
3487 * FAQ.in: Likewise.
3488 * scripts/gen-FAQ.pl: Likewise.
3489 * manual/install.texi (Installation): Point to online location of
3490 FAQ.
3491 * Makefile (files-for-dist): Remove FAQ.
3492 (FAQ): Remove.
3493
d4c2917f
AM
34942012-05-02 Allan McRae <allan@archlinux.org>
3495
3496 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
3497 (LDFLAGS-reldepmod5.so): Likewise.
3498 (LDFLAGS-reldep6mod1.so): Likewise.
3499 (LDFLAGS-reldep6mod4.so): Likewise.
3500 (LDFLAGS-reldep8mod3.so): Likewise.
3501 (LDFLAGS-unload4mod1.so): Likewise.
3502 (LDFLAGS-unload4mod2.so): Likewise.
3503 (LDFLAGS-tst-initorder): Likewise.
3504 (LDFLAGS-tst-initordera2.so): Likewise.
3505 (LDFLAGS-tst-initordera3.so): Likewise.
3506 (LDFLAGS-tst-initordera4.so): Likewise.
3507 (LDFLAGS-tst-initorderb2.so): Likewise.
3508 (LDFLAGS-noload): Likewise.
3509 (LDFLAGS-next): Likewise.
3510 (LDFLAGS-order2mod1.so): Likewise.
3511 (LDFLAGS-order2mod2.so): Likewise.
3512 (LDFLAGS-tst-initorder2): Likewise.
3513 (LDFLAGS-tst-initorder2a.so): Likewise.
3514 (LDFLAGS-tst-initorder2b.so): Likewise.
3515 (LDFLAGS-tst-initorder2c.so): Likewise.
3516 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
3517
d77f993f
DM
35182012-05-02 David S. Miller <davem@davemloft.net>
3519
3520 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3521
171a70b4
PP
35222012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
3523
3524 [BZ #14055]
3525 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
3526
0be196ad
AJ
35272012-05-02 Andreas Jaeger <aj@suse.de>
3528
3529 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
3530 since we manipulate rounding mode.
3531 (CPPFLAGS-test-idouble.c): Likewise.
3532 (CPPFLAGS-test-ifloat.c): Likewise.
3533 (CFLAGS-test-ldouble.c): Likewise.
3534 (CFLAGS-test-double.c): Likewise.
3535 (CFLAGS-test-float.c): Likewise.
3536 (CFLAGS-test-misc.c): Likewise.
3537 (CFLAGS-test-test-fenv.c): Likewise.
3538
4f9d04aa
AZ
35392012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3540
2b942cb7
RM
3541 [BZ #2550]
3542 [BZ #2570]
3543 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
3544 comparisons to determine direction to adjust input.
4f9d04aa 3545
82a79e7d
RM
35462012-05-01 Roland McGrath <roland@hack.frob.com>
3547
f5a01ca9
RM
3548 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
3549 output to the target.
3550
90fe4186
RM
3551 * scripts/localplt.awk: New file.
3552 * elf/Makefile ($(objpfx)check-localplt): Target removed.
3553 (check-localplt-CFLAGS): Variable removed.
3554 ($(all-built-dso:=.jmprel)): New static pattern rule.
3555 (generated): Add those targets.
3556 (localplt-built-dso): New variable.
3557 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
3558
3559 * elf/check-localplt.c: File removed.
3560
82397ed6
RM
3561 * scripts/check-execstack.awk: New file.
3562 * elf/Makefile ($(objpfx)check-execstack): Target removed.
3563 (check-execstack-CFLAGS): Variable removed.
3564 ($(objpfx)check-execstack.h): Target removed.
3565 ($(objpfx)execstack-default): New target.
3566 (generated): Add that instead of check-execstack.h.
3567 ($(all-built-dso:=.phdr)): New static pattern rule.
3568 (generated): Add those targets.
3569 * elf/check-execstack.c: File removed.
3570
82a79e7d
RM
3571 * scripts/check-textrel.awk: New file.
3572 * elf/Makefile ($(objpfx)check-textrel): Target removed.
3573 (check-textrel-CFLAGS): Variable removed.
3574 (all-built-dso): Use := to define.o
3575 ($(all-built-dso:=.dyn)): New static pattern rule.
3576 (generated): Add those targets.
3577 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
3578 * config.make.in (READELF): New substituted variable.
3579 * elf/check-textrel.c: File removed.
3580
62fde54f 35812012-05-01 Joseph Myers <joseph@codesourcery.com>
ee74b9cb 3582
615605c9
JM
3583 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
3584 allow.
3585 * conform/data/ctype.h-data [C99-based standards] (isblank):
3586 Expect function.
3587 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
3588 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
3589 [ISO || ISO99 || ISO11] (*_t): Do not allow.
3590 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
3591 Specify type. Require positive value.
3592 (EILSEQ): Likewise.
3593 (ERANGE): Likewise.
3594 [ISO || POSIX] (EILSEQ): Do not expect.
3595 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
3596 Specify type. Require positive value.
3597 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
3598 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
3599 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
3600 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
3601 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
3602 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
3603 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
3604 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
3605 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
3606 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
3607 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
3608 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
3609 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
3610 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
3611 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
3612 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
3613 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
3614 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
3615 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
3616 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
3617 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
3618 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
3619 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
3620 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
3621 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
3622 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
3623 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
3624 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
3625 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
3626 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
3627 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
3628 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
3629 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
3630 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
3631 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
3632 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
3633 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
3634 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
3635 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
3636 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
3637 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
3638 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
3639 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
3640 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
3641 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
3642 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
3643 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
3644 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
3645 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
3646 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
3647 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
3648 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
3649 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
3650 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
3651 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
3652 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
3653 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
3654 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
3655 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
3656 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
3657 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
3658 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
3659 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
3660 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
3661 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
3662 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
3663 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
3664 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
3665 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
3666 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
3667 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
3668 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
3669 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
3670 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
3671 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
3672 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
3673 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
3674 Require >= 2.
3675 (FLT_ROUNDS): Expect as macro, not constant.
3676 (FLT_MANT_DIG): Use macro-int-constant.
3677 (DBL_MANT_DIG): Likewise.
3678 (LDBL_MANT_DIG): Likewise.
3679 (FLT_DIG): Likewise.
3680 (DBL_DIG): Likewise.
3681 (LDBL_DIG): Likewise.
3682 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
3683 (DBL_MIN_EXP): Likewise.
3684 (LDBL_MIN_EXP): Likewise.
3685 (FLT_MAX_EXP): Use macro-int-constant.
3686 (DBL_MAX_EXP): Likewise.
3687 (LDBL_MAX_EXP): Likewise.
3688 (FLT_MAX_10_EXP): Likewise.
3689 (DBL_MAX_10_EXP): Likewise.
3690 (LDBL_MAX_10_EXP): Likewise.
3691 (FLT_MAX): Use macro-constant.
3692 (DBL_MAX): Likewise.
3693 (LDBL_MAX): Likewise.
3694 (FLT_EPSILON): Use macro-constant. Give upper bound.
3695 (DBL_EPSILON): Likewise.
3696 (LDBL_EPSILON): Likewise.
3697 (FLT_MIN): Likewise.
3698 (DBL_MIN): Likewise.
3699 (LDBL_MIN): Likewise.
3700 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
3701 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
3702 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
3703 [ISO11] (FLT_HAS_SUBNORM): Likewise.
3704 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
3705 [ISO11] (DBL_DECIMAL_DIG): Likewise.
3706 [ISO11] (FLT_DECIMAL_DIG): Likewise.
3707 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
3708 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
3709 [ISO11] (FLT_TRUE_MIN): Likewise.
3710 [ISO11] (LDBL_TRUE_MIN): Likewise.
3711 [ISO || ISO99 || ISO11] (*_t): Do not allow.
3712 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
3713 (SCHAR_MIN): Use macro-int-constant. Specify type.
3714 (SCHAR_MAX): Likewise.
3715 (UCHAR_MAX): Likewise.
3716 (CHAR_MIN): Likewise.
3717 (CHAR_MAX): Likewise.
3718 (MB_LEN_MAX): Use macro-int-constant.
3719 (SHRT_MIN): Use macro-int-constant. Specify type.
3720 (SHRT_MAX): Likewise.
3721 (USHRT_MAX): Likewise.
3722 (INT_MAX): Likewise.
3723 (INT_MIN): Use macro-int-constant. Specify type. Make upper
3724 bound negative.
3725 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
3726 bound with "U".
3727 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
3728 bound with "L".
3729 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
3730 bound negative. Suffix upper bound with "L".
3731 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
3732 bound with "UL".
3733 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
3734 Specify type.
3735 [C99-based standards] (LLONG_MAX): Likewise.
3736 [C99-based standards] (ULLONG_MAX): Likewise.
3737 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
3738 == 0.
3739 [ISO11] (max_align_t): Require type.
3740 [ISO || ISO99 || ISO11] (*_t): Do not allow.
3741
c9140a62
JM
3742 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
3743 from $CFLAGS, without defining away __attribute__ calls.
3744 (checknamespace): Use $CFLAGS_namespace.
3745
9af0bf29
JM
3746 * conform/conformtest.pl (@keywords): Only include C99 keywords
3747 for standards based on C99 or C11.
3748
343222a2
JM
3749 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
3750 Disable tests.
3751 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
3752 UNIX98]: Likewise.
3753
661f8cf0
JM
3754 * conform/conformtest.pl: Handle "macro-int-constant" and test for
3755 usability of symbols in #if.
3756
ee74b9cb
JM
3757 * conform/conformtest.pl: If macro or constant types start
3758 "promoted:", expect the symbol to be of the following type
3759 promoted by the integer promotions.
62fde54f 3760
aafc49b3
JM
3761 * conform/conformtest.pl: Parse all "constant" and "macro" lines
3762 in one place. Also handle "macro-constant".
3763
fefdf574
JM
3764 * conform/conformtest.pl: Only accept expected macro values with
3765 "==". Parse all "macro" lines in one place.
3766 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
3767
f2d922fe
JM
3768 * conform/conformtest.pl: Handle braced types on "constant" lines
3769 instead of handling "typed-constant".
3770 * conform/data/signal.h-data: Use "constant" instead of
3771 "typed-constant".
3772
d22956c9
JM
3773 * conform/conformtest.pl: Handle "optional-" at start of lines in
3774 one place rather than duplicating several cases. Handle each
3775 format of "macro" line with initial "optional-".
3776
028e2e38
JM
3777 * conform/conformtest.pl: Only accept expected constant or
3778 optional-constant values with "==". Parse all "constant" lines in
3779 one place. Parse all "optional-constant" lines in one place.
3780 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
3781 * conform/data/fmtmsg.h-data: Likewise.
3782 * conform/data/netinet/in.h-data: Likewise.
3783 * conform/data/tar.h-data: Likewise.
3784 * conform/data/limits.h-data: Use "==" form on "constant" and
3785 "optional-constant" lines.
3786
1b8f2850
JM
3787 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
3788 Use -std=c99 for XOPEN2K.
3789 (@knownproblems): Remove.
3790 (newtoken): Don't check %isknown.
3791
a05a144b
JM
3792 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
3793 Do not expect macro.
3794 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
3795 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
3796 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
3797 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
3798 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
3799 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
3800 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
3801 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
3802 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
3803 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
3804 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
3805 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
3806 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
3807 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
3808 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
3809 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
3810 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
3811 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
3812 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
3813 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
3814 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
3815 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
3816 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
3817 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
3818 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
3819 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
3820 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
3821 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
3822 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
3823 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
3824 [XPG3] (acosh): Likewise.
3825 [XPG3] (asinh): Likewise.
3826 [XPG3] (atanh): Likewise.
3827 [XPG3] (cbrt): Likewise.
3828 [XPG3] (expm1): Likewise.
3829 [XPG3] (ilogb): Likewise.
3830 [XPG3] (log1p): Likewise.
3831 [XPG3] (logb): Likewise.
3832 [XPG3] (nextafter): Likewise.
3833 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
3834 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
3835 [XPG3] (remainder): Likewise.
3836 [XPG3] (rint): Likewise.
3837 [XPG3 || XPG4 || UNIX98] (round): Likewise.
3838 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
3839 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
3840 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
3841 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
3842 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
3843 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
3844 [UNIX98 || XOPEN2K] (scalb): Expect.
3845 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
3846 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
3847 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
3848 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
3849 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
3850 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
3851 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
3852 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
3853 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
3854 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
3855 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
3856 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
3857 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
3858 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
3859 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
3860 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
3861 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
3862 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
3863 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
3864 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
3865 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
3866 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
3867 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
3868 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
3869 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
3870 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
3871 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
3872 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
3873 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
3874 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
3875 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
3876 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
3877 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
3878 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
3879 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
3880 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
3881 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
3882 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
3883 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
3884 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
3885 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
3886 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
3887 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
3888 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
3889 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
3890 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
3891 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
3892 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
3893 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
3894 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
3895 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
3896 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
3897 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
3898 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
3899 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
3900 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
3901 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
3902 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
3903 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
3904 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
3905 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
3906 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
3907 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
3908 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
3909 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
3910 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
3911 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
3912 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
3913 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
3914 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
3915 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
3916 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
3917 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
3918 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
3919 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
3920 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
3921 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
3922 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
3923 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
3924 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
3925 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
3926 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
3927 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
3928 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
3929 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
3930 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
3931 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
3932 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
3933 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
3934 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
3935 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
3936 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
3937 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
3938 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
3939 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
3940 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
3941 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
3942 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
3943 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
3944 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
3945 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
3946 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
3947 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
3948 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
3949 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
3950 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
3951 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
3952 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
3953 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
3954 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
3955 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
3956 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
3957 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
3958 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
3959 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
3960 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
3961 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
3962 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
3963 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
3964 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
3965 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
3966 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
3967 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
3968 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
3969 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
3970 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
3971 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
3972 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
3973 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
3974 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
3975 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
3976 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
3977 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
3978 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
3979 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
3980 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
3981 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
3982
73c5ebe3
JM
3983 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
3984 _XOPEN_SOURCE_EXTENDED for XPG4.
3985
39c33b6c
JM
3986 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
3987
62fde54f
JM
3988 * Makeconfig (localtime): Remove variable.
3989 (inst_localtime-file): Likewise.
3990
0741d64c
AS
39912012-05-01 Andreas Schwab <schwab@linux-m68k.org>
3992
3993 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
3994 Update.
3995 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
3996 Update.
3997 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
3998 Update.
3999 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
4000 Update.
4001 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
4002 Update.
4003 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
4004 Update.
4005 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
4006 Update.
4007 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
4008 Update.
4009 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
4010 Update.
4011
7cb029ee
JM
40122012-05-01 Joseph Myers <joseph@codesourcery.com>
4013
4014 [BZ #2550]
4015 [BZ #2570]
4016 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
4017 comparisons to determine direction to adjust input.
4018 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
4019 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
4020 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
4021 Likewise.
4022 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
4023 Likewise.
4024 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
4025 Likewise.
4026 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
4027 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
4028 Likewise.
4029 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
4030 Likewise.
4031 * math/libm-test.inc (nexttoward_test): Add more tests.
4032
412bd966
AS
40332012-05-01 Andreas Schwab <schwab@linux-m68k.org>
4034
4035 [BZ #14040]
4036 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
4037 in version GLIBC_2.1, not GLIBC_2.0.
4038 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
4039 Likewise.
4040
9568c0c2
JM
40412012-04-30 Joseph Myers <joseph@codesourcery.com>
4042
adfbc8ac
JM
4043 [BZ #13942]
4044 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
4045 (1 - x) * (1 + x).
4046 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
4047 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
4048 * math/libm-test.inc (acos_test): Add more tests.
4049 (asin_test): Likewise.
4050 * sysdeps/i386/fpu/libm-test-ulps: Update.
4051 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4052
5ba3cc69
JM
4053 [BZ #14034]
4054 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
4055 of square root.
4056 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
4057 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
4058 * math/libm-test.inc (acos_test_tonearest): New function.
4059 (acos_test_towardzero): Likewise.
4060 (acos_test_downward): Likewise.
4061 (acos_test_upward): Likewise.
4062 (asin_test_tonearest): Likewise.
4063 (asin_test_towardzero): Likewise.
4064 (asin_test_downward): Likewise.
4065 (asin_test_upward): Likewise.
4066 (main): Call the new functions.
4067 * sysdeps/i386/fpu/libm-test-ulps: Update.
4068 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4069
9568c0c2
JM
4070 [BZ #13884]
4071 [BZ #13924]
4072 * math/e_exp10.c: Include <float.h>.
4073 (__ieee754_exp10): Handle underflow here rather than multiplying
4074 large negative argument by M_LN10.
4075 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
4076 of __ieee754_expf.
4077 * math/e_exp10l.c: Include <float.h>.
4078 (__ieee754_exp10l): Handle underflow here rather than multiplying
4079 large negative argument by M_LN10l.
4080 * math/libm-test.inc (exp10_test): Add another test. Do not allow
4081 spurious overflow exception on underflow.
4082
5ac3ea17
MP
40832012-04-29 Marek Polacek <polacek@redhat.com>
4084
4085 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
4086 (__fortify_function): New macro.
4087 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
4088 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
4089 __extern_always_inline.
4090 * libio/bits/stdio2.h: Likewise.
4091 * libio/bits/stdio.h: Likewise.
4092 * string/string.h: Likewise.
4093 * string/bits/string3.h: Likewise.
4094 * include/stdio.h: Likewise.
4095 * stdlib/bits/stdlib.h: Likewise.
4096 * stdlib/stdlib.h: Likewise.
4097 * rt/bits/mqueue2.h: Likewise.
4098 * rt/mqueue.h: Likewise.
4099 * posix/bits/unistd.h: Likewise.
4100 * posix/unistd.h: Likewise.
4101 * io/bits/poll2.h: Likewise.
4102 * io/bits/fcntl2.h: Likewise.
4103 * io/fcntl.h: Likewise.
4104 * io/sys/poll.h: Likewise.
4105 * misc/bits/syslog.h: Likewise.
4106 * misc/bits/syslog-ldbl.h: Likewise.
4107 * misc/sys/syslog.h: Likewise.
4108 * socket/bits/socket2.h: Likewise.
4109 * socket/sys/socket.h: Likewise.
4110 * debug/tst-chk1.c: Likewise.
4111 * wcsmbs/bits/wchar2.h: Likewise.
4112 * wcsmbs/bits/wchar-ldbl.h: Likewise.
4113 * wcsmbs/wchar.h: Likewise.
4114
ecf0ebfb
AJ
41152012-04-29 Andreas Jaeger <aj@suse.de>
4116
4117 * Makerules (tests): Remove enable-check-abi protection.
4118 (check-abi-warn): Remove.
4119 (check-abi-%): Remove check-abi-warn usage.
4120
4121 * configure.in: Remove check-abi configure option.
4122 * configure: Regenerated.
4123 * config.make.in (enable-check-abi): Remove.
4124
6d5c57fa
AS
41252012-04-28 Andreas Schwab <schwab@linux-m68k.org>
4126
24c5d07e 4127 [BZ #14033]
ded5180a
AS
4128 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
4129 double functions to double *_finite functions.
4130
7e0d315d
AS
4131 [BZ #13941]
4132 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
4133 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
4134 LDBL_MIN_EXP.
4135 * stdio-common/Makefile (tests): Add tst-sprintf3.
4136 * stdio-common/tst-sprintf3.c: New file.
4137
6d5c57fa
AS
4138 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
4139 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
4140
0749ff8b
JM
41412012-04-28 Joseph Myers <joseph@codesourcery.com>
4142
4143 * conform/conformtest.pl: Remove duplicate typed-constant
4144 handling.
4145
8dbd5d7b
DM
41462012-04-28 David S. Miller <davem@davemloft.net>
4147
4148 * Makerules (%.abilist): Add vpath on sysdep_dirs.
4149 (check-abi-%): Remove AWK script prerequisite and explicit
4150 abilist directory.
4151 (check-abi): Rewrite to just diff the symlist with the abilist.
4152 (config-tls, config-abi-config): Delete, no longer used.
4153 (update-abi-%): Remove AWK script and explicit abilist directory.
4154 (update-abi): Rewrite to simply compare and conditionally copy the
4155 symlist and the sysdep abilist file. Remove update-abi-config
4156 checks.
4157 * abilist/ld.abilist: Remove.
4158 * abilist/libBrokenLocale.abilist: Remove.
4159 * abilist/libanl.abilist: Remove.
4160 * abilist/libcrypt.abilist: Remove.
4161 * abilist/libdl.abilist: Remove.
4162 * abilist/librt.abilist: Remove.
4163 * abilist/libthread_db.abilist: Remove.
4164 * abilist/libutil.abilist: Remove.
4165 * scripts/extract-abilist.awk: Remove.
4166 * scripts/merge-abilist.awk: Remove.
4167 * sysdeps/generic/libcidn.abilist: New file.
4168 * sysdeps/generic/libnss_compat.abilist: New file.
4169 * sysdeps/generic/libnss_db.abilist: New file.
4170 * sysdeps/generic/libnss_dns.abilist: New file.
4171 * sysdeps/generic/libnss_files.abilist: New file.
4172 * sysdeps/generic/libnss_hesiod.abilist: New file.
4173 * sysdeps/generic/libnss_nis.abilist: New file.
4174 * sysdeps/generic/libnss_nisplus.abilist: New file.
4175 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
4176 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
4177 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
4178 file.
4179 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
4180 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
4181 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
4182 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
4183 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
4184 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
4185 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
4186 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
4187 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
4188 file.
4189 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
4190 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
4191 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
4192 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
4193 file.
4194 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
4195 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
4196 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
4197 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
4198 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
4199 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
4200 file.
4201 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
4202 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
4203 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
4204 file.
4205 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
4206 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
4207 New file.
4208 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
4209 New file.
4210 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
4211 New file.
4212 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
4213 New file.
4214 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
4215 New file.
4216 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
4217 New file.
4218 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
4219 New file.
4220 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
4221 New file.
4222 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
4223 New file.
4224 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
4225 New file.
4226 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
4227 New file.
4228 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
4229 New file.
4230 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
4231 New file.
4232 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
4233 file.
4234 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
4235 New file.
4236 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
4237 New file.
4238 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
4239 file.
4240 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
4241 New file.
4242 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
4243 New file.
4244 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
4245 file.
4246 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
4247 New file.
4248 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
4249 New file.
4250 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
4251 New file.
4252 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
4253 New file.
4254 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
4255 New file.
4256 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
4257 New file.
4258 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
4259 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
4260 file.
4261 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
4262 New file.
4263 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
4264 file.
4265 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
4266 file.
4267 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
4268 file.
4269 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
4270 file.
4271 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
4272 file.
4273 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
4274 New file.
4275 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
4276 file.
4277 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
4278 file.
4279 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
4280 New file.
4281 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
4282 file.
4283 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
4284 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
4285 file.
4286 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
4287 New file.
4288 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
4289 file.
4290 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
4291 file.
4292 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
4293 file.
4294 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
4295 file.
4296 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
4297 file.
4298 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
4299 New file.
4300 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
4301 file.
4302 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
4303 file.
4304 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
4305 New file.
4306 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
4307 file.
4308 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
4309 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
4310 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
4311 file.
4312 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
4313 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
4314 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
4315 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
4316 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
4317 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
4318 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
4319 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
4320 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
4321 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
4322 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
4323 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
4324 file.
4325 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
4326 New file.
4327 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
4328 file.
4329 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
4330 file.
4331 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
4332 file.
4333 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
4334 file.
4335 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
4336 file.
4337 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
4338 New file.
4339 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
4340 New file.
4341 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
4342 file.
4343 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
4344 New file.
4345 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
4346 file.
4347 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
4348 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
4349 file.
4350 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
4351 New file.
4352 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
4353 file.
4354 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
4355 file.
4356 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
4357 file.
4358 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
4359 file.
4360 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
4361 file.
4362 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
4363 New file.
4364 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
4365 New file.
4366 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
4367 file.
4368 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
4369 New file.
4370 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
4371 file.
4372
41d73a1b
JM
43732012-04-28 Joseph Myers <joseph@codesourcery.com>
4374
4375 * conform/conformtest.pl: Fix typo in handling typed-constant from
4376 allow-header.
4377
28aeeda4
JM
43782012-04-27 Joseph Myers <joseph@codesourcery.com>
4379
adae8f5e
JM
4380 * README: Cut down references to pre-2.6 Linux kernels and
4381 Linuxthreads. Update lists of configurations in libc and ports
4382 and sort alphabetically. Say "or newer" with Linux kernel version
4383 requirements.
4384
28aeeda4
JM
4385 * config.h.in [IS_IN_build]: Allow compiling without optimization.
4386
a462cb63
RA
43872012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
4388
4389 [BZ #887]
4390 * math/libm-test.inc (logb_test_downward): New test to expose
4391 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
4392 rounding mode.
4393
6ad3493e
JM
43942012-04-27 Joseph Myers <joseph@codesourcery.com>
4395
4396 [BZ #14027]
4397 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
4398 to be done.
4399 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
4400 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
4401
2ce4f015
JM
44022012-04-26 Joseph Myers <joseph@codesourcery.com>
4403
5aeb141a
JM
4404 * sysdeps/unix/i386/brk.S: Remove file.
4405 * sysdeps/unix/i386/dl-brk.S: Likewise.
4406 * sysdeps/unix/i386/pipe.S: Likewise.
4407 * sysdeps/unix/i386/sigreturn.S: Likewise.
4408 * sysdeps/unix/i386/syscall.S: Likewise.
4409 * sysdeps/unix/i386/vfork.S: Likewise.
4410 * sysdeps/unix/i386/wait.S: Likewise.
4411
7143acae
JM
4412 * sysdeps/unix/common/tcsendbrk.c: Move to ...
4413 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
4414
2ce4f015
JM
4415 * configure.in (arm*-none*): Do not allow without
4416 --enable-hacker-mode.
4417 (netbsd*): Remove case setting base_os.
4418 (386bsd*): Likewise.
4419 (freebsd*): Likewise.
4420 (bsdi*): Likewise.
4421 (osf*): Likewise.
4422 (sunos*): Likewise.
4423 (ultrix*): Likewise.
4424 (newsos*): Likewise.
4425 (dynix*): Likewise.
4426 (*bsd*): Likewise.
4427 (sysv*): Likewise.
4428 (isc*): Likewise.
4429 (esix*): Likewise.
4430 (sco*): Likewise.
4431 (minix*): Likewise.
4432 (irix4*): Likewise.
4433 (irix6*): Likewise.
4434 (solaris[2-9]*): Likewise.
4435 (none): Likewise.
4436 * configure: Regenerated.
4437
0ac229c8
AZ
44382012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4439
4440 [BZ #11521]
4441 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
4442 overflow or cancellation in calculating denominator.
4443 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
4444 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
4445 down expression to avoid unexpected rounding in newer GCCs.
4446 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
4447
33f244f4
DM
44482012-04-26 David S. Miller <davem@davemloft.net>
4449
4450 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
4451 long-double compat symbols.
4452 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
4453 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
4454 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
4455 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
4456 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
4457 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
4458 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
4459 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
4460 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
4461 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
4462 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
4463 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
4464 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
4465
cfa1f3e8
DM
44662012-04-25 David S. Miller <davem@davemloft.net>
4467
4468 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
4469 HWCAP_* values only after the memory barriers have been defined.
4470 (atomic_full_barrier): Define.
4471 (atomic_read_barrier): Define.
4472 (atomic_write_barrier): Define.
4473
6e236b92
SP
44742012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
4475
4476 * shlib-versions: Add libgcc_s version information.
4477 * sysdeps/generic/libgcc_s.h: Remove.
4478 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
4479 libgcc_s.h.
4480 * sysdeps/gnu/unwind-resume.c: Likewise.
4481 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
4482
aab39a09
DM
44832012-04-25 David S. Miller <davem@davemloft.net>
4484
4485 * sysdeps/unix/sparc/brk.S: Delete.
4486 * sysdeps/unix/sparc/dl-brk.S: Delete.
4487 * sysdeps/unix/sparc/pipe.S: Delete.
4488 * sysdeps/unix/sparc/sysdep.S: Delete.
4489 * sysdeps/unix/sparc/sysdep.h: Delete.
4490 * sysdeps/unix/sparc/vfork.S: Delete.
4491 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
4492 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
4493 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
4494 ret_ERRVAL, r0, r1, MOVE): Define.
4495 (JUMPTARGET): Remove.
4496 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
4497 sysdeps/unix/sparc/sysdep.h
4498 (ENTRY, END): Remove.
4499 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
4500
a3cc4f48
JM
45012012-04-25 Joseph Myers <joseph@codesourcery.com>
4502
2ed8cda2
JM
4503 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
4504 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
4505 -DIS_IN_build.
4506
35d76d59
JM
4507 * timezone/README: Update upstream location and email address for
4508 tzcode and tzdata.
4509 * timezone/zdump.c: Update from tzcode 2012b.
4510 * timezone/zic.c: Likewise.
4511
a3cc4f48
JM
4512 * configure.in (libc_cv_as_needed): Remove test.
4513 * configure: Regenerated.
4514 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
4515 conditional definition.
4516 [$(have-as-needed) != yes] (no-as-needed): Likewise.
4517 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
4518 * config.make.in (have-as-needed): Remove variable.
4519
ceab42c3
SP
45202012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
4521 Paul Pluzhnikov <ppluzhnikov@google.com>
4522
4523 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
4524 strings correctly.
4525
3ce2865f
CLT
45262012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
4527
4528 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
4529 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
4530 * sysdeps/sh/strlen.S: Likewise.
4531
f37e0d68
JM
45322012-04-24 Joseph Myers <joseph@codesourcery.com>
4533
ae186e9a
JM
4534 * sysdeps/unix/fork.S: Remove file.
4535 * sysdeps/unix/i386/fork.S: Likewise.
4536 * sysdeps/unix/sparc/fork.S: Likewise.
4537
b96914af
JM
4538 * sysdeps/unix/system.c: Remove file.
4539 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
4540
f37e0d68
JM
4541 * sysdeps/unix/getegid.S: Remove file.
4542 * sysdeps/unix/geteuid.S: Likewise.
4543
87ef29ca
RM
45442012-04-24 Roland McGrath <roland@hack.frob.com>
4545
83bcd236
RM
4546 * scripts/check-localplt.awk: New file.
4547 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
4548 of diff.
4549 * scripts/data/localplt-generic.data: Add a comment.
4550
87ef29ca
RM
4551 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
4552 NODE when __dir_mkfile failed.
4553 * sysdeps/mach/hurd/symlinkat.c: Likewise.
4554 Reported by Ludovic Courtès <ludo@gnu.org>.
4555
e5a6e567
AJ
45562012-04-24 Andreas Jaeger <aj@suse.de>
4557
4558 * Makerules (common-clean): Also remove gen-as-const-headers
4559 files.
4560
c1820385
JM
45612012-04-24 Joseph Myers <joseph@codesourcery.com>
4562
4563 * Makerules (native-compile): Do not change working directory for
4564 build. Use $(OUTPUT_OPTION) in command.
4565 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
4566
94e02fc4
AZ
45672012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4568
4569 [BZ #13886]
4570 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
4571 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
4572 * math/libm-test.inc (floor_test): Add more tests.
4573 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
4574
3a533ca3
JM
45752012-04-24 Joseph Myers <joseph@codesourcery.com>
4576
940ab4b3
JM
4577 * sysdeps/unix/getdents.c: Remove file.
4578 * sysdeps/unix/sysv/getdents.c: Likewise.
4579 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
4580
90e037bd
JM
4581 * sysdeps/unix/syscalls.list (madvise): Add syscall from
4582 sysdeps/unix/mman/syscalls.list.
4583 (mmap): Likewise.
4584 (mprotect): Likewise.
4585 (msync): Likewise.
4586 (munmap): Likewise.
4587 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
4588 * sysdeps/unix/mman/syscalls.list: Remove.
4589 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
4590
3a533ca3
JM
4591 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
4592 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
4593 * configure: Regenerated.
4594 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
4595 $(libgcc_s_suffix).
4596 * config.make.in (libgcc_s_suffix): Remove variable.
4597
1ad743de
JM
45982012-04-23 Joseph Myers <joseph@codesourcery.com>
4599
4ad451e2
JM
4600 * sysdeps/unix/sysv/gethostname.c: Move to ...
4601 * sysdeps/posix/gethostname.c: ... here.
4602
5e37ce39
JM
4603 * sysdeps/unix/execve.S: Remove file.
4604
1ad743de
JM
4605 * sysdeps/unix/_exit.S: Remove file.
4606
4e681b5b
AJ
46072012-04-23 Andreas Jaeger <aj@suse.de>
4608
4609 [BZ #13739]
4610 * manual/Makefile: Remove make dist support, there's no
4611 need for a stand-alone documentation tar ball.
4612 (TEXI2DVI): Define always, it's not in Makeconfig.
4613 (dist): Removed.
4614 (tar-it): Removed.
4615 (edition): Removed.
4616 (glibc-doc-$(edition).tar): Removed
4617 (%.Z): Removed.
4618 (%.gz): Removed.
4619 (%.uu): Removed.
4620 (ETAGS): Remove, it's in Makeconfig.
4621 (move-if-change): Remove, it's in Makeconfig.
4622
c0baea34
PE
46232013-04-23 Paul Eggert <eggert@cs.ucla.edu>
4624
4625 [BZ #13970]
4626 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
4627 (strtod, strtof, strtold, strtol, strtoul, strtoq)
4628 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
4629 (strtod_l, strtof_l, strtold_l): Remove __wur.
4630 It is not necessarily an error to ignore strtol's return value.
4631 One can reliably look at the stored endptr to decide whether
4632 the number had valid syntax.
4633
7c0616fa
AJ
46342012-04-21 Andreas Jaeger <aj@suse.de>
4635
803cb6b7 4636 [BZ #13739]
7c0616fa
AJ
4637 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
4638
b0fe253f
JM
46392012-04-21 Joseph Myers <joseph@codesourcery.com>
4640
4641 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
4642 * sysdeps/unix/sysv/Versions: Remove file.
4643
8280f22d
MT
46442012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
4645
4646 [BZ #13927]
4647 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4648
75ce411f 46492012-04-21 Nick Alcock <nick.alcock@oracle.com>
b8e33728
N
4650
4651 [BZ #7064]
4652 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
4653 version from __vm86.
4654
097d59fa
JM
46552012-04-20 Joseph Myers <joseph@codesourcery.com>
4656
a90f3bcb
JM
4657 * sysdeps/unix/common/lxstat.c: Remove file.
4658 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
4659
edc7ea78
JM
4660 * sysdeps/unix/sysv/Makefile: Remove file.
4661
cb78c221
JM
4662 * sysdeps/unix/sysv/direct.h: Remove file.
4663
efa6a45f
JM
4664 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
4665 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
4666 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
4667 * sysdeps/unix/sysv/bits/signum.h: Likewise.
4668 * sysdeps/unix/sysv/bits/stat.h: Likewise.
4669 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
4670 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
4671
9c9f2d0c
JM
4672 * sysdeps/unix/sysv/setrlimit.c: Remove file.
4673
4541c83b
JM
4674 * sysdeps/unix/xmknod.c: Remove file.
4675 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
4676
f5d153a0
JM
4677 * sysdeps/unix/sysv/settimeofday.c: Remove file.
4678
aa746595
JM
4679 * sysdeps/unix/sysv/i386/time.S: Remove file.
4680
cce5905e
JM
4681 * sysdeps/unix/fxstat.c: Remove file.
4682 * sysdeps/unix/xstat.c: Likewise.
4683 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
4684
37fa3841
JM
4685 * sysdeps/unix/sysv/sigaction.c: Remove file.
4686
ff1962a3
JM
4687 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
4688 (sysdep_headers): Remove variable.
4689 [termio.h not in sysdep_headers] (generated): Likewise.
4690 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
4691 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
4692 * sysdeps/unix/sysv/tcdrain.c: Likewise.
4693 * sysdeps/unix/sysv/tcflow.c: Likewise.
4694 * sysdeps/unix/sysv/tcflush.c: Likewise.
4695 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
4696 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
4697 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
4698 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
4699 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
4700
e7740d31
JM
4701 * sysdeps/unix/siglist.c: Remove file.
4702
ee06f18b
JM
4703 * sysdeps/unix/getppid.S: Remove file.
4704
097d59fa
JM
4705 * sysdeps/unix/mkdir.c: Remove file.
4706 * sysdeps/unix/rmdir.c: Likewise.
4707
ff3d51ec
AS
47082012-04-19 Andreas Schwab <schwab@linux-m68k.org>
4709
4710 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
4711 ERR_MAX value.
4712 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
4713 errlist-compat value.
4714
50f81fd7
DM
47152012-04-18 David S. Miller <davem@davemloft.net>
4716
4717 * sysdeps/generic/memcopy.h (reg_char): Delete.
4718 * debug/strcat_chk.c: Use char, not reg_char.
4719 * debug/strcpy_chk.c: Likewise.
4720 * debug/strncat_chk.c: Likewise.
4721 * debug/strncpy_chk.c: Likewise.
4722 * string/memchr.c: Likewise.
4723 * string/memrchr.c: Likewise.
4724 * string/rawmemchr.c: Likewise.
4725 * string/strcat.c: Likewise.
4726 * string/strchr.c: Likewise.
4727 * string/strchrnul.c: Likewise.
4728 * string/strcmp.c: Likewise.
4729 * string/strcpy.c: Likewise.
4730 * string/strncat.c: Likewise.
4731 * string/strncmp.c: Likewise.
4732 * string/strncpy.c: Likewise.
4733
8ff41c46
WS
47342012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
4735
4736 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
4737 __builtin_memcopy is called when src and dest ranges are known to not
4738 overlap.
4739
6b652f46
WS
47402012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
4741
4742 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
4743 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
4744 fwd_align_merge macro call.
4745 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
4746 bwd_align_merge macro call.
4747 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
4748
b282631e
WS
47492012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
4750
4751 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
4752 bwd_align_merge macros.
4753 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
4754 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
4755 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
4756
95aa737c
DM
47572012-04-18 David S. Miller <davem@davemloft.net>
4758
4759 * sysdeps/sparc/sparc64/memcopy.h: Delete.
4760
7a99a614
AJ
47612012-04-18 Andreas Jaeger <aj@suse.de>
4762
4763 [BZ# 6794]
4764 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
4765 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
4766 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
4767
4768 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
4769 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
4770 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
4771
4772 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
4773 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
4774 Adjust for changed ldbl-128 files.
4775
4776 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
4777 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
4778 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
4779
e5270c23
DM
47802012-04-17 David S. Miller <davem@davemloft.net>
4781
4782 * sysdeps/sparc/sparc32/memcopy.h: Delete.
4783
fb5e92c9
AS
47842012-04-17 Andreas Schwab <schwab@linux-m68k.org>
4785
4786 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
4787 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
4788 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
4789 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
4790 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
4791 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
4792
76da7265
AZ
47932012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4794
4795 [BZ #6794]
4796 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
4797 * math/libm-test.inc: Add ilogb errno and exception tests.
4798 * math/w_ilogb.c: New file: ilogb wrapper.
4799 * math/w_ilogbf.c: New file: ilogbf wrapper.
4800 * math/w_ilogbl.c: New file: ilogbl wrapper.
4801 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
4802 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
4803 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
4804 exception being thrown with 0.0 as argument.
4805 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
4806 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
4807 exception being thrown with 0.0 as argument.
4808 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
4809 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
4810 exception being thrown with 0.0 as argument.
4811 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
4812 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
4813 exception being thrown with 0.0 as argument.
4814 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
4815 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
7a99a614 4816 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
76da7265
AZ
4817 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
4818 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
4819 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
4820 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
4821 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
4822 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
4823
0396e69d
PB
48242012-04-17 Petr Baudis <pasky@ucw.cz>
4825
4826 * include/sys/uio.h: Change __vector to __iovec to avoid clash
4827 with altivec.
4828
750b5926
MP
48292012-04-16 Marek Polacek <polacek@redhat.com>
4830
4831 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
4832
751728a1
MP
48332012-04-16 Marek Polacek <polacek@redhat.com>
4834
4835 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
4836 operands of fdivp instruction.
4837
34a27407
L
48382012-04-13 H.J. Lu <hongjiu.lu@intel.com>
4839
4840 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
4841 * elf/tst-auditmod3b.c: Likewise.
4842 * elf/tst-auditmod4b.c: Likewise.
4843 * elf/tst-auditmod5b.c: Likewise.
4844 * elf/tst-auditmod6b.c: Likewise.
4845 * elf/tst-auditmod6c.c: Likewise.
4846 * elf/tst-auditmod7b.c: Likewise.
4847 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
4848 * sysdeps/x86_64/preconfigure.in: Likewise.
4849 * sysdeps/x86_64/preconfigure: Regenerated.
4850
7e73e17d
L
48512012-04-13 H.J. Lu <hongjiu.lu@intel.com>
4852
4853 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
4854 __ILP32__.
4855
c7a6ab72
AB
48562012-04-13 Antoine Balestrat <merkil33@gmail.com>
4857
4858 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
4859 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
4860
a9e8e0e0
CL
48612012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
4862
4863 [BZ #13973]
4864 * locale/iso-639.def: Fix gl language name. Spotted by
4865 Yaron Shahrabani.
4866
ec98af7d
RM
48672012-04-12 Roland McGrath <roland@hack.frob.com>
4868
4869 [BZ #2074]
4870 * libio/libio.h (__io_write_fn): Update comment.
4871
247c3ede
PB
48722012-04-12 Petr Baudis <pasky@ucw.cz>
4873
4874 [BZ #2074]
4875 * stdio.texi (Hook Functions): The user provided writer function
4876 is not allowed to return -1.
4877
55939d6d
DM
48782012-04-11 David S. Miller <davem@davemloft.net>
4879
4880 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4881
90020f5a
MF
48822012-04-11 Mike Frysinger <vapier@gentoo.org>
4883
4884 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
4885 Add a leading slash to rtkaio.
4886
288f9098
JM
48872012-04-11 Jim Meyering <meyering@redhat.com>
4888
90020f5a
MF
4889 [BZ #11959]
4890 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
4891 It is not necessarily an error to ignore fwrite's return
4892 value. One can reliably use ferror to test for errors after
4893 the fact.
288f9098 4894
4be2b570
L
48952012-04-10 H.J. Lu <hongjiu.lu@intel.com>
4896
4897 * bits/types.h (__snseconds_t): New type.
4898 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
4899
4900 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
4901 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
4902 (__SNSECONDS_T_TYPE): Likewise.
4903 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
4904 (__SNSECONDS_T_TYPE): Likewise.
4905 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
4906 (__SNSECONDS_T_TYPE): Likewise.
4907
288f9098 49082012-04-10 Andreas Jaeger <aj@suse.de>
4cfd8026
AJ
4909
4910 [BZ #2636]
4911 * manual/time.texi (Processor Time): Return type of times is
4912 elapsed real time since an arbitrary point in the past.
4913 (CPU Time): Move CLK_TCK from here...
4914 (Processor Time): ...to here. Correct description.
4915 * manual/conf.texi (Constants for Sysconf): Correct description of
4916 _SC_CLK_TCK.
4917
d7dd4413
DM
49182012-04-10 David S. Miller <davem@davemloft.net>
4919
4920 [BZ #13967]
4921 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
4922 where the is a gap between DT_REL(A) and DT_JMPREL.
4923
b46068fc
L
49242012-04-10 H.J. Lu <hongjiu.lu@intel.com>
4925
4926 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
4927 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
4928 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
4929
73d65cc3
SP
49302012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
4931
4932 * elf/dl-support.c (_dl_inhibit_cache): New variable.
4933 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
4934 (dl_main): Handle --inhibit-cache.
4935 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
4936 _dl_inhibit_cache.
4937 * elf/dl-load.c (_dl_map_object): Use it.
4938 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
4939
bcc8d661
JM
49402012-04-09 Joseph Myers <joseph@codesourcery.com>
4941
8f9a2fae
JM
4942 [BZ #13872]
4943 * sysdeps/i386/fpu/e_powl.S (p78): New object.
4944 (__ieee754_powl): Saturate large exponents rather than testing for
4945 overflow of y*log2(x).
4946 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
4947 * math/libm-test.inc (pow_test): Do not permit spurious overflow
4948 exceptions.
4949
bcc8d661
JM
4950 [BZ #11521]
4951 * math/s_ctan.c: Include <float.h>.
4952 (__ctan): Avoid internal overflow or cancellation in calculating
4953 denominator.
4954 * math/s_ctanf.c: Likewise.
4955 * math/s_ctanl.c: Likewise.
4956 * math/s_ctanh.c: Likewise.
4957 * math/s_ctanhf.c: Likewise.
4958 * math/s_ctanhl.c: Likewise.
4959 * math/libm-test.inc (ctan_test): Add more tests.
4960 (ctanh_test): Likewise.
4961 * sysdeps/i386/fpu/libm-test-ulps: Update.
4962 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4963
823fbbb4
AJ
49642012-04-09 Andreas Jaeger <aj@suse.de>
4965
03879793
AJ
4966 [BZ #6894]
4967 * manual/filesys.texi (Directory Entries): Mention that d_namlen
4968 is an optional BSD extension.
4969
823fbbb4
AJ
4970 [BZ #10254]
4971 * manual/stdio.texi (Opening Streams): Document additional fopen
4972 parameters.
4973
8de131cb
RM
49742012-04-09 Roland McGrath <roland@hack.frob.com>
4975
4976 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
4977 %eax without telling the compiler.
4978
c0ed9d7d
CD
49792012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
4980
4981 [BZ # 13963]
4982 * manual/install.texi: Use sourceware.org.
4983
c483f6b4
JM
49842012-04-09 Joseph Myers <joseph@codesourcery.com>
4985
d7dd9453
JM
4986 [BZ #13873]
4987 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
4988 (__ieee754_pow): Generate overflow and underflow using huge*huge
4989 and tiny*tiny rather than just returning constant infinity or zero
4990 for large exponents.
4991 * math/libm-test.inc (pow_test): Require overflow exceptions for
4992 applicable cases of large exponents.
4993
c483f6b4
JM
4994 [BZ #706]
4995 * sysdeps/i386/fpu/e_pow.S (p10): New object.
4996 (__ieee754_pow): Use iterative multiplication algorithm only for
4997 integer exponents with absolute value below 1024. Check for odd
4998 integer exponents when using algorithm for real exponents.
4999 * math/libm-test.inc (pow_test): Add more tests.
5000 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5001
d2de7579
JM
50022012-04-08 Joseph Myers <joseph@codesourcery.com>
5003
5004 [BZ #13705]
5005 * math/libm-test.inc (exp_test): Do not allow overflow exception
5006 on underflow test.
5007
f77f1232
AJ
50082012-04-08 Aurelien Jarno <aurelien@aurel32.net>
5009
5010 [BZ #13705]
5011 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
5012 instead of __kernel_standard_f.
5013
3884932b
MF
50142012-04-08 Mike Frysinger <vapier@gentoo.org>
5015
5016 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
5017 * sysdeps/x86_64/memset_chk.S: Likewise.
5018
54472e9c
AJ
50192012-04-08 Andreas Jaeger <aj@suse.de>
5020
6ab0fbfc
AJ
5021 [BZ #10153]
5022 * manual/startup.texi (Environment Access): Describe return value
5023 for putenv and setenv.
5024
61efba8c
AJ
5025 [BZ #6895]
5026 * manual/filesys.texi (Directory Entries): Add description for
5027 DT_LNK.
5028
95c3f29a
AJ
5029 [BZ #6890]
5030 * manual/filesys.texi (Directory Entries): Clarify that it's file
5031 system not operating system in the description of DT_UNKNOWN.
5032
54472e9c
AJ
5033 [BZ #6578]
5034 * manual/syslog.texi (closelog): Fix reference, it's openlog.
5035
624254b1
SC
50362012-04-08 Stephen Compall <s11@member.fsf.org>
5037
5038 [BZ #6649]
5039 * manual/llio.texi (Opening and Closing Files): Add cross
5040 reference to explain mode argument.
5041
1e4920e0
MF
50422012-04-07 Mike Frysinger <vapier@gentoo.org>
5043
5044 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
5045 * sysdeps/x86_64/memset_chk.S: Likewise.
5046
5ed848f3
DM
50472012-04-07 David S. Miller <davem@davemloft.net>
5048
5049 * elf/elf.h (R_SPARC_WDISP10): Define.
5050 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
5051 R_SPARC_SIZE32.
5052 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
5053 R_SPARC_SIZE64 and R_SPARC_H34.
5054
96154cd8
CD
50552012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
5056
5057 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
5058 conditions and remove no longer applicable assertion.
5059
9904dc47
L
50602012-04-06 H.J. Lu <hongjiu.lu@intel.com>
5061
5062 * bits/byteswap.h: Include <features.h>.
5063 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
5064 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
5065
f8887d0a
L
50662012-04-06 H.J. Lu <hongjiu.lu@intel.com>
5067
5068 * bits/byteswap.h (__bswap_16): Removed.
5069 Include <bits/byteswap-16.h> to get __bswap_16.
5070 * sysdeps/i386/bits/byteswap.h: Likewise.
5071 * sysdeps/s390/bits/byteswap.h: Likewise.
5072 * sysdeps/x86_64/bits/byteswap.h: Likewise.
5073 * bits/byteswap-16.h: New file.
5074 * sysdeps/i386/bits/byteswap-16.h: Likewise.
5075 * sysdeps/s390/bits/byteswap-16.h: Likewise.
5076 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
5077 * string/Makefile (headers): Add bits/byteswap-16.h.
5078
62470f60
PP
50792012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
5080
5081 [BZ #13895]
5082 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
5083 extra indirection.
5084 * nss/Makefile (tests-static, tests): Add tst-nss-static.
5085 * nss/tst-nss-static.c: New.
5086
4dad7bab
RM
50872012-04-06 Robert Millan <rmh@gnu.org>
5088
5089 [BZ #6486]
5090 * manual/llio.texi (File Position Primitive): lseek
5091 refers to WHENCE when it really means OFFSET.
5092
e9142a17
AJ
50932012-04-06 Andreas Jaeger <aj@suse.de>
5094
2c040eff
AJ
5095 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
5096 strncmp declarations.
5097
e9142a17
AJ
5098 * abilist/libc.abilist: Add __poll and __ppoll.
5099
ff9f1c5f
DM
51002012-04-05 David S. Miller <davem@davemloft.net>
5101
dcd2ae90
DM
5102 * scripts/check-local-headers.sh: Accept a host triplet in the
5103 path matched by the exclude regexp.
5104
993eb054
DM
5105 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
5106 definition.
5107 * sysdeps/powerpc/powerpc32/dl-machine.h
5108 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
5109 * sysdeps/s390/s390-32/dl-machine.h
5110 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
5111 * sysdeps/sparc/sparc32/dl-machine.h
5112 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
5113 * sysdeps/sparc/sparc64/dl-machine.h
5114 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
5115
ff9f1c5f
DM
5116 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
5117 lazy binding.
48e2e132 5118 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
ff9f1c5f
DM
5119 undefined symbol errors.
5120
48e2e132 5121 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
ff9f1c5f
DM
5122 DT_NEEDED entries.
5123
e80d6f94
MM
51242012-04-05 Michael Matz <matz@suse.de>
5125
5126 [BZ #13592]
5127 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
5128
349fa79f
AJ
51292012-04-05 Andreas Jaeger <aj@suse.de>
5130
5131 [BZ #13908]
5132 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
5133 comment.
5134
f402708f
KK
51352012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
5136
5137 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
5138 which ROUND is no valid rounding mode.
5139
2ecccfc9
KK
51402012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
5141
5142 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
5143 read again.
5144 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
5145
8a53f50f
KK
51462012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
5147
5148 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
5149 an exception using FPU order intentionally.
5150
51512012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
5152
5153 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
5154 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
5155 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
5156 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
5157
d653abb7
SJ
51582012-04-05 Simon Josefsson <simon@josefsson.org>
5159
5160 [BZ #12340]
5161 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
5162 EINVAL when BUFLEN is too smal.
5163
c3b1bf7d
TS
51642012-04-05 Thomas Schwinge <thomas@codesourcery.com>
5165
5166 [BZ #13553]
5167 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
5168 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
5169
b1aa60f3
AJ
51702012-04-03 Andreas Jaeger <aj@suse.de>
5171
c3b1bf7d 5172 [BZ #13938]
67f60a26
AJ
5173 * manual/setjmp.texi (System V contexts): Fix sentence.
5174
b1aa60f3
AJ
5175 [BZ #13926]
5176 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
5177 New macro for this case.
5178 [!__GNUC__] (__bswap_64): New inline function for this case.
5179 * sysdeps/x86_64/bits/byteswap.h: Likewise.
5180 * bits/byteswap.h: Likewise.
5181 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
5182 ull, guard with __GLIBC_HAVE_LONG_LONG.
5183
5184 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
5185 __GLIBC_HAVE_LONG_LONG.
5186
5187 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
5188 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
5189
39c59c35
TMQMF
51902012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
5191
5192 [BZ #13691]
5193 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
5194 inptr and inend, rather than using last_ch.
5195
135ffda8
DM
51962012-04-02 David S. Miller <davem@davemloft.net>
5197
5198 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
5199 * stdio-common/printf-parse.h (read_int): Change return type to
5200 'int', return -1 on INT_MAX overflow.
5201 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
5202 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
5203 overflows INT_MAX. Check for overflow of in-format-string precision
5204 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
5205 SIZE_MAX not INT_MAX for integer overflow test.
5206 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
5207 skip the construct in the format string but do not record anything.
5208 * stdio-common/bug22.c: Adjust to test both width/prevision
5209 INT_MAX overflow as well as total length INT_MAX overflow. Check
5210 explicitly for proper errno values.
5211
228c019e
TS
52122012-04-02 Thomas Schwinge <thomas@codesourcery.com>
5213
302cadd3
TS
5214 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
5215 CHAR_MAX.
5216 * string/test-strcmp.c [! WIDE]: Likewise.
5217 * time/tst-mktime2.c: Likewise for INT_MAX.
5218 * string/test-string.h: #include <sys/param.h> for MIN.
5219
228c019e
TS
5220 * csu/init-first.c (__libc_init_first): Call __ctype_init.
5221 * sysdeps/i386/init-first.c (init): Likewise.
5222 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
5223 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
5224 * sysdeps/sh/init-first.c (init): Likewise.
5225
cfa633f5
UD
52262012-04-01 Ulrich Drepper <drepper@gmail.com>
5227
5228 * po/ru.po: Update from translation team.
d1635ef8 5229 * po/vi.po: Likewise.
cfa633f5 5230
6cd0a5ea
SP
52312012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
5232
5233 * resolv/nss_dns/dns-host.c: Merge copyright years.
5234
4b43400f
LD
52352012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
5236
5237 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
5238 Optimize memcpy with prefetch if
5239 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
5240 src, dst pointers have unequal 16 byte alignments.
5241
48c41d04
SP
52422012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
5243
5244 [BZ #13928]
5245 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
5246 from a CNAME entry and return the minimum ttl for the query.
5247 (gaih_getanswer_slice): Likewise.
5248
b8dc394d
JL
52492012-03-30 Jeff Law <law@redhat.com>
5250
5251 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
5252 due to long keys.
5253 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
5254 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
5255
2f5a5ed0
JL
5256 * resolv/nss_dns/dns-host.c: Update copyright year.
5257
1d39e359
UD
52582012-03-30 Ulrich Drepper <drepper@gmail.com>
5259
c030f70c 5260 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8e6d1083 5261 requests to save a system call. Fix check that all bytes are sent.
c030f70c 5262
1d39e359
UD
5263 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
5264 comments for sendmmsg.
5265
52662012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
e64d2de5
TMQMF
5267
5268 [BZ #13691]
5269 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
5270 with only 1 character between 0x0041 and 0x01b0.
5271 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
5272 * wcsmbs/tst-mbsnrtowcs.c: New file.
5273
20fde227
DM
52742012-03-29 David S. Miller <davem@davemloft.net>
5275
5276 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
5277 small copies by hand.
5278
984a4237
JL
52792012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
5280
5281 [BZ #13761]
5282 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
5283 _nss_compat_initgroups_dyn): Fall back to malloc/free
5284 for large group memberships.
5285
18c9d62b
DM
52862012-03-28 David S. Miller <davem@davemloft.net>
5287
88d85d4f
DM
5288 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
5289 that branches into memcpy.
5290 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
5291 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
5292 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
5293 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
5294 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
5295 bits.
5296 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
5297 implementation too.
5298 * sysdeps/sparc/mempcpy.S: New file.
5299
e5aa83e1
DM
5300 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
5301 the IFUNC routine in the libc case.
5302 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
5303
88570753
DM
5304 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
5305 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
5306 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
5307 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
5308 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
5309 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
5310 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
5311 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
5312
249d7567
DM
5313 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
5314 loop to 256 bytes instead of 64 bytes and fix test signedness.
5315
18c9d62b
DM
5316 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
5317 * sysdeps/sparc/sparc32/Makefile: rather than here...
5318 * sysdeps/sparc/sparc64/Makefile: and here.
5319
05f3d1f6
UD
53202012-03-28 Ulrich Drepper <drepper@gmail.com>
5321
5322 * malloc/mallocbug.c: Avoid warnings about unused variables.
5323
86ae07a8
JL
53242012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
5325
5326 [BZ #13760]
5327 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
5328 in the right place. Discard and retry query if response is
5329 larger than input buffer size.
5330
41bf21a1
JM
53312012-03-28 Joseph Myers <joseph@codesourcery.com>
5332
d6270972
JM
5333 [BZ #369]
5334 [BZ #2678]
5335 [BZ #3866]
5336 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
5337 x for large integer exponent.
5338 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
5339 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
5340 sign of result as needed afterwards.
5341 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
5342 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
5343 result for underflowing pow the same as for overflow.
5344 (__kernel_standard_l): Handle powl overflow and underflow here
5345 rather than calling __kernel_standard.
5346 * math/libm-test.inc (pow_test): Add more tests.
5347
414fca03 5348 [BZ #3868]
41bf21a1
JM
5349 [BZ #13879]
5350 [BZ #13910]
5351 [BZ #13911]
5352 [BZ #13912]
5353 [BZ #13913]
5354 [BZ #13915]
5355 [BZ #13916]
5356 [BZ #13917]
5357 [BZ #13918]
5358 [BZ #13919]
5359 [BZ #13920]
5360 [BZ #13921]
5361 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
5362 * sysdeps/ieee754/k_standard.c: Include <float.h>.
5363 (__kernel_standard_l): New function.
5364 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
5365 __kernel_standard.
5366 * math/w_acosl.c (__acosl): Likewise.
5367 * math/w_asinl.c (__asinl): Likewise.
5368 * math/w_atan2l.c (__atan2l): Likewise.
5369 * math/w_atanhl.c (__atanhl): Likewise.
5370 * math/w_coshl.c (__coshl): Likewise.
5371 * math/w_exp10l.c (__exp10l): Likewise.
5372 * math/w_exp2l.c (__exp2l): Likewise.
5373 * math/w_fmodl.c (__fmodl): Likewise.
5374 * math/w_hypotl.c (__hypotl): Likewise.
5375 * math/w_j0l.c (__j0l, __y0l): Likewise.
5376 * math/w_j1l.c (__j1l, __y1l): Likewise.
5377 * math/w_jnl.c (__jnl, __ynl): Likewise.
5378 * math/w_lgammal.c (__lgammal): Likewise.
5379 * math/w_log10l.c (__log10l): Likewise.
5380 * math/w_log2l.c (__log2l): Likewise.
5381 * math/w_logl.c (__logl): Likewise.
5382 * math/w_powl.c (__powl): Likewise.
5383 * math/w_remainderl.c (__remainderl): Likewise.
5384 * math/w_scalbl.c (sysv_scalbl): Likewise.
5385 * math/w_sinhl.c (__sinhl): Likewise.
5386 * math/w_sqrtl.c (__sqrtl): Likewise.
5387 * math/w_tgammal.c (__tgammal): Likewise.
5388 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
5389 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
5390 * math/libm-test.inc (acos_test): Add more tests.
5391 (acosh_test): Likewise.
5392 (asin_test): Likewise.
5393 (atanh_test): Likewise.
5394 (exp_test): Likewise.
5395 (exp10_test): Likewise.
5396 (exp2_test): Likewise.
5397 (expm1_test): Likewise.
5398 (lgamma_test): Likewise.
5399 (log_test): Likewise.
5400 (log10_test): Likewise.
5401 (log1p_test): Likewise.
5402 (log2_test): Likewise.
5403 (pow_test): Do not allow some spurious overflow exceptions.
5404 (sqrt_test): Add more tests.
5405 (tgamma_test): Likewise.
5406 (y0_test): Likewise.
5407 (y1_test): Likewise.
5408 (yn_test): Likewise.
5409
dd62fda6
AB
54102012-03-27 Anton Blanchard <anton@samba.org>
5411
5412 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
5413 MAP_HUGETLB.
5414 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
5415 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
5416 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
5417
1e3cdfda
AJ
54182012-03-27 David S. Miller <davem@davemloft.net>
5419
b855ab85
DM
5420 * conform/Makefile: Run run-conformtest.sh using $(BASH).
5421
1e3cdfda
AJ
5422 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
5423 have-as-vis3 check.
5424
54252012-03-27 Andreas Jaeger <aj@suse.de>
5426
5427 * sysdeps/x86_64/elf/configure.in: Moved to ...
5428 * sysdeps/x86_64/configure.in: ... here.
5429 * sysdeps/x86_64/elf/start.S: Moved to ...
5430 * sysdeps/x86_64/start.S: ... here.
5431 * sysdeps/x86_64/elf/configure: Delete.
5432
5433 * sysdeps/x86_64/configure.in: Merge contents from
5434 sysdeps/i386/configure.in (without i686 check).
5435
5436 * sysdeps/i386/elf/Versions: Merge into ...
5437 * sysdeps/i386/Versions: ... this.
5438 * sysdeps/i386/elf/Versions: Delete file.
5439 * sysdeps/i386/elf/start.S: Moved to ...
5440 * sysdeps/i386/start.S: ...here.
5441 * sysdeps/i386/elf/configure.in: Merge into...
5442 * sysdeps/i386/configure.in: ...here.
5443 * sysdeps/i386/elf/configure.in: Delete file.
5444 * sysdeps/i386/elf/configure: Delete file.
5445
5446 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
5447 * debug/backtracesyms.c: ... here.
5448 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
5449 * debug/backtracesymsfd.c: ... here.
5450 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
5451 * sysdeps/generic/ifunc-sel.h: ... here.
5452
5453 * sysdeps/unix/i386/start.c: Delete file.
5454 * sysdeps/unix/sparc/start.c: Delete file.
5455 * sysdeps/unix/start.c: Delete file.
5456
5457 * sysdeps/sh/elf/configure.in: Moved to ...
5458 * sysdeps/sh/configure.in: ... here.
5459 * sysdeps/sh/elf/start.S: Moved to ...
5460 * sysdeps/sh/start.S: ... here.
5461 * sysdeps/sh/elf/configure: Delete file.
5462
5463 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
5464 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
5465 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
5466 * sysdeps/powerpc/powerpc64/entry.h: ... here.
5467 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
5468 * sysdeps/powerpc/powerpc64/start.S: here.
5469 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
5470 * sysdeps/powerpc/powerpc64/Makefile: ... this.
5471 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
5472 * sysdeps/powerpc/powerpc64/configure.in: ... this.
5473 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
5474
5475 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
5476 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
5477 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
5478 * sysdeps/powerpc/powerpc32/start.S: ... here.
5479 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
5480 * sysdeps/powerpc/powerpc32/configure.in: ... this.
5481 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
5482
5483 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
5484 * sysdeps/powerpc/ifunc-sel.h: ... here.
5485 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
5486 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
5487
5488 * sysdeps/sparc/elf/configure.in: Moved to ...
5489 * sysdeps/sparc/configure.in: ... here.
5490 * sysdeps/sparc/elf/configure: Delete file.
5491 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
5492 * sysdeps/sparc/sparc32/start.S: ... here.
5493 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
5494 * sysdeps/sparc/sparc64/start.S: ... here.
5495 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
5496 * sysdeps/sparc/sparc32/Makefile: ... this.
5497 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
5498 * sysdeps/sparc/sparc64/Makefile: ... this.
5499
5500 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
5501 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
5502 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
5503 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
5504 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
5505 * sysdeps/s390/s390-32/setjmp.S: ... here.
5506 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
5507 * sysdeps/s390/s390-32/configure.in: ... here.
5508 * sysdeps/s390/s390-32/elf/configure: Delete file.
5509 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
5510 * sysdeps/s390/s390-32/start.S: ... here.
5511
5512 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
5513 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
5514 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
5515 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
5516 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
5517 * sysdeps/s390/s390-64/setjmp.S: ... here.
5518 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
5519 * sysdeps/s390/s390-64/configure.in: ... here
5520 * sysdeps/s390/s390-64/elf/configure: Delete file.
5521 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
5522 * sysdeps/s390/s390-64/start.S: ... here.
5523 * sysdeps/s390/s390-64/elf/configure: Delete.
5524
5525 * configure.in: Remove support for elf directories in sysdeps.
5526
5527 * configure: Regenerated.
5528 * sysdeps/i386/configure: Regenerated.
5529 * sysdeps/powerpc/powerpc32/configure: Regenerated.
5530 * sysdeps/powerpc/powerpc64/configure: Regenerated.
5531 * sysdeps/s390/s390-32/configure: Regenerated.
5532 * sysdeps/s390/s390-64/configure: Regenerated.
5533 * sysdeps/sh/configure: Regenerated.
5534 * sysdeps/sparc/configure: Regenerated.
5535 * sysdeps/x86_64/configure: Regenerated.
5536
a3f61311
AS
55372012-03-26 Andreas Schwab <schwab@linux-m68k.org>
5538
c876e002
AS
5539 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5540
a3f61311
AS
5541 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
5542 denormal result into account.
5543
ac4c54f0
RM
55442012-03-25 Roland McGrath <roland@hack.frob.com>
5545
5546 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
5547 Reported by Allan McRae <allan@archlinux.org>.
5548
6a9b9c02
JL
55492012-03-23 Jeff Law <law@redhat.com>
5550
5551 * nss/getnssent.c (__nss_getent): Fix typo.
5552
4c42a0c1
DM
55532012-03-23 David S. Miller <davem@davemloft.net>
5554
5555 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5556
1532c7ac
L
55572012-03-23 H.J. Lu <hongjiu.lu@intel.com>
5558
5559 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
5560 to pad to uint64_t for each field.
5561 (dl_tls_index): Replace unsigned long with uint64_t.
5562
3ff42526
PP
55632012-03-23 Daniel Jacobowitz <dmj@google.com>
5564 Paul Pluzhnikov <ppluzhnikov@google.com>
5565
5566 [BZ #6528]
5567 * grp/Makefile (otherlibs): Don't set it.
5568 * inet/Makefile (otherlibs): Likewise.
5569 * login/Makefile (otherlibs): Likewise.
5570 * nscd/Makefile (otherlibs): Likewise.
5571 * posix/Makefile (otherlibs): Likewise.
5572 * pwd/Makefile (otherlibs): Likewise.
5573 * rt/Makefile (otherlibs): Likewise.
5574 * sunrpc/Makefile (otherlibs): Likewise.
5575 * nss/Makefile (otherlibs): Likewise.
5576 Add libnss_files to routines and static-only-routines.
5577 ($(objpfx)getent): Remove rule.
5578 * resolv/Makefile: Add libnss_dns and libresolv to routines and
5579 static-only-routines.
5580
7c69cd14
JM
55812012-03-22 Joseph Myers <joseph@codesourcery.com>
5582
5583 [BZ #13892]
5584 * math/s_cexp.c: Include <float.h>.
5585 (__cexp): Handle exp result overflowing not necessarily
5586 overflowing both real and imaginary parts of result.
5587 * math/s_cexpf.c: Likewise.
5588 * math/s_cexpl.c: Likewise.
5589 * math/libm-test.inc (cexp_test): Add more tests.
5590 * sysdeps/i386/fpu/libm-test-ulps: Update.
5591 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5592
81b035fe
L
55932012-03-22 H.J. Lu <hongjiu.lu@intel.com>
5594
5595 * include/link.h (ELFW): New macro.
5596 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
5597 Replace ELF64_R_TYPE with ELFW(R_TYPE).
5598
1da7940c
L
55992012-03-22 H.J. Lu <hongjiu.lu@intel.com>
5600
5601 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
5602 with uint64_t.
5603
b749dbb9
L
56042012-03-22 H.J. Lu <hongjiu.lu@intel.com>
5605
5606 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
5607 declaration.
5608 (struct La_x32_retval): Likewise.
5609
2ff87f3f
L
56102012-03-22 H.J. Lu <hongjiu.lu@intel.com>
5611
5612 * sysdeps/x86_64/preconfigure.in: New file.
5613 * sysdeps/x86_64/preconfigure: New generated file.
5614
c0df8e69
JM
56152012-03-22 Joseph Myers <joseph@codesourcery.com>
5616
48e44791
JM
5617 [BZ #13824]
5618 * math/e_exp2l.c: Include <float.h>.
5619 (__ieee754_exp2l): Handle overflow and underflow cases
5620 separately. Only pass fractional part of argument to
5621 __ieee754_expl.
5622 * math/libm-test.inc (exp2_test): Add more tests.
5623
c0df8e69
JM
5624 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
5625 negating x to take absolute value.
5626 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
5627 Likewise.
5628 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
5629 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
5630 Likewise.
5631 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
5632 computing low part if x was negated.
5633 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
5634
c8e43ba7
L
56352012-03-21 H.J. Lu <hongjiu.lu@intel.com>
5636
5637 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
5638 la_x32_gnu_pltexit.
5639 (pltexit): Cast int_retval to ptrdiff_t.
5640 * elf/tst-auditmod3b.c: Likewise.
5641 * elf/tst-auditmod4b.c: Likewise.
5642 * elf/tst-auditmod5b.c: Likewise.
5643 * elf/tst-auditmod6b.c: Likewise.
5644 * elf/tst-auditmod6c.c: Likewise.
5645 * elf/tst-auditmod7b.c: Likewise.
5646
5647 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
5648 and x32_gnu_pltexit.
5649
5650 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
5651 __ELF_NATIVE_CLASS.
5652 (La_x32_regs): New macro.
5653 (La_x32_retval): Likewise.
5654 (la_x32_gnu_pltenter): New function prototype.
5655 (la_x32_gnu_pltexit): Likewise.
5656
7998fa78
AS
56572012-03-21 Andreas Schwab <schwab@linux-m68k.org>
5658
dcb33988
AS
5659 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
5660 exponent.
5661
233fc563
AS
5662 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5663
7998fa78
AS
5664 * configure.in (libc_cv_cc_nofma): Check for option to disable
5665 generation of FMA instructions.
5666 * configure: Regenerate.
5667 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
5668 * sysdeps/ieee754/dbl-64/Makefile: New file.
5669 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
5670 Remove brandred-fma4.
5671 (CFLAGS-brandred-fma4.c): Remove.
5672 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
5673 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
5674 define.
5675 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
5676 define.
5677
8e95c99a
L
56782012-03-21 H.J. Lu <hongjiu.lu@intel.com>
5679
5680 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
5681 LLONG_MAX != LONG_MAX.
5682 (_itoa_word): Use _ITOA_WORD_TYPE on value.
5683 (_fitoa_word): Likewise.
5684 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
5685 LLONG_MAX != LONG_MAX.
5686 * stdio-common/_itowa.h: Include <_itoa.h>.
5687 (_itowa_word): Use _ITOA_WORD_TYPE on value.
5688 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
5689 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
5690 only if not defined.
5691 (_ITOA_WORD_TYPE): Likewise.
5692 (_itoa_word): Use _ITOA_WORD_TYPE on value.
5693 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
5694
6f4db457
DM
56952012-03-21 David S. Miller <davem@davemloft.net>
5696
5697 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5698
7785fe5a
L
56992012-03-21 H.J. Lu <hongjiu.lu@intel.com>
5700
5701 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
5702 of x86_64 when setting libc_cv_slibdir, libdir and
5703 libc_cv_localedir.
5704 * sysdeps/unix/sysv/linux/configure: Regenerated.
5705
4535cd55
JM
57062012-03-21 Joseph Myers <joseph@codesourcery.com>
5707
5708 * manual/lang.texi (Old Varargs): Remove section.
5709 (How Variadic): Update menu.
5710 (va_start): Do not mention varargs.h.
5711
17228132
TS
57122012-03-21 Thomas Schwinge <thomas@codesourcery.com>
5713 Joseph Myers <joseph@codesourcery.com>
5714
5715 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
5716 link test.
5717 * configure: Regenerated.
5718
8149f976
TS
57192012-03-21 Thomas Schwinge <thomas@codesourcery.com>
5720
05f3d1f6
UD
5721 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
5722 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
5723 conformtest.pl
8149f976 5724
1a4ac776
JM
57252012-03-21 Joseph Myers <joseph@codesourcery.com>
5726
be22ce65
JM
5727 * NOTES: Remove.
5728 * Makefile (files-for-dist): Remove NOTES.
5729 (NOTES): Remove rule.
5730 * README: Don't refer to NOTES.
5731 * manual/creature.texi: Don't include macros.texi.
5732 * manual/intro.texi (creature.texi): Remove comment referring to
5733 NOTES.
5734
40b601fb
JM
5735 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
5736 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
5737 * configure: Regenerated.
5738 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
5739 LIBC_TRY_CC_OPTION.
5740 (libc_cv_as_i686): Likewise.
5741 (libc_cv_cc_avx): Likewise.
5742 (libc_cv_cc_sse2avx): Likewise.
5743 (libc_cv_cc_fma4): Likewise.
5744 (libc_cv_cc_novzeroupper): Likewise.
5745 * sysdeps/i386/configure: Regenerated.
5746
1a4ac776
JM
5747 [BZ #13883]
5748 * sysdeps/i386/fpu/s_cexp.S: Remove.
5749 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
5750 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
5751 * math/libm-test.inc (cexp_test): Add more tests.
5752 * sysdeps/i386/fpu/libm-test-ulps: Update.
5753 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5754
a458e7fe
AM
57552012-03-21 Allan McRae <allan@archlinux.org>
5756
5757 * timezone/Makefile: Do not install iso3166.tab and zone.tab
5758
0cb7efc5
JM
57592012-03-21 Joseph Myers <joseph@codesourcery.com>
5760
5761 [BZ #13871]
5762 * math/w_exp2.c: Do not include <float.h>.
5763 (o_threshold, u_threshold): Remove.
5764 (__exp2): Calculate result before checking finiteness and calling
5765 __kernel_standard.
5766 * math/w_exp2f.c: Likewise.
5767 * math/w_exp2l.c: Likewise.
5768 * math/libm-test.inc (exp2_test): Require overflow exception for
5769 1e6 input.
2460d3aa
JM
5770
5771 [BZ #3866]
5772 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
5773 range of signed 64-bit integers before using fistpll. Remove
5774 checks for whether integers fit in mantissa bits.
5775 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
5776 the range of signed 32-bit integers before using fistpl. Remove
5777 checks for whether integers fit in mantissa bits.
5778 * sysdeps/i386/fpu/e_powl.S (p64): New object.
5779 (__ieee754_powl): Test for y outside the range of signed 64-bit
5780 integers before using fistpll. Reduce 64-bit values to 63-bit
5781 ones as needed.
5782 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
5783 divide-by-zero is raised for zero to large negative powers.
5784 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
5785 (__ieee754_powl): Test for y outside the range of signed 64-bit
5786 integers before using fistpll. Reduce 64-bit values to 63-bit
5787 ones as needed.
5788 * math/libm-test.inc (pow_test): Add more tests.
5789
eb96ffb0
L
57902012-03-20 H.J. Lu <hongjiu.lu@intel.com>
5791
5792 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
5793 <stdio-common/_itoa.h>.
5794 * debug/segfault.c: Likewise.
5795 * elf/dl-cache.c: Likewise.
5796 * elf/dl-minimal.c: Likewise.
5797 * elf/dl-misc.c: Likewise.
5798 * elf/dl-sysdep.c: Likewise.
5799 * elf/dl-version.c: Likewise.
5800 * elf/rtld.c: Likewise.
5801 * hurd/hurdsock.c: Likewise.
5802 * hurd/lookup-retry.c: Likewise.
5803 * malloc/malloc.c: Likewise.
5804 * malloc/mtrace.c: Likewise.
5805 * nscd/nscd_getgr_r.c: Likewise.
5806 * nscd/nscd_getpw_r.c: Likewise.
5807 * nscd/nscd_getserv_r.c: Likewise.
5808 * posix/getopt_init.c: Likewise.
5809 * posix/wordexp.c: Likewise.
5810 * stdio-common/_itoa.c: Likewise.
5811 * stdio-common/printf_fphex.c: Likewise.
5812 * stdio-common/vfprintf.c: Likewise.
5813 * string/_strerror.c: Likewise.
5814 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
5815 * sysdeps/i386/i686/hp-timing.h: Likewise.
5816 * sysdeps/mach/_strerror.c: Likewise.
5817 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
5818 * sysdeps/mach/hurd/sethostid.c: Likewise.
5819 * sysdeps/mach/hurd/xmknodat.c: Likewise.
5820 * sysdeps/mach/xpg-strerror.c: Likewise.
5821 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
5822 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
5823 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
5824 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
5825 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
5826 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
5827 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
5828 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
5829 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
5830 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
5831 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
5832 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
5833 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
5834 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
5835 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
5836 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
5837 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
5838 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
5839 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
5840 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
5841 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
5842
5843 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
5844
5845 * stdio-common/_itoa.h: Moved to ...
5846 * sysdeps/generic/_itoa.h: Here.
5847
5848 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
5849
5850 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
5851 instead of "_itoa.h" and "_itowa.h".
5852 * stdio-common/vfprintf.: Likewise.
5853
d1af992d
L
58542012-03-20 H.J. Lu <hongjiu.lu@intel.com>
5855
5856 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
5857 <bits/wordsize.h>.
5858 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
5859 (__signbit): Likwise.
5860 (llrintf): Likwise.
5861 (llrint): Likwise.
5862
114883e0
L
58632012-03-20 H.J. Lu <hongjiu.lu@intel.com>
5864
5865 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
5866 __WORDSIZE != 64.
5867
c135cc1b
JM
58682012-03-20 Joseph Myers <joseph@codesourcery.com>
5869
5870 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
5871 OVERFLOW_EXCEPTION_OK.
5872 * math/libm-test.inc ("Philosophy"): Update comment about
5873 exception testing.
5874 (OVERFLOW_EXCEPTION): Define.
5875 (OVERFLOW_EXCEPTION_OK): Likewise.
5876 (INVALID_EXCEPTION_OK): Renumber.
5877 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
5878 (IGNORE_ZERO_INF_SIGN): Likewise.
5879 (test_exceptions): Handle FE_OVERFLOW.
5880 (exp10_test): Expect overflow exceptions.
5881 (exp2_test): Likewise.
5882 (expm1_test): Likewise.
5883 (nextafter_test): Likewise.
5884 (pow_test): Likewise.
5885 (scalbn_test): Likewise.
5886 (scalbln_test): Likewise.
5887
95443d88
L
58882012-03-19 H.J. Lu <hongjiu.lu@intel.com>
5889
5890 * sysdeps/x86_64/bits/atomic.h
5891 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
5892 64bit integer.
5893 (atomic_exchange_acq): Likewise.
5894 (__arch_exchange_and_add_body): Likewise.
5895 (__arch_add_body): Likewise.
5896 (atomic_add_negative): Likewise.
5897 (atomic_add_zero): Likewise.
5898
490df6c4
L
58992012-03-19 H.J. Lu <hongjiu.lu@intel.com>
5900
c2722551 5901 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
5902 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
5903
5e52b189
L
59042012-03-19 H.J. Lu <hongjiu.lu@intel.com>
5905
5906 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
5907 Check __x86_64__ instead of __WORDSIZE.
5908
a9879d4c
L
59092012-03-19 H.J. Lu <hongjiu.lu@intel.com>
5910
5911 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
5912
5df98260
DM
59132012-03-19 David S. Miller <davem@davemloft.net>
5914
e1497744
DM
5915 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5916
5df98260
DM
5917 * sysdeps/sparc/fpu/fenv_private.h: New file.
5918 * sysdeps/sparc/fpu/math_private.h: Use it.
5919 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
5920 Remove.
5921 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
5922 (libc_feholdexcept_setroundl): Remove.
5923 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
5924 Remove.
5925 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
5926 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
5927
b4c35121
L
59282012-03-19 H.J. Lu <hongjiu.lu@intel.com>
5929
5930 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
5931 int64_t instead of long int.
5932 (INSERT_WORDS64): Likwise.
5933
56965fd7
L
59342012-03-19 H.J. Lu <hongjiu.lu@intel.com>
5935
5936 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
5937 _Unwind_GetCFA return to _Unwind_Ptr first.
5938
83d1aec8
JM
59392012-03-19 Joseph Myers <joseph@codesourcery.com>
5940
1897ad44
JM
5941 [BZ #13629]
5942 * math/s_clog.c: Include <float.h>.
5943 (__clog): Scale large or subnormal inputs.
5944 * math/s_clogf.c: Likewise.
5945 * math/s_clogl.c: Likewise.
5946 * math/s_clog10.c: Include <float.h>.
5947 (M_LOG10_2): Define.
5948 (__clog10): Scale large or subnormal inputs.
5949 * math/s_clog10f.c: Likewise.
5950 * math/s_clog10l.c: Likewise.
5951 * math/libm-test.inc (clog_test): Add more tests.
5952 (clog10_test): Likewise.
5953 * sysdeps/i386/fpu/libm-test-ulps: Update.
5954 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5955
7726d6a9
JM
5956 [BZ #11451]
5957 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
5958 x and y.
5959 * math/libm-test.inc (atan2_test): Add another test.
5960
83d1aec8
JM
5961 * Makerules (common-objdir-compile): Remove.
5962 * sysdeps/unix/Makefile (config-generated): Do not add
5963 $(unix-generated) to variable.
5964 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
5965 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
5966 Remove rule.
5967 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
5968 Likewise.
5969 [generic bits/local_lim.h] (before-compile): Do not append to
5970 variable.
5971 [generic bits/local_lim.h] (common-generated): Likewise.
5972 [generic sys/param.h] (before-compile): Do not append to variable.
5973 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
5974 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
5975 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
5976 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
5977 include.
5978 [generic sys/param.h] (sys/param.h-includes): Remove variable.
5979 [generic sys/param.h] (sys/param.h-includes): Remove rule.
5980 [generic sys/param.h] ($(addprefix
5981 $(common-objpfx),$(sys/param.h-includes))): Likewise.
5982 [generic sys/param.h] (common-generated): Do not append to
5983 variable.
5984 [generic sys/param.h] (sysdep_headers): Likewise.
5985 [generic bits/errno.h] (before-compile): Do not append to
5986 variable.
5987 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
5988 rule.
5989 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
5990 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
5991 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
5992 [generic bits/errno.h] (common-generated): Do not append to
5993 variable.
5994 [generic bits/ioctls.h] (before-compile): Do not append to
5995 variable.
5996 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
5997 rule.
5998 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
5999 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
6000 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
6001 rule.
6002 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
6003 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
6004 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
6005 [generic bits/ioctls.h] (common-generated): Do not append to
6006 variable.
6007 [generic sys/syscall.h] (syscall.h): Remove variable.
6008 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
6009 rule.
6010 [generic sys/syscall.h] (before-compile): Do not append to
6011 variable.
6012 [generic sys/syscall.h] (common-generated): Likewise.
6013 * sysdeps/unix/errnos-tmpl.c: Remove file.
6014 * sysdeps/unix/errnos.awk: Likewise.
6015 * sysdeps/unix/ioctls-tmpl.c: Likewise.
6016 * sysdeps/unix/ioctls.awk: Likewise.
6017 * sysdeps/unix/mk-local_lim.c: Likewise.
6018 * sysdeps/unix/snarf-ioctls: Likewise.
6019
4851a949
RH
60202012-03-19 Richard Henderson <rth@twiddle.net>
6021
bd37f2ee
RH
6022 * sysdeps/i386/fpu/fenv_private.h: New file.
6023 * sysdeps/i386/fpu/math_private.h: Use it.
6024 (math_opt_barrier, math_force_eval): Remove.
6025 (libc_feholdexcept_setround_53bit): Remove.
6026 (libc_feupdateenv_53bit): Remove.
6027 * sysdeps/x86_64/fpu/math_private.h: Likewise.
6028 (math_opt_barrier, math_force_eval): Remove.
6029 (libc_feholdexcept): Remove.
6030 (libc_feholdexcept_setround): Remove.
6031 (libc_fetestexcept, libc_fesetenv): Remove.
6032 (libc_feupdateenv_test): Remove.
6033 (libc_feupdateenv, libc_feholdsetround): Remove.
6034 (libc_feresetround): Remove.
6035
d0adc922
RH
6036 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
6037 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
6038
0fe0f1f8
RH
6039 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
6040 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
6041 (libc_feupdateenv_testl): New.
6042 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
6043 (libc_feupdateenv_testf): New.
6044 (libc_feupdateenv): Use libc_feupdateenv_test.
6045 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
6046 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
6047
eb92c487
RH
6048 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
6049 (libc_feholdsetroundf, libc_feholdsetroundl): New.
6050 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
6051 (libc_feresetround_noex): New.
6052 (libc_feresetround_noexf): New.
6053 (libc_feresetround_noexl): New.
6054 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
6055 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
6056 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
6057 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
6058 SET_RESTORE_ROUND.
6059 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
6060 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
6061 (__cos): Likewise.
6062 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
6063 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
6064 SET_RESTORE_ROUND_NOEX.
6065 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
6066 SET_RESTORE_ROUND_NOEXF.
6067 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
6068 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
6069 (libc_feholdsetroundf): New.
6070 (libc_feresetround, libc_feresetroundf): New.
6071
7d2e8012
RH
6072 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
6073 (libc_feholdexcept_setround_53bit): Convert from macro to function.
6074 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
6075
b4dabbb4
RH
6076 * sysdeps/generic/math_private.h: Include <fenv.h>.
6077 (default_libc_feholdexcept): New.
6078 (default_libc_feholdexcept_setround): New.
6079 (default_libc_fesetenv, default_libc_feupdateenv): New.
6080 (libc_feholdexcept): Only define if undefined.
6081 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
6082 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
6083 (libc_feholdexcept_setroundl): Likewise.
6084 (libc_feholdexcept_setround_53bit): Likewise.
6085 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
6086 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
6087 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
6088 (libc_feupdateenv_53bit): Likewise.
6089 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
6090 (libc_feholdexcept): Convert from macro to inline function.
6091 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
6092 (libc_fesetenv, libc_feupdateenv): Likewise.
6093
4851a949
RH
6094 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
6095 not previously defined.
6096 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
6097 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
6098 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
6099 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
6100 * sysdeps/ieee754/flt-32/math_private.h: New file.
6101 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
6102 math_private.h below SET_FLOAT_WORD.
6103 (__isnan, __isinf_ns, __finite): Remove.
6104 (__isnanf, __isinf_nsf, __finitef): Remove.
6105
e79d442e
AS
61062012-03-18 Andreas Schwab <schwab@linux-m68k.org>
6107
6108 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6109
90b80344
DM
61102012-03-17 David S. Miller <davem@davemloft.net>
6111
6112 [BZ #6471]
6113 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
6114 for 2.16.
6115
edc21804
DM
61162012-03-16 David S. Miller <davem@davemloft.net>
6117
77e927af
DM
6118 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
6119 warnings.
6120
374976dd
DM
6121 [BZ #6471]
6122 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
6123 properly.
6124 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
6125 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
6126 sysdep_routines when subdir is sysvipc.
6127 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
6128 __getshmlba helper.
6129
edc21804
DM
6130 * sysdeps/sparc/fpu/libm-test/ulps: Update.
6131
473c3ef3
L
61322012-03-16 H.J. Lu <hongjiu.lu@intel.com>
6133
6134 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
6135 [__LP64__].
6136
eb0f39b6
L
61372012-03-16 H.J. Lu <hongjiu.lu@intel.com>
6138
6139 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
6140 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
6141 (__lround): Renamed to ...
6142 (__llround): This. Replace long int with long long int.
6143 Define lround functions as aliases of llround functions.
6144 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
6145
6b6cd74b
L
61462012-03-16 H.J. Lu <hongjiu.lu@intel.com>
6147
6148 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
6149 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
6150 adresses to uintptr_t. Replace "long int" and "unsigned long
6151 int" with "greg_t" on va_arg.
6152
f1a77b01
L
61532012-03-16 H.J. Lu <hongjiu.lu@intel.com>
6154
6155 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
6156 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
6157
6158 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
6159 Move e_machine check before EI_CLASS check. Handle x32
6160 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
6161 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
6162 SKIP_EM_IA_64 and include
6163 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
6164
6165 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
6166 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
6167 (add_system_dir): New macro.
6168
6169 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
6170 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
6171
11b90b9f
JM
61722012-03-16 Joseph Myers <joseph@codesourcery.com>
6173
c36e1d23
JM
6174 [BZ #2551]
6175 [BZ #2552]
6176 [BZ #2553]
6177 [BZ #2554]
6178 [BZ #2562]
6179 [BZ #2563]
6180 [BZ #2565]
6181 [BZ #2566]
6182 [BZ #2576]
6183 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
6184 (y0): Likewise.
6185 * math/w_j0f.c (j0f): Likewise.
6186 (y0f): Likewise.
6187 * math/w_j0l.c (__j0l): Likewise.
6188 (__y0l): Likewise.
6189 * math/w_j1.c (j1): Likewise.
6190 (y1): Likewise.
6191 * math/w_j1f.c (j1f): Likewise.
6192 (y1f): Likewise.
6193 * math/w_j1l.c (__j1l): Likewise.
6194 (__y1l): Likewise.
6195 * math/w_jn.c (jn): Likewise.
6196 (yn): Likewise.
6197 * math/w_jnf.c (jnf): Likewise.
6198 (ynf): Likewise.
6199 * math/w_jnl.c (__jnl): Likewise.
6200 (__ynl): Likewise.
6201 * math/libm-test.inc (j0_test): Add more tests.
6202 (j1_test): Likewise.
6203 (jn_test): Likewise. Add trailing semicolon to existing test.
6204 (y0_test): Likewise.
6205 (y1_test): Likewise.
6206 * sysdeps/i386/fpu/libm-test-ulps: Update.
6207 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6208
11b90b9f
JM
6209 [BZ #13851]
6210 [BZ #13854]
6211 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
6212 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
6213 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
6214 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
6215 (__tanl): Set errno for infinite argument.
6216 * sysdeps/i386/fpu/mptan.c: Remove.
6217 * sysdeps/i386/fpu/s_tan.S: Likewise.
6218 * sysdeps/i386/fpu/s_tanl.S: Likewise.
6219 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
6220 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
6221 * math/libm-test.inc (tan_test): Add more tests and enable more
6222 tests for double and long double.
6223 * sysdeps/i386/fpu/libm-test-ulps: Update.
6224 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6225
6a1bd2a1
JK
62262012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
6227
6228 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
6229 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
6230
10a803e0
RM
62312012-03-16 Roland McGrath <roland@hack.frob.com>
6232
6233 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
6234 * configure.in: Use it for both main tree and add-ons.
6235 * configure: Regenerated.
6236
f196c7f7
L
62372012-03-16 H.J. Lu <hongjiu.lu@intel.com>
6238
6239 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
6240
8848d99d
JM
62412012-03-16 Joseph Myers <joseph@codesourcery.com>
6242
96cbe7f4
JM
6243 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
6244 in comment.
6245
8848d99d
JM
6246 [BZ #13851]
6247 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
6248 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
6249 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
6250 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
6251 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
6252 infinite argument.
6253 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
6254 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
6255 != 0 for prec == 2.
6256 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
6257 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
6258 * sysdeps/i386/fpu/s_cosl.S: Likewise.
6259 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
6260 * sysdeps/i386/fpu/s_sinl.S: Likewise.
6261 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
6262 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
6263 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
6264 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
6265 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
6266 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
6267 * math/libm-test.inc (cos_test): Add more tests and enable more
6268 tests for long double.
6269 (sin_test): Likewise.
6270 (sincos_test): Likewise.
6271 * sysdeps/i386/fpu/libm-test-ulps: Update.
6272 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6273
dd7f4703
DM
62742012-03-16 David S. Miller <davem@davemloft.net>
6275
6276 * sysdeps/sparc/fpu/math_private.h: New file.
6277
006f1daa
DM
62782012-03-15 David S. Miller <davem@davemloft.net>
6279
c0c83bc8
DM
6280 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
6281 file.
e6a62e18 6282 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
6283 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
6284 file.
e6a62e18
DM
6285 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
6286 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
6287 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
6288 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
6289 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
6290 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
6291 sysdep routines.
6292 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
6293
88cb87d9
DM
6294 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
6295 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
6296
006f1daa 6297 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
6298 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
6299 sparc-ifunc.h
006f1daa 6300 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
6301 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
6302 Likewise.
6303 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
6304 Likewise.
006f1daa
DM
6305 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
6306 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
6307 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
6308 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
6309 Likewise.
006f1daa
DM
6310 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
6311 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
6312 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
6313 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
6314 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
6315 Likewise.
6316 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
6317 Likewise.
006f1daa
DM
6318 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
6319 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
6320 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
6321 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
6322 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
6323 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
6324 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
6325 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
6326 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
6327 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
6328 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
6329 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
6330 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
6331 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
6332 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
6333 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
6334 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
6335 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
6336 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
6337 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
6338 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
6339 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
6340 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
6341 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
6342
11e0098e
AS
63432012-03-15 Andreas Schwab <schwab@linux-m68k.org>
6344
6345 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
6346 scaling.
6347 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6348
e85b09d0
AJ
63492012-03-15 Andreas Jaeger <aj@suse.de>
6350
6351 [BZ #13852]
6352 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
6353 ieee754/flt-32 implementation for sin, cos and sincos.
6354 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
6355 * sysdeps/i386/fpu/s_cosf.S: Likewise.
6356 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
6357 * sysdeps/i386/fpu/s_sinf.S: Likewise.
6358 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
6359 ieee754/flt-32 implementation for tan.
6360
6361 * math/libm-test.inc (cos_test): Enable some large input tests for
6362 float as well
6363 (sin_test): Likewise.
6364 (sincos_test): Likewise.
6365 (tan_test): Add tests for large input.
6366
6367 * sysdeps/i386/fpu/libm-test-ulps: Update.
6368
81c64153
AJ
63692012-03-15 Andreas Jaeger <aj@suse.de>
6370
6371 [BZ #13658]
6372 * math/libm-test.inc (cos_test): Add more test cases.
6373 (sin_test): Likewise.
6374 (sincos_test): Likewise.
6375
7bbfa5c6
AJ
63762012-03-15 Andreas Jaeger <aj@suse.de>
6377
6378 [BZ #13837]
6379 * math/libm-test.inc (cos_test): Add a test case for large input
6380 value.
6381 (sin_test): Likewise.
6382 (sincos_test): Likewise.
6383
63842012-03-15 Andreas Jaeger <aj@suse.de>,
6385 Joseph Myers <joseph@codesourcery.com>
6386
6387 [BZ #13658]
0671f479 6388 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
6389 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
6390 * sysdeps/i386/fpu/branred.c: Likewise.
6391 * sysdeps/i386/fpu/dosincos.c: Likewise.
6392 * sysdeps/i386/fpu/mpa.c: Likewise.
6393 * sysdeps/i386/fpu/s_cos.S: Likewise.
6394 * sysdeps/i386/fpu/s_sin.S: Likewise.
6395 * sysdeps/i386/fpu/s_sincos.S: Likewise.
6396 * sysdeps/i386/fpu/sincos32.c: Likewise.
6397
6398 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
6399 Define.
6400 (libc_feupdateenv_53bit): Define.
6401 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
6402 Define.
6403 (libc_feupdateenv_53bit): Define.
6404
6405 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
6406 53 bit (without extend i386 double precision).
6407
6408 * math/libm-test.inc (sincos_test): Add tests for large input.
6409 (sin): Likewise.
6410 (cos): Likewise.
6411
6412 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
6413
9cad04ea
AS
64142012-03-15 Andreas Schwab <schwab@linux-m68k.org>
6415
6416 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6417
f7062b9a
DM
64182012-03-15 David S. Miller <davem@davemloft.net>
6419
6420 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
6421 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
6422 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
6423 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
6424 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
6425 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
6426 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
6427 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
6428 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
6429 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
6430 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
6431 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
6432 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
6433 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
6434 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
6435 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
6436 file.
f7062b9a 6437 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
6438 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
6439 file.
f7062b9a 6440 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
6441 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
6442 file.
f7062b9a 6443 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
6444 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
6445 file.
f7062b9a
DM
6446 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
6447 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
6448 fmin/fmax sysdep routines.
6449 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
6450
7bd951ff
DM
64512012-03-14 David S. Miller <davem@davemloft.net>
6452
559398ab
DM
6453 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
6454 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
6455 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
6456 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
6457 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
6458 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
6459 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
6460 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
6461 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
6462 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
6463 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
6464 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
6465 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
6466 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
6467 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
6468 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
6469 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
6470 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
6471 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
6472 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
6473 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
6474 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
6475 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
6476 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
6477 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
6478 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
6479 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
6480 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
6481 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
6482 routines.
6483 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
6484 file.
559398ab 6485 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
6486 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
6487 file.
559398ab 6488 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
6489 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
6490 file.
559398ab 6491 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
6492 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
6493 file.
559398ab 6494 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
6495 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
6496 file.
559398ab 6497 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
6498 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
6499 file.
6500 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
6501 file.
6502 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
6503 file.
6504 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
6505 file.
6506 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
6507 New file.
6508 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
6509 file.
6510 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
6511 file.
559398ab 6512 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
6513 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
6514 file.
559398ab 6515 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
6516 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
6517 file.
559398ab 6518 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
6519 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
6520 file.
559398ab 6521 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
6522 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
6523 VIS3 routines.
559398ab
DM
6524
6525 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
6526 New file.
6527
5a1c1e32
DM
6528 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6529
eae47a36
DM
6530 * sysdeps/sparc/configure.in: New file.
6531 * sysdeps/sparc/configure: Generate.
6532 * configure.in (libc_cv_sparc_as_vis3): Substitute.
6533 * configure: Regenerate.
6534 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
6535 * config.make.in (have-as-vis3): New.
6536 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
6537 available use -Av9d instead of -Av9a.
6538 * sysdeps/sparc/sparc64/Makefile: Likewise.
6539 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
6540 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
6541 New file.
6542 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
6543 file.
6544 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
6545 New file.
6546 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
6547 file.
eae47a36
DM
6548 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
6549 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
6550 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
6551 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
6552 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
6553
c0c83bc8
DM
6554 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
6555 fzeros/fnegs to load 0x80000000 into a float register instead of
6556 using the stack.
7bd951ff
DM
6557 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
6558
bd951ccb
JM
65592012-03-14 Joseph Myers <joseph@codesourcery.com>
6560
6561 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
6562 bits/syscall.h.
6563 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
6564 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
6565 ($(inst_includedir)/bits/syscall.h): Remove rule.
6566 ($(objpfx)bits/syscall.d): Include instead of
6567 $(objpfx)syscall-list.d.
6568 (generated): Change syscall-list.h and syscall-list.d to
6569 bits/syscall.h and bits/syscall.d.
6570
bb4e6db2
RM
65712012-03-14 Roland McGrath <roland@hack.frob.com>
6572
6573 [BZ #13846]
6574 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
6575
aa4a2ae1
JM
65762012-03-14 Joseph Myers <joseph@codesourcery.com>
6577
e456826d
JM
6578 [BZ #13841]
6579 * math/s_csqrt.c: Include <float.h>.
6580 (__csqrt): Scale large or subnormal inputs.
6581 * math/s_csqrtf.c: Likewise.
6582 * math/s_csqrtl.c: Likewise.
6583 * math/libm-test.inc (csqrt_test): Add more tests.
6584 * sysdeps/i386/fpu/libm-test-ulps: Update.
6585 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6586
aa4a2ae1
JM
6587 [BZ #13840]
6588 * math/libm-test.inc (hypot_test): Add more tests.
6589
7c10fd35
DM
65902012-03-13 David S. Miller <davem@davemloft.net>
6591
6592 [BZ #13840]
6593 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
6594 double-precision for the calculation instead of scaling.
6595
f453b98b
JM
65962012-03-13 Joseph Myers <joseph@codesourcery.com>
6597
6598 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
6599 manipulate bits before adding and subtracting TWO52[sx].
6600 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
6601 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
6602 Likewise.
6603 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
6604
09a3453f
DM
66052012-03-13 David S. Miller <davem@davemloft.net>
6606
8e59da90
DM
6607 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
6608 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
6609 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
6610 rtld-global-offsets.h
6611 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
6612
2a8ab7f2
DM
6613 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
6614 large parameters.
6615
10f62770
DM
6616 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
6617
5f0bdb18
DM
6618 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
6619 'err' in the ifdef scope in which it is actually used.
6620
09a3453f
DM
6621 * nss/nss_db/db-init.c: Include string.h
6622
b4b2eb5e
DM
66232012-03-12 David S. Miller <davem@davemloft.net>
6624
98bb2f1c
DM
6625 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
6626 masking out of the most significant byte of random value used.
6627 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
6628 Fix coding style in previous change.
6629
b4b2eb5e
DM
6630 * sysdeps/unix/sysv/linux/kernel-features.h
6631 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
6632 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
6633 expression.
6634 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
6635 later.
6636
6e226b09
DM
66372012-03-11 David S. Miller <davem@davemloft.net>
6638
a1bcbd40
DM
6639 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
6640 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
6641 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
6642 for 'resultvar' otherwise things get truncated on 64-bit.
6643
cb9d6174
DM
6644 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
6645 Fix masking out of the most significant byte of random value used.
6646
6e226b09
DM
6647 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6648
058c132d
AS
66492012-03-10 Andreas Schwab <schwab@linux-m68k.org>
6650
6651 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6652
2d2cd515
DM
66532012-03-09 David S. Miller <davem@davemloft.net>
6654
6655 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
6656 variables with appropriate CPP guards.
6657 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
6658 frame pointer, not the stack pointer. Correct layout comments. Fix test
6659 on resulting framesize and the management of the outregs buffer for pltexit.
6660 Preserve floating point return values across _dl_call_pltexit call.
6661 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
6662 framesize and the management of the outregs buffer for pltexit.
6663 Preserve floating point return values across _dl_call_pltexit
6664 call.
6665 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
6666 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
6667 (print_exit): Fix format string for return register value.
6668
9a07f9d0
JM
66692012-03-10 Joseph Myers <joseph@codesourcery.com>
6670
6671 * sunrpc/Makefile (others): Add rpcgen.
6672 ($(objpfx)rpcgen): Remove special build rule and dependency on
6673 libc.
6674 * sunrpc/rpcgen.c: New file.
6675
547b5e30
PE
66762012-03-09 Paul Eggert <eggert@cs.ucla.edu>
6677
c524201a
PE
6678 [BZ #13673]
6679 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
6680 * stdio-common/bug-vfprintf-nargs.c: Likewise.
6681 * sysdeps/i386/crti.S: Likewise.
6682 * sysdeps/i386/crtn.S: Likewise.
6683 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
6684 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
6685 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
6686 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
6687 * sysdeps/sh/crti.S: Likewise.
6688 * sysdeps/sh/crtn.S: Likewise.
6689 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
6690
7b6235f2
PE
6691 [BZ #13673]
6692 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
6693 with URL.
6694 * locale/programs/locfile-kw.gperf: Likewise.
6695 * locale/programs/charmap-kw.h: Regenerated.
6696 * locale/programs/locfile-kw.h: Likewise.
6697
547b5e30
PE
6698 [BZ #13673]
6699 * intl/plural.y: Replace FSF snail mail address with URL.
6700 * intl/plural.c: Regenerated.
6701
5f0a5dae
RH
67022012-03-09 Richard Henderson <rth@twiddle.net>
6703
6704 * include/math_private.h: Remove file.
6705 * math/math_private.h: Move file ...
6706 * sysdeps/generic/math_private.h: ... here.
6707
b8c03620
RH
6708 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
6709 * sysdeps/powerpc/fpu/math_private.h: Likewise.
6710 * sysdeps/x86_64/fpu/math_private.h: Likewise.
6711
4e234f5d 6712 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
6713 and <math_private.h>.
6714 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
6715 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
6716 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
6717 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
6718 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
6719 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
6720 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
6721 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
6722 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
6723 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
6724 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
6725 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
6726 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
6727 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
6728 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
6729 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
6730 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
6731 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
6732 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
6733 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
6734 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
6735 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
6736 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
6737 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
6738 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
6739 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
6740 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
6741 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
6742 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
6743 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
6744 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
6745 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
6746 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
6747 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
6748 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
6749 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
6750 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
6751 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
6752 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
6753 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
6754 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
6755 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
6756 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
6757 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
6758 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
6759 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
6760 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
6761 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
6762 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
6763 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
6764 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
6765 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
6766 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
6767 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
6768 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
6769 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
6770 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
6771 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
6772 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
6773 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
6774 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
6775 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
6776 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
6777 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
6778 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
6779 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
6780 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
6781 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
6782 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
6783 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
6784 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
6785 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
6786 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
6787 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
6788 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
6789 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
6790 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
6791 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
6792 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
6793 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
6794 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
6795 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
6796 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
6797 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
6798 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
6799 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
6800 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
6801 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
6802 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
6803 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
6804 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
6805 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
6806 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
6807 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
6808 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
6809 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
6810 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
6811 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
6812 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
6813 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
6814 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
6815 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
6816 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
6817 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
6818 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
6819 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
6820 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
6821 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
6822 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
6823 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
6824 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
6825 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
6826 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
6827 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
6828 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
6829 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
6830 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
6831 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
6832 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
6833 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
6834 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
6835 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
6836 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
6837 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
6838 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
6839 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
6840 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
6841 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
6842 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
6843 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
6844 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
6845 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
6846 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
6847 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
6848 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
6849 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
6850 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
6851 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
6852 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
6853 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
6854 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
6855 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
6856 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
6857 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
6858 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
6859 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
6860 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
6861 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
6862 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
6863 * sysdeps/ieee754/k_standard.c: Likewise.
6864 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
6865 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
6866 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
6867 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
6868 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
6869 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
6870 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
6871 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
6872 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
6873 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
6874 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
6875 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
6876 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
6877 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
6878 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
6879 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
6880 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
6881 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
6882 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
6883 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
6884 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
6885 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
6886 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
6887 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
6888 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
6889 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
6890 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
6891 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
6892 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
6893 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
6894 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
6895 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
6896 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
6897 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
6898 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
6899 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
6900 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
6901 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
6902 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
6903 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
6904 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
6905 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
6906 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
6907 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
6908 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
6909 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
6910 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
6911 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
6912 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
6913 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
6914 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
6915 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
6916 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
6917 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
6918 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
6919 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
6920 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
6921 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
6922 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
6923 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
6924 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
6925 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
6926 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
6927 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
6928 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
6929 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
6930 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
6931 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
6932 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
6933 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
6934 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
6935 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
6936 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
6937 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
6938 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
6939 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
6940 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
6941 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
6942 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
6943 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
6944 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
6945 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
6946 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
6947 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
6948 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
6949 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
6950 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
6951 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
6952 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
6953 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
6954 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
6955 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
6956 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
6957 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
6958 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
6959 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
6960 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
6961 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
6962 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
6963 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
6964 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
6965 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
6966 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
6967 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
6968 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
6969 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
6970 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
6971 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
6972 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
6973 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
6974 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
6975 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
6976 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
6977 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
6978 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
6979 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
6980 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
6981 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
6982 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
6983 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
6984 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
6985 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
6986 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
6987 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
6988 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
6989 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
6990 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
6991 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
6992 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
6993 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
6994 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
6995 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
6996 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
6997 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
6998 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
6999 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
7000 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
7001 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
7002 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
7003 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
7004 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
7005 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
7006 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
7007 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
7008 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
7009 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
7010 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
7011 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
7012 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
7013 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
7014 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
7015 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
7016 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
7017 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
7018 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
7019 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
7020 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
7021 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
7022 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
7023 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
7024 * sysdeps/ieee754/s_lib_version.c: Likewise.
7025 * sysdeps/ieee754/s_matherr.c: Likewise.
7026 * sysdeps/ieee754/s_signgam.c: Likewise.
7027 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
7028 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
7029 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
7030 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
7031 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
7032 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
7033 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
7034 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
7035 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
7036 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
7037 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
7038 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
7039 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
7040 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
7041 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
7042 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
7043 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
7044 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
7045 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
7046 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
7047 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 7048
1991fa03
JM
70492012-03-09 Joseph Myers <joseph@codesourcery.com>
7050
7051 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
7052 * sunrpc/rpc_main.c: Likewise.
7053 * sunrpc/rpc_svcout.c: Likewise.
7054
60d6f5a6
DM
70552012-03-09 David S. Miller <davem@davemloft.net>
7056
7057 * include/math_private.h: New file.
7058
4962050e
JM
70592012-03-09 Joseph Myers <joseph@codesourcery.com>
7060
02a6f887
JM
7061 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
7062 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
7063 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
7064 from <bits/socket_type.h>.
7065 (enum __socket_type): Don't define here.
7066 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
7067 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
7068 bits/socket_type.h.
7069
c6e013c1
JM
7070 [BZ #13566]
7071 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
7072 checking __USE_GNU.
7073
4962050e
JM
7074 * Makerules ($(inst_includedir)/%.h): New rule.
7075 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
7076 (install-others): Remove variable setting.
7077 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
7078
38842f45
RH
70792012-03-08 Richard Henderson <rth@twiddle.net>
7080
67bb6da6
RH
7081 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
7082 from macro to inline function; merge with the
7083 !__LIBC_INTERNAL_MATH_INLINES version.
7084 (__ieee754_sqrtf): Likewise.
7085
15194b4b
RH
7086 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
7087 to inline function.
7088 (__rintf, __floor, __floorf): Likewise.
7089
64e21ede
RH
7090 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
7091 macro to inline function.
7092 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
7093
38842f45
RH
7094 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
7095 not <math/math_private.h>.
7096
c64bf5fe
DM
70972012-03-08 David S. Miller <davem@davemloft.net>
7098
7099 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
7100 copyright year.
7101 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
7102
82d86f28
TS
71032012-03-08 Thomas Schwinge <thomas@codesourcery.com>
7104
7105 * resolv/gai_misc.c (handle_requests): Fix struct timespec
7106 normalization.
7107 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
7108 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
7109
aea5d727
UD
71102012-03-08 Ulrich Drepper <drepper@gmail.com>
7111
7112 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
7113 be defined individually, they must be defined as a block. Define
7114 S for printing a string instead of hidint the different by using a
7115 macro for adding the 'l'.
7116 * stdio-common/tst-fphex-wide.c: Adjust.
7117
70bca0a3
MP
71182012-03-07 Marek Polacek <polacek@redhat.com>
7119
7120 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
7121
65b81130
MP
71222012-03-08 Marek Polacek <polacek@redhat.com>
7123
7124 [BZ #13806]
7125 * stdio-common/Makefile (tests): Add tst-fphex-wide.
7126 * stdio-common/tst-fphex.c: Define a few macros to make the
7127 test reusable. Use them.
7128 * stdio-common/tst-fphex-wide.c: New file.
7129
07037eeb
JM
71302012-03-08 Joseph Myers <joseph@codesourcery.com>
7131
a7a93d50
JM
7132 [BZ #6911]
7133 * manual/macros.texi (gnusystems): New macro.
7134 (nongnusystems): Likewise.
7135 (gnulinuxhurdsystems): Likewise.
7136 (gnuhurdsystems): Likewise..
7137 (gnulinuxsystems): Likewise.
7138 * manual/charset.texi: Use new macros or @theglibc{} to refer to
7139 variants of the GNU system, not "GNU system".
7140 * manual/conf.texi: Likewise.
7141 * manual/errno.texi: Likewise. Update example of errno macro
7142 expansion.
7143 * manual/filesys.texi: Likewise.
7144 (getumask): Document as specific to GNU/Hurd.
7145 * manual/install.texi: Likewise. Reword some references to
7146 GNU/Linux.
7147 * manual/intro.texi: Likewise.
7148 * manual/io.texi: Likewise.
7149 (File Name Portability): Detail which constraints are inapplicable
7150 to all GNU systems and which are only inapplicable to GNU/Hurd.
7151 * manual/job.texi: Likewise.
7152 * manual/llio.texi: Likewise.
7153 (O_NOCTTY): Document as present on GNU/Linux.
7154 * manual/maint.texi: Likewise.
7155 * manual/memory.texi: Likewise.
7156 * manual/pattern.texi: Likewise.
7157 * manual/pipe.texi: Likewise.
7158 * manual/process.texi: Likewise.
7159 * manual/resource.texi: Likewise.
7160 (RUSAGE_CHILDREN): Remove statement about specifying a particular
7161 child on GNU/Hurd.
7162 * manual/setjmp.texi: Likewise.
7163 * manual/signal.texi: Likewise.
7164 * manual/startup.texi: Likewise.
7165 * manual/stdio.texi: Likewise.
7166 * manual/terminal.texi: Likewise.
7167 (ONLCR): Document as POSIX.
7168 (OXTABS): Document availability on GNU/Linux as XTABS.
7169 (ONOEOT): Document availability separately from other bits.
7170 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
7171 * manual/time.texi: Likewise.
7172 * manual/users.texi: Likewise.
7173 * INSTALL: Regenerated.
7174 * sysdeps/gnu/errlist.c: Regenerated.
7175
07037eeb
JM
7176 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
7177 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
7178 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
7179 puts.
7180 * configure: Regenerated.
7181
d1d3431a
JM
71822012-03-07 Joseph Myers <joseph@codesourcery.com>
7183
af6a1e37
JM
7184 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
7185 default includes instead of AC_HEADER_CHECK.
7186 * sysdeps/i386/configure: Regenerated.
7187
d1d3431a
JM
7188 [BZ #10716]
7189 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
7190 * math/s_cacoshf.c (__cacoshf): Likewise.
7191 * math/s_cacoshl.c (__cacoshl): Likewise.
7192 * math/s_casinh.c (__casinh): Set signs of result from argument.
7193 * math/s_casinhf.c (__casinhf): Likewise.
7194 * math/s_casinhl.c (__casinhl): Likewise.
7195 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
7196 (casinh_test): Add more tests.
7197 * sysdeps/i386/fpu/libm-test-ulps: Update.
7198 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7199
482ff4da
UD
72002012-03-07 Ulrich Drepper <drepper@gmail.com>
7201
872fda05
UD
7202 * po/zh_TW.po: Update from translation team.
7203
a4300c7a
UD
7204 * login/Makefile (distribute): Remove variable.
7205 * catgets/Makefile: Likewise.
7206 * mach/Makefile: Likewise.
7207 * malloc/Makefile: Likewise.
7208 * misc/Makefile: Likewise.
7209 * iconv/Makefile: Likewise.
7210 * nscd/Makefile: Likewise.
7211 * hurd/Makefile: Likewise.
7212 * manual/Makefile: Likewise.
7213 * locale/Makefile: Likewise.
7214 * intl/Makefile: Likewise.
7215 * conform/Makefile: Likewise.
7216 * nss/Makefile: Likewise.
7217 * time/Makefile: Likewise.
7218 * soft-fp/Makefile: Likewise.
7219 * dirent/Makefile: Likewise.
7220 * gmon/Makefile: Likewise.
7221 * po/Makefile: Likewise.
7222 * rt/Makefile: Likewise.
7223 * socket/Makefile: Likewise.
7224 * math/Makefile: Likewise.
7225 * signal/Makefile: Likewise.
7226 * debug/Makefile: Likewise.
7227 * elf/Makefile: Likewise.
7228 * timezone/Makefile: Likewise.
7229 * stdlib/Makefile: Likewise.
7230 * iconvdata/Makefile: Likewise.
7231 * sunrpc/Makefile: Likewise.
7232 * io/Makefile: Likewise.
7233 * argp/Makefile: Likewise.
7234 * inet/Makefile: Likewise.
7235 * hesiod/Makefile: Likewise.
7236 * grp/Makefile: Likewise.
7237 * csu/Makefile: Likewise.
7238 * wctype/Makefile: Likewise.
7239 * crypt/Makefile: Likewise.
7240 * libio/Makefile: Likewise.
7241 * string/Makefile: Likewise.
7242 * nis/Makefile: Likewise.
7243 * resolv/Makefile: Likewise.
7244 * stdio-common/Makefile: Likewise.
7245 * wcsmbs/Makefile: Likewise.
7246 * dlfcn/Makefile: Likewise.
7247 * posix/Makefile: Likewise.
7248
3b7c4e74 7249 [BZ #6959]
482ff4da
UD
7250 * timezone/Makefile: Don't install timezone files, just the programs
7251 and scripts.
7252
f72ed77d
UD
72532012-03-06 Ulrich Drepper <drepper@gmail.com>
7254
a000466f
UD
7255 * nss/databases.def: Add missing gshadow entry.
7256
f72ed77d
UD
7257 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
7258
a53b7a4e
MP
72592012-03-06 Marek Polacek <polacek@redhat.com>
7260
7261 [BZ #13726]
7262 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
7263 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
7264 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
7265 * stdio-common/tst-long-dbl-fphex.c: New file.
7266
e9258400
DM
72672012-03-06 David S. Miller <davem@davemloft.net>
7268
7269 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
7270 (set_obp_int): New function.
7271 (get_obp_int): New function.
7272 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
7273 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
7274 Avoid unused variable warnings on 'val' and use builtin_expect.
7275 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
7276 __builtin_expect.
e9258400
DM
7277 (INLINE_CLONE_SYSCALL): Likewise.
7278
3bd2c723
DM
72792012-03-05 David S. Miller <davem@davemloft.net>
7280
7281 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7282
bbb78d03
AS
72832012-03-05 Andreas Schwab <schwab@linux-m68k.org>
7284
884c5db4
AS
7285 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7286
bbb78d03
AS
7287 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
7288 only for |x| >= 40.
7289 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
7290
1c9f702a 72912012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
7292
7293 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
7294 Replace gettimeofday with __vdso_gettimeofday.
7295
7be16f82
RM
7296 * sysdeps/unix/sysv/linux/x86_64/init-first.c
7297 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
7298 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
7299
7300 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
7301 time with __vdso_time.
7302
ed58a00f
JM
73032012-03-05 Joseph Myers <joseph@codesourcery.com>
7304
7305 * manual/lang.texi (size_t): Note types to which size_t may be
7306 equivalent with the GNU C Library, but do not describe when
7307 differences between them are significant.
7308
30ee4ced
AJ
73092012-03-05 Andreas Jaeger <aj@suse.de>
7310
7311 * sysdeps/i386/fpu/libm-test-ulps: Update.
7312
b7cd39e8
JM
73132012-03-05 Joseph Myers <joseph@codesourcery.com>
7314
7315 [BZ #3976]
7316 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
7317 (__ieee754_pow): Save and restore rounding mode and use
7318 round-to-nearest for main computations.
7319 * math/libm-test.inc (pow_test_tonearest): New function.
7320 (pow_test_towardzero): Likewise.
7321 (pow_test_downward): Likewise.
7322 (pow_test_upward): Likewise.
7323 (main): Call the new functions.
7324 * sysdeps/i386/fpu/libm-test-ulps: Update.
7325 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
7326
7327 [BZ #3976]
7328 * math/libm-test.inc (cosh_test_tonearest): New function.
7329 (cosh_test_towardzero): Likewise.
7330 (cosh_test_downward): Likewise.
7331 (cosh_test_upward): Likewise.
7332 (sinh_test_tonearest): Likewise.
7333 (sinh_test_towardzero): Likewise.
7334 (sinh_test_downward): Likewise.
7335 (sinh_test_upward): Likewise.
7336 (main): Call the new functions.
7337 * sysdeps/i386/fpu/libm-test-ulps: Update.
7338 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7339
6c6a98c9
TV
73402012-03-05 Tom de Vries <tom@codesourcery.com>
7341
7342 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
7343 default stack guard is set in last bytes.
7344 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
7345
21bb2d2e 73462012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 7347
21bb2d2e 7348 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 7349
21bb2d2e
AJ
7350 [BZ #13656]
7351 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
7352 possibly allocate from heap instead of stack.
7353 * stdio-common/bug-vfprintf-nargs.c: New file.
7354 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 7355
c6922934
AS
73562012-03-03 Andreas Schwab <schwab@linux-m68k.org>
7357
7358 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7359
bc957d53
MP
73602012-03-03 Marek Polacek <polacek@redhat.com>
7361
7362 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
7363 * math/math_private.h: Likewise.
7364 * stdlib/tst-strtod.c: Likewise.
7365 * sysdeps/i386/i486/bits/atomic.h: Likewise.
7366 * sysdeps/x86_64/bits/atomic.h: Likewise.
7367
6358490d
DM
73682012-03-02 David S. Miller <davem@davemloft.net>
7369
7370 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
7371 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
7372 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
7373 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
7374 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
7375 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
7376 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
7377 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
7378
01ae168d
RM
73792012-03-02 Roland McGrath <roland@hack.frob.com>
7380
d9a17c07
RM
7381 [BZ #13792]
7382 * manual/examples/README: New file, says the example source files
7383 can be used under GPL>=2.
7384 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
7385 line containing just "*/".
7386 * manual/examples/add.c: Add copyright header (GPL>=2).
7387 * manual/examples/argp-ex1.c: Likewise.
7388 * manual/examples/argp-ex2.c: Likewise.
7389 * manual/examples/argp-ex3.c: Likewise.
7390 * manual/examples/argp-ex4.c: Likewise.
7391 * manual/examples/atexit.c: Likewise.
7392 * manual/examples/db.c: Likewise.
7393 * manual/examples/dir.c: Likewise.
7394 * manual/examples/dir2.c: Likewise.
7395 * manual/examples/execinfo.c: Likewise.
7396 * manual/examples/filecli.c: Likewise.
7397 * manual/examples/filesrv.c: Likewise.
7398 * manual/examples/fmtmsgexpl.c: Likewise.
7399 * manual/examples/genpass.c: Likewise.
7400 * manual/examples/inetcli.c: Likewise.
7401 * manual/examples/inetsrv.c: Likewise.
7402 * manual/examples/isockad.c: Likewise.
7403 * manual/examples/longopt.c: Likewise.
7404 * manual/examples/memopen.c: Likewise.
7405 * manual/examples/memstrm.c: Likewise.
7406 * manual/examples/mkfsock.c: Likewise.
7407 * manual/examples/mkisock.c: Likewise.
7408 * manual/examples/mygetpass.c: Likewise.
7409 * manual/examples/pipe.c: Likewise.
7410 * manual/examples/popen.c: Likewise.
7411 * manual/examples/rprintf.c: Likewise.
7412 * manual/examples/search.c: Likewise.
7413 * manual/examples/select.c: Likewise.
7414 * manual/examples/setjmp.c: Likewise.
7415 * manual/examples/sigh1.c: Likewise.
7416 * manual/examples/sigusr.c: Likewise.
7417 * manual/examples/stpcpy.c: Likewise.
7418 * manual/examples/strdupa.c: Likewise.
7419 * manual/examples/strftim.c: Likewise.
7420 * manual/examples/strncat.c: Likewise.
7421 * manual/examples/subopt.c: Likewise.
7422 * manual/examples/swapcontext.c: Likewise.
7423 * manual/examples/termios.c: Likewise.
7424 * manual/examples/testopt.c: Likewise.
7425 * manual/examples/testpass.c: Likewise.
7426 * manual/examples/timeval_subtract.c: Likewise.
7427
01ae168d
RM
7428 [BZ #13792]
7429 * manual/time.texi (Elapsed Time): Move timeval_subtract example
7430 function to ...
7431 * manual/timeval_subtract.c.texi: ... here, new file.
7432
49efa33d
DM
74332012-03-02 David S. Miller <davem@davemloft.net>
7434
7435 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
7436
28afd92d
JM
74372012-03-02 Joseph Myers <joseph@codesourcery.com>
7438
804360ed
JM
7439 [BZ #3976]
7440 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
7441 (__sin): Save and restore rounding mode and use round-to-nearest
7442 for all computations.
7443 (__cos): Save and restore rounding mode and use round-to-nearest
7444 for all computations.
7445 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
7446 <fenv.h>.
7447 (tan): Save and restore rounding mode and use round-to-nearest for
7448 all computations.
7449 * math/libm-test.inc (cos_test_tonearest): New function.
7450 (cos_test_towardzero): Likewise.
7451 (cos_test_downward): Likewise.
7452 (cos_test_upward): Likewise.
7453 (sin_test_tonearest): Likewise.
7454 (sin_test_towardzero): Likewise.
7455 (sin_test_downward): Likewise.
7456 (sin_test_upward): Likewise.
7457 (tan_test_tonearest): Likewise.
7458 (tan_test_towardzero): Likewise.
7459 (tan_test_downward): Likewise.
7460 (tan_test_upward): Likewise.
7461 (main): Call the new functions.
7462 * sysdeps/i386/fpu/libm-test-ulps: Update.
7463 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7464
a6d06d7b
JM
7465 [BZ #10135]
7466 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
7467 small n, then large n, before computing and testing k+n.
7468 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
7469 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
7470 Likewise.
7471 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
7472 Likewise.
7473 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
7474 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
7475 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
7476 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
7477 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
7478 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
7479 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
7480 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
7481 * math/libm-test.inc (scalbn_test): Add more tests.
7482 (scalbln_test): Likewise.
7483
07e12bb3
JM
7484 * manual/filesys.texi (mode_t): Describe constraints on size and
7485 signedness, not exact equivalence to a particular type.
7486 (ino_t): Likewise.
7487 (ino64_t): Likewise.
7488 (dev_t): Likewise.
7489 (nlink_t): Likewise.
7490 (blkcnt_t): Likewise.
7491 (blkcnt64_t): Likewise.
7492 * manual/llio.texi (off_t): Likewise.
7493
28afd92d
JM
7494 [BZ #3976]
7495 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
7496 (__ieee754_exp): Save and restore rounding mode and use
7497 round-to-nearest for all computations.
7498 * math/libm-test.inc (exp_test_tonearest): New function.
7499 (exp_test_towardzero): Likewise.
7500 (exp_test_downward): Likewise.
7501 (exp_test_upward): Likewise.
7502 (main): Call the new functions.
7503 * sysdeps/i386/fpu/libm-test-ulps: Update.
7504 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7505
b1eeb65d
CD
75062012-03-01 Chris Demetriou <cgd@google.com>
7507
7508 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
7509 have predictable order.
7510
53362a4b
DM
75112012-03-01 David S. Miller <davem@davemloft.net>
7512
3c969083
DM
7513 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
7514
759707de
DM
7515 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
7516 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
7517 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
7518 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
7519
dfdb8ff2
DM
7520 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
7521 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
7522 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
7523 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
7524 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
7525 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
7526 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
7527 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
7528 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
7529
ead89f96
DM
7530 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7531
7f66bd07
DM
7532 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
7533 * sysdeps/sparc/fpu/libm-test-ulps: to here.
7534 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
7535
53362a4b
DM
7536 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
7537 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
7538 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
7539 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
7540 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
7541 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
7542 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
7543 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
7544 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
7545 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
7546 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
7547 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
7548 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
7549 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
7550 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
7551 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
7552 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
7553 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
7554 * sysdeps/sparc/elf/configure: Regenerated.
7555
7b1902cb
JM
75562012-03-01 Joseph Myers <joseph@codesourcery.com>
7557
bec039bc
JM
7558 * configure.in (AS, LD): Require binutils 2.20 or later.
7559 * configure: Regenerated.
7560 * manual/install.texi (Tools for Compilation): Give binutils 2.20
7561 as required minimum version.
7562 * INSTALL: Regenerated.
7563
7b1902cb
JM
7564 [BZ #2541]
7565 [BZ #4108]
7566 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
7567 before squaring exponent.
7568 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
7569 bottom long double and 27 bits of top long double before squaring
7570 exponent.
7571 * math/libm-test.inc (erfc_test): Add more tests.
7572 * sysdeps/i386/fpu/libm-test-ulps: Update.
7573 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
7574 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7575
f775c276
KT
75762012-03-01 Kai Tietz <ktietz@redhat.com>
7577
7578 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
7579 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
7580 containing bit-fields.
7581 * soft-fp/extended.h (_FP_UNION_E): Likewise.
7582 * soft-fp/single.h (_FP_UNION_S): Likewise.
7583 * soft-fp/double.h (_FP_UNION_D): Likewise.
7584
5b8a4d4a
JM
75852012-02-29 Joseph Myers <joseph@codesourcery.com>
7586
0bab47b6
JM
7587 [BZ #13786]
7588 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
7589 not include ../strcmp.S.
7590 [USE_AS_STRNCASECMP_L]: Likewise.
7591 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
7592 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
7593 * sysdeps/i386/i686/multiarch/strncase_l-c.c
7594 (__strncasecmp_l_ia32): Define as alias to
7595 __strncasecmp_l_nonascii.
7596
0fcad3e2
JM
7597 [BZ #5794]
7598 * math/libm-test.inc (expm1_test): Add test for bug 5794.
7599 * sysdeps/i386/fpu/libm-test-ulps: Update.
7600 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7601
5b8a4d4a
JM
7602 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
7603 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7604
8fdceb2e
JL
76052012-02-29 Jeff Law <law@redhat.com>
7606
7607 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
7608 out of bounds read.
7609
1f393a11
MP
76102012-02-29 Marek Polacek <polacek@redhat.com>
7611
7612 [BZ #13706]
7613 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
7614 * elf/Makefile: Add rules to run tst-unused-dep.out.
7615
8847f037
DM
76162012-02-28 David S. Miller <davem@davemloft.net>
7617
7618 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
7619 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
7620 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
7621 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
7622 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
7623 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
7624
169d7f11
JM
76252012-02-29 Joseph Myers <joseph@codesourcery.com>
7626
7627 * math/libm-test.inc (llround_test): Move one test from
7628 lround_test. Use TEST_f_L in moved test.
7629 (lround_test): Move misplaced test to llround_test. Add testcase
7630 from bug 2561.
7631
39adf059
UD
76322012-02-28 Ulrich Drepper <drepper@gmail.com>
7633
7634 * sysdeps/x86_64/fpu/e_expf.S: New file.
7635 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
7636
71b5d1c5
SB
76372012-02-28 Stanislav Brabec <sbrabec@suse.cz>
7638
7639 [BZ #13637]
7640 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
7641 of remain_len that may cause incomplete multi-byte character and
7642 false match.
7643 * posix/bug-regex33.c: New file.
7644 * posix/Makefile (tests): Add bug-regex33.
7645
1f77f049
JM
76462012-02-28 Joseph Myers <joseph@codesourcery.com>
7647
7648 * manual/macros.texi: New file.
7649 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
7650 * manual/libc.texinfo: Include macros.texi.
7651 * manual/creatute.texi: Likewise.
7652 * manual/install.texi: Likewise.
7653 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
7654 @glibcadj{} in references to the GNU C Library.
7655 * manual/charset.texi: Likewise.
7656 * manual/conf.texi: Likewise.
7657 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
7658 when not using those macros.
7659 * manual/creature.texi: Likewise.
7660 * manual/crypt.texi: Likewise.
7661 * manual/errno.texi: Likewise.
7662 * manual/filesys.texi: Likewise.
7663 * manual/header.texi: Likewise.
7664 * manual/install.texi: Likewise.
7665 * manual/intro.texi: Likewise.
7666 * manual/io.texi: Likewise.
7667 * manual/job.texi: Likewise.
7668 * manual/lang.texi: Likewise.
7669 * manual/libc.texiinfo: Likewise.
7670 * manual/llio.texi: Likewise.
7671 * manual/locale.texi: Likewise.
7672 * manual/maint.texi: Likewise.
7673 * manual/math.texi: Likewise.
7674 * manual/memory.texi: Likewise.
7675 * manual/message.texi: Likewise.
7676 * manual/nss.texi: Likewise.
7677 * manual/pattern.texi: Likewise.
7678 * manual/process.texi: Likewise.
7679 * manual/resource.texi: Likewise.
7680 * manual/search.texi: Likewise.
7681 * manual/setjmp.texi: Likewise.
7682 * manual/signal.texi: Likewise.
7683 * manual/socket.texi: Likewise.
7684 * manual/startup.texi: Likewise.
7685 * manual/stdio.texi: Likewise.
7686 * manual/string.texi: Likewise.
7687 * manual/sysinfo.texi: Likewise.
7688 * manual/syslog.texi: Likewise.
7689 * manual/terminal.texi: Likewise.
7690 * manual/time.texi: Likewise.
7691 * manual/users.texi: Likewise.
7692 * INSTALL: Regenerated.
7693 * NOTES: Regenerated.
d40c5d54 7694 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 7695
450bf206
AS
76962012-02-28 Andreas Schwab <schwab@linux-m68k.org>
7697
7698 * include/dirent.h: Include <dirstream.h> before
7699 <dirent/dirent.h>.
7700
741a235b
DM
77012012-02-28 David S. Miller <davem@davemloft.net>
7702
7703 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
7704 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
7705 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
7706 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
7707
d6b5aa58
DM
77082012-02-27 David S. Miller <davem@davemloft.net>
7709
1aff59a3
DM
7710 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
7711 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
7712 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
7713 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
7714
d6b5aa58
DM
7715 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
7716 frame pointer instead of stack pointer relative arg slot.
7717 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
7718 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
7719 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
7720
433f48bf
CD
77212012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
7722
7723 [BZ #3992]
7724 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
7725
d674b76d
DM
77262012-02-27 David S. Miller <davem@davemloft.net>
7727
7728 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
7729 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
7730 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
7731 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
7732 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
7733 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
7734 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
7735 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
7736
0e7727f7
JM
77372012-02-27 Joseph Myers <joseph@codesourcery.com>
7738
7739 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
7740 later. Allow versions 5-9.
43be4ca2 7741 * configure: Regenerated.
0e7727f7
JM
7742 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
7743 required minimum version and 4.6 as recommended version. Do not
7744 mention bugs in GCC 2.7 and 2.8.
43be4ca2 7745 * INSTALL: Regenerated.
0e7727f7 7746
a78bc654
DM
77472012-02-27 David S. Miller <davem@davemloft.net>
7748
428d5830
DM
7749 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
7750 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
7751 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
7752 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
7753 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
7754 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
7755 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
7756 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
7757
a78bc654
DM
7758 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
7759 manipulate bits before adding and subtracting TWO112[sx].
7760 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
7761
4579f81c
RM
77622012-02-27 Roland McGrath <roland@hack.frob.com>
7763
36c8acb4
RM
7764 [BZ #13775]
7765 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
7766 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
7767 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
7768 being in POSIX, because they are in 1003.1-2008.
7769
84ad622b
RM
7770 * rt/tst-aio.c: Include <fcntl.h>.
7771 * rt/tst-aio7.c: Likewise.
7772 * rt/tst-aio64.c: Likewise.
7773
4579f81c
RM
7774 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
7775
abd923db
JM
77762012-02-27 Joseph Myers <joseph@codesourcery.com>
7777
7778 * manual/install.texi (--with-headers): Describe headers as
7779 interface headers, not private headers.
7780 (Specific advice for GNU/Linux systems): Describe use of headers
7781 from "make headers_install", not private headers from older
7782 kernels.
43be4ca2 7783 * INSTALL: Regenerated.
abd923db
JM
7784 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
7785 Change to 2.6.19.
7786 * sysdeps/unix/sysv/linux/configure: Regenerated.
7787
6664049b
JM
7788 * manual/llio.texi (fclean): Remove documentation.
7789
bb8b6697
JM
7790 * manual/Makefile (libc-texi-generated): New variable. Include
7791 version.texi.
7792 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
7793 $(libc-texi-generated), not duplicated list of files.
7794 (version.texi, stamp-version): New rules.
7795 (realclean): Remove $(libc-texi-generated), not individual files
7796 from that list. Do not remove dir-add.texinfo.
7797 * manual/libc.texinfo: Comment out uses of edition numbers and
7798 references to printed manual. Remove last-updated dates.
7799 (EDITION): Comment out.
7800 (ISBN): Likewise.
7801 (VERSION, UPDATED): Remove.
7802 (version.texi): Include.
7803
12e5c3b9
AS
78042012-02-27 Andreas Schwab <schwab@linux-m68k.org>
7805
7806 * sysdeps/posix/spawni.c: Include <signal.h>.
7807 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
7808 * sysdeps/pthread/aio_fsync.c: Likewise.
7809
4efeffc1 78102012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 7811
ba63ba08
UD
7812 * conform/Makefile (tests): Run only when not cross-compiling and
7813 when fast-check is not defined.
7814
d94a4670
UD
7815 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
7816 * conform/data/limits.h-data: Fixes for POSIX2008.
7817 * conform/run-conformtest.sh: Run all tests.
7818 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
7819 headers.
7820 * include/bits/dlfcn.h: Likewise.
7821 * include/langinfo.h: Likewise.
7822 * include/monetary.h: Likewise.
7823 * include/sys/poll.h: Likewise.
7824
7825 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
7826 for __USE_GNU.
7827 * posix/spawn.h: Define __need_sigset_t.
7828 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
7829 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
7830 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
7831 to get sigevent_t only.
7832 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
7833 only for __USE_GNU.
7834 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
7835 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
7836 process_vm_writev only for __USE_GNU.
7837 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
7838
7839 * conform/Makefile: For now ignore errors from run-conformtest.
7840 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
7841 POSIX to avoid namespace pollution. Don't prepend headers.
7842 * conform/data/aio.h-data: Fixes for POSIX testing.
7843 * conform/data/fcntl.h-data: Likewise.
7844 * conform/data/glob.h-data: Likewise.
7845 * conform/data/grp.h-data: Likewise.
7846 * conform/data/pthread.h-data: Likewise.
7847 * conform/data/pwd.h-data: Likewise.
7848 * conform/data/signal.h-data: Likewise.
7849 * conform/data/spawn.h-data: Likewise.
7850 * conform/data/stdio.h-data: Likewise.
7851 * conform/data/stdlib.h-data: Likewise.
7852 * conform/data/stropts.h-data: Likewise.
7853 * conform/data/sys/mman.h-data: Likewise.
7854 * conform/data/sys/stat.h-data: Likewise.
7855 * conform/data/sys/types.h-data: Likewise.
7856 * conform/data/sys/wait.h-data: Likewise.
7857 * conform/data/time.h-data: Likewise.
7858 * conform/data/unistd.h-data: Likewise.
7859 * conform/data/utime.h-data: Likewise.
7860
7861 * io/sys/stat.h: fchmod was always in POSIX.
7862 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
7863 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
7864 * rt/aio.h: Define __need_timespec before including <time.h>.
7865 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
7866 struct. Add forward declaration of pthread_attr_t and use it in
7867 sigevent.
7868 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
7869 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
7870 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
7871 always remove CLK_TCK definition.
7872
c20105c3
AS
78732012-02-26 Andreas Schwab <schwab@linux-m68k.org>
7874
7875 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
7876
7a270350
UD
78772012-02-25 Ulrich Drepper <drepper@gmail.com>
7878
31341567
UD
7879 * conform/run-conformtest.sh: New file.
7880 * conform/Makefile: Run run-conformtest for tests.
7881 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
7882 support.
7883
7884 * conform/data/uchar.h-data: New file.
7885 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
7886 * conform/data/arpa/inet.h-data: Likewise.
7887 * conform/data/assert.h-data: Likewise.
7888 * conform/data/complex.h-data: Likewise.
7889 * conform/data/cpio.h-data: Likewise.
7890 * conform/data/ctype.h-data: Likewise.
7891 * conform/data/dirent.h-data: Likewise.
7892 * conform/data/dlfcn.h-data: Likewise.
7893 * conform/data/errno.h-data: Likewise.
7894 * conform/data/fcntl.h-data: Likewise.
7895 * conform/data/float.h-data: Likewise.
7896 * conform/data/fmtmsg.h-data: Likewise.
7897 * conform/data/fnmatch.h-data: Likewise.
7898 * conform/data/ftw.h-data: Likewise.
7899 * conform/data/glob.h-data: Likewise.
7900 * conform/data/grp.h-data: Likewise.
7901 * conform/data/iconv.h-data: Likewise.
7902 * conform/data/inttypes.h-data: Likewise.
7903 * conform/data/langinfo.h-data: Likewise.
7904 * conform/data/libgen.h-data: Likewise.
7905 * conform/data/limits.h-data: Likewise.
7906 * conform/data/locale.h-data: Likewise.
7907 * conform/data/math.h-data: Likewise.
7908 * conform/data/monetary.h-data: Likewise.
7909 * conform/data/mqueue.h-data: Likewise.
7910 * conform/data/ndbm.h-data: Likewise.
7911 * conform/data/net/if.h-data: Likewise.
7912 * conform/data/netdb.h-data: Likewise.
7913 * conform/data/netinet/in.h-data: Likewise.
7914 * conform/data/nl_types.h-data: Likewise.
7915 * conform/data/poll.h-data: Likewise.
7916 * conform/data/pthread.h-data: Likewise.
7917 * conform/data/pwd.h-data: Likewise.
7918 * conform/data/regex.h-data: Likewise.
7919 * conform/data/sched.h-data: Likewise.
7920 * conform/data/search.h-data: Likewise.
7921 * conform/data/semaphore.h-data: Likewise.
7922 * conform/data/setjmp.h-data: Likewise.
7923 * conform/data/signal.h-data: Likewise.
7924 * conform/data/spawn.h-data: Likewise.
7925 * conform/data/stdarg.h-data: Likewise.
7926 * conform/data/stdio.h-data: Likewise.
7927 * conform/data/stdlib.h-data: Likewise.
7928 * conform/data/string.h-data: Likewise.
7929 * conform/data/strings.h-data: Likewise.
7930 * conform/data/stropts.h-data: Likewise.
7931 * conform/data/sys/ipc.h-data: Likewise.
7932 * conform/data/sys/mman.h-data: Likewise.
7933 * conform/data/sys/msg.h-data: Likewise.
7934 * conform/data/sys/resource.h-data: Likewise.
7935 * conform/data/sys/select.h-data: Likewise.
7936 * conform/data/sys/sem.h-data: Likewise.
7937 * conform/data/sys/shm.h-data: Likewise.
7938 * conform/data/sys/socket.h-data: Likewise.
7939 * conform/data/sys/stat.h-data: Likewise.
7940 * conform/data/sys/statvfs.h-data: Likewise.
7941 * conform/data/sys/time.h-data: Likewise.
7942 * conform/data/sys/timeb.h-data: Likewise.
7943 * conform/data/sys/times.h-data: Likewise.
7944 * conform/data/sys/types.h-data: Likewise.
7945 * conform/data/sys/uio.h-data: Likewise.
7946 * conform/data/sys/un.h-data: Likewise.
7947 * conform/data/sys/utsname.h-data: Likewise.
7948 * conform/data/sys/wait.h-data: Likewise.
7949 * conform/data/syslog.h-data: Likewise.
7950 * conform/data/tar.h-data: Likewise.
7951 * conform/data/termios.h-data: Likewise.
7952 * conform/data/utime.h-data: Likewise.
7953 * conform/data/utmpx.h-data: Likewise.
7954 * conform/data/varargs.h-data: Likewise.
7955 * conform/data/wchar.h-data: Likewise.
7956 * conform/data/wctype.h-data: Likewise.
7957 * conform/data/wordexp.h-data: Likewise.
7958
7959 * include/stropts.h: New file.
7960 * include/uchar.h: New file.
7961 * include/aio.h: Changes to allow conformtest.pl to use the headers.
7962 * include/assert.h: Likewise.
7963 * include/ctype.h: Likewise.
7964 * include/dirent.h: Likewise.
7965 * include/dlfcn.h: Likewise.
7966 * include/fcntl.h: Likewise.
7967 * include/fnmatch.h: Likewise.
7968 * include/glob.h: Likewise.
7969 * include/grp.h: Likewise.
7970 * include/libio.h: Likewise.
7971 * include/locale.h: Likewise.
7972 * include/math.h: Likewise.
7973 * include/net/if.h: Likewise.
7974 * include/netdb.h: Likewise.
7975 * include/netinet/in.h: Likewise.
7976 * include/pthread.h: Likewise.
7977 * include/pwd.h: Likewise.
7978 * include/regex.h: Likewise.
7979 * include/sched.h: Likewise.
7980 * include/search.h: Likewise.
7981 * include/setjmp.h: Likewise.
7982 * include/signal.h: Likewise.
7983 * include/stdio.h: Likewise.
7984 * include/stdlib.h: Likewise.
7985 * include/string.h: Likewise.
7986 * include/sys/cdefs.h: Likewise.
7987 * include/sys/mman.h: Likewise.
7988 * include/sys/msg.h: Likewise.
7989 * include/sys/resource.h: Likewise.
7990 * include/sys/select.h: Likewise.
7991 * include/sys/socket.h: Likewise.
7992 * include/sys/stat.h: Likewise.
7993 * include/sys/statvfs.h: Likewise.
7994 * include/sys/time.h: Likewise.
7995 * include/sys/times.h: Likewise.
7996 * include/sys/uio.h: Likewise.
7997 * include/sys/utsname.h: Likewise.
7998 * include/sys/wait.h: Likewise.
7999 * include/termios.h: Likewise.
8000 * include/time.h: Likewise.
8001 * include/ulimit.h: Likewise.
8002 * include/unistd.h: Likewise.
8003 * include/utime.h: Likewise.
8004 * include/wchar.h: Likewise.
8005 * include/wctype.h: Likewise.
8006 * include/wordexp.h: Likewise.
8007
8008 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
8009
7a270350
UD
8010 * time/time.h: TIME_UTC must be a macro.
8011 Make timespec_get available for ISO C11 only as well.
8012
7724defc
UD
80132012-02-24 Ulrich Drepper <drepper@gmail.com>
8014
8015 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
8016 Reported by Peng Haitao <penght@cn.fujitsu.com>.
8017
6b1d1d46
JM
80182012-02-24 Joseph Myers <joseph@codesourcery.com>
8019
8020 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 8021
0f8bbd69
JM
80222012-02-24 Joseph Myers <joseph@codesourcery.com>
8023
8024 * manual/texinfo.tex: Update to version 2012-01-19.16.
8025
66ab80bc
JM
80262012-02-24 Joseph Myers <joseph@codesourcery.com>
8027
8028 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
8029
74981cc5
RM
80302012-02-24 Roland McGrath <roland@hack.frob.com>
8031
ee968201
RM
8032 [BZ #13738]
8033 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
8034 * manual/fdl-1.3.texi: New file.
8035 * manual/fdl-1.1.texi: File removed.
8036
74981cc5
RM
8037 [BZ #13738]
8038 * manual/libc.texinfo (FDL_VERSION): New @set.
8039 Use it for mention of FDL in cover text.
8040 (Documentation License): Use it in @include file name.
8041
7bb764bc
JM
80422012-02-22 Joseph Myers <joseph@codesourcery.com>
8043 Roland McGrath <roland@hack.frob.com>
8044
8045 [BZ #5461]
8046 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
8047 not LONG_LONG_MAX and LONG_LONG_MIN.
8048 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
8049 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
8050 name.
8051 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
8052
6cbeae47
JM
80532012-02-22 Joseph Myers <joseph@codesourcery.com>
8054
8055 [BZ #2547]
8056 [BZ #11365]
8057 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
8058 manipulate bits before adding and subtracting TWO23[sx].
8059 * math/libm-test.inc (nearbyint_test): Add more tests.
8060
fe45ce09
JM
80612012-02-22 Joseph Myers <joseph@codesourcery.com>
8062
8063 [BZ #2548]
8064 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
8065 bits before adding and subtracting TWO23[sx].
8066 * math/libm-test.inc (rint_test): Add more tests.
8067 (rint_test_tonearest): Likewise.
8068 (rint_test_towardzero): Likewise.
8069 (rint_test_downward): Likewise.
8070 (rint_test_upward: Likewise.
8071
ff3b3d82
JM
80722012-02-22 Joseph Myers <joseph@codesourcery.com>
8073
8074 [BZ #10110]
8075 * include/stdc-predef.h: New file. Extracted from features.h.
8076 * include/features.h: Include stdc-predef.h.
8077 * Makefile (headers): Add stdc-predef.h.
8078 * CONFORMANCE (Compiler limitations): Update.
8079
ef0aab35
JM
80802012-02-22 Joseph Myers <joseph@codesourcery.com>
8081
8082 * manual/libc.texinfo (VERSION, UPDATED): Revert.
8083
58639409
DM
80842012-02-21 David S. Miller <davem@davemloft.net>
8085
8086 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
8087 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
8088
c0e70b25
DM
80892012-02-20 David S. Miller <davem@davemloft.net>
8090
8091 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
8092 using a normal save/restore sequence, rather than allocating a
8093 dummy stack frame just to store a frame pointer and restore.
8094 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
8095
fb06851d
JM
80962012-02-21 Joseph Myers <joseph@codesourcery.com>
8097
8098 * manual/install.texi: Fix stray word in line-wrapped comment.
8099
7a8b71c3
DM
81002012-02-20 David S. Miller <davem@davemloft.net>
8101
d510c123
DM
8102 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
8103 both binutils and gcc support GOTDATA.
8104
0722d7c2
DM
8105 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
8106 "rd %pc" in the PIC register setup sequences.
8107
3d2b3019
DM
8108 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
8109 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
8110 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
8111 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
8112 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
8113 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
8114 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
8115 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
8116 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
8117 (SYSCALL_ERROR_HANDLER): Likewise.
8118 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
8119 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
8120 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
8121 (SYSCALL_ERROR_HANDLER): Likewise.
8122
c80098a9
DM
8123 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
8124 (HAVE_GCC_GOTDATA): New.
8125 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
8126 relocation support in both binutils and gcc.
8127 * sysdeps/sparc/elf/configure: Regenerate.
8128
3a2545a0
DM
8129 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
8130 * sysdeps/sparc/sparc32/elf/configure: Delete.
8131 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
8132 * sysdeps/sparc/sparc64/elf/configure: Delete.
8133 * sysdeps/sparc/elf/configure.in: New file.
8134 * sysdeps/sparc/elf/configure: Generate.
8135
7a8b71c3
DM
8136 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
8137 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
8138 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
8139 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
8140 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
8141
f1e86fca
JM
81422012-02-21 Joseph Myers <joseph@codesourcery.com>
8143
8144 * manual/install.texi: Do not mention specific glibc version
8145 numbers.
8146 * manual/libc.texinfo (VERSION, UPDATED): Update.
8147 (@copying): Use @copyright{} and range of years.
8148
0e7dfaef
JM
81492012-02-21 Joseph Myers <joseph@codesourcery.com>
8150
8151 [BZ #13695]
8152 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
8153 [crti.S not in sysdirs] (generated): Do not append.
8154 [crti.S not in sysdirs] (omit-deps): Likewise.
8155 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
8156 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
8157 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
8158 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
8159 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
8160 Likewise.
8161 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
8162 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
8163 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
8164 * csu/defs.awk: Remove file.
8165 * sysdeps/generic/initfini.c: Likewise.
8166 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
8167 variable.
8168 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
8169 Likewise.
8170
599af3ca
JM
81712012-02-20 Joseph Myers <joseph@codesourcery.com>
8172
8173 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
8174 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
8175 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
8176 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
8177 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
8178 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
8179 <bits/epoll.h>.
8180 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
8181 (__EPOLL_PACKED): Define to empty if not defined by
8182 <bits/epoll.h>.
8183 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
8184 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
8185 bits/epoll.h.
8186
0e499750
JM
81872012-02-20 Joseph Myers <joseph@codesourcery.com>
8188
8189 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
8190 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
8191 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
8192 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
8193 <bits/timerfd.h>.
8194 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
8195 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
8196 bits/timerfd.h.
8197
5ad91f6e
JM
81982012-02-20 Joseph Myers <joseph@codesourcery.com>
8199
8200 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
8201 in C locale.
8202 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
8203 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
8204 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
8205 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8206
06b99b02
AJ
82072012-02-20 Aurelien Jarno <aurelien@aurel32.net>
8208
8209 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
8210 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
8211
7638c0fd
AS
82122012-02-19 Andreas Schwab <schwab@linux-m68k.org>
8213
8214 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
8215 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
8216 defined.
8217 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
8218 Likewise.
8219 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
8220 entry for 2.16.
8221
92221550
AJ
82222012-02-19 Aurelien Jarno <aurelien@aurel32.net>
8223
8224 * math/w_acos.c: Use non-signaling floating-point comparisons.
8225 * math/w_acosf.c: Likewise.
8226 * math/w_acosh.c: Likewise.
8227 * math/w_acoshf.c: Likewise.
8228 * math/w_acoshl.c: Likewise.
8229 * math/w_acosl.c: Likewise.
8230 * math/w_asin.c: Likewise.
8231 * math/w_asinf.c: Likewise.
8232 * math/w_asinl.c: Likewise.
8233 * math/w_atanh.c: Likewise.
8234 * math/w_atanhf.c: Likewise.
8235 * math/w_atanhl.c: Likewise.
8236 * math/w_exp2.c: Likewise.
8237 * math/w_exp2f.c: Likewise.
8238 * math/w_exp2l.c: Likewise.
8239 * math/w_j0.c: Likewise.
8240 * math/w_j0f.c: Likewise.
8241 * math/w_j0l.c: Likewise.
8242 * math/w_j1.c: Likewise.
8243 * math/w_j1f.c: Likewise.
8244 * math/w_j1l.c: Likewise.
8245 * math/w_jn.c: Likewise.
8246 * math/w_jnf.c: Likewise.
8247 * math/w_log.c: Likewise.
8248 * math/w_log10.c: Likewise.
8249 * math/w_log10f.c: Likewise.
8250 * math/w_log10l.c: Likewise.
8251 * math/w_log2.c: Likewise.
8252 * math/w_log2f.c: Likewise.
8253 * math/w_log2l.c: Likewise.
8254 * math/w_logf.c: Likewise.
8255 * math/w_logl.c: Likewise.
8256 * math/w_sqrt.c: Likewise.
8257 * math/w_sqrtf.c: Likewise.
8258 * math/w_sqrtl.c: Likewise.
8259 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
8260 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
8261 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
8262 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
8263 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
8264
ebaf36eb
JM
82652012-02-19 Joseph Myers <joseph@codesourcery.com>
8266
8267 [BZ #9739]
8268 * manual/string.texi (strnlen): Use correct parameter name in
8269 equivalent expression.
8270
71c254a6
JM
82712012-02-19 Joseph Myers <joseph@codesourcery.com>
8272
8273 [BZ #11174]
8274 * manual/users.texi (seteuid): Consistently use neweuid for
8275 argument name.
8276
16d2c631
JM
82772012-02-19 Joseph Myers <joseph@codesourcery.com>
8278
8279 [BZ #13704]
8280 * manual/nss.texi (Services in the NSS configuration): Correct
8281 list of services in example configuration file.
8282
cd837b09
NB
82832012-02-19 Nick Bowler <nbowler@draconx.ca>
8284
8285 [BZ #11322]
8286 * manual/arith.texi: Remove statements about negative zero
8287 behaving identically to zero.
8288
02c4bbad
JM
82892012-02-18 Joseph Myers <joseph@codesourcery.com>
8290
8291 [BZ #5993]
8292 * manual/install.texi: Do not document upgrading from libc5.
8293
366842e7
JM
82942012-02-18 Joseph Myers <joseph@codesourcery.com>
8295
8296 [BZ #4596]
8297 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
8298
dd54084d
DM
82992012-02-18 David S. Miller <davem@davemloft.net>
8300
8301 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
8302 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
8303 %o7 across the call.
8304 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
8305 instead.
8306 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
8307 SETUP_PIC_REG_LEAF.
8308 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
8309 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
8310 * sysdeps/sparc/crtn.S: Likewise.
8311
2bcc53a3
UD
83122012-02-17 Ulrich Drepper <drepper@gmail.com>
8313
8314 * aout/Makefile: Remove.
8315
09c093b5
RK
83162012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
8317
8318 [BZ #13058]
8319 * manual/examples/argp-ex1.c (main): Format definition in GNU
8320 style.
8321 * manual/examples/argp-ex2.c (main): Likewise.
8322 * manual/examples/argp-ex3.c (main): Likewise.
8323 * manual/examples/argp-ex4.c (main): Likewise.
8324 * manual/examples/longopt.c (main): Use new-style prototype
8325 definition.
8326 * manual/examples/strncat.c (main): Specify return type and use
8327 (void) for arguments.
8328 * manual/examples/subopt.c (main): Use char **argv argument.
8329
2ee633a2
JM
83302012-02-17 Joseph Myers <joseph@codesourcery.com>
8331
8332 [BZ #5077]
8333 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
8334 rounding modes.
8335
0520adde
FB
83362012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
8337
8338 [BZ #6907]
8339 * manual/string.texi (strchr): Change when strchrnul is
8340 recommended.
8341
3f4081cd
DGM
83422012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
8343
8344 [BZ #174]
8345 * manual/locale.texi (setlocale): Document LOCPATH.
8346
d1b10e78
JM
83472012-02-17 Joseph Myers <joseph@codesourcery.com>
8348
8349 [BZ #10210]
8350 * manual/process.texi (execle): Move @dots{} before last argument.
8351
79c6869c
PB
83522012-02-17 Paul Bolle <pebolle@tiscali.nl>
8353
8354 [BZ #12047]
8355 * manual/charset.texi (Generic Charset Conversion): Fix typo
8356 (LC_TYPE -> LC_CTYPE).
8357
cc6e48bc
NB
83582012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
8359
8360 [BZ #5805]
8361 * manual/arith.texi (scalbn): Use @var{} on parameter names.
8362 (scalbnf): Likewise.
8363 (scalbnl): Likewise.
8364 (scalbln): Likewise.
8365 (scalblnf): Likewise.
8366 (scalblnl): Likewise.
8367 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
8368 (vwarnx): Likewise.
8369 (verr): Likewise.
8370 (verrx): Likewise.
8371 * manual/filesys.texi (telldir): Use braces around return type.
8372 * manual/llio.texi (mmap): Add space after comma.
8373 (mmap64): Likewise.
8374 * manual/math.texi (jn): Use @var{} on parameter names.
8375 (jnf): Likewise.
8376 (jnl): Likewise.
8377 (yn): Likewise.
8378 (ynf): Likewise.
8379 (ynl): Likewise.
8380 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
8381 line.
8382 * manual/resource.texi (ulimit): Use @dots{} instead of literal
8383 "...".
8384 (sched_get_priority_min): Remove semicolon on @deftypefun line.
8385 (sched_get_priority_max): Likewise.
8386 * manual/signal.texi (sigvec): Add space after comma.
8387 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
8388 names.
8389 (if_indextoname): Likewise.
8390 (if_freenameindex): Likewise.
8391 (sendto): Use ',' instead of '.' in prototype.
8392 * manual/startup.texi (syscall): Use @dots{} instead of literal
8393 "...".
8394 * manual/stdio.texi (__fpending): Separate initial words of
8395 paragraph from @deftypefun line.
8396 * manual/syslog.texi (syslog): Use @dots{} instead of literal
8397 "...".
8398 (vsyslog): Use @var{} on parameter names.
8399 * manual/terminal.texi (stty): Use @var{} on parameter names.
8400 * manual/users.texi (getutmp): Use @var{} on parameter names.
8401 (getutmpx): Likewise.
8402
5b23062f
JM
84032012-02-17 Joseph Myers <joseph@codesourcery.com>
8404
8405 [BZ #6884]
8406 * manual/stdio.texi (fopen): Fix typos in description of
8407 ",ccs=STRING".
8408
8dee4833
AJ
84092012-02-17 Aurelien Jarno <aurelien@aurel32.net>
8410
8411 [BZ #4026]
8412 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
8413 get clock_id definition.
8414
9078ce93
TS
84152012-02-17 Thomas Schwinge <thomas@schwinge.name>
8416
8417 [BZ #4822]
8418 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
8419 (madvise): Cast every argument to void on its own.
8420
3835c55f
JM
84212012-02-17 Joseph Myers <joseph@codesourcery.com>
8422
8423 [BZ #9902]
8424 * manual/startup.texi (Exit Status): Fix typo.
8425
35c47e37
JM
84262012-02-17 Joseph Myers <joseph@codesourcery.com>
8427
8428 [BZ #10140]
8429 * manual/examples/argp-ex1.c: Include <stdlib.h>.
8430 * manual/examples/argp-ex2.c: Likewise.
8431 * manual/examples/argp-ex3.c: Likewise.
8432
e3b69ca7
RH
84332012-02-16 Richard Henderson <rth@redhat.com>
8434
8435 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
8436 * sysdeps/s390/s390-32/initfini.c: Remove.
8437 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
8438 * sysdeps/s390/s390-64/initfini.c: Remove.
8439
df83af67
KK
84402012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
8441
8442 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
8443 compiler output for sysdeps/generic/initfini.c.
8444 * sysdeps/sh/elf/initfini.c: Remove file.
8445
f63f3380
DM
84462012-02-16 David S. Miller <davem@davemloft.net>
8447
fb59b3a4
DM
8448 [BZ #11494]
8449 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
8450
f63f3380
DM
8451 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
8452 * sysdeps/sparc/crti.S: New file.
8453 * sysdeps/sparc/crtn.S: New file.
8454 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
8455 * sysdeps/sparc/sparc64/Makefile: Likewise.
8456
df6a4a4a
MF
84572012-02-15 Mike Frysinger <vapier@gentoo.org>
8458
6dd8f3dc 8459 [BZ #3335]
df6a4a4a
MF
8460 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
8461
1cac7236
RM
84622012-02-15 Roland McGrath <roland@hack.frob.com>
8463
d2c736f8
RM
8464 [BZ #4822]
8465 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
8466
1cac7236
RM
8467 * mach/devstream.c (cookie_io_functions_t): Macro removed.
8468 (write, read, close): Likewise.
8469 Patch by Aurelien Jarno <aurelien@aurel32.net>.
8470
8e475601
JM
84712012-02-15 Joseph Myers <joseph@codesourcery.com>
8472
8473 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
8474 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
8475 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
8476 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
8477 <bits/signalfd.h>.
8478 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
8479 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
8480 bits/signalfd.h.
8481
ed656b40
MP
84822012-02-14 Marek Polacek <polacek@redhat.com>
8483
8484 * sysdeps/x86_64/crti.S: New file.
8485 * sysdeps/x86_64/crtn.S: New file.
8486 * sysdeps/x86_64/elf/initfini.c: Remove file.
8487
2a979d3a
JM
84882012-02-13 Joseph Myers <joseph@codesourcery.com>
8489
8490 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
8491 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
8492 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
8493 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
8494 <bits/inotify.h>.
8495 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
8496 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
8497 bits/inotify.h.
8498
2a418ac3
JM
84992012-02-13 Joseph Myers <joseph@codesourcery.com>
8500
8501 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
8502 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
8503 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
8504 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
8505 <bits/eventfd.h>.
8506 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
8507 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
8508 bits/eventfd.h.
8509
fb779be7
TS
85102012-02-10 Thomas Schwinge <thomas@codesourcery.com>
8511
e19e83c5
RM
8512 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
8513 __feraiseexcept instead of feraiseexcept.
7c35ffed 8514
fb779be7
TS
8515 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
8516 nanosleep invocations.
8517 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
8518 strings, and add error checking for a nanosleep invocations.
8519
59ba27a6
PE
85202012-02-09 Paul Eggert <eggert@cs.ucla.edu>
8521
8522 Replace FSF snail mail address with URLs, as per GNU coding standards.
8523 Most of the snail mail addresses were wrong anyway, and omitting
8524 them makes the source code easier to maintain. Almost all of the
8525 changes are to license notices and to locale LC_IDENTIFICATION
8526 addresses, except for this one:
8527 * manual/libc.texinfo: In "Published by", give the FSF's URL,
8528 not its snail mail address.
8529
57b957eb
RH
85302012-02-09 Richard Henderson <rth@twiddle.net>
8531
af850b1c
RH
8532 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
8533 of kernel-features.h.
8534
57b957eb
RH
8535 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
8536
6b73181a
MP
85372012-02-08 Marek Polacek <polacek@redhat.com>
8538
8539 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
8540 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
8541 * sysdeps/gnu/_G_config.h: Likewise.
8542 * sysdeps/generic/_G_config.h: Likewise.
8543
26ecc33a
AS
85442012-02-08 Andreas Schwab <schwab@linux-m68k.org>
8545
6c6dbc63
AS
8546 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
8547 tests.
8548 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8549
e216c012
AS
8550 * sysdeps/powerpc/powerpc32/crti.S: New file.
8551 * sysdeps/powerpc/powerpc32/crtn.S: New file.
8552 * sysdeps/powerpc/powerpc64/crti.S: New file.
8553 * sysdeps/powerpc/powerpc64/crtn.S: New file.
8554
26ecc33a
AS
8555 * Makeconfig (have-initfini): Don't set.
8556 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
8557 * configure.in (nopic_initfini): Don't substitute.
8558 * config.h.in (HAVE_INITFINI): Don't #undef.
8559 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
8560 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
8561
3add8e13
JM
85622012-02-08 Joseph Myers <joseph@codesourcery.com>
8563
8564 Support crti.S and crtn.S provided directly by architectures.
8565 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
8566 [crti.S in sysdirs] (omit-deps): Likewise.
8567 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
8568 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
8569 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
8570 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
8571 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
8572 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
8573 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
8574 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
8575 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
8576 compiler output for sysdeps/generic/initfini.c.
8577 * sysdeps/i386/elf/Makefile: Remove file.
8578 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
8579
a22f12b4
MP
85802012-02-07 Marek Polacek <polacek@redhat.com>
8581
8582 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
8583 * sysdeps/gnu/_G_config.h: Likewise.
8584 * sysdeps/mach/hurd/_G_config.h: Likewise.
8585
148cf100
MP
85862012-02-07 Marek Polacek <polacek@redhat.com>
8587
8588 * math/Makefile (tests): Add tst-CMPLX2.
8589 * math/tst-CMPLX2.c: New file.
8590
cfdc0dd7
AS
85912012-02-07 Andreas Schwab <schwab@linux-m68k.org>
8592
84ba42c4
AS
8593 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
8594
cfdc0dd7
AS
8595 * math/libm-test.inc (jn_test): Add missing L suffix.
8596
622c86f4
MP
85972012-02-06 Marek Polacek <polacek@redhat.com>
8598
8599 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
8600 * sysdeps/i386/fpu/e_powf.S: Likewise.
8601 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
8602 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
8603 * sysdeps/i386/fpu/e_acosh.S: Likewise.
8604 * sysdeps/i386/fpu/e_pow.S: Likewise.
8605 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
8606 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
8607 * sysdeps/i386/fpu/s_expm1.S: Likewise.
8608 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
8609 * sysdeps/i386/fpu/e_log2.S: Likewise.
8610 * sysdeps/i386/fpu/e_log2l.S: Likewise.
8611 * sysdeps/i386/fpu/e_scalb.S: Likewise.
8612 * sysdeps/i386/fpu/e_powl.S: Likewise.
8613 * sysdeps/i386/fpu/s_log1p.S: Likewise.
8614 * sysdeps/i386/fpu/e_log10f.S: Likewise.
8615 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
8616 * sysdeps/i386/fpu/e_logl.S: Likewise.
8617 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
8618 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
8619 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
8620 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
8621 * sysdeps/i386/fpu/e_log2f.S: Likewise.
8622 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
8623 * sysdeps/i386/fpu/e_log.S: Likewise.
8624 * sysdeps/i386/fpu/s_cexp.S: Likewise.
8625 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
8626 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
8627 * sysdeps/i386/fpu/e_logf.S: Likewise.
8628 * sysdeps/i386/fpu/e_log10l.S: Likewise.
8629 * sysdeps/i386/fpu/e_atanh.S: Likewise.
8630 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
8631 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
8632 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
8633 * sysdeps/i386/fpu/e_log10.S: Likewise.
8634 * sysdeps/i386/fpu/s_frexp.S: Likewise.
8635 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
8636 * sysdeps/i386/fpu/s_asinh.S: Likewise.
8637 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
8638 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
8639 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
8640 * sysdeps/i386/asm-syntax.h: Likewise.
8641 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
8642 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
8643 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
8644 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
8645 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
8646 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
8647 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
8648 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
8649 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
8650 * sysdeps/powerpc/sysdep.h: Likewise.
8651 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
8652 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
8653
d4a54ac6
JM
86542012-02-06 Joseph Myers <joseph@codesourcery.com>
8655
8656 [BZ #411]
8657 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
8658
314054ea
JM
86592012-02-06 Joseph Myers <joseph@codesourcery.com>
8660
8661 * sysdeps/i386/sysdep.h: Include <features.h>.
8662 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
8663 version.
8664
d8e0ca50
JM
86652012-02-05 Joseph Myers <joseph@codesourcery.com>
8666
8667 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
8668 Define.
8669 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
8670 LOAD_PIC_REG_STR.
8671
b1da7dd9
JM
86722012-02-03 Joseph Myers <joseph@codesourcery.com>
8673
8674 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
8675 (SETUP_PIC_REG): Use GET_PC_THUNK.
8676 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
8677 macro.
8678
9a1d9254
JM
86792012-02-03 Joseph Myers <joseph@codesourcery.com>
8680
8681 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
8682 for non-PIC compilation.
8683 (SETUP_PIC_REG): Add .p2align directive.
8684 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
8685 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
8686 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
8687 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
8688 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
8689 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
8690 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
8691 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
8692 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
8693 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
8694 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
8695 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
8696 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
8697 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
8698 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
8699 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
8700 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
8701 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
8702 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
8703 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
8704 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
8705 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
8706 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
8707 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
8708 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
8709 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
8710 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
8711 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
8712 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
8713 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
8714 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
8715 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
8716 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
8717 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
8718 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
8719 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
8720 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
8721 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
8722 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
8723 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
8724 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
8725
65dc3b75
JM
87262012-02-03 Joseph Myers <joseph@codesourcery.com>
8727
8728 * math/tst-CMPLX.c: Include <stdio.h>.
8729
d55bf177
JM
87302012-01-31 Joseph Myers <joseph@codesourcery.com>
8731
8732 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
8733 float.
8734 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
8735 * sysdeps/sparc/bits/mathdef.h: Likewise.
8736
69db4f8f
MP
87372012-01-31 Marek Polacek <polacek@redhat.com>
8738
8739 * libio/libio.h: Don't define _PARAMS.
8740 * locale/programs/config.h: Don't define PARAMS.
8741 * stdlib/strtol_l.c: Likewise.
8742 (__strtol_l): Remove PARAMS from the prototype.
8743
41b81892
UD
87442012-01-31 Ulrich Drepper <drepper@gmail.com>
8745
3b49edc0
UD
8746 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
8747 names. Just use the correct names. Remove unnecessary wrapper
8748 functions.
8749 * malloc/arena.c: Likewise.
8750 * malloc/hooks.c: Likewise.
8751
41b81892
UD
8752 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
8753 ARENA_TEST says not to. Simplify test for creation of a new arena.
8754 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
8755
27a25b6e
UD
87562012-01-30 Ulrich Drepper <drepper@gmail.com>
8757
8758 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
8759 into tail calls.
8760 (update_get_addr): New function.
8761 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
8762 GET_ADDR_MODULE parameter.
8763
c8a89e7d
JM
87642012-01-30 Joseph Myers <joseph@codesourcery.com>
8765
8766 * crypt/cert.c: Remove __STDC__ conditionals.
8767 * crypt/crypt-entry.c: Likewise.
8768 * crypt/crypt_util.c: Likewise.
8769 * libio/filedoalloc.c: Likewise.
8770 * libio/fileops.c: Likewise.
8771 * libio/genops.c: Likewise.
8772 * libio/iofclose.c: Likewise.
8773 * libio/iofdopen.c: Likewise.
8774 * libio/iofopen.c: Likewise.
8775 * libio/iofopen64.c: Likewise.
8776 * libio/iogetdelim.c: Likewise.
8777 * libio/iopopen.c: Likewise.
8778 * libio/obprintf.c: Likewise.
8779 * libio/oldfileops.c: Likewise.
8780 * libio/oldiofclose.c: Likewise.
8781 * libio/oldiofdopen.c: Likewise.
8782 * libio/oldiofopen.c: Likewise.
8783 * libio/oldiopopen.c: Likewise.
8784 * libio/wfiledoalloc.c: Likewise.
8785 * libio/wgenops.c: Likewise.
8786 * locale/programs/xmalloc.c: Likewise.
8787 * misc/syslog.c: Likewise.
8788 * stdio-common/xbug.c: Likewise.
8789 * string/memchr.c: Likewise.
8790 * string/memcmp.c: Likewise.
8791 * string/memrchr.c: Likewise.
8792 * string/rawmemchr.c: Likewise.
8793 * sysdeps/posix/getcwd.c: Likewise.
8794 * time/strftime_l.c: Likewise.
8795
3b100462
JM
87962012-01-30 Joseph Myers <joseph@codesourcery.com>
8797
8798 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
8799 * config.make.in (config-cflags-sse2avx): Define.
8800 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
8801 Fix typo.
8802
607998af
CM
88032012-01-29 Chris Metcalf <cmetcalf@tilera.com>
8804
8805 * scripts/config.guess: Update from upstream config git repository.
8806 * scripts/config.sub: Likewise.
8807
3601428f
CM
88082012-01-28 Chris Metcalf <cmetcalf@tilera.com>
8809
3ac8b282
CM
8810 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
8811 (EM_NUM): Update.
8812 (R_TILEPRO_*, R_TILEGX_*): New macros.
8813
e034841e
CM
8814 * scripts/firstversions.awk: Fix bug in version range handling.
8815
540d7568
CM
8816 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
8817
3601428f
CM
8818 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
8819
463de862
CM
8820 * include/sys/epoll.h: New file.
8821 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
8822 libc_hidden_def.
8823
73139a76
UD
88242012-01-28 Ulrich Drepper <drepper@gmail.com>
8825
96bc5b45
UD
8826 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
8827 Avoid unnecessary __WORDSIZE == 64 test.
8828 (fmaxf): Use VEX format if possible.
8829 (fmax): Likewise.
8830 (fminf): Likewise.
8831 (fmin): Likewise.
8832
56f6f6a2
UD
8833 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
8834 * math/math_private.h: Remove libc_fegetround* and
8835 libc_fesetround*.
8836 * sysdeps/i386/configure.in: Check for -msse2avx.
8837 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
8838 also if SSE2AVX is defined.
8839 Remove libc_fegetround* and libc_fesetround*.
8840 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
8841 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
8842 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
8843 of HAS_YMM_USABLE.
8844 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
8845 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
8846 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
8847 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
8848 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
8849
73139a76
UD
8850 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
8851
d73f93a4
AZ
88522012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8853
8854 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
8855 size is not set.
8856 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
8857
6ee65ed6
UD
88582012-01-27 Ulrich Drepper <drepper@gmail.com>
8859
8860 [BZ #13618]
8861 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
8862 relocation.
8863 * Makeconfig (libm): Define.
8864 * elf/Makefile: Add rules to build and run tst-relsort1.
8865 * elf/tst-relsort1.c: New file.
8866 * elf/tst-relsort1mod1.c: New file.
8867 * elf/tst-relsort1mod2.c: New file.
8868
8db21882
JM
88692012-01-27 Joseph Myers <joseph@codesourcery.com>
8870
8871 * math/s_ldexp.c: Remove __STDC__ conditionals.
8872 * math/s_ldexpf.c: Likewise.
8873 * math/s_ldexpl.c: Likewise.
8874 * math/s_nextafter.c: Likewise.
8875 * math/s_nexttowardf.c: Likewise.
8876 * math/s_significand.c: Likewise.
8877 * math/s_significandf.c: Likewise.
8878 * math/s_significandl.c: Likewise.
8879 * math/w_jnl.c: Likewise.
8880 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
8881 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
8882 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
8883 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
8884 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
8885 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
8886 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
8887 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
8888 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
8889 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
8890 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
8891 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
8892 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
8893 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
8894 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
8895 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
8896 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
8897 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
8898 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
8899 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
8900 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
8901 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
8902 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
8903 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
8904 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
8905 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
8906 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
8907 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
8908 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
8909 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
8910 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
8911 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
8912 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
8913 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
8914 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
8915 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
8916 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
8917 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
8918 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
8919 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
8920 * sysdeps/ieee754/k_standard.c: Likewise.
8921 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
8922 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
8923 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
8924 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
8925 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
8926 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
8927 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
8928 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
8929 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
8930 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
8931 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
8932 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
8933 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
8934 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
8935 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
8936 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
8937 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
8938 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
8939 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
8940 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
8941 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
8942 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
8943 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
8944 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
8945 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
8946 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
8947 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
8948 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
8949 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
8950 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
8951 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
8952 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
8953 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
8954 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
8955 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
8956 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
8957 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
8958 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
8959 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
8960 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
8961 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
8962 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
8963 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
8964 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
8965 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
8966 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
8967 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
8968 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
8969 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
8970 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
8971 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
8972 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
8973 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
8974 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
8975 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
8976 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
8977 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
8978 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
8979 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
8980 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
8981 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
8982 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
8983 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
8984 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
8985 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
8986 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
8987 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
8988 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
8989 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
8990 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
8991 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
8992 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
8993 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
8994 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
8995 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
8996 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
8997 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
8998 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
8999 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
9000 * sysdeps/ieee754/s_matherr.c: Likewise.
9001 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
9002 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
9003 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
9004 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
9005
965a54a4
JM
90062012-01-26 Joseph Myers <joseph@codesourcery.com>
9007
9008 * crypt/md5.h: Remove __STDC__ conditionals.
9009 * libio/libioP.h: Likewise.
9010 * locale/programs/config.h: Likewise.
9011 * sysdeps/generic/sysdep.h: Likewise.
9012 * sysdeps/i386/asm-syntax.h: Likewise.
9013 * sysdeps/s390/asm-syntax.h: Likewise.
9014 * sysdeps/unix/sysdep.h: Likewise.
9015 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
9016 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
9017
7071ad79
JM
90182012-01-26 Joseph Myers <joseph@codesourcery.com>
9019
9020 * libio/libio.h: Remove __STDC__ conditionals.
9021 * malloc/obstack.h: Likewise.
9022 * math/complex.h: Likewise.
9023 * math/math.h: Likewise.
9024 * sysdeps/generic/_G_config.h: Likewise.
9025 * sysdeps/gnu/_G_config.h: Likewise.
9026 * sysdeps/mach/hurd/_G_config.h: Likewise.
9027 * sysdeps/powerpc/bits/mathdef.h: Likewise.
9028 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
9029 * sysdeps/sparc/bits/mathdef.h: Likewise.
9030
afc5ed09
UD
90312012-01-26 Ulrich Drepper <drepper@gmail.com>
9032
9033 [BZ #13583]
9034 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 9035 Clean up HAS_* macros.
afc5ed09 9036 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
9037 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
9038 possible.
9039 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
9040 HAS_AVX.
9041 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
9042 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
9043 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
9044 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
9045 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 9046
bdb6de1d
JM
90472012-01-25 Joseph Myers <joseph@codesourcery.com>
9048
9049 * elf/tst-unique3.cc (gets): Remove declaration.
9050 * elf/tst-unique3lib.cc (gets): Likewise.
9051 * elf/tst-unique3lib2.cc (gets): Likewise.
9052 * elf/tst-unique4.cc (gets): Likewise.
9053
b15549e6
UD
90542012-01-24 Ulrich Drepper <drepper@gmail.com>
9055
9056 * include/stdio.h: Add C++ protection. Add gets declarations and
9057 definitions.
9058 * debug/tst-chk1.c: Don't declare gets here.
9059 * stdio-common/tst-gets.c: Likewise.
9060
a037381f
JM
90612012-01-24 Joseph Myers <joseph@codesourcery.com>
9062
9063 * posix/glob: Remove directory.
9064
f1d4aa75
JM
90652012-01-24 Joseph Myers <joseph@codesourcery.com>
9066
9067 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
9068
81c0c964
PT
90692012-01-22 Pino Toscano <toscano.pino@tiscali.it>
9070
9071 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
9072 of the non-standard EPFNOSUPPORT.
9073
0ea698ae
ST
90742011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
9075
9076 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
9077 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
9078 ANYWHERE set to 1 only on KERN_NO_SPACE error.
9079
d220b117
UD
90802012-01-21 Ulrich Drepper <drepper@gmail.com>
9081
9082 * wcsmbs/uchar.h: Test __STDC_VERSION__.
9083
3e1aa84e
UD
90842012-01-20 Ulrich Drepper <drepper@gmail.com>
9085
9086 * nscd/aicache.c (addhstaiX): Do not cache negative results of
9087 transient errors.
9088 * nscd/grpcache.c (cache_addgr): Likewise.
9089 * nscd/hstcache.c (cache_addhst): Likewise.
9090 * nscd/initgrcache.c (addinitgroupsX): Likewise.
9091 * nscd/pwdcache.c (cache_addpw): Likewise.
9092 * nscd/servicescache.c (cache_addserv): Likewise.
9093
400aa020
UD
90942012-01-16 Ulrich Drepper <drepper@gmail.com>
9095
d77e7869
UD
9096 * malloc/malloc.c: Various cleanups.
9097 * malloc/hooks.c: Likewise.
9098
400aa020
UD
9099 * stdlib/Makefile (tests): Add bug-fmtmsg1.
9100 * stdlib/bug-fmtmsg1.c: New file.
9101
9102 * stdlib/fmtmsg.c (init): Add missing unlock.
9103 Patch by Peng Haitao <penght@cn.fujitsu.com>.
9104
e0a309cf
MP
91052012-01-12 Marek Polacek <polacek@redhat.com>
9106
9107 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
9108 and _GNU_SOURCE.
9109
929d11c7
WS
91102012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
9111
9112 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
9113 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
9114 macro to ensure uniqueness of label name.
9115 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
9116 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
9117
41d0e869
UD
91182012-01-11 Ulrich Drepper <drepper@gmail.com>
9119
0cc5ed3b
UD
9120 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
9121
41d0e869
UD
9122 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
9123 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
9124 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
9125 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
9126
a47a831a
UD
91272012-01-10 Ulrich Drepper <drepper@gmail.com>
9128
daa891c0
UD
9129 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
9130
9131 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
9132 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
9133 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
9134
e58ef0f2
UD
9135 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
9136
a47a831a 9137 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
9138 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
9139 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 9140 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
9141
9142 * math/bits/math-finite.h: Add ldexp support.
9143
a0bfc9c7
MP
91442012-01-10 Marek Polacek <polacek@redhat.com>
9145
9146 * locale/programs/localedef.h (show_archive_content): Add noreturn
9147 attribute.
9148
d6e97a1d
UD
91492012-01-09 Ulrich Drepper <drepper@gmail.com>
9150
9151 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
9152
d5835c26
UD
91532012-01-08 Ulrich Drepper <drepper@gmail.com>
9154
e5f484c6
UD
9155 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
9156
d5835c26
UD
9157 * io/Makefile (headers): Add bits/poll2.h.
9158
d1f741e9
WS
91592011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
9160
9161 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
9162 typo #include statement.
9163
ec09c1c4
UD
91642012-01-08 Ulrich Drepper <drepper@gmail.com>
9165
9166 * include/sys/cdefs.h: Define __attribute_alloc_size.
9167 * catgets/gencat.c: Add alloc_size attribute and apply consistently
9168 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
9169 * elf/pldd.c: Likewise.
9170 * iconv/iconv_charmap.c: Likewise.
9171 * iconv/iconvconfig.c: Likewise.
9172 * iconv/strtab.c: Likewise.
9173 * locale/programs/locale.c: Likewise.
9174 * locale/programs/localedef.h: Likewise.
9175 * locale/programs/simple-hash.c: Likewise.
9176 * nscd/nscd.h: Likewise.
9177 * nss/makedb.c: Likewise.
9178 * sysdeps/generic/ldconfig.h: Likewise.
9179 * locale/programs/localedef.c: Remove xmalloc prototype.
9180 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
9181
20b38e03
PP
91822012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
9183
9184 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
9185 appropriate.
9186
a0da5fe1
UD
91872012-01-08 Ulrich Drepper <drepper@gmail.com>
9188
1d5a644a 9189 * math/Makefile (tests): Add tst-CMPLX.
669704fd 9190 * math/tst-CMPLX.c: New file.
1d5a644a 9191
8784a6db
UD
9192 * math/complex.h (CMPLXL): Fix typo.
9193
d9a216c0
UD
9194 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
9195 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
9196 GLIBC_2.16.
9197 * debug/tst-chk1.c: Add poll and ppoll tests.
9198 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
9199 * include/sys/poll.h: Add hidden proto for ppoll.
9200 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
9201 * sysdeps/mach/hurd/ppoll.c: Likewise.
9202 * io/ppoll.c: Likewise.
9203 * debug/poll_chk.c: New file.
9204 * debug/ppoll_chk.c: New file.
9205 * include/bits/poll2.h: New file.
9206 * io/bits/poll2.h: New file.
9207
ac097f5c
UD
9208 [BZ #1350]
9209 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
9210
2119dcfa
UD
9211 * configure.in: static is always set to yes. Remove.
9212 * config.make.in: Don't set build-static.
9213 * Makeconfig: Remove use of build-static.
9214 * dlfcn/Makefile: Likewise.
9215 * elf/Makefile: Likewise.
9216 * math/Makefile: Likewise.
9217 * misc/Makefile: Likewise.
9218 * nptl/Makefile: Likewise.
9219 * sysdeps/mach/hurd/Makefile: Likewise.
9220
121766a9
UD
9221 * configure.in: PWD_P is not used anymore.
9222 * config.make.in: Remove PWD_P entry.
9223
51a1d39c 9224 * configure.in: Remove last remnants of RANLIB.
8720d066 9225 No need to check for signed size_t anymore.
215f4bdc
UD
9226 Don't set libc_commonpagesize and libc_relro_required here for Alpha
9227 and IA-64.
3857022a 9228 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
9229 * aclocal.m4: Likewise.
9230
d3ed7225
UD
9231 * wcsmbs/mbrtoc16.c: Implement using towc function.
9232 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
9233 * wcsmbs/wcsmbsload.c: Likewise.
9234 * iconv/gconv_simple.c: Likewise.
9235 * iconv/gconv_int.h: Likewise.
9236 * iconv/gconv_builtin.h: Likewise.
9237 * iconv/iconv_prog.c: Remove CHAR16 handling.
9238
9239 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
9240
9241 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
9242
a0da5fe1
UD
9243 * configure.in: Remove --with-elf and --enable-bounded options.
9244 Dont set base_machine for ia64. More non-ELF conditions removed.
9245 Remove testing and setting of leading underscore information.
9246 * config.make.in (build-bounded): Set to no.
9247 * config.h.in: Remove NO_UNDERSCORES entry.
9248 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
9249 them.
9250 * csu/start.c: Remove !NO_UNDERSCORE code.
9251 * locale/localeinfo.h: Likewise.
9252 * sysdeps/generic/machine-gmon.h: Likewise.
9253 * sysdeps/generic/sysdep.h: Likewise.
9254 * sysdeps/i386/sysdep.h: Likewise.
9255 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
9256 * sysdeps/mach/sysdep.h: Likewise.
9257 * sysdeps/s390/s390-32/sysdep.h: Likewise.
9258 * sysdeps/s390/s390-64/sysdep.h: Likewise.
9259 * sysdeps/sh/sysdep.h: Likewise.
9260 * sysdeps/sparc/sparc32/alloca.S: Likewise.
9261 * sysdeps/unix/i386/sysdep.S: Likewise.
9262 * sysdeps/unix/sparc/start.c: Likewise.
9263 * sysdeps/unix/sparc/sysdep.S: Likewise.
9264 * sysdeps/unix/sparc/sysdep.h: Likewise.
9265 * sysdeps/unix/start.c: Likewise.
9266 * sysdeps/unix/x86_64/sysdep.S: Likewise.
9267 * sysdeps/x86_64/sysdep.h: Likewise.
9268
df78418a
UD
92692012-01-07 Ulrich Drepper <drepper@gmail.com>
9270
a784e502
UD
9271 [BZ #13553]
9272 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
9273 for non-gcc.
9274 * argp/argp-fmtstream.h: Use const instead __const.
9275 * argp/argp.h: Likewise.
9276 * assert/assert.h: Likewise.
9277 * bits/fenv.h: Likewise.
9278 * bits/sched.h: Likewise.
9279 * bits/sigset.h: Likewise.
9280 * bits/sigthread.h: Likewise.
9281 * catgets/nl_types.h: Likewise.
9282 * conform/data/pthread.h-data: Likewise.
9283 * crypt/crypt-private.h: Likewise.
9284 * crypt/crypt.h: Likewise.
9285 * crypt/crypt_util.c: Likewise.
9286 * ctype/ctype.h: Likewise.
9287 * debug/execinfo.h: Likewise.
9288 * debug/mbsnrtowcs_chk.c: Likewise.
9289 * debug/mbsrtowcs_chk.c: Likewise.
9290 * debug/wcsnrtombs_chk.c: Likewise.
9291 * debug/wcsrtombs_chk.c: Likewise.
9292 * debug/wcstombs_chk.c: Likewise.
9293 * dirent/dirent.h: Likewise.
9294 * dlfcn/dlfcn.h: Likewise.
9295 * elf/neededtest4.c: Likewise.
9296 * grp/grp.h: Likewise.
9297 * gshadow/gshadow.h: Likewise.
9298 * iconv/gconv.h: Likewise.
9299 * iconv/gconv_int.h: Likewise.
9300 * iconv/gconv_simple.c: Likewise.
9301 * iconv/iconv.h: Likewise.
9302 * iconv/loop.c: Likewise.
9303 * iconv/skeleton.c: Likewise.
9304 * include/aio.h: Likewise.
9305 * include/aliases.h: Likewise.
9306 * include/argz.h: Likewise.
9307 * include/arpa/inet.h: Likewise.
9308 * include/assert.h: Likewise.
9309 * include/dirent.h: Likewise.
9310 * include/dlfcn.h: Likewise.
9311 * include/execinfo.h: Likewise.
9312 * include/fcntl.h: Likewise.
9313 * include/fenv.h: Likewise.
9314 * include/glob.h: Likewise.
9315 * include/grp.h: Likewise.
9316 * include/libintl.h: Likewise.
9317 * include/mntent.h: Likewise.
9318 * include/netdb.h: Likewise.
9319 * include/pwd.h: Likewise.
9320 * include/rpc/netdb.h: Likewise.
9321 * include/sched.h: Likewise.
9322 * include/search.h: Likewise.
9323 * include/shadow.h: Likewise.
9324 * include/signal.h: Likewise.
9325 * include/stdio.h: Likewise.
9326 * include/stdlib.h: Likewise.
9327 * include/string.h: Likewise.
9328 * include/sys/socket.h: Likewise.
9329 * include/sys/stat.h: Likewise.
9330 * include/sys/statfs.h: Likewise.
9331 * include/sys/statvfs.h: Likewise.
9332 * include/sys/syslog.h: Likewise.
9333 * include/sys/time.h: Likewise.
9334 * include/sys/uio.h: Likewise.
9335 * include/time.h: Likewise.
9336 * include/unistd.h: Likewise.
9337 * include/utmp.h: Likewise.
9338 * include/wchar.h: Likewise.
9339 * include/wctype.h: Likewise.
9340 * inet/aliases.h: Likewise.
9341 * inet/arpa/inet.h: Likewise.
9342 * inet/netinet/ether.h: Likewise.
9343 * inet/netinet/in.h: Likewise.
9344 * intl/libintl.h: Likewise.
9345 * io/bits/fcntl2.h: Likewise.
9346 * io/fcntl.h: Likewise.
9347 * io/ftw.h: Likewise.
9348 * io/sys/poll.h: Likewise.
9349 * io/sys/stat.h: Likewise.
9350 * io/sys/statfs.h: Likewise.
9351 * io/sys/statvfs.h: Likewise.
9352 * io/utime.h: Likewise.
9353 * libio/bits/stdio.h: Likewise.
9354 * libio/bits/stdio2.h: Likewise.
9355 * libio/libio.h: Likewise.
9356 * libio/libioP.h: Likewise.
9357 * libio/stdio.h: Likewise.
9358 * locale/lc-ctype.c: Likewise.
9359 * locale/locale.h: Likewise.
9360 * login/utmp.h: Likewise.
9361 * malloc/arena.c: Likewise.
9362 * malloc/malloc.c: Likewise.
9363 * malloc/malloc.h: Likewise.
9364 * malloc/mcheck.c: Likewise.
9365 * malloc/mtrace.c: Likewise.
9366 * math/bits/mathcalls.h: Likewise.
9367 * math/fenv.h: Likewise.
9368 * math/math_private.h: Likewise.
9369 * misc/bits/error.h: Likewise.
9370 * misc/bits/syslog.h: Likewise.
9371 * misc/err.h: Likewise.
9372 * misc/error.h: Likewise.
9373 * misc/fstab.h: Likewise.
9374 * misc/mntent.h: Likewise.
9375 * misc/regexp.h: Likewise.
9376 * misc/search.h: Likewise.
9377 * misc/sgtty.h: Likewise.
9378 * misc/sys/mman.h: Likewise.
9379 * misc/sys/syslog.h: Likewise.
9380 * misc/sys/uio.h: Likewise.
9381 * misc/sys/xattr.h: Likewise.
9382 * misc/ttyent.h: Likewise.
9383 * nis/rpcsvc/ypclnt.h: Likewise.
9384 * nss/nss.h: Likewise.
9385 * posix/bits/unistd.h: Likewise.
9386 * posix/fnmatch.h: Likewise.
9387 * posix/glob.h: Likewise.
9388 * posix/sched.h: Likewise.
9389 * posix/spawn.h: Likewise.
9390 * posix/sys/wait.h: Likewise.
9391 * posix/unistd.h: Likewise.
9392 * posix/wordexp.h: Likewise.
9393 * pwd/pwd.h: Likewise.
9394 * resolv/netdb.h: Likewise.
9395 * resource/sys/resource.h: Likewise.
9396 * rt/aio.h: Likewise.
9397 * rt/bits/mqueue2.h: Likewise.
9398 * rt/mqueue.h: Likewise.
9399 * shadow/shadow.h: Likewise.
9400 * signal/signal.h: Likewise.
9401 * socket/send.c: Likewise.
9402 * socket/sendto.c: Likewise.
9403 * socket/sys/socket.h: Likewise.
9404 * stdio-common/printf.h: Likewise.
9405 * stdlib/bits/stdlib.h: Likewise.
9406 * stdlib/fmtmsg.h: Likewise.
9407 * stdlib/monetary.h: Likewise.
9408 * stdlib/stdlib.h: Likewise.
9409 * stdlib/ucontext.h: Likewise.
9410 * streams/stropts.h: Likewise.
9411 * string/argz.h: Likewise.
9412 * string/bits/string2.h: Likewise.
9413 * string/string.h: Likewise.
9414 * string/strings.h: Likewise.
9415 * sunrpc/rpc/auth.h: Likewise.
9416 * sunrpc/rpc/auth_des.h: Likewise.
9417 * sunrpc/rpc/clnt.h: Likewise.
9418 * sunrpc/rpc/netdb.h: Likewise.
9419 * sunrpc/rpc/pmap_clnt.h: Likewise.
9420 * sunrpc/rpc/xdr.h: Likewise.
9421 * sysdeps/generic/inttypes.h: Likewise.
9422 * sysdeps/generic/net/if.h: Likewise.
9423 * sysdeps/generic/sys/swap.h: Likewise.
9424 * sysdeps/gnu/net/if.h: Likewise.
9425 * sysdeps/gnu/utmpx.h: Likewise.
9426 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
9427 * sysdeps/i386/i486/bits/string.h: Likewise.
9428 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
9429 * sysdeps/s390/bits/string.h: Likewise.
9430 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
9431 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
9432 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
9433 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
9434 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
9435 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
9436 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
9437 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
9438 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
9439 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
9440 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
9441 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
9442 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
9443 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
9444 * sysdeps/unix/sysv/linux/readv.c: Likewise.
9445 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
9446 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
9447 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
9448 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
9449 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
9450 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
9451 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
9452 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
9453 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
9454 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
9455 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
9456 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
9457 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
9458 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
9459 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
9460 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
9461 * sysvipc/sys/ipc.h: Likewise.
9462 * sysvipc/sys/msg.h: Likewise.
9463 * sysvipc/sys/sem.h: Likewise.
9464 * sysvipc/sys/shm.h: Likewise.
9465 * termios/termios.h: Likewise.
9466 * time/sys/time.h: Likewise.
9467 * time/time.h: Likewise.
9468 * wcsmbs/bits/wchar2.h: Likewise.
9469 * wcsmbs/uchar.h: Likewise.
9470 * wcsmbs/wchar.h: Likewise.
9471 * wctype/wctype.h: Likewise.
9472
0269750c
UD
9473 [BZ #13551]
9474 * Makeconfig: Remove all but ELF support including AIX support.
9475 * Makerules: Likewise.
9476 * config.h.in: Likewise.
9477 * config.make.in: Likewise.
9478 * configure: Likewise.
9479 * configure.in: Likewise.
9480 * csu/Makefile: Likewise.
9481 * csu/version.c: Likewise.
9482 * debug/Makefile: Likewise.
9483 * dlfcn/Makefile: Likewise.
9484 * elf/Makefile: Likewise.
9485 * extra-lib.mk: Likewise.
9486 * iconv/Makefile: Likewise.
9487 * include/libc-symbols.h: Likewise.
9488 * include/shlib-compat.h: Likewise.
9489 * resolv/Makefile: Likewise.
9490 * resolv/res_libc.c: Likewise.
9491 * rt/Makefile: Likewise.
9492 * sysdeps/i386/asm-syntax.h: Likewise.
9493 * sysdeps/i386/sysdep.h: Likewise.
9494 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
9495 * sysdeps/mach/sysdep.h: Likewise.
9496 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
9497 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
9498 * sysdeps/s390/asm-syntax.h: Likewise.
9499 * sysdeps/s390/s390-32/sysdep.h: Likewise.
9500 * sysdeps/s390/s390-64/sysdep.h: Likewise.
9501 * sysdeps/sh/sysdep.h: Likewise.
9502 * sysdeps/unix/sparc/sysdep.h: Likewise.
9503 * sysdeps/wordsize-32/divdi3.c: Likewise.
9504 * sysdeps/x86_64/sysdep.h: Likewise.
9505
00bbd29b
UD
9506 * argp/Versions: Remove _argp_unlock_xxx.
9507
9508 [BZ #13559]
9509 * abilist/ld.abilist: Update. Adjust for removal of tls option.
9510 * abilist/libBrokenLocale.abilist: Likewise.
9511 * abilist/libanl.abilist: Likewise.
9512 * abilist/libc.abilist: Likewise.
9513 * abilist/libcrypt.abilist: Likewise.
9514 * abilist/libdl.abilist: Likewise.
9515 * abilist/libm.abilist: Likewise.
9516 * abilist/libnsl.abilist: Likewise.
9517 * abilist/libpthread.abilist: Likewise.
9518 * abilist/libresolv.abilist: Likewise.
9519 * abilist/librt.abilist: Likewise.
9520 * abilist/libthread_db.abilist: Likewise.
9521 * abilist/libutil.abilist: Likewise.
9522 * abilist/libnss_db.abilist: New file.
9523
9524 * scripts/abilist.awk: Add support for indirect functions.
9525
a2693a0e
UD
9526 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
9527
3f05895f
UD
9528 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
9529
ecb6fb48
UD
9530 * shlib-versions: Remove entries for ports architectures.
9531
664f8cb9
UD
9532 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
9533 files in ports.
9534 * elf/stackguard-macros.h: Remove support for IA-64.
9535 * elf/tst-auditmod1.c: Likewise.
9536 * sysdeps/generic/ldsodefs.h: Likewise.
9537
7ae81d88
UD
9538 * sysdeps/unix/sysv/linux/configure.in: Ports should define
9539 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
9540 configure files.
9541
bdeba135
UD
9542 [BZ #13552]
9543 * configure.in: Remove --enable-omitfp support.
9544 * FAQ.in: Adjust.
9545 * config.make.in: Likewise.
9546 * Makeconfig: Likewise.
9547 * manual/install.texi: Likewise.
9548
d75a0a62
UD
9549 In case anyone cares, the IA-64 architecture could move to ports.
9550 * sysdeps/ia64/*: Removed.
9551 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 9552 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 9553
dcc9756b
UD
9554 [BZ #13555]
9555 * configure.in: Remove entries for unsupported architectures.
9556
d3761ebc 9557 [BZ #13533]
9954432e
UD
9558 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
9559 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
9560 routines.
9561 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
9562 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
9563 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
9564 fall back to using wcrtomb.
9565 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
9566 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
9567 renaming.
9568 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
9569 * wcsmbs/tst-c16c32-1.c: New file.
9570
9571 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
9572 local variable.
9573
c3a87236
UD
9574 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
9575
28926a1b
UD
9576 * elf/tst-unique3.cc: Add explicit declaration of gets.
9577 * elf/tst-unique3lib.cc: Likewise.
9578 * elf/tst-unique3lib2.cc: Likewise.
9579 * elf/tst-unique4.cc: Likewise.
9580
df78418a
UD
9581 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
9582
8ecd6b2a
JM
95832012-01-06 Joseph Myers <joseph@codesourcery.com>
9584
9585 [BZ #13566]
9586 * assert/assert.h (static_assert): Don't define for C++.
9587 * libio/stdio.h (gets): Do declare for C++ <= C++11.
9588 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
9589
9f115170
UD
95902012-01-03 Ulrich Drepper <drepper@gmail.com>
9591
5e0d0300
UD
9592 * iconv/loop.c (single loop): Fix assertion in storing of
9593 remaining bytes.
9594
9f115170
UD
9595 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
9596
81fb02b0
UD
95972012-01-01 Ulrich Drepper <drepper@gmail.com>
9598
9599 * posix/getconf.c: Update copyright year.
9600 * nss/getent.c: Likewise.
a316c1f6 9601 * nss/makedb.c: Likewise.
81fb02b0
UD
9602 * iconv/iconvconfig.c: Likewise.
9603 * iconv/iconv_prog.c: Likewise.
9604 * elf/ldconfig.c: Likewise.
a316c1f6
UD
9605 * elf/pldd.c: Likewise.
9606 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
9607 * catgets/gencat.c: Likewise.
9608 * csu/version.c: Likewise.
9609 * elf/ldd.bash.in: Likewise.
9610 * elf/sprof.c (print_version): Likewise.
9611 * locale/programs/locale.c: Likewise.
9612 * locale/programs/localedef.c: Likewise.
a316c1f6 9613 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
9614 * nscd/nscd.c (print_version): Likewise.
9615 * debug/xtrace.sh: Likewise.
9616 * malloc/memusage.sh: Likewise.
9617 * malloc/mtrace.pl: Likewise.
9618 * debug/catchsegv.sh: Likewise.
9619
2ba92745
JJ
96202011-12-30 Jakub Jelinek <jakub@redhat.com>
9621
9622 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
9623 pure attribute.
9624
dadebdae
UD
96252011-12-24 Ulrich Drepper <drepper@gmail.com>
9626
d3761ebc 9627 [BZ #13533]
db6af3eb
UD
9628 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
9629 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
9630 transformations.
9631 * iconv/gconv_int.h: Likewise.
9632 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
9633 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
9634 from libc for GLIBC_2.16.
9635 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
9636 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
9637 * wcsmbs/uchar.h: Really define mbstate_t.
9638 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
9639 * wcsmbs/c16rtomb.c: New file.
9640 * wcsmbs/mbrtoc16.c: New file.
9641 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
9642 for C/POSIX locale.
9643 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
9644 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
9645
dadebdae
UD
9646 * wcsmbs/wchar.h: Add missing __restrict.
9647
67371b56
UD
96482011-12-23 Ulrich Drepper <drepper@gmail.com>
9649
74033a25
UD
9650 [BZ #13532]
9651 * time/Makefile (routines): Add timespec_get.
9652 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
9653 * time/time.h: Define TIME_UTC and declare timespec_get. Define
9654 timespec for ISO C11.
9655 * time/timespec_get.c: New file.
9656 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
9657 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
9658
380d7e87
UD
9659 [BZ #13531]
9660 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
9661 * stdlib/stdlib.h: Declare aligned_alloc.
9662 * Versions.def: Add GLIBC_2.16 for libc.
9663 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
9664
4e9e7a35
UD
9665 [BZ 13527]
9666 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
9667 ISO C11.
9668
380d7e87 9669 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
9670 code.
9671
03a71829
UD
9672 [BZ #13528]
9673 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
9674
839e283e
UD
9675 [BZ #13529]
9676 * assert/assert.h (static_assert): Define.
9677
ce5294e2 9678 * version.h: Update for 2.16 development version.
90fa7312 9679
8d44e150 9680 [BZ #13526]
d7809905
UD
9681 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
9682 _ISOC11_SOURCE.
9683
c0da14cd
UD
9684 * version.h (RELEASE): Bump for 2.15 release.
9685 * include/features.h (__GLIBC_MINOR__): Bump to 15.
9686
530a3249
MP
9687 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
9688 Patch by Marek Polacek <mpolacek@redhat.com>.
9689
67371b56
UD
9690 * bits/byteswap.h: Protect long long constants with __extension__.
9691 * sysdeps/i386/bits/byteswap.h: Likewise.
9692 * sysdeps/ia64/bits/byteswap.h: Likewise.
9693 * sysdeps/s390/bits/byteswap.h: Likewise.
9694 * sysdeps/x86_64/bits/byteswap.h: Likewise.
9695
15db4de1
LD
96962011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9697
9698 [BZ #13540]
bbe315ea
LD
9699 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
9700 destination buffer.
15db4de1
LD
9701 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
9702
2b2596b1
MP
97032011-12-23 Marek Polacek <polacek@redhat.com>
9704
9705 * elf/dl-addr.c (determine_info): Add inline keyword.
9706 * elf/tst-auditmod4b.c (check_avx): Likewise.
9707 * elf/tst-auditmod6b.c (check_avx): Likewise.
9708 * elf/tst-auditmod6c.c (check_avx): Likewise.
9709 * elf/tst-auditmod7b.c (check_avx): Likewise.
9710
70c6c246
UD
97112011-12-23 Ulrich Drepper <drepper@gmail.com>
9712
9713 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
9714 !__SSE_MATH__.
9715
c044cf14
LD
97162011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9717
15db4de1 9718 [BZ #13540]
c044cf14
LD
9719 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
9720 processing for last bytes.
9721
6b13d9d9
BH
97222011-08-06 Bruno Haible <bruno@clisp.org>
9723
d455f537
BH
9724 [BZ #13061]
9725 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
9726 U+0385, not to U+1FEE.
9727
6b13d9d9
BH
9728 [BZ #13062]
9729 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
9730 entry for U+00A5 U+0301.
9731
db910efd
UD
97322011-12-22 Ulrich Drepper <drepper@gmail.com>
9733
27deeafc
UD
9734 [BZ #13166]
9735 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
9736 buffer for the output is too small.
9737
aed9d171
UD
9738 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
9739 optimization.
9740
db910efd
UD
9741 [BZ #13185]
9742 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
9743 SSE flags if possible.
9744
2bd779ae
LD
97452011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9746
e7f9dac3 9747 [BZ #13540]
2bd779ae
LD
9748 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
9749 processing for last bytes.
9750
154bfc16
JM
97512011-12-22 Joseph Myers <joseph@codesourcery.com>
9752
9753 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
9754 (syscall-list-default-options, syscall-list-default-condition)
9755 (syscall-list-includes): Define.
9756 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
9757 list of ABIs and options and #if conditions for each ABI. Do not
9758 handle common syscalls between ABIs specially.
9759 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
9760 Remove.
9761 (syscall-list-variants, syscall-list-32bit-options)
9762 (syscall-list-32bit-condition, syscall-list-64bit-options)
9763 (syscall-list-64bit-condition): Define.
9764 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
9765 (syscall-list-variants, syscall-list-32bit-options)
9766 (syscall-list-32bit-condition, syscall-list-64bit-options)
9767 (syscall-list-64bit-condition): Define.
9768 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
9769 Remove.
9770 (syscall-list-variants, syscall-list-32bit-options)
9771 (syscall-list-32bit-condition, syscall-list-64bit-options)
9772 (syscall-list-64bit-condition): Define.
9773 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
9774 Remove.
9775 (syscall-list-variants, syscall-list-32bit-options)
9776 (syscall-list-32bit-condition, syscall-list-64bit-options)
9777 (syscall-list-64bit-condition): Define.
9778
21eaf3a5
UD
97792011-12-22 Ulrich Drepper <drepper@gmail.com>
9780
16c6f992
UD
9781 * locale/iso-639.def: Add brx entry.
9782
41043168
UD
9783 [BZ #13328]
9784 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
9785 Proposed by Mariusz_Cukr <marcukr@op.pl>.
9786
21eaf3a5
UD
9787 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
9788 __feraiseexcept_renamed.
9789
e3a851a2
UD
97902011-12-21 Ulrich Drepper <drepper@gmail.com>
9791
4920765e
UD
9792 [BZ #13538]
9793 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
9794 EPOLLET with unsigned values.
9795 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
9796 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
9797
e3a851a2
UD
9798 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
9799 to large cancellation.
9800 * math/s_cacoshf.c: Likewise.
9801 * math/s_cacoshl.c: Likewise.
9802
b27e24b8
RK
98032011-11-18 Richard B. Kreckel <kreckel@ginac.de>
9804
9805 [BZ #13305]
aebefeee 9806 [BZ #12786]
b27e24b8
RK
9807 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
9808 * math/s_cacoshf.c: Likewise.
9809 * math/s_cacoshl.c: Likewise.
9810
ee190f67
UD
98112011-12-21 Ulrich Drepper <drepper@gmail.com>
9812
9813 [BZ #13439]
9814 * iconv/gconv.h: Define __GCONV_SWAP.
9815 * iconvdata/unicode.c: The swap bit must be stored in __flags.
9816 * iconvdata/utf-16.c: Likewise.
9817 * iconvdata/utf-32.c: Likewise.
9818
707f25df
AS
98192011-12-21 Andreas Schwab <schwab@linux-m68k.org>
9820
9821 [BZ #13524]
9822 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
9823 numerator after shifting it by one limb.
9824
d2daaa1e
RÁE
98252011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
9826
9827 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
9828 under [__USE_EXTERN_INLINES].
9829
a4647e72
UD
98302011-12-17 Ulrich Drepper <drepper@gmail.com>
9831
9832 [BZ #13446]
9833 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
9834
f0b264f1
AZ
98352011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9836
9837 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
9838 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
9839 optimized code.
9840 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
9841 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
9842 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
9843 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
9844 for strncasecmp/strncasecmp_l compilation.
9845 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
9846 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
9847
8ef4f244
MP
98482011-12-08 Marek Polacek <mpolacek@redhat.com>
9849
9850 [BZ #13484]
9851 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
9852 of __asm__.
9853
97ac2654
UD
98542011-12-17 Ulrich Drepper <drepper@gmail.com>
9855
9856 [BZ #13506]
9857 * time/tzfile.c (__tzfile_read): Check values from file header.
9858
91d2a845
WS
98592011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
9860
9861 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
9862 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
9863 * powerpc/powerpc32/dl-start.S: Likewise.
9864 * powerpc/powerpc32/elf/start.S: Likewise.
9865 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
9866 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
9867 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
9868 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
9869 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
9870 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
9871 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
9872 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
9873 * powerpc/powerpc32/fpu/s_round.S: Likewise.
9874 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
9875 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
9876 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
9877 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
9878 * powerpc/powerpc32/memset.S: Likewise.
9879 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
9880 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
9881 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
9882 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
9883 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
9884 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
9885 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
9886 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
9887 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
9888 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
9889 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
9890 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
9891 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
9892
a1267ba1
AZ
98932011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9894
9895 * math/libm-test.inc: Added more nearbyint tests.
9896 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
9897 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
9898 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
9899 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
9900
ad8ac1bd
RL
99012011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
9902
9903 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
9904 FD_CLOEXEC.
9905
1d3e4b61
UD
99062011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9907
9908 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
9909 Add wcscpy-ssse3 wcscpy-c.
9910 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
9911 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
9912 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
9913 * sysdeps/x86_64/wcschr.S: New file.
9914 * sysdeps/x86_64/wcsrchr.S: New file.
9915 * string/test-strcmp.c: Remove checking of wcscmp function for
9916 wrong alignments.
9917 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
9918 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
9919 wcsrchr-sse2 wcsrchr-c.
9920 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
9921 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
9922 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
9923 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
9924 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
9925 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
9926 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
9927 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
9928 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
9929 * wcsmbc/wcschr.c (WCSCHR): New macro.
9930
5b330a2d
UD
99312011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9932
9933 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
9934 * wcsmbs/test-wcsrchr.c: New file.
9935 * string/test-strrchr.c: Add wcsrchr support.
9936 (WIDE): New macro.
9937 * wcsmbs/test-wcscpy.c: New file.
9938 * string/test-strcpy.c: Add wcscpy support.
9939 (WIDE): New macro.
26428b7c 9940
f039c043
UD
99412011-12-10 Ulrich Drepper <drepper@gmail.com>
9942
9943 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
9944 the inner loop.
9945
850fb039
AS
99462011-12-06 Andreas Schwab <schwab@linux-m68k.org>
9947
9948 [BZ #13472]
9949 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
9950
4efbd5cb
UD
99512011-12-04 Ulrich Drepper <drepper@gmail.com>
9952
52ff5dd0 9953 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 9954 Minor optimizations.
52ff5dd0 9955
4efbd5cb
UD
9956 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
9957 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
9958 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
9959
8a426e12
UD
99602011-12-03 Ulrich Drepper <drepper@gmail.com>
9961
aff2453d
UD
9962 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
9963 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
9964 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
9965 for gcc to avoid warnings.
9966 * inet/Makefile (tests): Add tst-checks.
9967 * inet/tst-checks.c: New file.
9968
9969 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
9970 warning.
9971
9972 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
9973 __wmemcmp_sse2.
9974
9975 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
9976 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
9977
8a426e12
UD
9978 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
9979
9bea3473
UD
99802011-12-02 Ulrich Drepper <drepper@gmail.com>
9981
3a965496
UD
9982 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
9983 problem.
9984
9bea3473
UD
9985 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
9986
f101631b
UD
99872011-11-29 Joseph Myers <joseph@codesourcery.com>
9988
9989 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
9990 conditional on GCC version.
9991 (__arch_compare_and_exchange_val_8_acq)
9992 (__arch_compare_and_exchange_val_16_acq)
9993 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
9994 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
9995 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
9996
a98275aa
UD
99972011-12-02 Joseph Myers <joseph@codesourcery.com>
9998
9999 * sysdeps/sh/backtrace.c: New file.
10000
d4cc29a2
AS
100012011-12-02 Andreas Schwab <schwab@redhat.com>
10002
10003 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
10004 parenthesis.
10005
6257af2d
AS
100062011-12-01 Andreas Schwab <schwab@redhat.com>
10007
10008 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
10009 falling back to utime.
10010
b5f44c1a
AS
100112011-11-30 Andreas Schwab <schwab@redhat.com>
10012
10013 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
10014 expectations for float.
10015
f3a6cc0a
AS
100162011-11-29 Andreas Schwab <schwab@redhat.com>
10017
10018 * locale/weight.h (findidx): Add parameter len.
10019 * locale/weightwc.h (findidx): Likewise.
10020 * posix/fnmatch_loop.c (FCT): Adjust caller.
10021 * posix/regcomp.c (build_equiv_class): Likewise.
10022 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
10023 * posix/regexec.c (check_node_accept_bytes): Likewise.
10024 * string/strcoll_l.c (STRCOLL): Likewise.
10025 * string/strxfrm_l.c (STRXFRM): Likewise.
10026
9d65ea3a
UD
100272011-11-17 Ulrich Drepper <drepper@gmail.com>
10028
10029 * Makefile.in: Remove CVSOPT handling.
10030 * configure.in: Remove use of AC_REVISION.
10031 * iconvdata/Makefile (distribute): No need to filter out CVS.
10032 * scripts/list-sources.sh: Remove CVS, subversion and monotone
10033 handling.
10034
5583a086
AS
100352011-11-16 Andreas Schwab <schwab@redhat.com>
10036
10037 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
10038 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
10039 [USE_AS_STRNCASECMP_L]: Likewise.
10040 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
10041 NO_TLS_DIRECT_SEG_REFS.
10042 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
10043 Fix argument offsets for non-PIC.
10044 [USE_AS_STRNCASECMP_L]: Likewise.
10045 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
10046 NO_TLS_DIRECT_SEG_REFS.
10047
d62a8200
UD
100482011-11-15 Ulrich Drepper <drepper@gmail.com>
10049
9d65ea3a 10050 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
10051 O_CLOEXEC.
10052 * locale/loadlocale.c (_nl_load_locale): Likewise.
10053
09f93bd3
AS
100542011-11-15 Andreas Schwab <schwab@redhat.com>
10055
446514f9
AS
10056 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
10057 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
10058 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
10059 (SYSCALL_GETTIME): Set errno on error.
10060
09f93bd3
AS
10061 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
10062 count references to noai6ai_cached.
10063
312be3f9
UD
100642011-11-15 Ulrich Drepper <drepper@gmail.com>
10065
10066 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
10067
10068 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
10069 FD_CLOEXEC for /proc/self/maps.
10070
10071 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
10072 FD_CLOEXEC for /proc/meminfo.
10073
10074 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
10075 gai.conf.
10076
10077 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
10078 FD_CLOEXEC for given file.
10079
10080 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
10081
10082 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
10083 FD_CLOEXEC for /etc/hosts.
10084 (_gethtent): Likewise.
10085
10086 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
10087
10088 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
10089 cancellation and set FD_CLOEXEC for /etc/netgroup.
10090
10091 * nss/nss_files/files-key.c (search): Don't allow cancellation when
10092 reading /etc/publickey.
10093
10094 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
10095 allow cancellation when reading /etc/group.
10096
10097 * nss/nss_files/files-alias.c (internal_setent): Don't allow
10098 cancellation.
10099 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
10100
10101 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
10102 when using data file.
10103
10104 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
10105
10106 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
10107 (write_nis_obj): Use "c" and "e" in fopen.
10108
10109 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
10110
10111 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
10112
10113 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
10114
10115 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
10116
10117 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
10118 locale.alias.
10119
10120 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
10121
10122 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
10123
10124 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
10125
10126 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
10127 file parsing and set FD_CLOEXEC.
10128
82af0fa8
UD
101292011-11-14 Ulrich Drepper <drepper@gmail.com>
10130
10131 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
10132
a5fb313c
AS
101332011-11-14 Andreas Schwab <schwab@redhat.com>
10134
10135 * malloc/arena.c (arena_get2): Don't call reused_arena when
10136 _int_new_arena failed.
10137
6abf3465
UD
101382011-11-14 Ulrich Drepper <drepper@gmail.com>
10139
10140 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
10141 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
10142 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
10143 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
10144 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
10145 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
10146 to compile strcasecmp and strncasecmp.
10147 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
10148 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
10149
10150 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
10151
76e3966e
UD
101522011-11-13 Ulrich Drepper <drepper@gmail.com>
10153
10154 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
10155 locale-defines.sym to gen-as-const-headers.
10156 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
10157 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
10158 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
10159 to compile strcasecmp and strncasecmp.
10160 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
10161 strcasecmp_l and strncasecmp_l.
10162 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
10163 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
10164 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
10165 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
10166 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
10167 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
10168 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
10169 * sysdeps/i386/i686/multiarch/strncase.S: New file.
10170 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
10171 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
10172 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
10173
ab26144e
UD
101742011-11-12 Ulrich Drepper <drepper@gmail.com>
10175
7edb22ef
UD
10176 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
10177 result of SYSDEP_GETTIME_CPU to retval.
10178 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
10179 parameter list to macro. Remove trailing semicolon. Adjust users.
10180
9694fc44
UD
10181 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
10182 variable.
10183
8ad89ef8
UD
10184 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
10185 mantissa words.
10186 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
10187
0c822ef9
UD
10188 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
10189 from unused variable.
10190
874e0564
UD
10191 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
10192 DWARF definitions.
10193 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
10194 for assembling.
10195
3a2edc79
UD
10196 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
10197 over namespaces.
10198
f3c2577f
UD
10199 * sunrpc/rpc_prot.c (rejected): Fix case value.
10200
294ce126
UD
10201 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
10202 unsigned long long int to avoid warnings in shift.
10203
5e2b63c6
UD
10204 * posix/regex_internal.c (re_string_reconstruct): Actually use result
10205 of use of trans.
10206 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
10207 variable tmp.
10208
e7f4b08e
UD
10209 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
10210 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
10211 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
10212
ab26144e
UD
10213 * nis/nis_table.c (nis_list): Use variable of correct type for
10214 result of __follow_path call.
10215
8a6d5255
AZ
102162011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10217
10218 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
10219 of math functions ceil, trunc, floor, round, and sqrt, when
10220 avaliable on the platform.
10221 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
10222 name clash.
10223 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
10224 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
10225 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
10226
aaddc98c
MP
102272011-10-30 Marek Polacek <mpolacek@redhat.com>
10228
10229 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
10230 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
10231
95b7042b
RM
102322011-11-11 Roland McGrath <roland@hack.frob.com>
10233
10234 * include/unistd.h: Fix __readlink return type.
10235 Reported by Chris Metcalf <cmetcalf@tilera.com>.
10236
57769839
UD
102372011-11-11 Ulrich Drepper <drepper@gmail.com>
10238
10239 * stdlib/ucontext.h: Undo last change for makecontext.
10240
edc5984d
AS
102412011-11-11 Andreas Schwab <schwab@redhat.com>
10242
98591e58
AS
10243 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
10244
edc5984d
AS
10245 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
10246 * setjmp/setjmp.h: Mark functions as non-leaf.
10247 * setjmp/bits/setjmp2.h: Likewise.
10248 * stdlib/ucontext.h: Likewise.
10249
77cdc054
AS
102502011-11-10 Andreas Schwab <schwab@redhat.com>
10251
10252 * malloc/arena.c (_int_new_arena): Don't increment narenas.
10253 (reused_arena): Don't check arena limit.
10254 (arena_get2): Atomically check arena limit.
10255
fe72eebd
UD
102562011-11-08 Ulrich Drepper <drepper@gmail.com>
10257
5f078c32
UD
10258 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
10259 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
10260
fe72eebd
UD
10261 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
10262 instructions.
10263
ae1bc2fa
AS
102642011-11-07 Andreas Schwab <schwab@redhat.com>
10265
7583a88d
AS
10266 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
10267 handler when locking.
10268
ae1bc2fa
AS
10269 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
10270 Fix size of allocated buffer.
10271
10fb0bfa
AS
102722011-11-04 Andreas Schwab <schwab@redhat.com>
10273
998832a4
AS
10274 [BZ #10103]
10275 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
10276 declarations for long double functions.
10277 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
10278
10fb0bfa
AS
10279 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
10280
3d7ba52b
AS
102812011-11-03 Andreas Schwab <schwab@redhat.com>
10282
a9ae54a1
AS
10283 * nscd/nscd.c (main): Don't start AVC thread until credentials are
10284 installed.
10285
3d7ba52b
AS
10286 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
10287 is disabled.
10288
bc8db248
ST
102892011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
10290
10291 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
10292
45b96dd6
AS
102932011-11-01 Andreas Schwab <schwab@linux-m68k.org>
10294
647776f6
AS
10295 * include/alloca.h (stackinfo_alloca_round): Define.
10296 (extend_alloca): Use it.
10297 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
10298 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
10299 here.
10300
d91a8b93
AS
10301 * scripts/check-local-headers.sh: Ignore libaudit.h.
10302
45b96dd6
AS
10303 * nscd/Makefile (extra-objs): Make recursively expanded.
10304
432d41ce
UD
103052011-11-01 Ulrich Drepper <drepper@gmail.com>
10306
34372fc6
UD
10307 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
10308 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
10309
fadb59f8
UD
10310 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
10311 * posix/tst-rfc3484-2.c: Likewise.
10312 * posix/tst-rfc3484-3.c: Likewise.
10313
78239589
UD
10314 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
10315 process_vm_writev.
10316 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
10317 process_vm_writev.
10318 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
10319 process_vm_writev from libc using GLIBC_2.15 version.
10320
432d41ce
UD
10321 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
10322
02f9c6cf
PP
103232011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
10324
10325 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
10326 stack usage.
10327
3a2c0242
UD
103282011-10-31 Ulrich Drepper <drepper@gmail.com>
10329
f4ec4833
UD
10330 [BZ #13367]
10331 * nss/getent.c (initgroups_keys): Show error message in case no group
10332 names are given.
10333
3a2c0242
UD
10334 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
10335 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
10336 __bump_nl_timestamp.
10337 * nscd/connections (nscd_init): When host database is served open
10338 netlink socket and request notification about configuration changes.
10339 (main_loop_poll): Track netlink file descriptor and bump timestamp
10340 in case data becomes available.
10341 (main_loop_epoll): Likewise.
10342 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
10343 (database_pers_head): Add extra_data fileds.
10344 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
10345 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
10346 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
10347 Adjust caller.
10348 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
10349 in6ai data, call __free_in6ai.
10350 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
10351 Add -DHAVE_NETLINK.
10352 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
10353 interface information. Reuse previous data if netlink timestamp
10354 is not changed.
10355 (__bump_nl_timestamp): New function.
10356 (__free_in6ai): New function.
10357
636064eb
UD
103582011-10-30 Ulrich Drepper <drepper@gmail.com>
10359
10360 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
10361 close_not_cancel_no_status here.
10362 (__check_pf): Reorganize code a bit to not call close twice if OOM.
10363
9beb2334
UD
103642011-10-29 Ulrich Drepper <drepper@gmail.com>
10365
6ef76f3b
UD
10366 [BZ #13276]
10367 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
10368 return value.
10369
0ffc4f3e 10370 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
10371 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
10372 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
10373
cb95113e
UD
103742011-07-03 Andreas Jaeger <aj@suse.de>
10375
10376 [BZ #10709]
10377 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
10378 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
10379 * math/libm-test.inc (sin_test): Add test case.
10380
a1b560ff
UD
103812011-10-29 Ulrich Drepper <drepper@gmail.com>
10382
c9aaface
UD
10383 [BZ #13337]
10384 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
10385 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
10386
d272e7f1
UD
10387 * elf/chroot_canon.c (chroot_canon): Cleanups.
10388
1bc33071
UD
10389 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
10390
1760874d
TJ
10391 [BZ #13335]
10392 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
10393 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
10394
51d91b18
UD
10395 * string/test-strchr.c: Make usable for strchrnul testing.
10396 * string/test-strchrnul.c: New file.
10397 * string/Makefile (strop-tests): Add strchrnul.
10398
a1b560ff 10399 * po/it.po: Update from translation team.
b611fb81 10400 * po/es.po: Likewise.
a1b560ff 10401
a5b81e1f
UD
104022011-10-28 Ulrich Drepper <drepper@gmail.com>
10403
fd52bc6d
UD
10404 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
10405 the three constants needed as parameters. Drop the others.
10406 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
10407 __m128i_strloadu_tolower.
52e4b9eb
UD
10408 Create and initialize variable zero and use it in all the places
10409 where _mm_setzero_si128 was used.
fd52bc6d 10410
a5b81e1f
UD
10411 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
10412 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
10413 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
10414 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
10415 anymore.
10416 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
10417 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
10418 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
10419 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
10420 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
10421 __mpranred, __mptan.
10422 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
10423 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
10424 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
10425 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
10426 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
10427 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
10428 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
10429 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
10430 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
10431
b4343346
AS
104322011-10-28 Andreas Schwab <schwab@redhat.com>
10433
0c92d8a8
AS
10434 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
10435 redefine if SHARED.
10436 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
10437
b4343346
AS
10438 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
10439 wide char related routines to wcsmbs subdir.
10440
3871f58f
AS
104412011-10-27 Andreas Schwab <schwab@redhat.com>
10442
10443 [BZ #13344]
10444 * misc/sys/cdefs.h (__THROWNL): Define.
10445 * posix/unistd.h: Use __THREADNL instead of __THREAD
10446 for memory synchronization functions.
10447
94d44d9f
RM
104482011-10-26 Roland McGrath <roland@hack.frob.com>
10449
21b64b15 10450 [BZ #13349]
94d44d9f
RM
10451 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
10452 doesn't exist.
10453 * manual/stdio.texi (Obstack Streams): Node removed.
10454
f6ce9294
AS
104552011-10-26 Andreas Schwab <schwab@redhat.com>
10456
80479147
AS
10457 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
10458 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
10459 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
10460
f6ce9294
AS
10461 * math/math_private.h (math_force_eval): Allow non-addressable
10462 arguments.
10463 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
10464
618280a1
UD
104652011-10-25 Ulrich Drepper <drepper@gmail.com>
10466
e0016b11
UD
10467 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
10468 file is not needed.
10469
10470 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
10471 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
10472 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
10473 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
10474 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
10475 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
10476 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
10477 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
10478 Add AVX variants.
10479 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
10480 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
10481 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
10482 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
10483 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
10484 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
10485 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
10486 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
10487 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
10488 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
10489 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
10490 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
10491 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
10492 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
10493 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
10494 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
10495 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
10496 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
10497 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
10498
10499 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
10500 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
10501
618280a1
UD
10502 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
10503 place. Use VEX encoding when compiling for AVX.
10504
37822576
AS
105052011-10-25 Andreas Schwab <schwab@redhat.com>
10506
1f1e1947
AS
10507 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
10508 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
10509
37822576
AS
10510 * string/test-strchr.c (do_test): Don't generate NUL bytes.
10511
31ea014d
UD
105122011-10-25 Ulrich Drepper <drepper@gmail.com>
10513
d7826aa1 10514 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 10515 useless if() expression.
d7826aa1
UD
10516 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
10517 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
10518 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
10519 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
10520 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
10521 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
10522 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
10523 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
10524 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
10525 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
10526 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
10527 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
10528 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
10529 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
10530 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
10531 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
10532 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
10533 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
10534 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
10535
31ea014d
UD
10536 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
10537
16437fec
AS
105382011-10-25 Andreas Schwab <schwab@redhat.com>
10539
10540 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
10541 condition.
10542 * elf/dl-fini.c (_dl_sort_fini): Likewise.
10543
31d3cc00
UD
105442011-10-25 Ulrich Drepper <drepper@gmail.com>
10545
10546 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
10547 .text section. Avoid duplicate constants.
10548 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
10549 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
10550 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
10551 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
10552 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
10553 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
10554 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
10555 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
10556 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
10557 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
10558 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
10559 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
10560 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
10561 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
10562 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
10563 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
10564 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
10565 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
10566 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
10567 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
10568 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
10569 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
10570 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
10571 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
10572 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
10573 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
10574 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
10575 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
10576 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
10577 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
10578 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
10579 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
10580 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
10581 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
10582 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
10583 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
10584 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
10585 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
10586 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
10587 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
10588 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
10589 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
10590 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
10591 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
10592 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
10593
58985aa9
UD
105942011-10-24 Ulrich Drepper <drepper@gmail.com>
10595
202c9deb
UD
10596 * sysdeps/x86_64/dla.h: Move to ...
10597 * sysdeps/x86_64/fpu/dla.h: ...here.
10598 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
10599 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 10600
af968f62
UD
10601 * config.make.in: Add have-mfma4 entry.
10602 * configure.in: Substitute libc_cv_cc_fma4.
10603 * math/Makefile (dbl-only-routines): Add sincostab.
10604 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
10605 Use __sincostab not sincos.
10606 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
10607 name is a macro.
10608 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
10609 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
10610 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
10611 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
10612 using __copysign.
10613 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
10614 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
10615 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
10616 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
10617 and __inv.
10618 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
10619 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
10620 __copysign.
10621 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
10622 define aliases when function name is a macro.
10623 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
10624 sysdeps/ieee754/dbl-64/sincos.tbl.
10625 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
10626 fma4-enabled routines.
10627 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
10628 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
10629 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
10630 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
10631 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
10632 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
10633 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
10634 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
10635 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
10636 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
10637 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
10638 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
10639 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
10640 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
10641 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
10642 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
10643 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
10644 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
10645 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
10646 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
10647 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
10648 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
10649 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
10650 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
10651 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
10652 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
10653 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
10654 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
10655 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
10656 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
10657
58985aa9
UD
10658 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
10659 rename.
10660 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
10661 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
10662 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
10663 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
10664 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
10665 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
10666 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
10667 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
10668
a201fbcf
AS
106692011-10-24 Andreas Schwab <schwab@redhat.com>
10670
10671 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
10672
fc2ee42a
LD
106732011-10-23 Ulrich Drepper <drepper@gmail.com>
10674
bb3129bd
UD
10675 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
10676
0275fff8
UD
10677 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
10678 prediction.
10679 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
10680
2fa2ae85
UD
10681 * string/strnlen.c: Don't define STRNLEN, reverse logic.
10682 Remove unused variable magic_bits.
10683 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
10684
fc2ee42a
LD
10685 * string/strnlen.c: Define and use STRNLEN macro.
10686 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
10687 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
10688 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
10689 * wcsmbs/wcslen.c: Define and use WCSLEN.
10690 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
10691 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
10692 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
10693 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
10694 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
10695 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
10696 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
10697
ce7dd29f
LD
106982011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10699
10700 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
10701 strnlen-sse2-no-bsf.
10702 Rename strlen-no-bsf to strlen-sse2-no-bsf.
10703 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
10704 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
10705 Add strnlen support.
10706 (USE_AS_STRNLEN): New macro.
10707 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
10708 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
10709 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
10710 * sysdeps/x86_64/wcslen.S: New file.
10711
979c70a3
MZ
107122011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
10713
10714 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
10715 XMM-moves are used for copying on small sizes.
10716
2d09f82f
LD
107172011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10718
10719 * wcsmbs/Makefile (strop-tests): Add wcschr.
10720 * wcsmbs/test-wcschr.c: New file.
10721 * string/test-strchr.c: Update.
10722 Add wcschr support.
10723 (WIDE): New macro.
10724
619fccca
LD
107252011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10726
2d09f82f 10727 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
10728 * wcsmbs/test-wcslen.c: New file.
10729 * string/test-strlen.c: Update.
10730 Add wcslen support.
10731 (WIDE): New macro.
10732
09f699ea
UD
107332011-10-23 Ulrich Drepper <drepper@gmail.com>
10734
10735 * po/it.po: Update from translation team.
10736
95584d3b
LD
107372011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10738
10739 * sysdeps/x86_64/wcscmp.S: Update.
10740 Fix wrong comparison semantics.
10741 wcscmp shall use signed comparison not unsigned.
10742 Don't use substraction to avoid overflow bug.
10743 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
10744 * wcsmbc/wcscmp.c: Likewise.
10745 * string/test-strcmp.c: Likewise.
10746 Add new tests to check cases with negative values.
10747
c8b3296b
UD
107482011-10-23 Ulrich Drepper <drepper@gmail.com>
10749
10750 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
10751 * sysdeps/x86_64/dla.h: ...here. New file.
10752 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
10753 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
10754 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
10755 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
10756 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
10757 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
10758 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
10759 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
10760 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
10761
246ad57a
AS
107622011-10-23 Andreas Schwab <schwab@linux-m68k.org>
10763
10764 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
10765 __ynl_finite aliases.
10766
a1a87169
UD
107672011-10-22 Ulrich Drepper <drepper@gmail.com>
10768
0d355eb7
UD
10769 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10770
a1a87169
UD
10771 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
10772 define DLA_FMA.
10773 [DLA_FMA] (EMULV): Use DLA_FMA.
10774 [DLA_FMA] (MUL12): Use EMULV.
10775 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
10776 that are not needed.
10777 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
10778 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
10779 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
10780 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
10781 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
10782 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
10783 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
10784
ee2aafe0
AS
107852011-10-22 Andreas Schwab <schwab@linux-m68k.org>
10786
10787 * math/s_nan.c: Undef __nan.
10788 * math/s_nanf.c: Undef __nanf.
10789 * math/s_nanl.c: Undef __nanl.
10790 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
10791 "math_private.h".
10792
bc62c2fb
UD
107932011-10-22 Ulrich Drepper <drepper@gmail.com>
10794
77425c63
UD
10795 * math/s_catan.c: Add branch predictions.
10796 * math/s_catanf.c: Likewise.
10797 * math/s_catanh.c: Likewise.
10798 * math/s_catanhf.c: Likewise.
10799 * math/s_catanhl.c: Likewise.
10800 * math/s_catanl.c: Likewise.
10801 * math/s_cexp.c: Likewise.
10802 * math/s_cexpf.c: Likewise.
10803 * math/s_cexpl.c: Likewise.
10804 * math/s_clog.c: Likewise.
10805 * math/s_clog10.c: Likewise.
10806 * math/s_clog10f.c: Likewise.
10807 * math/s_clog10l.c: Likewise.
10808 * math/s_clogf.c: Likewise.
10809 * math/s_clogl.c: Likewise.
10810 * math/s_csqrt.c: Likewise.
10811 * math/s_csqrtf.c: Likewise.
10812 * math/s_csqrtl.c: Likewise.
10813 * math/s_ctanf.c: Likewise.
10814 * math/s_ctanh.c: Likewise.
10815 * math/s_ctanhf.c: Likewise.
10816 * math/s_ctanhl.c: Likewise.
10817 * math/s_ctanl.c: Likewise.
10818
bc62c2fb
UD
10819 * math/math_private.h: Define __nan, __nanf, __nanl.
10820 * math/s_cacosh.c: Include <math_private.h>.
10821 * math/s_cacoshl.c: Likewise.
10822 * math/s_casinh.c: Likewise.
10823 * math/s_casinhf.c: Likewise.
10824 * math/s_casinhl.c: Likewise.
10825 * math/s_ccos.c: Rely entire on ccosh.
10826 * math/s_ccosf.c: Rely entire on ccoshf.
10827 * math/s_ccosl.c: Rely entirely on ccoshl.
10828 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
10829 Remove tests for FE_INVALID.
10830 * math/s_ccoshf.c: Likewise.
10831 * math/s_ccoshl.c: Likewise.
10832 * math/s_csin.c: Likewise.
10833 * math/s_csinf.c: Likewise.
10834 * math/s_csinh.c Likewise.
10835 * math/s_csinhf.c: Likewise.
10836 * math/s_csinhl.c: Likewise.
10837 * math/s_csinl.c: Likewise.
10838 * math/s_ctan.c: Likewise.
10839 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
10840 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
10841 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
10842
8ec250a4
UD
108432011-10-21 Ulrich Drepper <drepper@gmail.com>
10844
c196fed8
UD
10845 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
10846 compilation problems.
10847
8ec250a4
UD
10848 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
10849 __builtin_expect.
10850
8d4f46c6
UD
108512011-10-20 Ulrich Drepper <drepper@gmail.com>
10852
ed72b654
UD
10853 * sysdeps/i386/configure.in: Test for -mfma4 option.
10854 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
10855 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
10856 COMMON_CPUID_INDEX_80000001.
10857 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
10858 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
10859 use it if FMA3 is not supported.
10860 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
10861
8d4f46c6
UD
10862 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
10863 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
10864
d45c60c2
AS
108652011-10-20 Andreas Schwab <schwab@redhat.com>
10866
10867 [BZ #12892]
10868 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
10869 it would create a cycle with a link time dependency.
10870
d9a4d2ab
UD
108712011-10-19 Ulrich Drepper <drepper@gmail.com>
10872
855d1560
UD
10873 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
10874 instruction.
10875 * string/Makefile (strop-tests): Add rawmemchr.
10876 * string/test-rawmemchr.c: New file.
10877
d9a4d2ab
UD
10878 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
10879 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
10880 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
10881 when compiling str{,n}casecmp and when AVX is available. Hook up
10882 new optimized code in initializers.
10883
8f3b1ffe
AS
108842011-10-19 Andreas Schwab <schwab@redhat.com>
10885
10886 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
10887 __feraiseexcept instead of feraiseexcept.
10888
d38f1dba
UD
108892011-10-18 Ulrich Drepper <drepper@gmail.com>
10890
d9a8d0ab
UD
10891 * math/math_private.h: Define defaults for libc_fetestexcept and
10892 libc_feupdateenv.
10893 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
10894 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
10895 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
10896 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
10897 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
10898 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
10899 libc_fetestexcept and libc_feupdateenv.
10900
4855e3dd
UD
10901 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
10902 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
10903 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
10904 * sysdeps/x86_64/fpu/math_private.h: Define special version of
10905 libc_feholdexcept_setround.
10906
581d30e3
UD
10907 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
10908 Add s_nearbyint-c and s_nearbyintf-c.
10909 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
10910 nearbyintf inlines.
10911 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
10912 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
10913 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
10914 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
10915
d38f1dba
UD
10916 * math/math_private.h: Define defaults for libc_fegetround,
10917 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
10918 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
10919 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
10920 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
10921 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
10922 standard functions.
10923 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
10924 Remove comments and hacks for old compiler versions.
10925 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
10926 libc_fegetround, libc_fesetround, libc_feholdexcept, and
10927 libc_feholdexceptl.
10928
caa6c9d8
AS
109292011-10-18 Andreas Schwab <schwab@redhat.com>
10930
10931 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
10932 (__feraiseexcept_renamed): Add __NTH.
10933 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
10934 namespace violations.
10935
97c066e6
UD
109362011-10-17 Ulrich Drepper <drepper@gmail.com>
10937
99ce7b04
UD
10938 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
10939
1004d182
UD
10940 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
10941
228a984d
UD
10942 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
10943 recently added interfaces.
10944 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
10945
c8553a6a
UD
10946 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
10947 about macro parameter expansion.
10948
ed22dcf6
UD
10949 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
10950 __NO_MATH_INLINES is defined. Cleanups.
10951
10952 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
10953 and __floorf is target has SSE4.1.
10954 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
10955 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
10956 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
10957 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
10958
b171c137
UD
10959 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
10960 name.
10961 (floorf): Likewise.
10962
97c066e6
UD
10963 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
10964
629f62ef
AS
109652011-10-17 Andreas Schwab <schwab@redhat.com>
10966
49a43d80
AS
10967 * misc/sys/cdefs.h: Fix last change.
10968
629f62ef
AS
10969 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
10970 database lookup.
10971
e453f6cd
UD
109722011-10-16 Ulrich Drepper <drepper@gmail.com>
10973
aa78043a
UD
10974 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
10975
ad0f5cad
UD
10976 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
10977 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
10978 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
10979 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
10980 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
10981 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
10982 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
10983 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
10984 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
10985 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
10986 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
10987 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
10988 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
10989 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
10990 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
10991 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
10992 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
10993 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
10994 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
10995 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
10996 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
10997 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
10998
10999 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
11000 ceil, ceilf, floor, floorf.
11001
11002 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
11003 Perform IRELATIVE relocations last.
11004
e453f6cd
UD
11005 * elf/do-rel.h: Add another parameter nrelative, replacing the
11006 local variable with the same name. Change name of the function
11007 to end in Rel or Rela (uppercase).
11008 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
11009 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
11010 elf_dynamic_do_##reloc function.
11011
fd5bdc09
UD
110122011-10-15 Ulrich Drepper <drepper@gmail.com>
11013
79b195b5
UD
11014 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
11015 is sufficient, at least on modern CPUs.
11016
d4a28569
UD
11017 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
11018
b61099b5
UD
11019 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
11020 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
11021
bcf01e6d
UD
11022 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
11023 __expl_finite.
11024 * math/bits/math-finite.h: Add entries for exp.
11025 * math/e_expl.c: Add __*_finite alias.
11026 * sysdeps/i386/fpu/e_exp.S: Likewise.
11027 * sysdeps/i386/fpu/e_expf.S: Likewise.
11028 * sysdeps/i386/fpu/e_expl.c: Likewise.
11029 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
11030 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
11031 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
11032 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
11033 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
11034 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
11035 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
11036
ba1a0d59
UD
11037 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
11038 is sufficient, at least on modern CPUs.
11039
fd5bdc09
UD
11040 * ctype/ctype-info.c (__ctype_init): Define.
11041 * include/ctype.h (__ctype_init): Declare.
11042 (__ctype_b_loc): The variable is always initialized.
11043 (__ctype_toupper_loc): Likewise.
11044 (__ctype_tolower_loc): Likewise.
11045 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
11046 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
11047
7872cfb0
AS
110482011-10-15 Andreas Schwab <schwab@linux-m68k.org>
11049
b468825a
AS
11050 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
11051
7872cfb0
AS
11052 * configure.in: Also look in $cxxmachine/include for C++ system
11053 headers.
11054
be13f7bf
LD
110552011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
11056
11057 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
11058 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
11059 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
11060 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
11061 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
11062 (USE_AS_WMEMCMP): New macro.
11063 Fixing indents.
11064 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
11065 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
11066 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
11067 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
11068 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
11069 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
11070 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
11071 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
11072 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
11073 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
11074 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
11075 (USE_AS_WMEMCMP): New macro.
11076 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
11077 * sysdeps/string/test-memcmp.c: Update.
11078 Fix simple_wmemcmp.
11079 Add new tests.
11080 * wcsmbs/wmemcmp.c: Update.
11081 (WMEMCMP): New macro.
11082 Fix overflow bug.
11083
556a2007
AJ
110842011-10-12 Andreas Jaeger <aj@suse.de>
11085
11086 [BZ #13268]
11087 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
11088
538faaa7
UD
110892011-10-15 Ulrich Drepper <drepper@gmail.com>
11090
ab6737ff
UD
11091 * libio/iofwide.c (do_length): Avoid warning.
11092
538faaa7
UD
11093 * ctype/ctype.h (__isctype_f): Add missing __THROW.
11094
396a21b1
UD
110952011-10-14 Ulrich Drepper <drepper@gmail.com>
11096
cdf2901f
UD
11097 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
11098
38ad40ce
UD
11099 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
11100 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
11101 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
11102 * sysdeps/i386/i686/fpu/e_log.S: New file.
11103 * sysdeps/i386/i686/fpu/e_logf.S: New file.
11104 * sysdeps/i386/i686/fpu/e_logl.S: New file.
11105
396a21b1
UD
11106 * ctype/ctype.h: Add support for inlined isXXX functions when
11107 compiling C++ code.
11108
6b1f68c9
AS
111092011-10-14 Andreas Schwab <schwab@redhat.com>
11110
349290c0
AS
11111 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
11112
6b1f68c9
AS
11113 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
11114
f2282d42
RM
111152011-10-13 Roland McGrath <roland@hack.frob.com>
11116
11117 [BZ #13291]
11118 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
11119
5298ffa8
AS
111202011-10-13 Andreas Schwab <schwab@redhat.com>
11121
714fad23
AS
11122 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
11123 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
11124 feraiseexcept.
11125
81dcc7fb
AS
11126 * sysdeps/x86_64/memrchr.S: Check for zero size.
11127
5298ffa8
AS
11128 * string/stratcliff.c: Add memrchr tests.
11129
951fbcec
LD
111302011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
11131
11132 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
11133 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
11134 rawmemchr-sse2 rawmemchr-sse2-bsf.
11135 * sysdeps/i386/i686/multiarch/memchr.S: New file.
11136 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
11137 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
11138 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
11139 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
11140 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
11141 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
11142 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
11143 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
11144 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
11145 * string/memrchr.c (MEMRCHR): New macro.
11146
0ac5ae23
UD
111472011-10-12 Ulrich Drepper <drepper@gmail.com>
11148
11149 Add integration with gcc's -ffinite-math-only and optimize wrapper
11150 functions in libm.
11151 * Versions.def: Define GLIBC_2.15 version for libm.
11152 * math/Makefile (headers): Add bits/math-finite.h.
11153 * math/bits/math-finite.h: New file.
11154 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
11155 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
11156 * math/e_acoshl.c: Add __*_finite alias.
11157 * math/e_acosl.c: Likewise.
11158 * math/e_asinl.c: Likewise.
11159 * math/e_atan2l.c: Likewise.
11160 * math/e_atanhl.c: Likewise.
11161 * math/e_coshl.c: Likewise.
11162 * math/e_exp10.c: Likewise.
11163 * math/e_exp10f.c: Likewise.
11164 * math/e_exp10l.c: Likewise.
11165 * math/e_exp2l.c: Likewise.
11166 * math/e_fmodl.c: Likewise.
11167 * math/e_gammal_r.c: Likewise.
11168 * math/e_hypotl.c: Likewise.
11169 * math/e_j0l.c: Likewise.
11170 * math/e_j1l.c: Likewise.
11171 * math/e_jnl.c: Likewise.
11172 * math/e_lgammal_r.c: Likewise.
11173 * math/e_log10l.c: Likewise.
11174 * math/e_log2l.c: Likewise.
11175 * math/e_logl.c: Likewise.
11176 * math/e_powl.c: Likewise.
11177 * math/e_sinhl.c: Likewise.
11178 * math/e_sqrtl.c: Likewise.
11179 * math/e_scalb.c: Completely rewritten and optimized.
11180 * math/e_scalbf.c: Likewise.
11181 * math/e_scalbl.c: Likewise.
11182 * math/w_acos.c: Likewise.
11183 * math/w_acosf.c: Likewise.
11184 * math/w_acosl.c: Likewise.
11185 * math/w_acosh.c: Likewise.
11186 * math/w_acoshf.c: Likewise.
11187 * math/w_acoshl.c: Likewise.
11188 * math/w_asin.c: Likewise.
11189 * math/w_asinf.c: Likewise.
11190 * math/w_asinl.c: Likewise.
11191 * math/w_atan2.c: Likewise.
11192 * math/w_atan2f.c: Likewise.
11193 * math/w_atan2l.c: Likewise.
11194 * math/w_atanh.c: Likewise.
11195 * math/w_atanhf.c: Likewise.
11196 * math/w_atanhl.c: Likewise.
11197 * math/w_exp10.c: Likewise.
11198 * math/w_exp10f.c: Likewise.
11199 * math/w_exp10l.c: Likewise.
11200 * math/w_fmod.c: Likewise.
11201 * math/w_fmodf.c: Likewise.
11202 * math/w_fmodl.c: Likewise.
11203 * math/w_j0.c: Likewise.
11204 * math/w_j0f.c: Likewise.
11205 * math/w_j0l.c: Likewise.
11206 * math/w_j1.c: Likewise.
11207 * math/w_j1f.c: Likewise.
11208 * math/w_j1l.c: Likewise.
11209 * math/w_jn.c: Likewise.
11210 * math/w_jnf.c: Likewise.
11211 * math/w_log.c: Likewise.
11212 * math/w_logf.c: Likewise.
11213 * math/w_logl.c: Likewise.
11214 * math/w_log10.c: Likewise.
11215 * math/w_log10f.c: Likewise.
11216 * math/w_log10l.c: Likewise.
11217 * math/w_log2.c: Likewise.
11218 * math/w_log2f.c: Likewise.
11219 * math/w_log2l.c: Likewise.
11220 * math/w_pow.c: Likewise.
11221 * math/w_powf.c: Likewise.
11222 * math/w_powl.c: Likewise.
11223 * math/w_remainder.c: Likewise.
11224 * math/w_remainderf.c: Likewise.
11225 * math/w_remainderl.c: Likewise.
11226 * math/w_scalb.c: Likewise.
11227 * math/w_scalbf.c: Likewise.
11228 * math/w_scalbl.c: Likewise.
11229 * math/w_sqrt.c: Likewise.
11230 * math/w_sqrtf.c: Likewise.
11231 * math/w_sqrtl.c: Likewise.
11232 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
11233 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
11234 used.
11235 * math/math_private.h: Declare __kernel_standard_f.
11236 * math/w_cosh.c: Remove cruft and optimize a bit.
11237 * math/w_coshf.c: Likewise.
11238 * math/w_coshl.c: Likewise.
11239 * math/w_exp2.c: Likewise.
11240 * math/w_exp2f.c: Likewise.
11241 * math/w_exp2l.c: Likewise.
11242 * math/w_hypot.c: Likewise.
11243 * math/w_hypotf.c: Likewise.
11244 * math/w_hypotl.c: Likewise.
11245 * math/w_lgamma.c: Likewise.
11246 * math/w_lgamma_r.c: Likewise.
11247 * math/w_lgammaf.c: Likewise.
11248 * math/w_lgammaf_r.c: Likewise.
11249 * math/w_lgammal.c: Likewise.
11250 * math/w_lgammal_r.c: Likewise.
11251 * math/w_sinh.c: Likewise.
11252 * math/w_sinhf.c: Likewise.
11253 * math/w_sinhl.c: Likewise.
11254 * math/w_tgamma.c: Likewise.
11255 * math/w_tgammaf.c: Likewise.
11256 * math/w_tgammal.c: Likewise.
11257 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
11258 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
11259 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
11260 Minor optimizations. Pretty printing. Remove cruft.
11261 * sysdeps/i386/fpu/e_acosf.S: Likewise.
11262 * sysdeps/i386/fpu/e_acosh.S: Likewise.
11263 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
11264 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
11265 * sysdeps/i386/fpu/e_acosl.c: Likewise.
11266 * sysdeps/i386/fpu/e_asin.S: Likewise.
11267 * sysdeps/i386/fpu/e_asinf.S: Likewise.
11268 * sysdeps/i386/fpu/e_atan2.S: Likewise.
11269 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
11270 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
11271 * sysdeps/i386/fpu/e_atanh.S: Likewise.
11272 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
11273 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
11274 * sysdeps/i386/fpu/e_exp10.S: Likewise.
11275 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
11276 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
11277 * sysdeps/i386/fpu/e_exp2.S: Likewise.
11278 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
11279 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
11280 * sysdeps/i386/fpu/e_fmod.S: Likewise.
11281 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
11282 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
11283 * sysdeps/i386/fpu/e_hypot.S: Likewise.
11284 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
11285 * sysdeps/i386/fpu/e_log.S: Likewise.
11286 * sysdeps/i386/fpu/e_log10.S: Likewise.
11287 * sysdeps/i386/fpu/e_log10f.S: Likewise.
11288 * sysdeps/i386/fpu/e_log10l.S: Likewise.
11289 * sysdeps/i386/fpu/e_log2.S: Likewise.
11290 * sysdeps/i386/fpu/e_log2f.S: Likewise.
11291 * sysdeps/i386/fpu/e_log2l.S: Likewise.
11292 * sysdeps/i386/fpu/e_logf.S: Likewise.
11293 * sysdeps/i386/fpu/e_logl.S: Likewise.
11294 * sysdeps/i386/fpu/e_pow.S: Likewise.
11295 * sysdeps/i386/fpu/e_powf.S: Likewise.
11296 * sysdeps/i386/fpu/e_powl.S: Likewise.
11297 * sysdeps/i386/fpu/e_remainder.S: Likewise.
11298 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
11299 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
11300 * sysdeps/i386/fpu/e_scalb.S: Likewise.
11301 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
11302 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
11303 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
11304 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
11305 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
11306 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
11307 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
11308 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
11309 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
11310 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
11311 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
11312 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
11313 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
11314 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
11315 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
11316 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
11317 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
11318 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
11319 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
11320 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
11321 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
11322 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
11323 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
11324 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
11325 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
11326 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
11327 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
11328 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
11329 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
11330 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
11331 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
11332 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
11333 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
11334 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
11335 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
11336 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
11337 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
11338 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
11339 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
11340 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
11341 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
11342 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
11343 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
11344 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
11345 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
11346 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
11347 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
11348 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
11349 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
11350 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
11351 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
11352 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
11353 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
11354 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
11355 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
11356 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
11357 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
11358 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
11359 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
11360 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
11361 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
11362 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
11363 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
11364 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
11365 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
11366 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
11367 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
11368 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
11369 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
11370 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
11371 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
11372 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
11373 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
11374 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
11375 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
11376 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
11377 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
11378 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
11379 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
11380 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
11381 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
11382 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
11383 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
11384 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
11385 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
11386 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
11387 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
11388 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
11389 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
11390 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
11391 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
11392 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
11393 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
11394 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
11395 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
11396 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
11397 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
11398 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
11399 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
11400 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
11401 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
11402 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
11403 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
11404 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
11405 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
11406 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
11407 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
11408 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
11409 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
11410 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
11411 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
11412 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
11413 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
11414 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
11415 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
11416 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
11417 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
11418 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
11419 (__isnanf): Likewise.
11420 (__isinf_ns): Likewise.
11421 (__isinf_nsf): Likewise.
11422 (__finite): Likewise.
11423 (__finitef): Likewise.
11424 (__ieee754_sqrt): Define as macro.
11425 (__ieee754_sqrtf): Define as macro.
11426 (__ieee754_sqrtl): Define as macro.
11427 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
11428 inlined copy.
11429 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
11430 __FINITE_MATH_ONLY__ consistent.
11431 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
11432
12cc2fcd
AS
114332011-10-10 Andreas Schwab <schwab@linux-m68k.org>
11434
a843a204
AS
11435 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
11436 of rawmemchr.
11437
12cc2fcd
AS
11438 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
11439
c853acd5
UD
114402011-10-09 Ulrich Drepper <drepper@gmail.com>
11441
11442 * po/ja.po: Update from translation team.
11443
c658d255
RM
114442011-10-08 Roland McGrath <roland@hack.frob.com>
11445
110946e4
RM
11446 * locale/programs/locarchive.c (prepare_address_space): New function.
11447 (create_archive, enlarge_archive, open_archive): Use it.
11448
50604220
RM
11449 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
11450 inside [SHARED], where it is used.
11451
c658d255
RM
11452 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
11453
11454 * nss/getent.c (netgroup_keys): Remove unused variable.
11455 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
11456
6a621eb7
UD
114572011-10-08 Ulrich Drepper <drepper@gmail.com>
11458
7edb55ce
UD
11459 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
11460 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
11461 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
11462 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
11463 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
11464 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
11465 * math/Makefile (libm-calls): Add s_isinf_ns.
11466 * math/divtc3.c: Use __isinf_nsl instead of isinf.
11467 * math/multc3.c: Likewise.
11468 * math/s_casin.c: Likewise.
11469 * math/s_casinf.c: Likewise.
11470 * math/s_casinl.c: Likewise.
11471 * math/s_ccos.c: Likewise.
11472 * math/s_ccosf.c: Likewise.
11473 * math/s_ccosl.c: Likewise.
11474 * math/s_ctan.c: Likewise.
11475 * math/s_ctanf.c: Likewise.
11476 * math/s_ctanh.c: Likewise.
11477 * math/s_ctanhf.c: Likewise.
11478 * math/s_ctanhl.c: Likewise.
11479 * math/s_ctanl.c: Likewise.
11480 * math/w_fmod.c: Likewise.
11481 * math/w_fmodf.c: Likewise.
11482 * math/w_fmodl.c: Likewise.
11483 * math/w_remainder.c: Likewise.
11484 * math/w_remainderf.c: Likewise.
11485 * math/w_remainderl.c: Likewise.
11486 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
11487 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
11488 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
11489 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
11490 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
11491 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
11492 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
11493 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
11494
187da0ae
UD
11495 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
11496 of the number.
11497 * stdio-common/printf_fphex.c: Likewise.
11498 * stdio-common/printf_size.c: Likewise.
11499
9277c064
UD
11500 * math/e_exp10.c: Include math_private.h using <...> not "...".
11501 * math/e_exp10f.c: Likewise.
11502 * math/e_exp10l.c: Likewise.
11503 * math/e_exp2l.c: Likewise.
11504 * math/e_j0l.c: Likewise.
11505 * math/e_j1l.c: Likewise.
11506 * math/e_jnl.c: Likewise.
11507 * math/e_lgammal_r.c: Likewise.
11508 * math/e_rem_pio2l.c: Likewise.
11509 * math/e_scalb.c: Likewise.
11510 * math/e_scalbf.c: Likewise.
11511 * math/e_scalbl.c: Likewise.
11512 * math/k_cosl.c: Likewise.
11513 * math/k_sinl.c: Likewise.
11514 * math/k_tanl.c: Likewise.
11515 * math/s_cacoshf.c: Likewise.
11516 * math/s_catan.c: Likewise.
11517 * math/s_catanf.c: Likewise.
11518 * math/s_catanh.c: Likewise.
11519 * math/s_catanhf.c: Likewise.
11520 * math/s_catanhl.c: Likewise.
11521 * math/s_catanl.c: Likewise.
11522 * math/s_ccosh.c: Likewise.
11523 * math/s_ccoshf.c: Likewise.
11524 * math/s_ccoshl.c: Likewise.
11525 * math/s_cexp.c: Likewise.
11526 * math/s_cexpf.c: Likewise.
11527 * math/s_cexpl.c: Likewise.
11528 * math/s_clog.c: Likewise.
11529 * math/s_clog10.c: Likewise.
11530 * math/s_clog10f.c: Likewise.
11531 * math/s_clog10l.c: Likewise.
11532 * math/s_clogf.c: Likewise.
11533 * math/s_clogl.c: Likewise.
11534 * math/s_csin.c: Likewise.
11535 * math/s_csinf.c: Likewise.
11536 * math/s_csinh.c: Likewise.
11537 * math/s_csinhf.c: Likewise.
11538 * math/s_csinhl.c: Likewise.
11539 * math/s_csinl.c: Likewise.
11540 * math/s_csqrt.c: Likewise.
11541 * math/s_csqrtf.c: Likewise.
11542 * math/s_csqrtl.c: Likewise.
11543 * math/s_ctan.c: Likewise.
11544 * math/s_ctanf.c: Likewise.
11545 * math/s_ctanh.c: Likewise.
11546 * math/s_ctanhf.c: Likewise.
11547 * math/s_ctanhl.c: Likewise.
11548 * math/s_ctanl.c: Likewise.
11549 * math/s_ldexp.c: Likewise.
11550 * math/s_ldexpf.c: Likewise.
11551 * math/s_ldexpl.c: Likewise.
11552 * math/s_significand.c: Likewise.
11553 * math/s_significandf.c: Likewise.
11554 * math/s_significandl.c: Likewise.
11555 * math/w_acos.c: Likewise.
11556 * math/w_acosf.c: Likewise.
11557 * math/w_acosh.c: Likewise.
11558 * math/w_acoshf.c: Likewise.
11559 * math/w_acoshl.c: Likewise.
11560 * math/w_acosl.c: Likewise.
11561 * math/w_asin.c: Likewise.
11562 * math/w_asinf.c: Likewise.
11563 * math/w_asinl.c: Likewise.
11564 * math/w_atan2.c: Likewise.
11565 * math/w_atan2f.c: Likewise.
11566 * math/w_atan2l.c: Likewise.
11567 * math/w_atanh.c: Likewise.
11568 * math/w_atanhf.c: Likewise.
11569 * math/w_atanhl.c: Likewise.
11570 * math/w_cosh.c: Likewise.
11571 * math/w_coshf.c: Likewise.
11572 * math/w_coshl.c: Likewise.
11573 * math/w_dremf.c: Likewise.
11574 * math/w_exp10.c: Likewise.
11575 * math/w_exp10f.c: Likewise.
11576 * math/w_exp10l.c: Likewise.
11577 * math/w_exp2.c: Likewise.
11578 * math/w_exp2f.c: Likewise.
11579 * math/w_fmod.c: Likewise.
11580 * math/w_fmodf.c: Likewise.
11581 * math/w_fmodl.c: Likewise.
11582 * math/w_hypot.c: Likewise.
11583 * math/w_hypotf.c: Likewise.
11584 * math/w_hypotl.c: Likewise.
11585 * math/w_j0.c: Likewise.
11586 * math/w_j0f.c: Likewise.
11587 * math/w_j0l.c: Likewise.
11588 * math/w_j1.c: Likewise.
11589 * math/w_j1f.c: Likewise.
11590 * math/w_j1l.c: Likewise.
11591 * math/w_jn.c: Likewise.
11592 * math/w_jnf.c: Likewise.
11593 * math/w_jnl.c: Likewise.
11594 * math/w_lgamma.c: Likewise.
11595 * math/w_lgamma_r.c: Likewise.
11596 * math/w_lgammaf.c: Likewise.
11597 * math/w_lgammaf_r.c: Likewise.
11598 * math/w_lgammal.c: Likewise.
11599 * math/w_lgammal_r.c: Likewise.
11600 * math/w_log.c: Likewise.
11601 * math/w_log10.c: Likewise.
11602 * math/w_log10f.c: Likewise.
11603 * math/w_log10l.c: Likewise.
11604 * math/w_log2.c: Likewise.
11605 * math/w_log2f.c: Likewise.
11606 * math/w_log2l.c: Likewise.
11607 * math/w_logf.c: Likewise.
11608 * math/w_logl.c: Likewise.
11609 * math/w_pow.c: Likewise.
11610 * math/w_powf.c: Likewise.
11611 * math/w_powl.c: Likewise.
11612 * math/w_remainder.c: Likewise.
11613 * math/w_remainderf.c: Likewise.
11614 * math/w_remainderl.c: Likewise.
11615 * math/w_scalb.c: Likewise.
11616 * math/w_scalbf.c: Likewise.
11617 * math/w_scalbl.c: Likewise.
11618 * math/w_sinh.c: Likewise.
11619 * math/w_sinhf.c: Likewise.
11620 * math/w_sinhl.c: Likewise.
11621 * math/w_sqrt.c: Likewise.
11622 * math/w_sqrtf.c: Likewise.
11623 * math/w_sqrtl.c: Likewise.
11624 * math/w_tgamma.c: Likewise.
11625 * math/w_tgammaf.c: Likewise.
11626 * math/w_tgammal.c: Likewise.
11627
6a621eb7
UD
11628 * po/ja.po: Update from translation team.
11629
bf582445
AJ
116302011-09-29 Andreas Jaeger <aj@suse.de>
11631
f9efbf3a
AJ
11632 [BZ #13179]
11633 * sunrpc/netname.c (netname2host): Fix logic.
11634
bf582445
AJ
11635 [BZ #6779]
11636 [BZ #6783]
11637 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
11638 correctly.
11639 * math/w_remainder.c (__remainder): Likewise.
11640 * math/w_remainderf.c (__remainderf): Likewise.
11641 * math/libm-test.inc (remainder_test): Add test cases.
11642
48693bea
AK
116432011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11644
11645 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
11646 sdiv_qrnnd.
11647
42622229
LD
116482011-10-07 Ulrich Drepper <drepper@gmail.com>
11649
11650 * string/test-memcmp.c: Avoid unncessary #defines.
11651 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
11652
093ecf92
LD
116532011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
11654
11655 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
11656 Use new sse2 version for core i3 - i7 as it's faster
11657 than sse42 version.
11658 (bit_Prefer_PMINUB_for_stringop): New.
11659 * sysdeps/x86_64/rawmemchr.S: Update.
11660 Replace with faster SSE2 version.
11661 * sysdeps/x86_64/memrchr.S: New file.
11662 * sysdeps/x86_64/memchr.S: Update.
11663 Replace with faster SSE2 version.
11664
fde56e5c
MP
116652011-09-12 Marek Polacek <mpolacek@redhat.com>
11666
11667 * elf/dl-load.c (lose): Add cast to avoid warning.
11668
21fd49a9
UD
116692011-10-07 Ulrich Drepper <drepper@gmail.com>
11670
5a06e643
UD
11671 * po/ca.po: Update from translation team.
11672
684ae515
UD
11673 * inet/getnetgrent_r.c: Hook up nscd.
11674 * nscd/Makefile (routines): Add nscd_netgroup.
11675 (nscd-modules): Add netgroupcache.
11676 (CFLAGS-netgroupcache.c): Define.
11677 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
11678 (cache_search): Add const to second parameter.
11679 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
11680 INNETGR.
11681 (dbs): Add netgrdb entry.
11682 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
11683 (verify_persistent_db): Handle netgrdb.
11684 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
11685 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
11686 GETFDNETGR.
11687 (netgroup_response_header): Define.
11688 (innetgroup_response_header): Define.
11689 (datahead): Add netgroup_response_header and innetgroup_response_header
11690 elements.
11691 * nscd/nscd.conf: Add entries for netgroup cache.
11692 * nscd/nscd.h (dbtype): Add netgrdb.
11693 (_PATH_NSCD_NETGROUP_DB): Define.
11694 (netgroup_iov_disabled): Declare.
11695 (xmalloc, xcalloc, xrealloc): Move declarations here.
11696 (cache_search): Adjust prototype.
11697 Add netgroup-related prototypes.
11698 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
11699 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
11700 (__nscd_innetgr): Declare.
11701 * nscd/selinux.c (perms): Use access_vector_t as element type and
11702 add netgroup-related initializers.
11703 * nscd/netgroupcache.c: New file.
11704 * nscd/nscd_netgroup.c: New file.
11705 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
11706 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
11707 For four parameters use innetgr.
11708 * nss/nss_files/files-init.c: Add definition and callback for netgr.
11709 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
11710 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
11711 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
11712
21fd49a9
UD
11713 * nscd/connections.c (register_traced_file): Don't register file
11714 for disabled databases.
11715
054c0457
UD
117162011-10-06 Ulrich Drepper <drepper@gmail.com>
11717
32b63198
UD
11718 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
11719
054c0457
UD
11720 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
11721 from tree and freeing node.
11722
64031225
JO
117232011-09-25 Jiri Olsa <jolsa@redhat.com>
11724
11725 * nss/nsswitch.c (__nss_database_lookup): Handle
11726 nss_parse_service_list out of memory case.
11727
0490345c
JO
117282011-09-15 Jiri Olsa <jolsa@redhat.com>
11729
11730 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
11731 out of memory case.
11732
3a62d00d
AS
117332011-10-04 Andreas Schwab <schwab@redhat.com>
11734
11735 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
11736 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
11737 pass it down.
11738 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
11739 elf_machine_rela, elf_machine_lazy_rel.
11740 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
11741 (ELF_DYNAMIC_DO_REL): Likewise.
11742 (ELF_DYNAMIC_DO_RELA): Likewise.
11743 (ELF_DYNAMIC_RELOCATE): Likewise.
11744 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
11745 to ELF_DYNAMIC_DO_REL.
11746 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
11747 (dl_main): In trace mode always set __RTLD_NOIFUNC.
11748 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
11749 elf_machine_rela.
11750 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
11751 skip_ifunc, don't call ifunc function if non-zero.
11752 (elf_machine_rela): Likewise.
11753 (elf_machine_lazy_rel): Likewise.
11754 (elf_machine_lazy_rela): Likewise.
11755 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
11756 (elf_machine_lazy_rel): Likewise.
11757 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
11758 Likewise.
11759 (elf_machine_lazy_rel): Likewise.
11760 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
11761 Likewise.
11762 (elf_machine_lazy_rel): Likewise.
11763 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
11764 (elf_machine_lazy_rel): Likewise.
11765 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
11766 (elf_machine_lazy_rel): Likewise.
11767 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
11768 (elf_machine_lazy_rel): Likewise.
11769 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
11770 (elf_machine_lazy_rel): Likewise.
11771 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
11772 (elf_machine_lazy_rel): Likewise.
11773 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
11774 (elf_machine_lazy_rel): Likewise.
11775
68577918
UD
117762011-09-28 Ulrich Drepper <drepper@gmail.com>
11777
11778 * nss/nss_files/files-init.c (_nss_files_init): Use static
11779 initialization for all the *_traced_file variables.
11780
68822d74
AS
117812011-09-28 Andreas Schwab <schwab@redhat.com>
11782
11783 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
11784
2056100b
RM
117852011-09-27 Roland McGrath <roland@hack.frob.com>
11786
11787 [BZ #13226]
11788 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
11789
32c76b63
AS
117902011-09-27 Andreas Schwab <schwab@redhat.com>
11791
11792 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
11793 Reread the line before reparsing it.
11794
bf972c9d
AS
117952011-09-26 Andreas Schwab <schwab@redhat.com>
11796
11797 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
11798
e057a1b5
JM
117992011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
11800 Maxim Kuvyrkov <maxim@codesourcery.com>
11801 Joseph Myers <joseph@codesourcery.com>
11802
11803 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
11804 if needed for __stack_chk_guard.
11805
bc7e1c36
RM
118062011-09-19 Roland McGrath <roland@hack.frob.com>
11807
ecb1482f
RM
11808 * sysdeps/posix/spawni.c (script_execute): Always define it.
11809 It will be optimized away if unused.
11810 (maybe_script_execute): New function.
11811 (__spawni): Call it.
11812
bc7e1c36
RM
11813 * Makerules: Don't include tls.make.
11814 (config-tls): Always set to thread.
11815 * tls.make.c: File removed.
11816
1c3b002b
MF
118172011-09-19 Mike Frysinger <vapier@gentoo.org>
11818
11819 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
11820 * config.make.in (CPPFLAGS-config): New substituted variable.
11821
2840865d
UD
118222011-09-15 Ulrich Drepper <drepper@gmail.com>
11823
88738eb6
UD
11824 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
11825
cbf645a6 11826 [BZ #13192]
2840865d
UD
11827 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
11828 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
11829
b402e91a
RM
118302011-09-15 Roland McGrath <roland@hack.frob.com>
11831
11832 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
11833 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
11834 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
11835 (CALL_FAIL): Likewise.
11836 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
11837 (CALL_FAIL): Macro removed.
11838 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
11839
4c1a1f71
UD
118402011-09-15 Ulrich Drepper <drepper@gmail.com>
11841
11842 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
11843 for __FINITE_MATH_ONLY__ == 1.
11844
edc121be
AS
118452011-09-15 Andreas Schwab <schwab@redhat.com>
11846
11847 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
11848 __ieee754_sqrt instead of sqrt.
11849 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
11850 __ieee754_sqrtf instead of sqrtf.
11851 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
11852 __floorf instead of floorf.
11853 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
11854 __floorf, __truncf instead of floorf, truncf.
11855
cd205654
UD
118562011-09-14 Ulrich Drepper <drepper@gmail.com>
11857
ee4d0315
UD
11858 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
11859
cd205654
UD
11860 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
11861 __extern_always_inline.
11862 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
11863 32-bit.
11864
48b67d71
AS
118652011-09-14 Andreas Schwab <schwab@redhat.com>
11866
11867 * elf/rtld.c (dl_main): Also relocate in dependency order when
11868 doing symbol dependency testing.
11869
1ae12c75
AS
118702011-09-13 Andreas Schwab <schwab@linux-m68k.org>
11871
11872 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
11873 Always define `refsym'.
11874
995a80df
AS
118752011-09-13 Andreas Schwab <schwab@redhat.com>
11876
e529793b
AS
11877 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
11878 (__FD_ELT): Renamed from __FDELT.
11879 * misc/bits/select2.h (__FD_ELT): Likewise.
11880 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
11881 __FD_MASK instead of __FDELT, __FDMASK.
11882 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
11883 Likewise.
11884 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
11885 Likewise.
11886
52d4fef8
AS
11887 * elf/Makefile (gen-ldd): Fix pattern.
11888
995a80df
AS
11889 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
11890 (init_tls): Likewise.
11891
8682f8b0
UD
118922011-09-12 Ulrich Drepper <drepper@gmail.com>
11893
11894 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
11895
de82006d
AS
118962011-09-12 Andreas Schwab <schwab@redhat.com>
11897
a7c8e6a1
AS
11898 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
11899 `struct cmsghdr *' instead of `void *'.
11900 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
11901 Likewise.
11902
0f31fe77
AS
119032011-09-11 Andreas Schwab <schwab@linux-m68k.org>
11904
11905 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
11906 if non-absolute.
11907 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
11908 ldd_rewrite_script.
0f31fe77 11909
32b4c839
UD
119102011-09-11 Ulrich Drepper <drepper@gmail.com>
11911
83cd1420
UD
11912 * configure.in: Remove --with-tls option.
11913 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
11914 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
11915 out in case it is missing.
11916 * sysdeps/ia64/elf/configure.in: Likewise.
11917 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
11918 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
11919 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
11920 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
11921 * sysdeps/sh/elf/configure.in: Likewise.
11922 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
11923 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
11924 * sysdeps/x86_64/elf/configure.in: Likewise.
11925 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
11926 * sysdeps/mach/hurd/tls.h: Likewise.
11927
633f745d
UD
11928 [BZ #13067]
11929 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
11930
f318beb8
UD
11931 [BZ #13090]
11932 * configure.in: Fix use of AC_INIT.
11933
32b4c839
UD
11934 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
11935
3ce1f295
UD
119362011-09-10 Ulrich Drepper <drepper@gmail.com>
11937
bb016596
UD
11938 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
11939 __set_errno.
8e58439c
UD
11940 * malloc/hooks.c: Likewise.
11941
aebae053 11942 [BZ #11929]
02d46fc4
UD
11943 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
11944 variables statically.
11945 (narenas): Initialize.
11946 (list_lock): Initialize.
bb016596
UD
11947 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
11948 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
11949 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
11950 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
11951 Add initializers to main_arena and mp_.
11952 (malloc_state): Remove pagesize member. Change all users to use
11953 GLRO(dl_pagesize).
11954
11955 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
11956 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
11957 is always initialized.
11958
22a89187
UD
11959 * malloc/malloc.c: Removed unused configurations and dead code.
11960 * malloc/arena.c: Likewise.
11961 * malloc/hooks.c: Likewise.
02d46fc4 11962 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 11963
d063d164
UD
11964 * include/tls.h: Removed. USE___THREAD must always be defined.
11965 * bits/libc-tsd.h: Don't handle !USE___THREAD.
11966 * elf/dl-libc.c: Likewise.
11967 * elf/dl-tsd.c: Likewise.
11968 * include/errno.h: Likewise.
11969 * include/netdb.h: Likewise.
11970 * include/resolv.h: Likewise.
11971 * inet/herrno-loc.c: Likewise.
11972 * inet/herrno.c: Likewise.
11973 * malloc/arena.c: Likewise.
11974 * malloc/hooks.c: Likewise.
11975 * malloc/malloc.c: Likewise.
11976 * resolv/res-state.c: Likewise.
11977 * resolv/res_libc.c: Likewise.
11978 * sysdeps/i386/dl-machine.h: Likewise.
11979 * sysdeps/ia64/dl-machine.h: Likewise.
11980 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
11981 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
11982 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
11983 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
11984 * sysdeps/sh/dl-machine.h: Likewise.
11985 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
11986 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
11987 * sysdeps/unix/i386/sysdep.S: Likewise.
11988 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
11989 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
11990 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
11991 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
11992 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
11993 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
11994 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
11995 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
11996 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
11997 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
11998 * sysdeps/unix/x86_64/sysdep.S: Likewise.
11999 * sysdeps/x86_64/dl-machine.h: Likewise.
12000 * tls.make.c: Likewise.
12001
3ce1f295
UD
12002 * configure.in: Remove --with-__thread option. Make tests for
12003 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
12004 tls_model attribute fail if no support is available. Remove
12005 USE_IN_LIBIO.
12006 * Makeconfig: Adjust for dropped configure option. All features are
12007 now mandatory.
12008 * Makerules: Likewise.
12009 * Versions.def: Likewise.
12010 * argp/argp-fmtstream.c: Likewise.
12011 * argp/argp-fmtstream.h: Likewise.
12012 * argp/argp-help.c: Likewise.
12013 * assert/assert.c: Likewise.
12014 * config.h.in: Likewise.
12015 * config.make.in: Likewise.
12016 * configure: Likewise.
12017 * configure.in: Likewise.
12018 * csu/Versions: Likewise.
12019 * csu/init.c: Likewise.
12020 * elf/tst-audit2.c: Likewise.
12021 * elf/tst-tls10.c: Likewise.
12022 * elf/tst-tls10.h: Likewise.
12023 * elf/tst-tls11.c: Likewise.
12024 * elf/tst-tls12.c: Likewise.
12025 * elf/tst-tls14.c: Likewise.
12026 * elf/tst-tlsmod11.c: Likewise.
12027 * elf/tst-tlsmod12.c: Likewise.
12028 * elf/tst-tlsmod13.c: Likewise.
12029 * elf/tst-tlsmod13a.c: Likewise.
12030 * elf/tst-tlsmod14a.c: Likewise.
12031 * elf/tst-tlsmod15b.c: Likewise.
12032 * elf/tst-tlsmod16a.c: Likewise.
12033 * elf/tst-tlsmod16b.c: Likewise.
12034 * elf/tst-tlsmod7.c: Likewise.
12035 * elf/tst-tlsmod8.c: Likewise.
12036 * elf/tst-tlsmod9.c: Likewise.
12037 * gmon/gmon.c: Likewise.
12038 * grp/fgetgrent_r.c: Likewise.
12039 * grp/putgrent.c: Likewise.
12040 * hurd/fopenport.c: Likewise.
12041 * include/libc-symbols.h: Likewise.
12042 * include/tls.h: Likewise.
12043 * intl/gettextP.h: Likewise.
12044 * intl/loadinfo.h: Likewise.
12045 * locale/global-locale.c: Likewise.
12046 * locale/localeinfo.h: Likewise.
12047 * mach/devstream.c: Likewise.
12048 * malloc/arena.c: Likewise.
12049 * malloc/set-freeres.c: Likewise.
12050 * misc/err.c: Likewise.
12051 * misc/getttyent.c: Likewise.
12052 * misc/mntent_r.c: Likewise.
12053 * posix/getopt.c: Likewise.
12054 * posix/wordexp.c: Likewise.
12055 * pwd/fgetpwent_r.c: Likewise.
12056 * resolv/Versions: Likewise.
12057 * resolv/res_hconf.c: Likewise.
12058 * shadow/fgetspent_r.c: Likewise.
12059 * shadow/putspent.c: Likewise.
12060 * stdio-common/printf_fphex.c: Likewise.
12061 * stdio-common/tmpfile.c: Likewise.
12062 * stdlib/abort.c: Likewise.
12063 * stdlib/fmtmsg.c: Likewise.
12064 * sunrpc/auth_unix.c: Likewise.
12065 * sunrpc/clnt_perr.c: Likewise.
12066 * sunrpc/clnt_tcp.c: Likewise.
12067 * sunrpc/clnt_udp.c: Likewise.
12068 * sunrpc/clnt_unix.c: Likewise.
12069 * sunrpc/openchild.c: Likewise.
12070 * sunrpc/svc_simple.c: Likewise.
12071 * sunrpc/svc_tcp.c: Likewise.
12072 * sunrpc/svc_udp.c: Likewise.
12073 * sunrpc/svc_unix.c: Likewise.
12074 * sunrpc/xdr.c: Likewise.
12075 * sunrpc/xdr_array.c: Likewise.
12076 * sunrpc/xdr_rec.c: Likewise.
12077 * sunrpc/xdr_ref.c: Likewise.
12078 * sunrpc/xdr_stdio.c: Likewise.
12079
1248c1c4
PB
120802011-09-09 Ulrich Drepper <drepper@gmail.com>
12081
12082 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
12083
120842011-07-03 Andreas Jaeger <aj@suse.de>
12085
12086 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
12087 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
12088 regenerate with gen-libm-tests.pl.
12089
120902010-05-12 Petr Baudis <pasky@suse.cz>
12091
12092 [BZ #11589]
12093 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
12094 around j0() zero points by switching to j1().
12095 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
12096 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
12097 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
12098 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
12099
f22e1074
UD
121002011-09-09 Ulrich Drepper <drepper@gmail.com>
12101
f19009c1
UD
12102 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
12103 instead of 0.
12104 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
12105 instead of 0. .
12106 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
12107 Patch in part by Pavel Roskin <proski@gnu.org>.
12108
3f8cc204
UD
12109 [BZ #13138]
12110 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
12111 realloc.
12112 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
12113 Free memory block if necessary.
12114
f22e1074
UD
12115 [BZ #12847]
12116 * libio/genops.c (INTDEF): For string streams the _lock pointer can
12117 be NULL. Don't lock in this case.
12118
0a2349f9
RM
121192011-09-09 Roland McGrath <roland@hack.frob.com>
12120
12121 * elf/elf.h (ELFOSABI_GNU): New macro.
12122 (ELFOSABI_LINUX): Define to that.
12123
f3cdd467
DZ
121242011-07-29 Denis Zaitceff <zaitceff@gmail.com>
12125
12126 * string/strncat.c (strncat): Undef the symbol in case it has been
12127 defined in bits/string.h.
12128
74718d13
UD
121292011-09-09 Ulrich Drepper <drepper@gmail.com>
12130
633e9e0f
UD
12131 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
12132
0a2349f9 12133 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
12134 link map.
12135
f9924780
AJ
121362011-08-17 Andreas Jaeger <aj@suse.de>
12137
12138 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
12139
7f5517aa
PP
121402011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
12141 Ian Lance Taylor <iant@google.com>
12142
12143 * math/libm-test.inc (lround_test): New testcase.
12144 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
12145
762011fe
UD
121462011-09-08 Ulrich Drepper <drepper@gmail.com>
12147
92963737
UD
12148 * Makefile: Remove support for automatic cvs check-ins.
12149 * Makerules: Likewise.
12150 * config.make.in: Likewise.
12151 * configure.in: Likewise.
12152 * intl/Makefile: Likewise.
12153 * locale/Makefile: Likewise.
12154 * po/Makefile: Likewise.
12155 * posix/Makefile: Likewise.
12156 * sysdeps/gnu/Makefile: Likewise.
12157 * sysdeps/mach/hurd/Makefile: Likewise.
12158 * sysdeps/sparc/sparc32/Makefile: Likewise.
12159
b0727fd8
JS
12160 [BZ #13118]
12161 * posix/Makefile (bug-regex32-ENV): Define.
12162 Patch by John Stanley <jpsinthemix@verizon.net>.
12163
a0f33f99
UD
12164 * misc/Makefile (headers): Add bits/select2.h.
12165 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
12166 * misc/bits/select2.h: New file.
12167 * include/bits/select2.h: New file.
12168 * debug/Makefile (routines): Add fdelt_chk.
12169 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
12170 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
12171 FD_ISSET.
12172 * debug/fdelt_chk.c: New file.
12173
762011fe
UD
12174 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
12175 * wcsmbs/test-wmemcmp.c: Likewise.
12176 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 12177 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
12178
121792011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12180
12181 * string/Makefile (strop-tests): Add memcmp.
12182 * string/test-wmemcmp.c: New file.
12183 * string/test-memcmp.c: Add wmemcmp support.
12184
7f513ec8
RM
121852011-09-08 Roland McGrath <roland@hack.frob.com>
12186
0442afb4
RM
12187 [BZ #13153]
12188 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
12189 2011-07-19 change.
12190
7f513ec8
RM
12191 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
12192 garbage value in a __mach_port_mod_refs call in the cases of the
12193 task-self and thread-self ports.
12194
a12b2239
ST
121952011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
12196
12197 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
12198
610f9ab4
AS
121992011-09-08 Andreas Schwab <schwab@redhat.com>
12200
7f513ec8 12201 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 12202
48882a1a
LD
122032011-09-07 Ulrich Drepper <drepper@gmail.com>
12204
b49865be
UD
12205 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
12206
fdc86bc9
UD
12207 * elf/dl-libc.c (dlerror_run): Pass back error code from
12208 dl_catch_error.
12209
c966526a
UD
12210 [BZ #13123]
12211 * elf/dl-load.c (lose): Free l_origin if it is valid.
12212
48882a1a
LD
12213 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
12214 names.
12215 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
12216 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
12217 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
12218 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
12219 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
12220 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
12221
77a2a8b4
AZ
122222011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12223
12224 * sysdeps/powerpc/fpu/e_hypot.c: New file.
12225 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
12226 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
12227 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
12228 * sysdeps/powerpc/fpu/k_cosf.c: New file.
12229 * sysdeps/powerpc/fpu/k_sinf.c: New file.
12230 * sysdeps/powerpc/fpu/s_cosf.c: New file.
12231 * sysdeps/powerpc/fpu/s_sinf.c: New file.
12232 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
12233 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
12234
24f579d8
AM
122352011-08-15 Alan Modra <amodra@gmail.com>
12236
12237 [BZ #13092]
12238 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
12239 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
12240 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
12241 ppc_mcount to static-only-routines.
12242 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
12243 __mcount_internal.
12244 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
12245 __mcount_internal with usual JUMPTARGET. Remove useless nop.
12246
3d4837df
UD
122472011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
12248
12249 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
12250 for finite and infinity parameters.
12251
22700377
WS
122522011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
12253
12254 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
12255 and add nop instructions for throughput optimization.
12256 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
12257
5025581e
WS
122582011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
12259
12260 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
12261 aligned copy for power7 with vector-scalar instructions.
12262 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
12263
08a300c9
L
122642011-07-24 H.J. Lu <hongjiu.lu@intel.com>
12265
12266 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
12267 AVX check.
12268
59178ef9
AS
122692011-09-07 Andreas Schwab <schwab@redhat.com>
12270
12271 [BZ #13144]
12272 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
12273 last change.
12274
e38ba7ab
UD
122752011-09-07 Ulrich Drepper <drepper@gmail.com>
12276
12277 * sysdeps/unix/sysv/linux/x86_64/init-first.c
12278 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
12279 syscall wrapper around clock_gettime in __vdso_clock_gettime.
12280 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
12281 clock_gettime.
12282
d53a73ac
UD
122832011-09-06 Ulrich Drepper <drepper@gmail.com>
12284
fc8bffcc
UD
12285 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
12286 Forgot to demangle the pointer.
12287
ceaa0c5d
UD
12288 * sysdeps/i386/sysdep.h: Define atom_text_section.
12289 * sysdeps/x86_64/sysdep.h: Likewise.
12290 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
12291 section with atom_text_section.
12292 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
12293 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
12294 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
12295 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
12296 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
12297
a77d3c17
UD
12298 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
12299 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
12300 already be defined. Change to take two parameters and don't assign
12301 result to variable. Adjust all users.
12302 Define INTERNAL_GETTIME if not already defined.
12303 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
12304 call.
12305 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
12306 HAVE_CLOCK_GETTIME_VSYSCALL.
12307 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
12308
d53a73ac
UD
12309 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
12310 gettimeofday vsyscall, just use time.
12311
a8f84144
AS
123122011-09-06 Andreas Schwab <schwab@redhat.com>
12313
12314 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
12315 <errno.h>.
12316
ef606249
UD
123172011-09-06 Ulrich Drepper <drepper@gmail.com>
12318
12319 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
12320 syscall on x86-64.
12321 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
12322 syscall.
12323 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
12324 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
12325 syscall if possible.
12326
6585cb60
UD
123272011-09-05 Ulrich Drepper <drepper@gmail.com>
12328
12329 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
12330 e_ident. Don't pass to find_mapsXX.
12331 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
12332
a5f524e4
LD
123332011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
12334
12335 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
12336 strchr-sse2-no-bsf strrchr-sse2-no-bsf
12337 * sysdeps/x86_64/multiarch/strchr.S: Update.
12338 Check bit_slow_BSF bit.
12339 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
12340 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
12341 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
12342
554881ef
UD
123432011-09-05 Ulrich Drepper <drepper@gmail.com>
12344
d96de963
UD
12345 [BZ #13134]
12346 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
12347 before glibc 2.15.
12348 (tryshell): Define.
12349 (__spawni): Change last parameter to be flag. Test
12350 SPAWN_XFLAGS_USE_PATH flag to use path or not.
12351 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
12352 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
12353 * posix/spawni.c: Likewise.
12354 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
12355 * posix/spawnp.c: Likewise. Change normal version to use
12356 SPAWN_XFLAGS_USE_PATH.
12357 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
12358 SPAWN_XFLAGS_TRY_SHELL.
12359
d48e5868
UD
12360 [BZ #13150]
12361 * posix/glob.h: Remove gcc 1.x support.
12362
554881ef
UD
12363 [BZ #13068]
12364 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
12365
693fb948
LD
123662011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
12367
12368 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
12369 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
12370 strrchr-sse2-bsf
12371 * sysdeps/i386/i686/multiarch/strchr.S: New file.
12372 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
12373 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
12374 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
12375 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
12376 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
12377
1b48c537
UD
123782011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12379
49d42c37
UD
12380 * sysdeps/x86_64/wcscmp.S: New file.
12381
1b48c537
UD
12382 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
12383 wcscmp-c wcscmp-sse2
12384 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
12385 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
12386 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
12387 * wcsmbs/wcscmp.c: Allow renaming.
12388
15c95c5d
DM
123892011-09-05 David S. Miller <davem@davemloft.net>
12390
12391 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
12392 stack slot, rather than the struct return pointer slot.
12393 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
12394 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
12395 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
12396 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
12397
2f0ad8f3
UD
123982011-09-05 Ulrich Drepper <drepper@gmail.com>
12399
d88ae418
UD
12400 * po/ja.po: Update from translation team.
12401
2f0ad8f3
UD
12402 [BZ #13144]
12403 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
12404 kernel in 64-bit binaries.
12405
5f4318d1
DM
124062011-09-01 David S. Miller <davem@davemloft.net>
12407
12408 * elf/elf.h (HWCAP_SPARC_*): Move to..
12409 * sysdeps/sparc/sysdep.h: this new file and add new values.
12410 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
12411 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
12412 _DL_HWCAP_COUNT to 24.
12413 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
12414 entries.
12415 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
12416 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
12417 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
12418 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
12419 instead of magic constants.
12420 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
12421
3ba57516
DM
124222011-08-31 David S. Miller <davem@davemloft.net>
12423
12424 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
12425 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
12426 Reimplement to do errno handling inline.
12427 (SYSCALL_ERROR_HANDLER): New macro.
12428 (__SYSCALL_STRING): Do not do errno handling in asm.
12429 (__CLONE_SYSCALL_STRING): Delete.
12430 (__INTERNAL_SYSCALL_STRING): Delete.
12431 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
12432 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
12433 (PSEUDO): Reimplement to do errno handling inline.
12434 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
12435 (SYSCALL_ERROR_HANDLER): New macro.
12436 (__SYSCALL_STRING): Do not do errno handling in asm.
12437 (__CLONE_SYSCALL_STRING): Delete.
12438 (__INTERNAL_SYSCALL_STRING): Delete.
12439 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
12440 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
12441 i386.
12442 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
12443 (inline_syscall*): Add 'err' argument.
12444 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
12445 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
12446 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
12447 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
12448
12449 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
12450 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
12451
2bc17433
AS
124522011-08-30 Andreas Schwab <schwab@redhat.com>
12453
12454 * elf/rtld.c (dl_main): Relocate objects in dependency order.
12455
fbeb5f4d
JO
124562011-08-29 Jiri Olsa <jolsa@redhat.com>
12457
12458 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
12459 directive.
12460
ad69cc26
DM
124612011-08-24 David S. Miller <davem@davemloft.net>
12462
12463 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
12464
39dd69df
AS
124652011-08-24 Andreas Schwab <schwab@redhat.com>
12466
12467 * elf/Makefile: Add rules to build and run unload8 test.
12468 * elf/unload8.c: New file.
12469 * elf/unload8mod1.c: New file.
12470 * elf/unload8mod1x.c: New file.
12471 * elf/unload8mod2.c: New file.
12472 * elf/unload8mod3.c: New file.
12473
12474 * elf/dl-close.c (_dl_close_worker): Reset private search list if
12475 it wasn't used.
12476
2c0b250a
DM
124772011-08-23 David S. Miller <davem@davemloft.net>
12478
12479 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
12480 subtract stack bias.
12481 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
12482 %sp not %fp in calculations.
12483 (_JMPBUF_UNWINDS_ADJ): Likewise.
12484
22044b48
DM
12485 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
12486 (aio_suspend): Call it to force an exception region around the
12487 AIO_MISC_WAIT() invocation.
12488
2cae4995
AS
124892011-08-23 Andreas Schwab <schwab@redhat.com>
12490
12491 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
12492 backslash.
12493
873a772e
AJ
124942011-07-04 Aurelien Jarno <aurelien@aurel32.net>
12495
12496 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
12497 protection macro.
12498 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
12499 and <dl-machine.h>.
12500 (Elf64_FuncDesc): Remove.
12501
25ad0df1
DM
125022011-08-22 David S. Miller <davem@davemloft.net>
12503
12504 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
12505 sigaltstack check, add missing cfi directives.
12506 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
12507 missing cfi directives, and sigaltstack handling.
12508
e888bcbe
AS
125092011-08-16 Andreas Schwab <schwab@redhat.com>
12510
12511 [BZ #11724]
12512 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
12513 object is seen twice.
12514 * elf/dl-fini.c (_dl_sort_fini): Likewise.
12515
12516 * elf/Makefile (distribute): Add tst-initorder2.c.
12517 (tests): Add tst-initorder2.
12518 (modules-names): Add tst-initorder2a tst-initorder2b
12519 tst-initorder2c tst-initorder2d. Add rules to build them.
12520 ($(objpfx)tst-initorder2.out): New rule.
12521 * elf/tst-initorder2.c: New file.
12522 * elf/tst-initorder2.exp: New file.
12523
87162f46
AS
125242011-08-22 Andreas Schwab <schwab@redhat.com>
12525
70538b7f
AS
12526 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
12527
f55ffe58
AS
12528 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
12529 dependencies back to end of function.
12530
87162f46
AS
12531 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
12532 $(elfobjdir)/ld.so.
12533
91b392a4
UD
125342011-08-21 Ulrich Drepper <drepper@gmail.com>
12535
12536 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
12537 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
12538 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
12539 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
12540 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
12541 of __vdso_gettimeofday.
12542 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
12543 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
12544 attribute_hidden.
12545 (_libc_vdso_platform_setup): Remove initialization of
12546 __vdso_gettimeofday and __vdso_time.
12547
5c43483f
UD
125482011-08-20 Ulrich Drepper <drepper@gmail.com>
12549
775a77e7
UD
12550 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
12551 and fgetc_unlocked.
12552 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
12553 getc_unlocked.
89f447ed 12554
49c74ba9
UD
12555 * elf/dl-open.c (add_to_global): Report additions to the global scope
12556 for LD_DEBUG=scopes.
12557 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 12558 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 12559
5c43483f
UD
12560 [BZ #13114]
12561 * stdio-common/Makefile (tests): Add bug24.
12562 * stdio-common/bug24.c: New file.
12563
a101b025
AJ
125642011-08-19 Andreas Jaeger <aj@suse.de>
12565
12566 [BZ #13114]
12567 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
12568 non-existant file when using close-on-exec mode.
12569
c88f1766
UD
125702011-08-20 Ulrich Drepper <drepper@gmail.com>
12571
0276a718
UD
12572 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
12573 the very first instruction.
12574
c88f1766
UD
12575 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
12576 the CFI state in the end.
12577 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
12578 inclusion of dl-trampoline.h.
12579 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
12580
51ccffa0
AS
125812011-08-19 Andreas Schwab <schwab@redhat.com>
12582
94d7165f
AS
12583 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
12584 expectations for long double.
12585
51ccffa0
AS
12586 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
12587 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
12588
fd708658 125892011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
12590
12591 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
12592 artificual limit depends upon the system page size.
12593
44f0a71e
UD
125942011-08-17 Ulrich Drepper <drepper@gmail.com>
12595
12596 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
12597 * resolv/Makefile: Define CFLAGS-libresolv.
12598
8de79a24
AS
125992011-08-17 Andreas Schwab <schwab@redhat.com>
12600
12601 * nss/makedb.c (compute_tables): Make variables used in nested
12602 function static.
12603
27724598
UD
126042011-08-17 Ulrich Drepper <drepper@gmail.com>
12605
c5305d88
UD
12606 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
12607 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
12608 if buffer was too small.
12609
27724598
UD
12610 * elf/pldd.c (main): Attach to all threads in the process.
12611 Rewrite /proc handling to use *at functions.
12612
076fe015
UD
126132011-08-16 Ulrich Drepper <drepper@gmail.com>
12614
174baab3
UD
12615 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
12616 specifies first scope to show.
12617 (dl_open_worker): Update callers. Move printing scope of new
12618 object to before the relocation.
44f0a71e 12619 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
12620 * sysdeps/generic/ldsodefs.h: Update declaration.
12621
076fe015
UD
12622 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
12623 string for the scope number.
12624
a60df2c3
UD
126252011-08-14 Ulrich Drepper <drepper@gmail.com>
12626
12627 * nscd/servicescache.c (cache_addserv): Make sure written is always
12628 initialized.
12629
5e4287d1
RM
126302011-08-14 Roland McGrath <roland@hack.frob.com>
12631
85ae0589
RM
12632 * sysdeps/i386/i486/bits/atomic.h
12633 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
12634 statement expression, so as to suppress "set but not used" warning.
12635 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
12636
69f63097
RM
12637 * string/strncat.c (STRNCAT): Use prototype definition.
12638
675456ef
RM
12639 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
12640 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
12641 -Iprograms here.
12642 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
12643 (localedef-modules): Add localedef.
12644 (locale-modules): Add locale.
12645
5e4287d1
RM
12646 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
12647 * elf/rtld.c (dl_main): Invert order of assignment in last change,
12648 to avoid a warning.
12649
9c96ff23
DM
126502011-08-14 David S. Miller <davem@davemloft.net>
12651
12652 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
12653 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
12654
f9ddf089
UD
126552011-08-13 Ulrich Drepper <drepper@gmail.com>
12656
44f0a71e 12657 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
12658 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
12659 * elf/rtld.c (dl_main): Set l_name of vDSO.
12660 Call _dl_show_scope when DL_DEBUG_SCOPES.
12661 (process_dl_debug): Recognize scopes flag and also set it for all.
12662 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
12663 Declare _dl_show_scope.
12664
1dc27704
UD
12665 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
12666 (do_dlopen): Pass caller_dlopen to dl_open.
12667 (__libc_dlopen_mode): Initialize caller_dlopen.
12668
f9ddf089
UD
12669 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
12670 of libc. Make tolower call locale-independent. Optimize a bit by
12671 using isdigit instead of isalnum.
12672 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
12673
9ac533d3
UD
126742011-08-12 Ulrich Drepper <drepper@gmail.com>
12675
12676 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
12677 was a dependency or dynamically loaded.
12678
89edf2e9
UD
126792011-08-11 Ulrich Drepper <drepper@gmail.com>
12680
8e999d29
UD
12681 * intl/l10nflist.c: Allow architecture-specific pop function.
12682 * sysdeps/x86_64/l10nflist.c: New file.
12683
89edf2e9
UD
12684 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
12685 classification.
12686
14d96785
AS
126872011-08-10 Andreas Schwab <schwab@redhat.com>
12688
12689 * include/dirent.h: Add libc_hidden_proto for scandirat and
12690 scandirat64. Don't declare __scandirat64.
12691 * dirent/scandirat.c: Add libc_hidden_def.
12692 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
12693 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
12694
6761ac04
DM
126952011-08-10 David S. Miller <davem@davemloft.net>
12696
12697 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
12698 enum.
12699 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
12700 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
12701 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
12702
c55fbd1e
UD
127032011-08-09 Ulrich Drepper <drepper@gmail.com>
12704
12705 * Versions.def [libc]: Add GLIBC_2.15.
12706 * dirent/Makefile (routines): Add scandirat and scandirat64.
12707 * dirent/Versions [libc]: Export scandirat and scandirat64 for
12708 GLIBC_2.15.
12709 * dirent/dirent.h: Declare scandirat and scandirat64.
12710 * dirent/scandirat.c: New file.
12711 * dirent/scandirat64.c: New file.
12712 * sysdeps/wordsize-64/scandirat.c: New file.
12713 * sysdeps/wordsize-64/scandirat64.c: New file.
12714 * dirent/opendir.c: Define opendirat.
12715 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
12716 using scandirat.
12717 * dirent/scandir64.c: Adjust for scandir.c change.
12718 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
12719 __scandirat64, and __scandir_cancel_handler.
12720 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
12721 additional parameter and use openat instead of open (outside of ld.so).
12722 Add new __opendir as wrapper around __opendirat.
12723 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
12724 here without requiring old scandirat implementation.
12725
879165f2
UD
127262011-08-08 Ulrich Drepper <drepper@gmail.com>
12727
12728 * dirent/scandir.c (cancel_handler): Renamed to
12729 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
12730 defined. Adjust users.
12731 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
12732 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
12733
cb7e923b
UD
127342011-08-04 Ulrich Drepper <drepper@gmail.com>
12735
16292edd
UD
12736 * string/test-string.h (IMPL): Use __STRING to expand name and then
12737 stringify it.
12738
cb7e923b
UD
12739 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
12740 of cleanups.
12741
cff82933
LD
127422011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12743
12744 * string/Makefile: Update.
12745 (strop-tests): Append strncat.
12746 * string/test-wcscmp.c: New file.
12747 New comprehensive test for wcscmp.
12748 * string/test-strcmp.c: Update.
12749 (WIDE): New define.
12750
9be9bfcc
AS
127512011-07-22 Andreas Schwab <schwab@redhat.com>
12752
12753 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
12754 line.
12755
2e96f1c7
AS
127562011-07-26 Andreas Schwab <schwab@redhat.com>
12757
12758 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
12759 encoding to ACE if AI_IDN.
12760
85188888
JJ
127612011-08-01 Jakub Jelinek <jakub@redhat.com>
12762
12763 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
12764 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
12765
5fa16e9b
LD
127662011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
12767
12768 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
12769 Fix overflow bug in strncat.
12770 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
12771
12772 * string/test-strncat.c: Update.
12773 Add new tests for checking overflow bugs.
12774
127752011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
12776
12777 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
12778 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
12779 * sysdeps/i386/i686/multiarch/strcat.S: New file.
12780 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
12781 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
12782 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
12783 * sysdeps/i386/i686/multiarch/strncat.S: New file.
12784 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
12785 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
12786
12787 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
12788 (USE_AS_STRCAT): Define.
12789 Add strcat and strncat support.
12790 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
12791
8c1a459f
AS
127922011-07-25 Andreas Schwab <schwab@redhat.com>
12793
12794 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
12795 __n bigger than INT_MAX+1.
12796 (__strncmp_g): Likewise.
12797
bba33c28
UD
127982011-07-23 Ulrich Drepper <drepper@gmail.com>
12799
798be72d
UD
12800 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
12801 * libio/stido.h: Likewise.
12802
8accd4dc
UD
12803 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
12804 (AF_NFC): Define.
12805 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
12806 (AF_NFC): Define.
12807
cbff0d96
UD
12808 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
12809 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
12810 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
12811 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
12812 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
12813
9191c04a
UD
12814 [BZ #13021]
12815 * scripts/test-installation.pl: Don't expect libnss_test1 to be
12816 installed.
12817
bba33c28
UD
12818 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
12819 typo.
12820 (_dl_x86_64_save_sse): Likewise.
12821
90f139dd
UD
128222011-07-22 Ulrich Drepper <drepper@gmail.com>
12823
1aae088a
UD
12824 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
12825 OSXSAVE.
12826 (_dl_x86_64_save_sse): Likewise.
12827
8e2045f5
UD
12828 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
12829
90f139dd
UD
12830 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
12831
1d002f25
AS
128322011-07-21 Andreas Schwab <schwab@redhat.com>
12833
12834 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
12835 change.
12836 (_dl_x86_64_save_sse): Use correct AVX check.
12837
21137f89
UD
128382011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12839
12840 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
12841 bug in strncpy/strncat.
12842 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
12843
a65c0b7a
UD
128442011-07-21 Ulrich Drepper <drepper@gmail.com>
12845
12846 * string/tester.c (test_strcat): Add tests for different alignments
12847 of source and destination.
12848 (test_strncat): Likewise.
12849
6986b98a
UD
128502011-07-20 Ulrich Drepper <drepper@gmail.com>
12851
90bb2039
UD
12852 [BZ #12852]
12853 * posix/glob.c (glob): Check passed in values before using them in
12854 expressions to avoid some overflows.
12855 (glob_in_dir): Likewise.
12856
5644ef54
UD
12857 [BZ #13007]
12858 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
12859 check for AVX enablement so that we don't crash with old kernels and
12860 new hardware.
12861 * elf/tst-audit4.c: Add same checks here.
12862 * elf/tst-audit6.c: Likewise.
12863
12864 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 12865
bfc9dc9b
AS
128662011-07-09 Andreas Schwab <schwab@linux-m68k.org>
12867
12868 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
12869
702e64bb
UD
128702011-07-20 Ulrich Drepper <drepper@gmail.com>
12871
12872 * po/cs.po: Update from translation team.
12873 * po/bg.po: Likewise.
12874
295e904f
MP
128752011-07-12 Marek Polacek <mpolacek@redhat.com>
12876
12877 * misc/sys/cdefs.h: Add support for const attribute.
12878 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
12879 to gnu_dev_{major,minor,makedev} functions.
12880
3ff94596
MP
128812011-07-20 Marek Polacek <mpolacek@redhat.com>
12882
12883 * intl/dcigettext.c (get_output_charset): Add missing bracket.
12884
28b59fca
AS
128852011-07-20 Andreas Schwab <schwab@redhat.com>
12886
12887 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
12888 strlen results.
12889
19df733e
AK
128902011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12891
12892 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
12893 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
12894 register in order to avoid conflicts with the soft frame pointer
12895 being held in r11 when necessary.
12896 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
12897 (INTERNAL_VSYSCALL_NCS): Likewise.
12898
c8835729
MP
128992011-07-14 Marek Polacek <mpolacek@redhat.com>
12900
12901 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
12902 * elf/dl-fini.c (_dl_fini): Adjust caller.
12903 * elf/dl-close.c (_dl_close_worker): Likewise.
12904 * sysdeps/generic/ldsodefs.h: Adjust declaration.
12905
b902330c
MP
129062011-07-15 Marek Polacek <mpolacek@redhat.com>
12907
8991e135
MP
12908 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
12909 "aux_cache->nlibs < 0".
12910
b902330c
MP
12911 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
12912 in the reload-count case.
12913
99710781
LD
129142011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
12915
12916 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
12917 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
12918 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
12919 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
12920 * sysdeps/x86_64/multiarch/strcat.S: New file.
12921 * sysdeps/x86_64/multiarch/strncat.S: New file.
12922 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
12923 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
12924 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
12925 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
12926 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
12927 (USE_AS_STRCAT): Define.
12928 Add strcat and strncat support.
12929 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
12930 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
12931 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
12932 * string/strncat.c: Update.
12933 (USE_AS_STRNCAT): Define.
12934 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
12935 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
12936 and i7.
12937 * sysdeps/x86_64/multiarch/init-arch.h
12938 (bit_Prefer_PMINUB_for_stringop): New.
12939 (index_Prefer_PMINUB_for_stringop): Likewise.
12940 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
12941 bit_Prefer_PMINUB_for_stringop.
12942
7dc6bd90
UD
129432011-07-19 Ulrich Drepper <drepper@gmail.com>
12944
12945 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
12946 buffer64.
12947 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
12948 of casting of buffer.
12949 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
12950 buffer32 and buffer64.
12951 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
12952 writes instead of casting of buffer.
12953 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
12954 buffer32.
12955 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
12956 casting of buffer.
12957
e0e72284
AS
129582011-07-19 Andreas Schwab <schwab@redhat.com>
12959
12960 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
12961
feb1eb0b
UD
129622011-07-19 Ulrich Drepper <drepper@gmail.com>
12963
12964 * nscd/nscd.c (termination_handler): Don't do anything for a database
12965 if it has not yet been initialized.
12966
298711ff
UD
129672011-07-18 Ulrich Drepper <drepper@gmail.com>
12968
12969 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
12970
129712011-07-15 Marek Polacek <mpolacek@redhat.com>
12972
12973 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
12974
f9d68389
UD
129752011-07-18 Ulrich Drepper <drepper@gmail.com>
12976
12977 * po/nl.po: Update from translation team.
12978 * po/sv.po: Likewise.
12979
db290cf5
RM
129802011-07-16 Roland McGrath <roland@hack.frob.com>
12981
12982 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
12983 now disallowed by GCC.
5c550700 12984
fd5e21c7
RM
12985 * configure.in (use-default-link): Default to yes if a test -shared
12986 link meets our qualifications.
12987 * configure: Regenerated.
12988
5c550700
RM
12989 * config.make.in (output-format): New variable.
12990 * configure.in: Check for ld --print-output-format support.
12991 * configure: Regenerated.
12992 * Makerules ($(common-objpfx)format.lds)
12993 [$(output-format) != unknown]: Just use $(output-format),
12994 instead of the linker-script munging.
12995
9fa2c032
RM
129962011-07-14 Roland McGrath <roland@hack.frob.com>
12997
a6928d51
RM
12998 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
12999 of $(common-objpfx)shlib.lds.
13000 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
13001
661607b3
RM
13002 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
13003 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
13004
9fa2c032
RM
13005 * configure.in (-z relro check): Adjust test code to add a large
13006 writable data section after it.
13007 * configure: Regenerated.
13008
defe9061
RM
130092011-07-11 Roland McGrath <roland@hack.frob.com>
13010
13011 * configure.in (-z relro check): Fix test code to make the variable
13012 truly const.
13013 * configure: Regenerated.
13014
319b9ad4
UD
130152011-07-11 Ulrich Drepper <drepper@gmail.com>
13016
13017 * nscd/nscd.h (struct traced_file): Define.
13018 (struct database_dyn): Remove inotify_descr, reset_res, and filename
13019 elements. Add traced_files.
13020 (inotify_fd): Declare.
13021 (register_traced_file): Declare.
13022 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
13023 (inotify_fd): Export.
13024 (resolv_conf_descr): Remove.
13025 (nscd_init): Move inotify descriptor creation to main.
13026 Don't register files for notification here.
13027 (register_traced_file): New function.
13028 (invalidate_cache): Don't use reset_res to determine whether to call
13029 res_init, go through the list of registered files.
13030 (main_loop_poll): The inotify descriptors are now stored in the
13031 structures for the traced files.
13032 (main_loop_epoll): Likewise
13033 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
13034 to __nss_disable_nscd.
13035 * nscd/cache.c (prune_cache): There is no single inotify descriptor
13036 for a database anymore. Check the records for all the registered
13037 files instead.
13038 * nss/Makefile (libnss_files-routines): Add files-init.
13039 (libnss_db-routines): Add db-init.
13040 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
13041 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
13042 * nss/nss_db/db-init.c: New file.
13043 * nss/nss_files/files-init.c: New file.
13044 * nss/nsswitch.c (nss_load_library): New function. Broken out of
13045 __nss_lookup_function.
13046 (__nss_lookup_function): Call nss_load_library.
13047 (nss_load_all_libraries): New function.
13048 (__nss_disable_nscd): Take parameter with callback function for files
13049 to register. Set is_nscd. Load all the DSOs for the NSS modules
13050 used for the cached services.
13051 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
13052 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
13053 options for features to all the files in nscd.
13054
13055 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
13056
23bee3e8
RM
130572011-07-10 Roland McGrath <roland@hack.frob.com>
13058
13059 * csu/elf-init.c (__libc_csu_init): Comment typo.
13060
46a5b7f0
UD
130612011-07-09 Ulrich Drepper <drepper@gmail.com>
13062
13063 * po/pl.po: Update from translation team.
13064 * po/ja.po: Likewise.
13065 * po/ru.po: Likewise.
13066 * po/ko.po: Likewise.
13067 * po/fr.po: Likewise.
13068
d30cf5bb
RM
130692011-07-09 Roland McGrath <roland@hack.frob.com>
13070
113ddea4
RM
13071 * configure.in (.ctors/.dtors header and trailer check):
13072 Use an empirical test on a built program.
13073 * configure: Regenerated.
13074
574920b4
RM
13075 * configure.in (-z relro check): Use an empirical test on a built DSO.
13076 Detect, but do not require, on ia64.
13077 * configure: Regenerated.
13078
d30cf5bb
RM
13079 * configure.in (READELF): Find it with AC_CHECK_TOOL.
13080 Update tests that use readelf to use $READELF instead.
13081 * configure: Regenerated.
13082
8538fdb3
UD
130832011-07-08 Ulrich Drepper <drepper@gmail.com>
13084
13085 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
13086 if the result is not used.
13087
04d08991
AJ
130882011-07-05 Andreas Jaeger <aj@suse.de>
13089
13090 [BZ#9696]
13091 * stdlib/tst-strtod.c: Add testcase.
13092
de283087
AD
130932011-07-07 Ulrich Drepper <drepper@gmail.com>
13094
4e5f31c8 13095 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 13096 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
13097 The latter has a higher limit. Take additional parameter to pass to
13098 the new function.
13099 (__pathconf): Pass file to __statfs_link_max.
13100 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
13101 __statfs_link_max.
13102 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
13103 __statfs_link_max.
13104
de283087
AD
13105 [BZ #12868]
13106 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
13107 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
13108 Handle Lustre.
13109 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
13110 (__statfs_filesize_max): Likewise.
13111 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
13112
c75fa153
AJ
131132011-07-05 Andreas Jaeger <aj@suse.de>
13114
13115 * resolv/res_comp.c (dn_skipname): Remove unused variable.
13116
1a544854
UD
131172011-07-06 Marek Polacek <mpolacek@redhat.com>
13118
13119 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
13120 `status' variable.
13121 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
13122 Likewise.
13123
6f0eec67
UD
131242011-07-04 H.J. Lu <hongjiu.lu@intel.com>
13125
13126 * Makefile (strop-tests): Add strncat.
13127 * string/test-strncat.c: New file.
13128
aae30307
UD
131292011-06-30 Marek Polacek <mpolacek@redhat.com>
13130
13131 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
13132
c0cfb5eb
UD
131332011-06-21 Andreas Jaeger <aj@suse.de>
13134
13135 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
13136 Copy rule from iconvdata/Makefile.
13137
01636b21
UD
131382011-07-06 Ulrich Drepper <drepper@gmail.com>
13139
13140 [BZ #12922]
13141 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
13142 but no long options are defined, just return 'W'.
13143
9895c8bc
UD
131442011-06-22 Marek Polacek <mpolacek@redhat.com>
13145
13146 [BZ #9696]
13147 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
13148
5d4cf042
UD
131492011-07-06 Ulrich Drepper <drepper@gmail.com>
13150
13151 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
13152 netgroups to read.
960e5535 13153 (innetgr): Likewise.
5d4cf042 13154
751eb97e
RM
131552011-07-05 Roland McGrath <roland@hack.frob.com>
13156
13157 * config.make.in (install_root): Default to $(DESTDIR).
13158
f15f1e45
UD
131592011-07-05 Ulrich Drepper <drepper@gmail.com>
13160
13161 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
13162
4e34ac6a
RM
131632011-07-02 Roland McGrath <roland@hack.frob.com>
13164
5e9b6af4
RM
13165 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
13166
84f9ea0f
RM
13167 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
13168 containing directory rather than embedding absolute directory names.
13169
ea5ee9f7
RM
13170 * scripts/check-local-headers.sh: Rewritten using awk.
13171 Match by word, not by line. Print error messages for matches.
13172 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
13173
1b74661a
RM
13174 * Makerules [shlib-lds-flags empty]:
13175 ($(common-objpfx)libc_pic.opts): New target.
13176 ($(common-objpfx)libc_pic.os.clean): New target.
13177 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
13178
13179 * config.make.in (OBJCOPY): New variable.
13180 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
13181 * configure: Regenerated.
13182
f781ef40
RM
13183 * config.make.in (use-default-link): New variable.
13184 * configure.in (use_default_link): Grok --with-default-link to set it.
13185 * configure: Regenerated.
13186 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
13187 (shlib-lds, shlib-lds-flags): Define to empty.
13188
2d4fa81e
RM
13189 * Makerules (shlib-lds): New variable.
13190 (shlib-lds-flags): New variable.
13191 (build-shlib, build-moduile, build-module-asneeded): Use it.
13192 ($(common-objpfx)libc.so): Use $(shlib-lds).
13193 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
13194 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
13195
31fffa6b
RM
13196 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
13197 DT_FLAGS/DT_FLAGS_1 with zero flags.
13198
4e34ac6a
RM
13199 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
13200 linker script munging.
13201
fcfc776b
UD
132022011-07-02 Ulrich Drepper <drepper@gmail.com>
13203
13204 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
13205 as 128-bit value.
13206 * crypt/sha512.c (sha512_process_block): Perform total addition using
13207 128-bit if possible.
13208 (__sha512_finish_ctx): Likewise.
13209 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
13210 as 64-bit value.
13211 * crypt/sha256.c (SWAP64): Define.
13212 (sha256_process_block): Perform total addition using 64-bit if
13213 possible.
13214 (__sha256_finish_ctx): Likewise.
13215
99231d9a
UD
132162011-07-01 Ulrich Drepper <drepper@gmail.com>
13217
13218 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
13219 * nscd/initgrcache.c (addinitgroupsX): Likewise.
13220 * nscd/hstcache.c (cache_addhst): Likewise.
13221 * nscd/grpcache.c (cache_addgr): Likewise.
13222 * nscd/aicache.c (addhstaiX): Likewise
13223 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
13224
445b4a53
TK
132252011-07-01 Thorsten Kukuk <kukuk@suse.de>
13226
13227 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
13228 * nscd/initgrcache.c (addinitgroupsX): Likewise.
13229 * nscd/hstcache.c (cache_addhst): Likewise.
13230 * nscd/grpcache.c (cache_addgr): Likewise.
13231 * nscd/aicache.c (addhstaiX): Likewise
13232
6d4d8e8e
AS
132332011-07-01 Andreas Schwab <schwab@redhat.com>
13234
13235 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
13236 domain only when needed.
13237
89f654c5
AS
132382011-06-30 Andreas Schwab <schwab@redhat.com>
13239
13240 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
13241 is always restored.
13242
cf3b23ff
UD
132432011-06-29 Ulrich Drepper <drepper@gmail.com>
13244
13245 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
13246 are re-adding the entry.
13247 * nscd/servicescache.c (cache_addserv): Likewise.
13248
751626f9
AJ
132492011-06-30 Aurelien Jarno <aurelien@aurel32.net>
13250
13251 * sysdeps/generic/dl-irel.h: fix protection against multiple
13252 inclusions.
13253 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
13254
9113ea1f
UD
132552011-06-28 Ulrich Drepper <drepper@gmail.com>
13256
5c0b8d90
UD
13257 [BZ #12935]
13258 * malloc/memusage.sh: Fix quoting in message.
13259 * debug/xtrace.sh: Likewise.
13260
9113ea1f
UD
13261 * configure.in: Remove support for --experimental-malloc option, make
13262 it the default.
13263 * config.make.in: Likewise.
13264 * malloc/Makefile: Likewise.
13265
a4172181
AS
132662011-06-27 Andreas Schwab <schwab@redhat.com>
13267
13268 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
13269 two-byte characters.
13270
78a7eee7
RM
132712011-06-27 Roland McGrath <roland@hack.frob.com>
13272
62bede13
RM
13273 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
13274 AC_CACHE_CHECK invocation.
13275 * configure: Regenerated.
13276
78a7eee7
RM
13277 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
13278
5ce33a62
UD
132792011-06-27 Ulrich Drepper <drepper@gmail.com>
13280
034807a9
UD
13281 [BZ #12350]
13282 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
13283 bit from old_res_options.
13284
4902da17
UD
13285 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
13286
5ce33a62
UD
13287 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
13288 value type for setfct.
13289
c2344f56
L
132902011-06-23 H.J. Lu <hongjiu.lu@intel.com>
13291
13292 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
13293 __gettimeofday instead of gettimeofday.
13294
68468076
UD
132952011-06-26 Ulrich Drepper <drepper@gmail.com>
13296
13297 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
13298
acb0d739
L
132992011-06-24 H.J. Lu <hongjiu.lu@intel.com>
13300
13301 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
13302
13303 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
13304 info.
13305
8912479f
L
133062011-06-22 H.J. Lu <hongjiu.lu@intel.com>
13307
13308 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
13309 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
13310 strcpy-sse2-unaligned strncpy-sse2-unaligned
13311 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
13312 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
13313 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
13314 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
13315 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
13316 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
13317 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
13318 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
13319 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
13320 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
13321 (STRCPY): Support SSE2 and SSSE3 versions.
13322
d5495a11
UD
133232011-06-24 Ulrich Drepper <drepper@gmail.com>
13324
13325 [BZ #12874]
13326 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
13327 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
13328 kernels which artificially limit size of requests.
13329
0b1cbaae
L
133302011-06-22 H.J. Lu <hongjiu.lu@intel.com>
13331
13332 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
13333 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
13334 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
13335 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
13336 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
13337 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
13338 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
13339 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
13340 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
13341 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
13342 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
13343 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
13344 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
13345 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
13346 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
13347 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
13348 Enable unaligned load optimization for Intel Core i3, i5 and i7
13349 processors.
13350 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
13351 Define.
13352 (index_Fast_Unaligned_Load): Define.
13353 (HAS_FAST_UNALIGNED_LOAD): Define.
13354
07f494a0
MP
133552011-06-23 Marek Polacek <mpolacek@redhat.com>
13356
13357 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
13358
fa3fc0fe
UD
133592011-06-22 Ulrich Drepper <drepper@gmail.com>
13360
13361 [BZ #12907]
13362 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
13363 until it is clear that the information is realy needed.
13364 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
13365
e12df166
AS
133662011-06-22 Andreas Schwab <schwab@redhat.com>
13367
13368 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
13369
852eb34d
UD
133702011-06-22 Ulrich Drepper <drepper@gmail.com>
13371
84e2a551
UD
13372 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
13373 /sys/devices/system/cpu/online if it is usable.
13374
852eb34d
UD
13375 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
13376 reading the information from the /proc filesystem to once a second.
13377
6e502e19
UD
133782011-06-21 Andreas Jaeger <aj@suse.de>
13379
13380 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
13381 NULL after inclusion of kernel headers.
13382
75d39ff2
UD
133832011-06-21 Ulrich Drepper <drepper@gmail.com>
13384
51f9aa6a
UD
13385 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
13386 calls to internal_setent.
13387
c0244a9d
UD
13388 [BZ #12885]
13389 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
13390 addresses using gethostbyname4_r ignore IPv4 addresses.
13391
c5e3c2ae
UD
13392 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
13393 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
13394
75d39ff2
UD
13395 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
13396
42675c6f
DM
133972011-06-20 David S. Miller <davem@davemloft.net>
13398
13399 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
13400 inclusions.
13401 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
13402
13403 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
13404 (elf_irel): Use it.
13405 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
13406 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
13407 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
13408 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
13409 * sysdeps/x86_64/dl-irel.h: Likewise.
13410
13411 * elf/dl-runtime.c: Use elf_ifunc_invoke.
13412 * elf/dl-sym.c: Likewise.
13413
57912a71
UD
134142011-06-15 Ulrich Drepper <drepper@gmail.com>
13415
13416 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
13417 need to dereference resplen2.
13418
ee22793d
AS
134192011-06-14 Andreas Schwab <schwab@redhat.com>
13420
13421 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
13422
a9e836b0
UD
134232011-06-15 Ulrich Drepper <drepper@gmail.com>
13424
77fb9117
UD
13425 * Makeconfig: Define vardbdir and inst_vardbdir.
13426 * nss/Makefile: Add rules to install db-Makefile.
13427
40c1b22c
UD
13428 * nss/nss_db/db-XXX.c: Cleanup.
13429
9f2da732
UD
13430 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
13431 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
13432 GLIBC_PRIVATE.
13433 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
13434 * nss/makedb.c: Implement -g option to specify that value strings
13435 are generated and should not be added to table iterated over for
13436 get*ent calls.
13437 * nss/nss_db/db-initgroups.c: New file.
13438
82e9a1f7
UD
13439 * nss/getent.c: Add support for initgroups lookups through getgrouplist
13440 interface.
13441
c41af17e
UD
13442 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
13443 (internal_getgrouplist): Adjust to name change.
13444 Update use_initgroups_entry if this is not the first call.
13445 * nss/databases.def: Add initgroups entry.
13446
a9e836b0
UD
13447 * nss/makedb.c (compute_tables): Check result of multiple hash table
13448 sizes to minimize maximum chain length.
13449
2666d441
UD
134502011-06-14 Ulrich Drepper <drepper@gmail.com>
13451
13452 * Versions.def: Add entry for libnss_db.
13453 * shlib-versions: Likewise.
13454 * nss/Makefile: Add rules to build libnss_db.
13455 * nss/Versions: Add libnss_db information. Organize libnss_files
13456 entries better.
13457 * nss/db-Makefile: Add gshadow support. Change rules for the new
13458 makedb progra. Some minor improvements to generate smaller files.
13459 * nss/nss_db/nss_db.h: Move NSS database header data structures to
13460 here from...
13461 * nss/makedb.c: ...here.
13462 Improve database format to be smaller and require less memory at
13463 runtime.
13464 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
13465 db anymore.
13466 * nss/nss_db/db-netgrp.c: Likewise.
13467 * nss/nss_db/db-open.c: Likewise.
13468 * nss/nss_files/flies-XXX.x: Adjust comments.
13469 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
13470 * nss/nss_files/files-grp.c: Likewise.
13471 * nss/nss_files/files-hosts.c: Likewise.
13472 * nss/nss_files/files-network.c: Likewise.
13473 * nss/nss_files/files-proto.c: Likewise.
13474 * nss/nss_files/files-pwd.c: Likewise.
13475 * nss/nss_files/files-rpc.c: Likewise.
13476 * nss/nss_files/files-service.c: Likewise.
13477 * nss/nss_files/files-sgrp.c: Likewise.
13478 * nss/nss_files/files-spwd.c: Likewise.
13479 * nss/nss_db/db-alias.c: Removed.
13480 * nss/nss_db/dummy-db.h: Removed.
13481
9ee76b5a
UD
134822011-06-02 Ulrich Drepper <drepper@gmail.com>
13483
13484 * nss/makedb.c: Rewritten to not use database library.
13485 * nss/Makefile: Update to build new makedb program.
13486
c71ca1f8
AJ
134872011-06-14 Andreas Jaeger <aj@suse.de>
13488
13489 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
13490 memset declaration.
13491
3154bfb8
UD
134922011-06-10 Andreas Schwab <schwab@redhat.com>
13493
13494 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
13495 tmpbuf.
13496
b350afab
RM
134972011-06-10 Roland McGrath <roland@hack.frob.com>
13498
decd4e50
RM
13499 * Makerules (shlib.lds): Fail if the linker script comes out empty.
13500 * elf/Makefile ($(objpfx)ld.so): Likewise.
13501
5615eaf2
RM
13502 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
13503 Don't list ld.so twice in dependencies.
13504
13505 * posix/bug-regex31.c: Include <stdlib.h>.
13506
13507 * nscd/hstcache.c (cache_addhst): Remove unused variable.
13508
13509 * nis/nss_compat/compat-spwd.c
13510 (getspent_next_nss_netgr): Remove unused variable.
13511 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
13512
13513 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
13514 nonmembers" output to use the right array.
13515
13516 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
13517
13518 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
13519
13520 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
13521 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
13522 * catgets/gencat.c (read_input_file): Likewise.
13523 * locale/programs/locarchive.c (enlarge_archive): Likewise.
13524
13525 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
13526 variable definition inside #if's controlling its use.
13527
13528 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
13529
13530 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
13531
13532 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
13533
13534 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
13535 unreachable code.
13536
13537 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
13538
b68e08db
RM
13539 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
13540 * configure: Regenerated.
13541
b350afab
RM
13542 * Makerules: Revert last change.
13543 * elf/Makefile: Likewise.
13544
28368601
RM
135452011-06-09 Roland McGrath <roland@hack.frob.com>
13546
13547 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
13548 * elf/Makefile ($(objpfx)librtld.os): Likewise.
13549 (reloc-link): Likewise.
13550
11988f8f
UD
135512011-06-09 Ulrich Drepper <drepper@gmail.com>
13552
13553 * elf/Makefile: Add rules to build pldd.
13554 * elf/pldd.c: New file.
13555 * elf/pldd-xx.c: New file.
13556
e80fab37
UD
135572011-06-07 Ulrich Drepper <drepper@gmail.com>
13558
13559 * version.h: Update for 2.15 development version.
13560
9b849836
DM
135612011-06-07 David S. Miller <davem@davemloft.net>
13562
13563 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
13564 ifuncs.
13565 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
13566 elf_machine_lazy_rel): Likewise.
13567 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
13568 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
13569 elf_machine_lazy_rel): Likewise.
13570 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
13571 dl_hwcap via passed in argument.
13572 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
13573 Likewise.
13574
5a31b283
AK
135752011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13576
13577 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
13578
069e52f8
RM
135792011-06-06 Roland McGrath <roland@hack.frob.com>
13580
13581 [BZ #12849]
13582 * manual/fdl-1.1.texi: New file, verbatim from:
13583 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
13584 * manual/lgpl-2.1.texi: New file, verbatim from:
13585 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
13586 * manual/Makefile (licenses): New variable, list those new file names.
13587 (texis): Use it.
13588 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
13589
13590 * manual/fdl.texi: File removed.
13591 * manual/lesser.texi: File removed.
13592 * manual/libc.texinfo (Copying, Documentation License):
13593 Use new @include file names, put @appendix directive before @include.
13594
f16846a5
JJ
135952011-06-04 Jakub Jelinek <jakub@redhat.com>
13596
13597 [BZ #12841]
13598 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
13599 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
13600 (mq_open): Add __NTH.
13601
3d29045b
L
136022011-06-02 H.J. Lu <hongjiu.lu@intel.com>
13603
13604 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
13605 Assume Intel Core i3/i5/i7 processor if AVX is available.
13606
8c297311
UD
136072011-05-31 Ulrich Drepper <drepper@gmail.com>
13608
13609 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
13610 typo.
13611
c8fc0c91
UD
136122011-05-31 Andreas Schwab <schwab@redhat.com>
13613
13614 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
13615 memory. Use alloca_account. Fix memory leak when retrying.
13616
5b27a807
UD
136172011-05-31 Ulrich Drepper <drepper@gmail.com>
13618
356f8bc6
UD
13619 * version.h (RELEASE): Bump for 2.14 release.
13620 * include/features.h (__GLIBC_MINOR__): Bump to 14.
13621
5b27a807
UD
13622 * config.make.in (RANLIB): Remove entry.
13623
01f16ab0
UD
136242011-05-30 Ulrich Drepper <drepper@gmail.com>
13625
41fce8bd
UD
13626 * po/Makefile (po-sed-cmd): Add ksh to extensions.
13627 (libc.pot): Work around missing support for .ksh extension in xgettext.
13628
4769ae77
UD
13629 [BZ #12684]
13630 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
13631 if both request failed.
13632 (send_dg): In case of server errors clear resplen or *resplen2.
13633
6b1e7d19
UD
13634 [BZ #12454]
13635 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
13636 when there are multiple maps.
13637 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
13638 (_dl_fini): Remove test here.
13639
01f16ab0
UD
13640 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
13641
b1ebd700
UD
136422011-05-29 Ulrich Drepper <drepper@gmail.com>
13643
7ae22829
UD
13644 [BZ #12350]
13645 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
13646 bit from old_res_options.
13647 (gaih_inet): Likewise.
13648
553149f6 13649 [BZ #11099]
18a84741 13650 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
13651 as signed.
13652
652ffab1
UD
13653 * resolv/res_init.c (res_setoptions): Make the code more compact.
13654
16985fd0
UD
13655 [BZ #11558]
13656 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
13657 set RES_USEVC.
13658
0464f746
UD
13659 [BZ #11634]
13660 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
13661
7d17596c
UD
13662 * malloc/malloc.h: Mark malloc hook variables as deprecated.
13663
cf6bbbd7
UD
13664 [BZ #11781]
13665 * malloc/malloc.h: Declare malloc hook variables as volatile.
13666
13f1ab36
UD
13667 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
13668 in last patch.
13669
b1ebd700
UD
13670 [BZ #11799]
13671 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 13672 raise in the comment.
80e2212d
UD
13673 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
13674 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
13675 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 13676
ce67228d
UD
136772011-05-28 Ulrich Drepper <drepper@gmail.com>
13678
8887a920
UD
13679 [BZ #12811]
13680 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
13681 grow the buffers more if it already has to be sufficient.
13682 (build_wcs_upper_buffer): Likewise.
13683 * posix/regexec.c (check_matching): Likewise.
13684 (clean_state_log_if_needed): Likewise.
13685 (extend_buffers): Don't enlarge buffers beyond size of the input
13686 buffer.
13687 Patches mostly by Emil Wojak <emil@wojak.eu>.
13688 * posix/bug-regex32.c: New file.
13689 * posix/Makefile (tests): Add bug-regex32.
13690
4f031072
UD
13691 * locale/findlocale.c (_nl_find_locale): Return right away if
13692 _nl_explode_name failed.
13693 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
13694
d0478f0c
UD
13695 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
13696
de81b246
UD
13697 * debug/xtrace.sh: Unify messages.
13698 * malloc/memusage.sh: Likewise.
13699
c738465a
UD
13700 [BZ #12813]
13701 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
13702 time symbol from vDSO. Substitute with vsyscall if not available.
13703 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
13704 __vdso_time.
13705
f1f929d7
UD
13706 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
13707 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
13708 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
13709 Add sendmmsg and internal_sendmmsg.
13710 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
13711 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
13712 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
13713
ce67228d
UD
13714 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
13715 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
13716 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
13717
e57420c6
UD
137182011-05-27 Ulrich Drepper <drepper@gmail.com>
13719
a8509ca5
UD
13720 [BZ #12813]
13721 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
13722 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
13723 available.
13724 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
13725 __vdso_getcpu.
13726
e57420c6
UD
13727 [BZ #12814]
13728 * iconvdata/Makefile (tests): Add bug-iconv9.
13729 * iconvdata/bug-iconv9.c: New file.
13730
4d07db15
AS
137312011-05-27 Andreas Schwab <schwab@redhat.com>
13732
13733 [BZ #12814]
13734 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
13735
ea486f69
JJ
137362011-05-25 Jakub Jelinek <jakub@redhat.com>
13737
13738 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
13739 (struct user_regs_struct): Change intcs field back to cs.
13740
6f038433
UD
137412011-05-25 Ulrich Drepper <drepper@gmail.com>
13742
13743 * po/ja.po: Update from translation team.
13744
67f86a25
UD
137452011-05-23 Ulrich Drepper <drepper@gmail.com>
13746
13747 [BZ #12795]
13748 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
13749 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
13750
def7fbd6
AS
137512011-05-20 Andreas Schwab <schwab@redhat.com>
13752
13753 * stdlib/longlong.h: Update from GCC.
13754
f50ef8f1
AS
137552011-05-23 Andreas Schwab <schwab@redhat.com>
13756
13757 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
13758 parameter name.
13759 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
13760 Add parameter name.
13761 (__sysconf): Pass it down.
13762
de7ce8f1
UD
137632011-05-22 Ulrich Drepper <drepper@gmail.com>
13764
f2962a71
UD
13765 [BZ #12671]
13766 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
13767 some situations.
13768 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
13769 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
13770 add in in __libc_use_alloca calls. Adjust callers.
13771 (glob): Use malloc in some situations.
13772
de7ce8f1
UD
13773 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
13774 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
13775 pltexit.
13776
aec84f53
UD
137772011-05-21 Ulrich Drepper <drepper@gmail.com>
13778
05bb4a68
UD
13779 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
13780 and CLOCK_BOOTTIME_ALARM.
13781
7ea72f99
UD
13782 [BZ #12782]
13783 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
13784 is returned.
13785
7e4afad5
UD
13786 * string/_strerror.c (__strerror_r): Print negative errors as signed
13787 numbers.
13788
8e211fec
UD
13789 [BZ #12777]
13790 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
13791 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
13792 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
13793
f7d82dc9
UD
13794 * configure.in: Fix typo in redirection and correct removal of test
13795 files in two cases.
13796
cc9e536d
UD
13797 [BZ #12788]
13798 * locale/setlocale.c (new_composite_name): Fix test to check for
13799 identical name of all categories.
13800
aec84f53
UD
13801 [BZ #12792]
13802 * libio/filedoalloc.c (local_isatty): New function.
13803 (_IO_file_doallocate): Use local_isatty.
13804 * stdio-common/perror.c (perror): In case a new stream is used
13805 forward the stream error.
13806 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
13807 error flag.
13808
78e64fdc
RT
138092011-05-20 Ulrich Drepper <drepper@gmail.com>
13810
34a9094f
UD
13811 [BZ #11869]
13812 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
13813 alloca.
13814 * include/alloca.h (extend_alloca_account): Define.
13815
78e64fdc
RT
13816 [BZ #11857]
13817 * posix/regex.h: Fix comments with documentation of user-accessible
13818 fields after compilation and describe correct free'ing of pattern
13819 after re_compile_pattern.
13820 Patch by Reuben Thomas <rrt@sc3d.org>.
13821
457bddfc
RA
138222011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
13823
13824 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
13825 and -mno-altivec to prevent the compiler from using Altivec and/or
13826 VSX instructions when the corresponding registers are not available.
13827
a4527b51
AS
138282011-05-19 Andreas Schwab <schwab@redhat.com>
13829
13830 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
13831
ed690b2f
UD
138322011-05-19 Ulrich Drepper <drepper@gmail.com>
13833
13834 * libio/freopen.c (freopen): Use __dup2, not dup2.
13835 * libio/freopen64.c (freopen64): Likewise.
13836
8db73634
L
138372011-05-17 H.J. Lu <hongjiu.lu@intel.com>
13838
13839 [BZ #12775]
13840 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
13841 * math/Makefile (tests): Add test-powl.
13842 (CFLAGS-test-powl.c): Define.
13843 * math/test-powl.c: New file.
13844
0a197a9d
L
138452011-05-16 H.J. Lu <hongjiu.lu@intel.com>
13846
13847 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
13848
ee30c380
UD
138492011-05-17 Ulrich Drepper <drepper@gmail.com>
13850
13851 [BZ #11837]
13852 * iconvdata/gb18030.c: Update to GB18020-2005.
13853
6ce75379
UD
138542011-05-16 Ulrich Drepper <drepper@gmail.com>
13855
a4b89fd8
AR
13856 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
13857 RE_SYNTAX_POSIX_AWK): Update to match recent development.
13858 Patch by Aharon Robbins <arnold@skeeve.com>.
13859
ea389b12
UD
13860 [BZ #11892]
13861 * stdlib/putenv.c (putenv): Don't always create copy of the variable
13862 on the stack.
13863
68a3f91f
UD
13864 [BZ #11895]
13865 * misc/pselect.c (__pselect): Handle timeout value errors hidden
13866 through underflows.
13867
15cc7dd1
UD
13868 [BZ #12766]
13869 * misc/error.c (error_at_line): Ensure file_name and old_file_name
13870 point to strings before performing equality test for error_one_per_line
13871 mode.
13872
f3799213
UD
13873 [BZ #11697]
13874 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
13875
d79a9c94
UD
13876 [BZ #11820]
13877 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
13878 (struct user_fpregs_struct): Avoid __uint*_t types.
13879
56e5eb46
UD
13880 [BZ #6420]
13881 * malloc/mtrace.c (tr_where): Add additional parameter to point to
13882 symbol info. Use it instead of calling _dl_addr locally.
13883 (lock_and_info): New function.
13884 (tr_freehook): Call lock_and_info and pass symbol info as additional
13885 parameter to tr_where.
13886 (tr_mallochook): Likewise.
13887 (tr_reallochook): Likewise.
13888 (tr_memalignhook): Likewise.
13889
6ce75379
UD
13890 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
13891 used and couldn't be at all thread-safe.
13892
f8a3b5bf
UD
138932011-05-15 Ulrich Drepper <drepper@gmail.com>
13894
94b7cc37
UD
13895 * libio/freopen.c (freopen): Don't close old file descriptor
13896 before the new one is opened. Instead dup the new file descriptor
13897 to the old one after the new stream is created.
13898 * libio/freopen64.c (freopen64): Likewise.
13899 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
13900 * libio/fileops.c (_IO_new_file_close_it): Handle new
13901 _IO_FLAGS2_NOCLOSE flag.
13902 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
13903 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
13904 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
13905 _IO_FLAGS2_NOCLOSE flag.
13906 * include/unistd.h: Add hidden_proto for dup3.
13907 Define __have_dup3.
13908 * io/dup3.c: Define hidden symbol.
13909 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
13910
bd25564e
UD
13911 [BZ #7101]
13912 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
13913 when an incomplete long option is used.
13914 * posix/tst-getopt_long1.c: New file.
13915 * posix/Makefile (tests): Add tst-getopt_long1.
13916
c84cfef4
UD
13917 [BZ #10138]
13918 * scripts/config.guess: Update from autoconf-2.68.
13919 * scripts/config.sub: Likewise.
13920
3b85df27
UD
13921 [BZ #10157]
13922 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
13923 tests into ...
13924 (has_cpuclock): ...this. New function.
13925 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
13926 macro here based on has_cpuclock code.
13927
15a856b1
UD
13928 [BZ #10149]
13929 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
13930 First byte (not low byte) is now always NUL.
13931 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
13932
05f399e6
UD
13933 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
13934 Use non-cancelable interfaces.
13935
10a52685 13936 [BZ #9809]
94ecc67d
UD
13937 * locale/iso-639.def: Add entry for Sorani.
13938
f8a3b5bf
UD
13939 [BZ #11901]
13940 * include/stdlib.h: Move include protection to the right place.
13941 Define abort_msg_s. Declare __abort_msg with it.
13942 * stdlib/abort.c (__abort_msg): Adjust type.
13943 * assert/assert.c (__assert_fail_base): New function. Majority
13944 of code from __assert_fail. Allocate memory for __abort_msg with
13945 mmap.
13946 (__assert_fail): Now call __assert_fail_base.
13947 * assert/assert-perr.c: Remove bulk of implementation. Use
13948 __assert_fail_base.
13949 * include/assert.hL Declare __assert_fail_base.
13950 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
13951 mmap.
13952 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
13953
1af4e298
UD
139542011-05-14 Ulrich Drepper <drepper@gmail.com>
13955
f8a3b5bf 13956 [BZ #11952]
d26dfc60
MG
13957 [BZ #12453]
13958 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
13959 until all modules are registered in the DTV.
13960 * elf/Makefile: Add rules to build and run tst-tls19.
13961 * elf/tst-tls19.c: New file.
13962 * elf/tst-tls19mod1.c: New file.
13963 * elf/tst-tls19mod2.c: New file.
13964 * elf/tst-tls19mod3.c: New file.
13965 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
13966
2fc54d6f
UD
13967 [BZ #12083]
13968 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
13969 correctly.
13970
98d76b46
UD
13971 [BZ #12601]
13972 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
13973 two-byte sequence errors.
13974 * iconvdata/Makefile (tests): Add bug-iconv8.
13975 * iconvdata/bug-iconv8.c: New file.
13976
da3c19ef
UD
13977 [BZ #12626]
13978 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
13979 buf2 definition.
13980
ca408c15
UD
13981 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
13982
d6f67f7d
UD
13983 [BZ #12432]
13984 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
13985 (dummy_getcfa): New function.
13986 (init): Get _Unwind_GetCFA address, use dummy if not found.
13987 (backtrace_helper): In recursion check, also check whether CFA changes.
13988 (__backtrace): Completely initialize arg.
13989
1af4e298 13990 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
13991 storing incomplete byte sequence in state object. Avoid testing for
13992 guaranteed too small input if we know there is enough data available.
1af4e298 13993
da62f81b
AS
139942011-05-11 Andreas Schwab <schwab@redhat.com>
13995
13996 * Makeconfig (+link-pie): Indent.
13997 * Rules (binaries-pie): Define if $(have-fpie) and
13998 $(build-shared).
13999 (binaries-shared): Also filter out $(binaries-pie).
14000 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
14001 * nscd/Makefile (others-pie): Add nscd.
14002 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
14003 ($(objpfx)nscd): Remove command override.
14004 * login/Makefile (others-pie): Add pt_chown.
14005 ($(objpfx)pt_chown): Remove command override.
14006 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
14007 remove command overrides.
14008
fcabc0f8
UD
140092011-05-13 Ulrich Drepper <drepper@gmail.com>
14010
20030ae6
UD
14011 * libio/tst_putwc.c: Fix error messages.
14012
fcabc0f8
UD
14013 [BZ #12724]
14014 * libio/fileops.c (_IO_new_file_close_it): Always flush when
14015 currently writing and seek to current position when not.
14016 * libio/Makefile (tests): Add bug-fclose1.
14017 * libio/bug-fclose1.c: New file.
14018
320a5dc0
PB
140192011-05-12 Ulrich Drepper <drepper@gmail.com>
14020
14021 [BZ #12511]
14022 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
14023 don't set DF_1_NODELETE here.
14024 (do_lookup_x): When entering new entry test for copy relocation
14025 and if necessary set DF_1_NODELETE flag.
14026 * elf/tst-unique4.cc: New file.
14027 * elf/tst-unique4.h: New file.
14028 * elf/tst-unique4lib.cc: New file.
14029 * elf/Makefile: Add rules to build and run tst-unique4.
14030 Patch by Piotr Bury <pbury@goahead.com>.
14031
22836f52
UD
140322011-05-11 Ulrich Drepper <drepper@gmail.com>
14033
f574184a
UD
14034 [BZ #12052]
14035 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
14036
e1fb097f
UD
14037 [BZ #12625]
14038 * misc/mntent_r.c (addmntent): Flush the stream after the output
14039
22836f52
UD
14040 [BZ #12393]
14041 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
14042 (is_trusted_path_normalize): Skip initial colon. Append slash
14043 to empty buffer. Duplicate is_trusted_path code but allow
14044 constructed patch to be prefix.
14045 (is_dst): Allow $ORIGIN followed by /.
14046 (_dl_dst_substitute): Correct clearing of check_for_trusted.
14047 Correct testing of result of is_trusted_path_normalize
14048 (decompose_rpath): Fix warning.
14049
7b3b0b2a
UD
140502011-05-10 Ulrich Drepper <drepper@gmail.com>
14051
14052 [BZ #11257]
14053 * grp/initgroups.c (internal_getgrouplist): When we found the service
14054 list through the initgroups entry in nsswitch.conf do not always
14055 continue on a successful lookup. Don't always use the
eac80ce2 14056 __nss_group_database value if it is set.
7b3b0b2a
UD
14057 * nss/nsswitch.conf (initgroups): Change action for successful db
14058 lookup to continue for compatibility.
14059
2a81eaa5
UD
140602011-05-09 Ulrich Drepper <drepper@gmail.com>
14061
be97a69e
UD
14062 [BZ #11532]
14063 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
14064 and CP774 modules.
14065 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
14066 and CP774 modules.
14067 * iconvdata/tst-tables.sh: Likewise.
14068 * iconvdata/cp770.c: New file.
14069 * iconvdata/cp771.c: New file.
14070 * iconvdata/cp772.c: New file.
14071 * iconvdata/cp773.c: New file.
14072 * iconvdata/cp774.c: New file.
14073 * iconvdata/testdata/CP770: New file.
14074 * iconvdata/testdata/CP770..UTF8: New file.
14075 * iconvdata/testdata/CP771: New file.
14076 * iconvdata/testdata/CP771..UTF8: New file.
14077 * iconvdata/testdata/CP772: New file.
14078 * iconvdata/testdata/CP772..UTF8: New file.
14079 * iconvdata/testdata/CP773: New file.
14080 * iconvdata/testdata/CP773..UTF8: New file.
14081 * iconvdata/testdata/CP774: New file.
14082 * iconvdata/testdata/CP774..UTF8: New file.
14083
14084 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
14085 END CHARMAP line.
14086 * iconvdata/gen-8bit-gap.sh: Likewise.
14087 * iconvdata/gen-8bit.sh: Likewise.
14088
c1e9e399
UD
14089 * locale/iso-639.def: Add ary entry.
14090
24c55fb3 14091 [BZ #11258]
96b4b1b0
UD
14092 * locale/C-translit.h.in: Add U20A1 transliteration.
14093
bdc2f971
KB
14094 [BZ #12178]
14095 * locale/iso-639.def: Add wae entry.
14096 Patch by Kevin Bortis <bortis@translate-wae.ch>.
14097
2952b117
UD
14098 [BZ #12545]
14099 * locale/programs/localedef.c (construct_output_path): Use ssize_t
14100 for n.
14101
2a81eaa5
UD
14102 [BZ #12711]
14103 * locale/C-translit.h.in: Add entry for U20B9.
14104 Patch by pravin.d.s@gmail.com.
14105
28377d1b
UD
141062011-05-08 Ulrich Drepper <drepper@gmail.com>
14107
7fb90fb8
UD
14108 [BZ #12713]
14109 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
14110 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
14111 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
14112 in rtld. Use *stat64.
7fb90fb8 14113 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 14114 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 14115 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
14116 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
14117 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
14118 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
14119 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
14120 __fstatat64 macros.
7fb90fb8
UD
14121 * include/dirent.h: Add libc_hidden_proto for rewinddir.
14122 * dirent/rewinddir.c: Add libc_hidden_def.
14123 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 14124 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 14125
28377d1b
UD
14126 * include/dirent.h (__alloc_dir): Add flags parameter.
14127 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
14128 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
14129 __alloc_dir.
14130 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
14131 from fdopendir if O_CLOEXEC is already set.
14132
66bdbaa4
AM
141332011-03-15 Alan Modra <amodra@gmail.com>
14134
14135 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
14136 l_tls_firstbyte_offset non-zero. Save padding offset in
14137 l_tls_firstbyte_offset for later use.
14138 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
14139 freeing static tls block.
14140
95721191
JN
141412011-03-05 Jonathan Nieder <jrnieder@gmail.com>
14142
14143 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
14144 where #ifdef was intended. The intent is to prevent ARG_MAX from
14145 being defined by the kernel headers.
14146
f87dfb1f
UD
141472011-05-07 Ulrich Drepper <drepper@gmail.com>
14148
14149 [BZ #12734]
14150 * resolv/resolv.h: Define RES_NOTLDQUERY.
14151 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
14152 no-tld-query and set RES_NOTLDQUERY.
14153 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
14154 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
14155 modern BIND to search name as TLD unless forbidden.
14156
47c3cd7a
UD
141572011-05-07 Petr Baudis <pasky@suse.cz>
14158 Ulrich Drepper <drepper@gmail.com>
14159
14160 [BZ #12393]
14161 * elf/dl-load.c (fillin_rpath): Move trusted path check...
14162 (is_trusted_path): ...to here.
c1e9ea35 14163 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 14164 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 14165 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 14166
8a35c912
PP
141672011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
14168
14169 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
14170 __BEGIN/__END_DECLS.
14171
acd41f47
UD
141722011-05-06 Ulrich Drepper <drepper@gmail.com>
14173
14174 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
14175 NSS_STATUS_NOTFOUND if no record was found.
14176
597df647
AS
141772011-05-05 Andreas Schwab <schwab@redhat.com>
14178
14179 * sunrpc/Makefile (headers): Add rpc/netdb.h.
14180 (headers-not-in-tirpc): Remove rpc/netdb.h
14181 * resolv/netdb.h: Revert last change.
14182
b9af1301
PP
141832011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
14184
14185 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
14186 circular dependency between libgcc.a and libc.a.
14187
4e34d5f5
AS
141882011-05-05 Andreas Schwab <schwab@redhat.com>
14189
14190 * resolv/netdb.h: Don't include <rpc/netdb.h>.
14191 * nis/Makefile: Don't install rpcsvc/*.
14192 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
14193 instead of <rpc/types.h>.
14194 (MAXHOSTNAMELEN): Define.
14195
00ee369c
AS
141962011-05-03 Andreas Schwab <schwab@redhat.com>
14197
14198 * elf/ldconfig.c (add_dir): Don't crash on empty path.
14199
0b592a30
MB
142002011-04-28 Maciej Babinski <mbabinski@google.com>
14201
14202 [BZ #12714]
14203 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
14204 gethostbyname4_r when IPv6 results are possible.
14205
6e04cbbe
UD
142062011-05-02 Ulrich Drepper <drepper@gmail.com>
14207
14208 [BZ #12723]
14209 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
14210 _PC_PIPE_BUF handling.
14211
e4ecafe0
BH
142122011-04-30 Bruno Haible <bruno@clisp.org>
14213
14214 [BZ #12717]
14215 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
14216 * resolv/netdb.h (getnameinfo): Change type of flags parameter
14217 to 'int'.
14218 * inet/getnameinfo.c (getnameinfo): Likewise.
14219
125ee683
UD
142202011-04-29 Ulrich Drepper <drepper@gmail.com>
14221
14222 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
14223 to groups setting in database lookup.
14224 * nss/nsswitch.conf: Add initgroups entry.
14225
b722481a
EB
142262011-04-22 Ulrich Drepper <drepper@gmail.com>
14227
14228 [BZ #12685]
14229 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
14230 mode string.
14231 Patch by Eric Blake <eblake@redhat.com>.
14232
4df46dbd
L
142332011-04-20 H.J. Lu <hongjiu.lu@intel.com>
14234
14235 * sunrpc/Makefile (need-export-routines): Add svc_run.
14236 (routines): Remove svc_run.
14237 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
14238 * sunrpc/clnt_perr.c (clnt_perrno): Export.
14239 * sunrpc/svc_run.c (svc_run): Likewise.
14240 * sunrpc/svc_udp.c (svcudp_create): Likewise.
14241
e84142d2
UD
142422011-04-21 Ulrich Drepper <drepper@gmail.com>
14243
14244 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
14245 problem in reallocation in last patch.
14246
877175d8
UD
142472011-04-20 Ulrich Drepper <drepper@gmail.com>
14248
14249 * sunrpc/Makefile: Move inclusion of Rules.
14250
ab8eed78
UD
142512011-04-19 Ulrich Drepper <drepper@gmail.com>
14252
14253 * nss/nss_files/files-initgroups.c: New file.
14254 * nss/Makefile (libnss_files-routines): Add files-initgroups.
14255 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
14256 _nss_files_initgroups_dyn.
14257
e3d8f584
RS
142582011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
14259
14260 * elf/elf.h (R_ARM_IRELATIVE): Define.
14261
af190f45
UD
142622011-04-19 Ulrich Drepper <drepper@gmail.com>
14263
14264 * po/ru.po: Update from translation team.
14265
53cf59ef
UD
142662011-04-17 Ulrich Drepper <drepper@gmail.com>
14267
14268 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
14269 dependencies.
14270
4c559bcd
MF
142712011-02-06 Mike Frysinger <vapier@gentoo.org>
14272
14273 [BZ #12653]
14274 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
14275 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
14276 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
14277 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
14278 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
14279
4420675c
AS
142802011-03-28 Andreas Schwab <schwab@linux-m68k.org>
14281
14282 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
14283 differing bytes.
14284 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
14285 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
14286 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
14287
75ea32ab
UD
142882011-04-17 Ulrich Drepper <drepper@gmail.com>
14289
14290 [BZ #12420]
14291 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
14292 storing it.
14293 * stdlib/bug-getcontext.c: New file.
14294 * stdlib/Makefile: Add rules to build and run bug-getcontext.
14295
27390476
AK
142962011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14297
14298 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
14299 instructions into .machine "z9-109".
14300 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
14301 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
14302
10442705
AK
143032011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14304
14305 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
14306 between environment variables and auxiliary vector.
14307
7b57bfe5
UD
143082011-04-16 Ulrich Drepper <drepper@gmail.com>
14309
14310 * Makefile: Add rules to build linkobj/libc.so.
14311 * include/libc-symbols.h: Define libc_hidden_nolink.
14312 * include/rpc/auth.h: Mark functions which are to be hidden.
14313 * include/rpc/auth_des.h: Likewise.
14314 * include/rpc/auth_unix.h: Likewise.
14315 * include/rpc/clnt.h: Likewise.
14316 * include/rpc/des_crypt.h: Likewise.
14317 * include/rpc/key_prot.h: Likewise.
14318 * include/rpc/pmap_clnt.h: Likewise.
14319 * include/rpc/pmap_prot.h: Likewise.
14320 * include/rpc/pmap_rmt.h: Likewise.
14321 * include/rpc/rpc_msg.h: Likewise.
14322 * include/rpc/svc.h: Likewise.
14323 * include/rpc/svc_auth.h: Likewise.
14324 * include/rpc/xdr.h: Likewise.
14325 * nis/Makefile: Link all DSOs against linkobj/libc.so.
14326 * nss/Makefile: Likewise.
14327 * sunrpc/Makefile: Don't install headers. Build library with normal
14328 entry points. Don't build rpcinfo. Link RPC tests appropriately.
14329 * sunrpc/auth_des.c: Hide exported symbols by default, export some
14330 for the compat linking library. Remove use of INTDEF/INTUSE.
14331 * sunrpc/auth_none.c: Likewise.
14332 * sunrpc/auth_unix.c: Likewise.
14333 * sunrpc/authdes_prot.c: Likewise.
14334 * sunrpc/authuxprot.c: Likewise.
14335 * sunrpc/clnt_gen.c: Likewise.
14336 * sunrpc/clnt_perr.c: Likewise.
14337 * sunrpc/clnt_raw.c: Likewise.
14338 * sunrpc/clnt_simp.c: Likewise.
14339 * sunrpc/clnt_tcp.c: Likewise.
14340 * sunrpc/clnt_udp.c: Likewise.
14341 * sunrpc/clnt_unix.c: Likewise.
14342 * sunrpc/des_crypt.c: Likewise.
14343 * sunrpc/des_soft.c: Likewise.
14344 * sunrpc/get_myaddr.c: Likewise.
14345 * sunrpc/key_call.c: Likewise.
14346 * sunrpc/key_prot.c: Likewise.
14347 * sunrpc/netname.c: Likewise.
14348 * sunrpc/pm_getmaps.c: Likewise.
14349 * sunrpc/pm_getport.c: Likewise.
14350 * sunrpc/pmap_clnt.c: Likewise.
14351 * sunrpc/pmap_prot.c: Likewise.
14352 * sunrpc/pmap_prot2.c: Likewise.
14353 * sunrpc/pmap_rmt.c: Likewise.
14354 * sunrpc/publickey.c: Likewise.
14355 * sunrpc/rpc_cmsg.c: Likewise.
14356 * sunrpc/rpc_common.c: Likewise.
14357 * sunrpc/rpc_dtable.c: Likewise.
14358 * sunrpc/rpc_prot.c: Likewise.
14359 * sunrpc/rpc_thread.c: Likewise.
14360 * sunrpc/rtime.c: Likewise.
14361 * sunrpc/svc.c: Likewise.
14362 * sunrpc/svc_auth.c: Likewise.
14363 * sunrpc/svc_authux.c: Likewise.
14364 * sunrpc/svc_raw.c: Likewise.
14365 * sunrpc/svc_run.c: Likewise.
14366 * sunrpc/svc_simple.c: Likewise.
14367 * sunrpc/svc_tcp.c: Likewise.
14368 * sunrpc/svc_udp.c: Likewise.
14369 * sunrpc/svc_unix.c: Likewise.
14370 * sunrpc/svcauth_des.c: Likewise.
14371 * sunrpc/xcrypt.c: Likewise.
14372 * sunrpc/xdr.c: Likewise.
14373 * sunrpc/xdr_array.c: Likewise.
14374 * sunrpc/xdr_float.c: Likewise.
14375 * sunrpc/xdr_intXX_t.c: Likewise.
14376 * sunrpc/xdr_mem.c: Likewise.
14377 * sunrpc/xdr_rec.c: Likewise.
14378 * sunrpc/xdr_ref.c: Likewise.
14379 * sunrpc/xdr_sizeof.c: Likewise.
14380 * sunrpc/xdr_stdio.c: Likewise.
14381
e6c61494
UD
143822011-04-10 Ulrich Drepper <drepper@gmail.com>
14383
14384 [BZ #12650]
14385 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
14386 * sysdeps/ia64/dl-tls.h: Likewise.
14387 * sysdeps/powerpc/dl-tls.h: Likewise.
14388 * sysdeps/s390/dl-tls.h: Likewise.
14389 * sysdeps/sh/dl-tls.h: Likewise.
14390 * sysdeps/sparc/dl-tls.h: Likewise.
14391 * sysdeps/x86_64/dl-tls.h: Likewise.
14392 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
14393
34fe483e
AS
143942011-03-14 Andreas Schwab <schwab@redhat.com>
14395
14396 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
14397 rpath element also skip the following colon.
14398 (expand_dynamic_string_token): Add is_path parameter and pass
14399 down to DL_DST_REQUIRED and _dl_dst_substitute.
14400 (decompose_rpath): Call expand_dynamic_string_token with
14401 non-zero is_path. Ignore empty rpaths.
14402 (_dl_map_object_from_fd): Call expand_dynamic_string_token
14403 with zero is_path.
14404
f12a32e6
AS
144052011-04-08 Andreas Schwab <schwab@linux-m68k.org>
14406
14407 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
14408 Make cancelable.
14409
38a7d692
UD
144102011-04-09 Ulrich Drepper <drepper@gmail.com>
14411
14412 [BZ #12655]
14413 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
14414 Patch by Filipe David Manana <fdmanana@apache.org>.
14415
e451d22b
AS
144162011-04-07 Andreas Schwab <schwab@redhat.com>
14417
14418 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
14419 Maintain aligned stack.
14420 (CHECK_RSP): Remove unused macro.
14421
dedc7c7b
UD
144222011-04-03 Ulrich Drepper <drepper@gmail.com>
14423
14424 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
14425 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
14426
94521213
UD
144272011-04-02 Ulrich Drepper <drepper@gmail.com>
14428
14429 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
14430
8cb700c0 14431 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 14432
0354e355
L
144332011-03-26 H.J. Lu <hongjiu.lu@intel.com>
14434
14435 [BZ #12518]
14436 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
14437 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
14438 * sysdeps/x86_64/memmove.c: New file.
14439 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
14440 (memcpy): Renamed to ...
14441 (__new_memcpy): This.
14442 (memcpy): Provide GLIBC_2_14 memcpy.
14443 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
14444 (memcpy): Provide GLIBC_2_2_5 memcpy.
14445
8593482f
UD
144462011-04-01 Ulrich Drepper <drepper@gmail.com>
14447
14448 [BZ #12631]
14449 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
14450
81a5726b
AS
144512011-03-30 Andreas Schwab <schwab@redhat.com>
14452
14453 * misc/syncfs.c: New file.
14454 * misc/Makefile (routines): Add syncfs.
14455 * posix/unistd.h: Declare syncfs.
14456 * sysdeps/unix/syscalls.list: Add syncfs.
14457
00e5419f
AS
144582011-04-01 Andreas Schwab <schwab@redhat.com>
14459
14460 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
14461 open_by_handle_at.
14462 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
14463 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
14464 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
14465 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
14466 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
14467 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
14468 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
14469
748876bf
UD
144702011-04-01 Ulrich Drepper <drepper@gmail.com>
14471
658e451d
UD
14472 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
14473 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
14474 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
14475 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
14476 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
14477 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
14478 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
14479
748876bf
UD
14480 * io/Makefile: Compile fallocate.c, fallocate64.c, and
14481 sync_file_range.c with -fexceptions.
14482 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
14483 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
14484 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
14485 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
14486 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
14487 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
14488 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
14489 sync_file_range as cancellation point
14490 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
14491 now a wrapper around __call_sync_file_range with cancellation handling.
14492 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
14493 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
14494 function name to __call_sync_file_range.
14495 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
14496 Add call_sync_file_range.
748876bf 14497
6e63d5e1
AS
144982011-04-01 Andreas Schwab <schwab@redhat.com>
14499
14500 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 14501 bits/timex.h.
6e63d5e1 14502
46998f74
UD
145032011-04-01 Ulrich Drepper <drepper@gmail.com>
14504
4c1423ed
UD
14505 * iconv/iconv.h: Fix typo in comment.
14506 * io/fcntl.h: Likewise.
14507 * libio/stdio.h: Likewise.
14508 * posix/spawn.h: Likewise.
14509 * posix/unistd.h: Likewise.
14510 * stdlib/stdlib.h: Likewise.
14511 * time/time.h: Likewise.
14512 * wcsmbs/wchar.h: Likewise.
14513
158648c0
UD
14514 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
14515 open_by_handle): Add.
14516 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
14517 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
14518 Augment a few comments.
14519 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
14520 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
14521 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
14522 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
14523 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
14524 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
14525 open_by_handle.
14526
46998f74
UD
14527 * io/fcntl.h (AT_EMPTY_PATH): Define.
14528
83fe108b
UD
145292011-03-30 Ulrich Drepper <drepper@gmail.com>
14530
14531 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
14532 * sysdeps/unix/sysv/linux/bits/time.h: New file.
14533 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
14534 to...
14535 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
14536 * Versions.def: Add GLIBC_2.14.
14537 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
14538 Export.
83fe108b 14539
bb242059
UD
145402011-03-22 Ulrich Drepper <drepper@gmail.com>
14541
14542 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
14543 round counter.
14544 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
14545
c97a1282
L
145462011-03-20 H.J. Lu <hongjiu.lu@intel.com>
14547
14548 [BZ #12597]
14549 * string/test-strncmp.c (do_page_test): New function.
14550 (check2): Likewise.
14551 (test_main): Call check2.
14552 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
14553
2a115601
UD
145542011-03-20 Ulrich Drepper <drepper@gmail.com>
14555
14556 [BZ #12587]
14557 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
14558 Handle cache information in CPU leaf 4.
14559 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
14560
8126d904
UD
145612011-03-18 Ulrich Drepper <drepper@gmail.com>
14562
042c49c6 14563 [BZ #12583]
8126d904
UD
14564 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
14565 character representation.
14566 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
14567
ccfe366e
RA
145682011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
14569
14570 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
14571 END(__isnan) to END(__isnanf) to match function entry point/label
14572 EALIGN(__isnanf,...).
14573
c6e13027
JJ
145742011-03-10 Jakub Jelinek <jakub@redhat.com>
14575
14576 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
14577
33f85a3f
UD
145782011-03-10 Ulrich Drepper <drepper@gmail.com>
14579
028478fa
UD
14580 [BZ #12510]
14581 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
14582 copy from the symbol referenced in the relocation to initialize the
14583 used variable.
14584 Patch by Piotr Bury <pbury@goahead.com>.
14585 * elf/Makefile: Add rules to build and tst-unique3.
14586 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
14587 * elf/tst-unique3.cc: New file.
14588 * elf/tst-unique3.h: New file.
14589 * elf/tst-unique3lib.cc: New file.
14590 * elf/tst-unique3lib2.cc: New file.
14591
33f85a3f
UD
14592 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
14593
03592fc7
MF
145942011-03-10 Mike Frysinger <vapier@gentoo.org>
14595
14596 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
14597 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
14598 to _start.
03592fc7 14599
6a5ee102
UD
146002011-03-06 Ulrich Drepper <drepper@gmail.com>
14601
14602 * elf/dl-load.c (_dl_map_object): If we are looking for the first
14603 to-be-loaded object along a path to loader is ld.so.
14604
7e4ba49c
HJ
146052011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
14606 Ulrich Drepper <drepper@gmail.com>
14607
14608 * sysdeps/x86_64/memset.S: After aligning destination, code
14609 branches to different locations depending on the value of
14610 misalignment, when multiarch is enabled. Fix this.
14611
146122011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
14613
14614 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
14615 Set _x86_64_preferred_memory_instruction for AMD processsors.
14616 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
14617 Set bit_Prefer_SSE_for_memop for AMD processors.
14618
13a804de
UD
146192011-03-04 Ulrich Drepper <drepper@gmail.com>
14620
14621 * libio/fmemopen.c (fmemopen): Optimize a bit.
14622
9d25c392
AS
146232011-03-03 Andreas Schwab <schwab@redhat.com>
14624
14625 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
14626
a5543c6a
RM
146272011-03-03 Roland McGrath <roland@redhat.com>
14628
14629 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
14630
012d35f7
DM
146312011-02-28 Aurelien Jarno <aurelien@aurel32.net>
14632
7e4ba49c 14633 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
14634 __bzero_ultra1 instead of __memset_ultra1.
14635
4bff6e01
AS
146362011-02-23 Andreas Schwab <schwab@redhat.com>
14637 Ulrich Drepper <drepper@gmail.com>
14638
14639 [BZ #12509]
14640 * include/link.h (struct link_map): Add l_orig_initfini.
14641 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
14642 returning unsuccessfully.
14643 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
14644 close of a file loaded at startup, restore the original l_initfini
14645 list.
14646 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
14647 list, store the pointer.
14648 * elf/Makefile ($(objpfx)noload-mem): New rule.
14649 (noload-ENV): Define.
14650 (tests): Add $(objpfx)noload-mem.
14651 * elf/noload.c: Include <memcheck.h>.
14652 (main): Call mtrace. Close all opened handles.
14653
f2092faf
AS
146542011-02-17 Andreas Schwab <schwab@redhat.com>
14655
14656 [BZ #12454]
14657 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
14658 dependencies are missing.
14659
6c8a2e88
ST
146602011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
14661
f2092faf 14662 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
14663 Hurd needs munmap.
14664 * sysdeps/mach/hurd/ifreq.h: New file.
14665
84a42118
PB
146662011-01-27 Petr Baudis <pasky@suse.cz>
14667 Ulrich Drepper <drepper@gmail.com>
14668
071f805e 14669 [BZ 12445]#
84a42118
PB
14670 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
14671 to extend_alloca().
14672 * stdio-common/bug23.c: New file.
14673 * stdio-common/Makefile (tests): Add bug23.
14674
e23fe25b
AS
146752010-09-28 Andreas Schwab <schwab@redhat.com>
14676 Ulrich Drepper <drepper@gmail.com>
14677
14678 [BZ #12489]
14679 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
14680 before performing relro protection. At old place add assertion
14681 to make sure nothing changed.
14682
d3f02e10
NS
146832011-02-17 Nathan Sidwell <nathan@codesourcery.com>
14684 Glauber de Oliveira Costa <glommer@gmail.com>
14685
14686 * elf/elf.h: Add new ARM TLS relocs.
14687
d55fd7a5
RA
146882011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
14689
14690 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
14691 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
14692 cast from r3.
14693 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
14694 'tests' variable.
14695 * sysdeps/wordsize-64/tst-writev.c: New file.
14696
2206397e
RA
146972011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
14698
14699 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
14700 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
14701 insns in _dl_start to prevent a TOC reference before relocs are
14702 resolved.
14703
e9433893
UD
147042011-02-15 Ulrich Drepper <drepper@gmail.com>
14705
14706 [BZ #12469]
14707 * Makeconfig: Remove RANLIB definition.
14708 * Makerules: Don't use RANLIB.
14709 * aclocal.m4: Remove ranlib test.
14710 * configure.in: No need to check for ranlib.
14711 * elf/rtld-Rules: Don't use RANLIB.
14712
f75286c6
ST
147132011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
14714
8e31c82d
ST
14715 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
14716 protection macro.
14717 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
14718 inclusion protection macro.
14719
f75286c6
ST
14720 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
14721 SIGRTMIN and SIGRTMAX and print information in that case only when
14722 SIGRTMIN is defined.
14723
c1d0e639
JJ
147242011-02-11 Jakub Jelinek <jakub@redhat.com>
14725
14726 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
14727 arginfo fn returning -1.
14728
14729 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
14730 and thousands string is zero terminated.
14731
edf9294e
AS
147322011-02-03 Andreas Schwab <schwab@redhat.com>
14733
14734 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
14735 sysdeps/unix/sysv/linux/bits/socket.h.
14736
2b7e92df
ST
147372011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
14738
edf9294e
AS
14739 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
14740 (__CPU_COUNT): Remove old macros.
14741 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
14742 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
14743 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
14744 (__sched_cpualloc, __sched_cpufree): Add declarations.
14745
a4c7ea7b
UD
147462011-02-05 Ulrich Drepper <drepper@gmail.com>
14747
14748 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
14749 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
14750 * nscd/aicache.c (addhstaiX): Return timeout of added value.
14751 (readdhstai): Return value of addhstaiX call.
14752 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
14753 (addgrbyX): Return value returned by cache_addgr.
14754 (readdgrbyname): Return value returned by addgrbyX.
14755 (readdgrbygid): Likewise.
14756 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
14757 (addpwbyX): Return value returned by cache_addpw.
14758 (readdpwbyname): Return value returned by addhstbyX.
14759 (readdpwbyuid): Likewise.
14760 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
14761 (addservbyX): Return value returned by cache_addserv.
14762 (readdservbyname): Return value returned by addservbyX:
14763 (readdservbyport): Likewise.
14764 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
14765 (addhstbyX): Return value returned by cache_addhst.
14766 (readdhstbyname): Return value returned by addhstbyX.
14767 (readdhstbyaddr): Likewise.
14768 (readdhstbynamev6): Likewise.
14769 (readdhstbyaddrv6): Likewise.
14770 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
14771 (readdinitgroups): Return value returned by addinitgroupsX.
14772 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
14773 (prune_cache): Keep track of timeout value of re-added entries.
14774 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
14775 * nscd/nscd.h: Adjust prototypes of readd* functions.
14776
a0bf67cc
RM
147772011-02-04 Roland McGrath <roland@redhat.com>
14778
14779 * nis/nis_server.c (nis_servstate): Use the right name for 0.
14780 (nis_stats): Likewise.
14781 * nis/nis_modify.c (nis_modify): Likewise.
14782 * nis/nis_remove.c (nis_remove): Likewise.
14783 * nis/nis_add.c (nis_add): Likewise.
14784
14785 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
14786
14787 * posix/fnmatch_loop.c: Add some consts.
14788
14789 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
14790
435b95eb
L
147912011-02-02 H.J. Lu <hongjiu.lu@intel.com>
14792
14793 [BZ #12460]
14794 * config.make.in (config-cflags-novzeroupper): Define.
14795 * configure.in: Substitute libc_cv_cc_novzeroupper.
14796 * elf/Makefile (AVX-CFLAGS): Define.
14797 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
14798 (CFLAGS-tst-auditmod4a.c): Likewise.
14799 (CFLAGS-tst-auditmod4b.c): Likewise.
14800 (CFLAGS-tst-auditmod6b.c): Likewise.
14801 (CFLAGS-tst-auditmod6c.c): Likewise.
14802 (CFLAGS-tst-auditmod7b.c): Likewise.
14803 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
14804
8517b15e
UD
148052011-02-02 Ulrich Drepper <drepper@gmail.com>
14806
14807 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
14808 function to the callback.
14809 Patch partly by Jiri Olsa <jolsa@redhat.com>.
14810
10a656fe
AS
148112011-02-02 Andreas Schwab <schwab@redhat.com>
14812
14813 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
14814 of errno.
14815
968dad0a
UD
148162011-01-19 Ulrich Drepper <drepper@gmail.com>
14817
9f94d2ea 14818 [BZ #11724]
968dad0a
UD
14819 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
14820 of constructors.
14821 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
14822 of destructors.
14823 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
14824
14825 [BZ #11724]
14826 * elf/Makefile: Add rules to build and run new test.
14827 * elf/tst-initorder.c: New file.
14828 * elf/tst-initorder.exp: New file.
14829 * elf/tst-initordera1.c: New file.
14830 * elf/tst-initordera2.c: New file.
14831 * elf/tst-initordera3.c: New file.
14832 * elf/tst-initordera4.c: New file.
14833 * elf/tst-initorderb1.c: New file.
14834 * elf/tst-initorderb2.c: New file.
14835 * elf/tst-order-a1.c: New file.
14836 * elf/tst-order-a2.c: New file.
14837 * elf/tst-order-a3.c: New file.
14838 * elf/tst-order-a4.c: New file.
14839 * elf/tst-order-b1.c: New file.
14840 * elf/tst-order-b2.c: New file.
14841 * elf/tst-order-main.c: New file.
14842 New test case by George Gensure <werkt0@gmail.com>.
14843
86e92359
UD
148442010-10-01 Andreas Schwab <schwab@redhat.com>
14845
14846 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
14847 decoding ACE if AI_CANONIDN.
14848
5d5732b0
UD
148492011-01-18 Ulrich Drepper <drepper@gmail.com>
14850
14851 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
14852
a77e8cbc
UD
148532011-01-17 Ulrich Drepper <drepper@gmail.com>
14854
6392473f
UD
14855 * version.h (RELEASE): Bump for 2.13 release.
14856 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
14857
620a0529
UD
14858 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
14859
18ba70a5
UD
14860 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
14861 MADV_NOHUGEPAGE.
32465c3e
UD
14862 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
14863 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
14864 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
14865 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
14866 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
14867 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
14868
c0dafcf1
UD
14869 * posix/getconf.c: Update copyright year.
14870 * catgets/gencat.c: Likewise.
14871 * csu/version.c: Likewise.
14872 * debug/catchsegv.sh: Likewise.
14873 * debug/xtrace.sh: Likewise.
14874 * elf/ldconfig.c: Likewise.
14875 * elf/ldd.bash.in: Likewise.
14876 * elf/sprof.c (print_version): Likewise.
14877 * iconv/iconv_prog.c: Likewise.
14878 * iconv/iconvconfig.c: Likewise.
14879 * locale/programs/locale.c: Likewise.
14880 * locale/programs/localedef.c: Likewise.
14881 * malloc/memusage.sh: Likewise.
14882 * malloc/mtrace.pl: Likewise.
14883 * nscd/nscd.c (print_version): Likewise.
14884 * nss/getent.c: Likewise.
14885
a77e8cbc
UD
14886 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
14887 PF_CAIF, and PF_ALG.
14888 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
14889
77e8bddf
AS
148902011-01-16 Andreas Schwab <schwab@linux-m68k.org>
14891
1f20b93a
AS
14892 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
14893 (modules-names): Use them.
14894 (ifunc-test-modules, ifunc-pie-tests): Define.
14895 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
14896 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
14897 (test-extras): Likewise.
14898 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
14899 $(compile-command.c).
14900 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
14901 (all-built-dso): Define.
14902 (check-textrel.out, check-execstack.out): Depend on it.
14903
77e8bddf
AS
14904 * configure.in: Don't override --enable-multi-arch.
14905
bc425b33
UD
149062011-01-15 Ulrich Drepper <drepper@gmail.com>
14907
14908 [BZ #6812]
14909 * nscd/hstcache.c (tryagain): Define.
14910 (cache_addhst): Return tryagain not notfound for temporary errors.
14911 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
14912 failed.
14913
794c3ad3
UD
149142011-01-14 Ulrich Drepper <drepper@gmail.com>
14915
70181fdd
UD
14916 [BZ #10563]
14917 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
14918 to make the syscall.
14919 * sysdeps/unix/sysv/linux/setgroups.c: New file.
14920
794c3ad3
UD
14921 [BZ #12378]
14922 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
14923 and fall back to matching as normal character if the string ends before
14924 the matching ']' is found. This is what POSIX requires.
14925 * posix/testfnm.c: Adjust test result.
14926 * posix/globtest.sh: Adjust test result. Add new test.
14927 * posix/tst-fnmatch.input: Likewise.
14928 * posix/tst-fnmatch2.c: Add new test.
14929
68dc9497
AS
149302010-12-28 Andreas Schwab <schwab@linux-m68k.org>
14931
14932 * elf/Makefile (check-execstack): Revert last change. Depend on
14933 check-execstack.h.
14934 (check-execstack.h): New target.
14935 (generated): Add check-execstack.h.
14936 * elf/check-execstack.c: Include "check-execstack.h".
14937 (main): Revert last change.
14938 (handle_file): Return zero if GNU_STACK is absent and
14939 DEFAULT_STACK_PERMS doesn't include PF_X.
14940
451f001b
UD
149412011-01-13 Ulrich Drepper <drepper@gmail.com>
14942
cfa28e56
UD
14943 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
14944 in child fails because the descriptor is already closed.
8cf8ce17
UD
14945 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
14946 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
14947 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 14948
1086d70d
UD
14949 [BZ #12397]
14950 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
14951 syscall.
14952
451f001b
UD
14953 [BZ #10484]
14954 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
14955 temporary buffer used to handle multi lookups locally.
a85b5cb4 14956 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 14957
08769175
UD
149582011-01-12 Ulrich Drepper <drepper@gmail.com>
14959
14960 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
14961 loader is ld.so.
14962
5e49c52e
UD
149632011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
14964
14965 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
14966 alignment for SSE2.
14967
60522a5f
UD
149682011-01-12 Ulrich Drepper <drepper@gmail.com>
14969
14970 [BZ #12394]
14971 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
14972 characters. When rounding increased number of integer digits recompute
14973 number of groups.
14974 * stdio-common/tst-grouping.c: New file.
14975 * stdio-common/Makefile: Add rules to build and run tst-grouping.
14976
f257bbd7
UD
149772011-01-09 Ulrich Drepper <drepper@gmail.com>
14978
14979 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
14980 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
14981
14982 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
14983 void.
14984 * bits/select.h: Likewise.
14985
fa9c15cb
UD
149862011-01-08 Ulrich Drepper <drepper@gmail.com>
14987
14988 * po/ja.po: Update from translation team.
14989
16c2895f
DM
149902011-01-04 David S. Miller <davem@sunset.davemloft.net>
14991
14992 [BZ #11155]
14993 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
14994 implementation just like for lxstat, fxstatat, et al.
14995
2543fef2
JM
149962010-12-27 Jim Meyering <meyering@redhat.com>
14997
14998 [BZ #12348]
14999 * posix/regexec.c (build_trtable): Return failure indication upon
15000 calloc failure. Otherwise, re_search_internal could infloop on OOM.
15001
98727dbe
UD
150022010-12-25 Ulrich Drepper <drepper@gmail.com>
15003
5bd6dc5c
UD
15004 [BZ #12201]
15005 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
15006 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
15007 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
15008 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
15009
97983464
UD
15010 [BZ #12207]
15011 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
15012
98727dbe
UD
15013 [BZ #12204]
15014 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
15015 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
15016
4a531bb0
L
150172010-12-15 H.J. Lu <hongjiu.lu@intel.com>
15018
15019 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
15020 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
15021 script has SORT_BY_INIT_PRIORITY.
15022 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
15023 NO_CTORS_DTORS_SECTIONS is defined.
15024 * elf/soinit.c: Likewise.
15025 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
15026 NO_CTORS_DTORS_SECTIONS is defined.
15027 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
15028 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
15029 * sysdeps/sh/init-first.c: Likewise.
15030 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
15031
07eb4b71
UD
150322010-12-24 Ulrich Drepper <drepper@gmail.com>
15033
15034 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
15035 always use the slow path.
15036
30950a5f
RA
150372010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
15038
15039 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
15040 similar rule which adds the sysdep directories to the header search in
15041 order to pick up the correct platform stackinfo.h.
15042 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
15043 perform test if it is, otherwise return successfully without testing.
15044 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
15045 DEFAULT_STACK_PERMS define in stackinfo.h.
15046 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
15047 defined in stackinfo.h.
15048 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
15049 DEFAULT_STACK_PERMS defined in stackinfo.h.
15050 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
15051 * sysdeps/ia64/stackinfo.h: Likewise.
15052 * sysdeps/s390/stackinfo.h: Likewise.
15053 * sysdeps/sh/stackinfo.h: Likewise.
15054 * sysdeps/sparc/stackinfo.h: Likewise.
15055 * sysdeps/x86_64/stackinfo.h: Likewise.
15056 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
15057 PF_X for powerpc64. Retain PF_X for powerpc32.
15058
db753e2c
UD
150592010-12-19 Ulrich Drepper <drepper@gmail.com>
15060
14b697f7
UD
15061 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
15062 accurately.
db753e2c
UD
15063 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
15064 GETDENTS_64BIT_ALIGNED.
15065
28300719
UD
150662010-12-14 Ulrich Drepper <dreper@gmail.com>
15067
14b697f7 15068 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 15069
4f197237
AS
150702010-12-10 Andreas Schwab <schwab@redhat.com>
15071
dbb0472f
AS
15072 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
15073 _GNU_SOURCE.
15074
4f197237
AS
15075 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
15076 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
15077 Remove __restrict.
15078 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
15079 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
15080
fb88ac72
UD
150812010-12-09 Ulrich Drepper <drepper@gmail.com>
15082
15083 [BZ #11655]
15084 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
15085 are initialized.
15086
42acbb92
JJ
150872010-12-09 Jakub Jelinek <jakub@redhat.com>
15088
15089 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
15090
c038d98d
UD
150912010-12-03 Ulrich Drepper <drepper@gmail.com>
15092
15093 * po/it.po: Update from translation team.
15094
3a4a2499
L
150952010-12-01 H.J. Lu <hongjiu.lu@intel.com>
15096
15097 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
15098 unused codes.
15099
1e24cf6e
UD
151002010-11-30 Ulrich Drepper <drepper@gmail.com>
15101
15102 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
15103
a7690819
AS
151042010-11-24 Andreas Schwab <schwab@redhat.com>
15105
15106 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
15107 specially.
15108 (gaih_getanswer_slice): Likewise.
15109
3bf8d1b1
JJ
151102010-10-20 Jakub Jelinek <jakub@redhat.com>
15111
15112 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
15113
6db52fbb
PB
151142010-05-31 Petr Baudis <pasky@suse.cz>
15115
15116 [BZ #11149]
15117 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
15118 silently even in the chroot mode.
15119
eaca7569
UD
151202010-11-22 Ulrich Drepper <drepper@gmail.com>
15121
15122 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
15123 last patch a bit. Pretty printing
15124
3056dcdb
UD
151252010-05-31 Petr Baudis <pasky@suse.cz>
15126
15127 [BZ #10085]
15128 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
15129 initialization of skip_initgroups_dyn.
15130
cf7c9078
UD
151312010-11-19 Ulrich Drepper <drepper@gmail.com>
15132
15133 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
15134 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
15135
a1fb5e3e
UD
151362010-11-16 Ulrich Drepper <drepper@gmail.com>
15137
15138 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
15139
3540d66b
AS
151402010-11-11 Andreas Schwab <schwab@redhat.com>
15141
15142 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
15143 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
15144 (tst-fnmatch-ENV): Set MALLOC_TRACE.
15145 ($(objpfx)tst-fnmatch-mem): New rule.
15146 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
15147 * posix/tst-fnmatch.c (main): Call mtrace.
15148
13b69574
L
151492010-11-11 H.J. Lu <hongjiu.lu@intel.com>
15150
15151 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
15152 Support Intel processor model 6 and model 0x2c.
15153
da93d214
LM
151542010-11-10 Luis Machado <luisgpm@br.ibm.com>
15155
15156 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
15157 signed comparison.
15158
8ca52c6e
L
151592010-11-09 H.J. Lu <hongjiu.lu@intel.com>
15160
15161 [BZ #12205]
15162 * string/test-strncasecmp.c (check_result): New function.
15163 (do_one_test): Use it.
15164 (check1): New function.
15165 (test_main): Use it.
15166 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
15167 Support strcasecmp and strncasecmp.
15168
69da074d
UD
151692010-11-08 Ulrich Drepper <drepper@gmail.com>
15170
15171 [BZ #12194]
15172 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
15173 * sysdeps/x86_64/bits/byteswap.h: Likewise.
15174
ff02d528
L
151752010-11-07 H.J. Lu <hongjiu.lu@intel.com>
15176
15177 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
15178 IFUNC support.
15179 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
15180 memset-x86-64.
15181 * sysdeps/x86_64/multiarch/bzero.S: New file.
15182 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
15183 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
15184 * sysdeps/x86_64/multiarch/memset.S: New file.
15185 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
15186 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
15187 Set bit_Prefer_SSE_for_memop for Intel processors.
15188 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
15189 Define.
15190 (index_Prefer_SSE_for_memop): Define.
15191 (HAS_PREFER_SSE_FOR_MEMOP): Define.
15192
344d0b54
LM
151932010-11-04 Luis Machado <luisgpm@br.ibm.com>
15194
15195 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
15196 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
15197
c0dde15b
UD
151982010-11-03 H.J. Lu <hongjiu.lu@intel.com>
15199
15200 [BZ #12191]
15201 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
15202 (__x86_64_raw_data_cache_size_half): Likewise.
15203 (__x86_64_raw_shared_cache_size): Likewise.
15204 (__x86_64_raw_shared_cache_size_half): Likewise.
15205
15206 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
15207 (__x86_64_raw_data_cache_size_half): Likewise.
15208 (__x86_64_raw_shared_cache_size): Likewise.
15209 (__x86_64_raw_shared_cache_size_half): Likewise.
15210 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
15211 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
15212 and __x86_64_raw_shared_cache_size_half. Round
15213 __x86_64_data_cache_size_half, __x86_64_data_cache_size
15214 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
15215 to multiple of 256 bytes.
15216
0e516e0e
MS
152172010-11-03 Ulrich Drepper <drepper@gmail.com>
15218
15219 [BZ #12167]
15220 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
15221 of inacessible symlinks. Verify result of symlink before returning it.
15222 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
15223 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
15224
0e012e87
ER
152252010-10-28 Erich Ritz <erichritz@gmail.com>
15226
15227 * math/math.h (isinf): Fix typo in comment.
15228
de0ff7bc
UD
152292010-11-01 Ulrich Drepper <drepper@gmail.com>
15230
15231 * po/da.po: Update from translation team.
15232
fa41c84d
UD
152332010-10-26 Ulrich Drepper <drepper@gmail.com>
15234
15235 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
15236 is added to the list.
15237
f0967738
AK
152382010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15239 Ulrich Drepper <drepper@gmail.com>
15240
15241 * elf/dl-object.c (_dl_new_object): Don't append the new object to
15242 the global list here. Move code to...
15243 (_dl_add_to_namespace_list): ...here. New function.
15244 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
15245 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
15246 * elf/dl-load.c (lose): Don't remove the element from the list.
15247 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
15248 (_dl_map_object): Likewise.
15249
152502010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
15251
15252 [BZ #12159]
15253 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
15254 into all bytes of SSE register.
15255 Patch by Richard Li <richardpku@gmail.com>.
15256
f0967738 152572010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
15258
15259 [BZ #12140]
15260 * malloc/malloc.c (_int_free): Fill correct number of bytes when
15261 perturbing.
15262
d0b9e94f
MB
152632010-10-20 Michael B. Brutman <brutman@us.ibm.com>
15264
15265 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
15266 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
15267 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
15268 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
15269 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
15270 submachine.
15271 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
15272
8e9f92e9
AS
152732010-10-22 Andreas Schwab <schwab@redhat.com>
15274
15275 * include/dlfcn.h (__RTLD_SECURE): Define.
15276 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
15277 mode & __RTLD_SECURE instead.
15278 (open_path): Rename preloaded parameter to secure.
15279 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
15280 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
15281 * elf/dl-deps.c (openaux): Likewise.
15282 * elf/rtld.c (struct map_args): Remove is_preloaded.
15283 (map_doit): Don't use it.
15284 (dl_main): Likewise.
15285 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
15286 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
15287
bc96fbda
AS
152882010-09-09 Andreas Schwab <schwab@redhat.com>
15289
15290 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
15291 (sysd-rules-targets): Remove duplicates.
15292 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
15293 rtld-%.$o dependency.
15294
22cd1c9b
AS
152952010-10-18 Andreas Schwab <schwab@redhat.com>
15296
15297 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
15298 _dl_map_object do it.
15299
18edac48
UD
153002010-10-19 Ulrich Drepper <drepper@gmail.com>
15301
15302 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
15303 fast fma builtins, define the macros in the C99 standard.
15304 (FP_FAST_FMAF): Likewise.
15305 (FP_FAST_FMAL): Likewise.
15306 * sysdeps/x86_64/bits/mathdef.h: Likewise.
15307
15308 * bits/mathdef.h: Update copyright year.
15309 * sysdeps/powerpc/bits/mathdef.h: Likewise.
15310
d2050124
MM
153112010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
15312
15313 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
15314 builtins, define the macros in the C99 standard.
15315 (FP_FAST_FMAF): Likewise.
15316 (FP_FAST_FMAL): Likewise.
15317 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
15318 multiply/add.
15319 (FP_FAST_FMAF): Likewise.
15320
475facd1
JJ
153212010-10-15 Jakub Jelinek <jakub@redhat.com>
15322
15323 [BZ #3268]
15324 * math/libm-test.inc (fma_test): Some new testcases.
15325 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
15326 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
15327 y and infinite z. Do multiplication by C already in long double.
15328 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
15329 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
15330 y and infinite z. Do bitwise or of inexact bit into u.d.
15331 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
15332 * sysdeps/i386/fpu/s_fmaf.S: Removed.
15333 * sysdeps/i386/fpu/s_fma.S: Removed.
15334 * sysdeps/i386/fpu/s_fmal.S: Removed.
15335
7c08a05c
JJ
153362010-10-16 Jakub Jelinek <jakub@redhat.com>
15337
15338 [BZ #3268]
15339 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
15340 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
15341 computation is not scheduled after fetestexcept. Fix value
15342 of minimum denormal long double.
15343
f3f7372d
JJ
153442010-10-14 Jakub Jelinek <jakub@redhat.com>
15345
15346 [BZ #3268]
15347 * math/libm-test.inc (fma_test): Add some more tests.
15348 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
15349 correctly.
15350
14d43591
AS
153512010-10-15 Andreas Schwab <schwab@redhat.com>
15352
15353 * scripts/data/localplt-s390-linux-gnu.data: New file.
15354 * scripts/data/localplt-s390x-linux-gnu.data: New file.
15355
5e908464
JJ
153562010-10-13 Jakub Jelinek <jakub@redhat.com>
15357
15358 [BZ #3268]
15359 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
15360 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
15361 instead of dbl-64.
15362 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
15363 inlines.
15364 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
15365 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
15366 if one of x and y is very large and the other is subnormal.
15367 * sysdeps/s390/fpu/s_fmaf.c: New file.
15368 * sysdeps/s390/fpu/s_fma.c: New file.
15369 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
15370 * sysdeps/powerpc/fpu/s_fma.S: New file.
15371 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
15372 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
15373 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
15374
153752010-10-12 Jakub Jelinek <jakub@redhat.com>
15376
15377 [BZ #3268]
15378 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
15379 fma tests.
15380 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
15381 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
15382 * sysdeps/i386/i686/multiarch/s_fma.c: Include
15383 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
15384 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
15385 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
15386 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
15387
b833d51f
UD
153882010-10-12 Ulrich Drepper <drepper@redhat.com>
15389
15390 [BZ #12078]
15391 * posix/regcomp.c (parse_branch): One more memory leak plugged.
15392 * posix/bug-regex31.input: Add test case.
15393
1751705d
UD
153942010-10-11 Ulrich Drepper <drepper@gmail.com>
15395
e9b9cbf5
UD
15396 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
15397 * posix/bug-regex31.input: New file.
15398
15399 [BZ #12078]
15400 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
15401 (parse_sub_exp): Fix last change, use postorder.
15402
ef06edbe
UD
15403 * posix/bug-regex31.c: New file.
15404 * posix/Makefile: Add rules to build and run bug-regex31.
15405
a129c80d
UD
15406 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
15407
15408 [BZ #12078]
15409 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
15410
b76b818e
UD
15411 [BZ #12108]
15412 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
15413 to have entries in sys_siglist.
15414
1751705d
UD
15415 [BZ #12093]
15416 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
15417 be NULL.
15418
9ff8d36f
JJ
154192010-10-07 Jakub Jelinek <jakub@redhat.com>
15420
15421 [BZ #3268]
15422 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
15423 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
15424 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
15425 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
15426 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
15427 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
15428 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
15429 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
15430 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
15431 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
15432 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
15433 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
15434 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
15435 * math/ftestexcept.c (fetestexcept): Likewise.
15436 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
15437 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
15438 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
15439 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
15440 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
15441 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
15442 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
15443
af325969
UD
154442010-10-11 Ulrich Drepper <drepper@gmail.com>
15445
c579b202 15446 [BZ #12107]
af325969
UD
15447 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
15448 newline.
15449
67a67b95
UD
154502010-10-06 Ulrich Drepper <drepper@gmail.com>
15451
15452 * string/bug-strstr1.c: New file.
15453 * string/Makefile: Add rules to build and run bug-strstr1.
15454
5fb308bc
EB
154552010-10-05 Eric Blake <eblake@redhat.com>
15456
15457 [BZ #12092]
15458 * string/str-two-way.h (two_way_long_needle): Always clear memory
15459 when skipping input due to the shift table.
15460
45db99c7
UD
154612010-10-03 Ulrich Drepper <drepper@gmail.com>
15462
3b111893
UD
15463 [BZ #12005]
15464 * malloc/mcheck.c: Handle large requests.
15465
45db99c7
UD
15466 [BZ #12077]
15467 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
15468 for strncmp and strncasecmp.
15469 * string/stratcliff.c: Add tests for strcmp and strncmp.
15470 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
15471
cf7a1eb8
NI
154722010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
15473
15474 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
15475 __set_fpscr.
15476
6484ba5e
AJ
154772010-09-30 Andreas Jaeger <aj@suse.de>
15478
15479 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
15480 (CGROUP_SUPER_MAGIC): Define.
15481 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
15482 Handle btrfs and cgroup file systems.
15483 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
15484 Likewise.
15485
91c42559
LM
154862010-09-27 Luis Machado <luisgpm@br.ibm.com>
15487
15488 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
15489 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
15490
87a97932
AK
154912010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15492
15493 [BZ #12067]
15494 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
15495 trying to locate the ELF header.
15496
c21cc9bc
AS
154972010-09-27 Andreas Schwab <schwab@redhat.com>
15498
15499 [BZ #11611]
15500 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
15501 Mask out sign-bit copies when constructing f_fsid.
15502
315970f6
PB
155032010-09-24 Petr Baudis <pasky@suse.cz>
15504
15505 * debug/stack_chk_fail_local.c: Add missing licence exception.
15506 * debug/warning-nop.c: Likewise.
15507
1ac7a2c7
JM
155082010-09-15 Joseph Myers <joseph@codesourcery.com>
15509
15510 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
15511 implementing getdents64 using getdents syscall, set d_type if
15512 __ASSUME_GETDENTS32_D_TYPE.
15513
56801c50
AS
155142010-09-16 Andreas Schwab <schwab@redhat.com>
15515
15516 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
15517 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
15518
dda51327
UD
155192010-09-21 Ulrich Drepper <drepper@redhat.com>
15520
15521 [BZ #12037]
15522 * posix/unistd.h: Undo change of feature selection for ftruncate from
15523 2010-01-11.
15524
8ffcee4a
UD
155252010-09-20 Ulrich Drepper <drepper@redhat.com>
15526
a545ecd9 15527 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
15528 detection.
15529
e24f0a8b
AS
155302010-09-20 Andreas Schwab <schwab@redhat.com>
15531
15532 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
15533 fanotify_mark.
15534 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
15535
7291c56f
AS
155362010-09-14 Andreas Schwab <schwab@redhat.com>
15537
15538 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
15539 variables after CHECK_SP call.
15540 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
15541
bc5fb037
AS
155422010-09-13 Andreas Schwab <schwab@redhat.com>
15543 Ulrich Drepper <drepper@redhat.com>
15544
15545 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
15546 re-relocationg ld.so.
15547 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
15548 _dl_init_paths call.
15549 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
15550 here anymore.
15551
e66e7419
UD
155522010-09-14 Ulrich Drepper <drepper@redhat.com>
15553
15554 * resolv/res_init.c (__res_vinit): Count the default server we added.
15555
c044aa75
CLT
155562010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
15557 Ulrich Drepper <drepper@redhat.com>
15558
15559 [BZ #11968]
15560 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
15561 (____longjmp_chk): Use %ebx for saving value across system call.
15562 Add unwind info.
15563
32cf4069
AS
155642010-09-06 Andreas Schwab <schwab@redhat.com>
15565
15566 * manual/Makefile: Don't mix pattern rules with normal rules.
15567
817328ee
AS
155682010-09-05 Andreas Schwab <schwab@linux-m68k.org>
15569
15570 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
15571 operation.
15572 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
15573 * libio/iofopncook.c (_IO_cookie_init): Likewise.
15574 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
15575 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
15576 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
15577 Likewise.
15578
29fddf61
UD
155792010-09-04 Ulrich Drepper <drepper@redhat.com>
15580
15581 [BZ #11979]
15582 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
15583 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
15584
0959ffc9
UD
155852010-09-02 Ulrich Drepper <drepper@redhat.com>
15586
15587 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
15588 * sysdeps/x86_64/addmul_1.S: Likewise.
15589 * sysdeps/x86_64/lshift.S: Likewise.
15590 * sysdeps/x86_64/mul_1.S: Likewise.
15591 * sysdeps/x86_64/rshift.S: Likewise.
15592 * sysdeps/x86_64/sub_n.S: Likewise.
15593 * sysdeps/x86_64/submul_1.S: Likewise.
15594
ece29840
ST
155952010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
15596
0959ffc9
UD
15597 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
15598 Define __sched_param instead of SCHED_* and sched_param when
ece29840 15599 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 15600 * bits/sched.h [__need_schedparam]
ece29840 15601 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
15602 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
15603 (__defined_schedparam): Define to 1.
ece29840
ST
15604 (__sched_param): New structure, identical to sched_param.
15605 (__need_schedparam): Undefine.
15606
e53a31fe
MF
156072010-08-31 Mike Frysinger <vapier@gentoo.org>
15608
fdc0c10d
MF
15609 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
15610 (epoll_create1): Declare.
15611
e53a31fe
MF
15612 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
15613
a726d796
AS
156142010-08-31 Andreas Schwab <schwab@redhat.com>
15615
15616 [BZ #7066]
15617 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
15618 shifting retval into place.
15619
2f3e3dc7
UD
156202010-09-01 Ulrich Drepper <drepper@redhat.com>
15621
f2933da9
UD
15622 * nis/rpcsvc/nis.h: Update copyright notice.
15623 * nis/rpcsvc/nis.x: Likewise.
15624 * nis/rpcsvc/nis_callback.h: Likewise.
15625 * nis/rpcsvc/nis_callback.x: Likewise.
15626 * nis/rpcsvc/nis_object.x: Likewise.
15627 * nis/rpcsvc/nis_tags.h: Likewise.
15628 * nis/rpcsvc/yp.h: Likewise.
15629 * nis/rpcsvc/yp.x: Likewise.
15630 * nis/rpcsvc/ypupd.h: Likewise.
15631 * nis/yp_xdr.c: Likewise.
15632 * nis/ypupdate_xdr.c: Likewise.
15633
2f3e3dc7
UD
15634 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
15635 mainly the body of pmap_getport. Add parameters to specify timeouts.
15636 (pmap_getport): Use __libc_rpc_getport.
15637 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
15638 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
15639 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
15640
f3dcc2f9
AS
156412010-08-31 Andreas Schwab <schwab@linux-m68k.org>
15642
15643 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
15644 fanotify_mark.
15645
6d34eb5b
RM
156462010-08-27 Roland McGrath <roland@redhat.com>
15647
15648 * sysdeps/i386/i686/multiarch/Makefile
15649 (CFLAGS-varshift.c): New variable.
15650
9ea3de11
UD
156512010-08-27 Ulrich Drepper <drepper@redhat.com>
15652
c96d23fc
UD
15653 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
15654 * sysdeps/i386/i686/multiarch/varshift.c: New file.
15655
9ea3de11
UD
15656 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
15657
15658 * sysdeps/x86_64/strlen.S: Minimal code improvement.
15659
623aac7f
L
156602010-08-26 H.J. Lu <hongjiu.lu@intel.com>
15661
15662 * sysdeps/x86_64/strlen.S: Unroll the loop.
15663 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
15664 strlen-sse2 strlen-sse2-bsf.
15665 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
15666 __strlen_no_bsf if bit_Slow_BSF is set.
15667 (__strlen_sse42): Removed.
15668 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
15669 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
15670
8b2b7715
RM
156712010-08-25 Roland McGrath <roland@redhat.com>
15672
15673 * sysdeps/x86_64/multiarch/varshift.S: File removed.
15674 * sysdeps/x86_64/multiarch/varshift.c: New file.
15675 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
15676 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
15677 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
15678 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
15679
e73015f2
L
156802010-08-25 H.J. Lu <hongjiu.lu@intel.com>
15681
15682 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
15683 strlen-sse2 strlen-sse2-bsf.
15684 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
15685 __strlen_sse2_bsf if bit_Slow_BSF is unset.
15686 (__strlen_sse2): Removed.
15687 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
15688 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
15689 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
15690 bit_Slow_BSF for Atom.
15691 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
15692 (index_Slow_BSF): Define.
15693 (HAS_SLOW_BSF): Define.
15694
df24a73e
UD
156952010-08-25 Ulrich Drepper <drepper@redhat.com>
15696
15697 [BZ #10851]
15698 * resolv/res_init.c (__res_vinit): When no server address at all
15699 is given default to loopback.
15700
f2ac4868
RM
157012010-08-24 Roland McGrath <roland@redhat.com>
15702
09055553
RM
15703 * configure.in: Remove config-name.h generation.
15704 * configure: Regenerated.
15705 * config-name.in: File removed.
15706 * scripts/config-uname.sh: New file.
15707 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
15708 ($(objdir)config-name.h): New target.
15709
f2ac4868
RM
15710 * sunrpc/rpc_parse.h: Avoid nested comment.
15711
73f27d5e
RH
157122010-08-24 Richard Henderson <rth@redhat.com>
15713 Ulrich Drepper <drepper@redhat.com>
15714 H.J. Lu <hongjiu.lu@intel.com>
15715
15716 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
15717 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
15718 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
15719 Replace _mm_srli_si128 with __m128i_shift_right. Replace
15720 _mm_alignr_epi8 with _mm_loadu_si128.
15721 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
15722 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
15723 (__m128i_shift_right): Removed.
15724 * sysdeps/i386/i686/multiarch/varshift.h: New file.
15725 * sysdeps/i386/i686/multiarch/varshift.S: New file.
15726 * sysdeps/x86_64/multiarch/varshift.h: New file.
15727 * sysdeps/x86_64/multiarch/varshift.S: New file.
15728
84b9230c
MF
157292010-08-21 Mike Frysinger <vapier@gentoo.org>
15730
15731 * configure.in: Move assembler checks to before sysdep dir checking.
15732
9bbd0ddc
PB
157332010-08-20 Petr Baudis <pasky@suse.cz>
15734
15735 * LICENSES: Sync the sunrpc license.
15736
9da4bb31
UD
157372010-08-19 Ulrich Drepper <drepper@redhat.com>
15738
a7ab6ec8
UD
15739 * sunrpc/auth_des.c: Update copyright notice once again.
15740 * sunrpc/auth_none.c: Likewise.
15741 * sunrpc/auth_unix.c: Likewise.
15742 * sunrpc/authdes_prot.c: Likewise.
15743 * sunrpc/authuxprot.c: Likewise.
15744 * sunrpc/bindrsvprt.c: Likewise.
15745 * sunrpc/clnt_gen.c: Likewise.
15746 * sunrpc/clnt_perr.c: Likewise.
15747 * sunrpc/clnt_raw.c: Likewise.
15748 * sunrpc/clnt_simp.c: Likewise.
15749 * sunrpc/clnt_tcp.c: Likewise.
15750 * sunrpc/clnt_udp.c: Likewise.
15751 * sunrpc/clnt_unix.c: Likewise.
15752 * sunrpc/des_crypt.c: Likewise.
15753 * sunrpc/des_soft.c: Likewise.
15754 * sunrpc/get_myaddr.c: Likewise.
15755 * sunrpc/getrpcport.c: Likewise.
15756 * sunrpc/key_call.c: Likewise.
15757 * sunrpc/key_prot.c: Likewise.
15758 * sunrpc/openchild.c: Likewise.
15759 * sunrpc/pm_getmaps.c: Likewise.
15760 * sunrpc/pm_getport.c: Likewise.
15761 * sunrpc/pmap_clnt.c: Likewise.
15762 * sunrpc/pmap_prot.c: Likewise.
15763 * sunrpc/pmap_prot2.c: Likewise.
15764 * sunrpc/pmap_rmt.c: Likewise.
15765 * sunrpc/rpc/auth.h: Likewise.
15766 * sunrpc/rpc/auth_unix.h: Likewise.
15767 * sunrpc/rpc/clnt.h: Likewise.
15768 * sunrpc/rpc/des_crypt.h: Likewise.
15769 * sunrpc/rpc/key_prot.h: Likewise.
15770 * sunrpc/rpc/netdb.h: Likewise.
15771 * sunrpc/rpc/pmap_clnt.h: Likewise.
15772 * sunrpc/rpc/pmap_prot.h: Likewise.
15773 * sunrpc/rpc/pmap_rmt.h: Likewise.
15774 * sunrpc/rpc/rpc.h: Likewise.
15775 * sunrpc/rpc/rpc_des.h: Likewise.
15776 * sunrpc/rpc/rpc_msg.h: Likewise.
15777 * sunrpc/rpc/svc.h: Likewise.
15778 * sunrpc/rpc/svc_auth.h: Likewise.
15779 * sunrpc/rpc/types.h: Likewise.
15780 * sunrpc/rpc/xdr.h: Likewise.
15781 * sunrpc/rpc_clntout.c: Likewise.
15782 * sunrpc/rpc_cmsg.c: Likewise.
15783 * sunrpc/rpc_common.c: Likewise.
15784 * sunrpc/rpc_cout.c: Likewise.
15785 * sunrpc/rpc_dtable.c: Likewise.
15786 * sunrpc/rpc_hout.c: Likewise.
15787 * sunrpc/rpc_main.c: Likewise.
15788 * sunrpc/rpc_parse.c: Likewise.
15789 * sunrpc/rpc_parse.h: Likewise.
15790 * sunrpc/rpc_prot.c: Likewise.
15791 * sunrpc/rpc_sample.c: Likewise.
15792 * sunrpc/rpc_scan.c: Likewise.
15793 * sunrpc/rpc_scan.h: Likewise.
15794 * sunrpc/rpc_svcout.c: Likewise.
15795 * sunrpc/rpc_tblout.c: Likewise.
15796 * sunrpc/rpc_util.c: Likewise.
15797 * sunrpc/rpc_util.h: Likewise.
15798 * sunrpc/rpcinfo.c: Likewise.
15799 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
15800 * sunrpc/rpcsvc/key_prot.x: Likewise.
15801 * sunrpc/rpcsvc/klm_prot.x: Likewise.
15802 * sunrpc/rpcsvc/mount.x: Likewise.
15803 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
15804 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
15805 * sunrpc/rpcsvc/rex.x: Likewise.
15806 * sunrpc/rpcsvc/rstat.x: Likewise.
15807 * sunrpc/rpcsvc/rusers.x: Likewise.
15808 * sunrpc/rpcsvc/sm_inter.x: Likewise.
15809 * sunrpc/rpcsvc/spray.x: Likewise.
15810 * sunrpc/rpcsvc/yppasswd.x: Likewise.
15811 * sunrpc/rtime.c: Likewise.
15812 * sunrpc/svc.c: Likewise.
15813 * sunrpc/svc_auth.c: Likewise.
15814 * sunrpc/svc_authux.c: Likewise.
15815 * sunrpc/svc_raw.c: Likewise.
15816 * sunrpc/svc_run.c: Likewise.
15817 * sunrpc/svc_simple.c: Likewise.
15818 * sunrpc/svc_tcp.c: Likewise.
15819 * sunrpc/svc_udp.c: Likewise.
15820 * sunrpc/svc_unix.c: Likewise.
15821 * sunrpc/svcauth_des.c: Likewise.
15822 * sunrpc/xcrypt.c: Likewise.
15823 * sunrpc/xdr.c: Likewise.
15824 * sunrpc/xdr_array.c: Likewise.
15825 * sunrpc/xdr_float.c: Likewise.
15826 * sunrpc/xdr_mem.c: Likewise.
15827 * sunrpc/xdr_rec.c: Likewise.
15828 * sunrpc/xdr_ref.c: Likewise.
15829 * sunrpc/xdr_sizeof.c: Likewise.
15830 * sunrpc/xdr_stdio.c: Likewise.
15831
9da4bb31
UD
15832 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
15833 handling.
15834
bdaa77bc
AS
158352010-08-19 Andreas Schwab <schwab@redhat.com>
15836
15837 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
15838
fe2f79db
LM
158392010-08-19 Luis Machado <luisgpm@br.ibm.com>
15840
15841 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
15842 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
15843 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
15844 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
15845 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
15846 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
15847 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
15848 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
15849 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
15850 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
15851 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
15852 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
15853 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
15854 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
15855
b9b42ee0
AB
158562010-07-26 Anton Blanchard <anton@samba.org>
15857
15858 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
15859 * malloc/arena.c (heap_trim): Likewise.
15860
1c06ba31
UD
158612010-08-16 Ulrich Drepper <drepper@redhat.com>
15862
15863 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
15864 here. Not...
15865 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
15866 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
15867
f8392f40
L
158682010-08-12 H.J. Lu <hongjiu.lu@intel.com>
15869
15870 * sysdeps/i386/elf/Makefile: New file.
15871
3162f12e
AS
158722010-08-14 Andreas Schwab <schwab@linux-m68k.org>
15873
15874 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
15875 from fanotify_init.
15876 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
15877 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
15878
28c90b2c
UD
158792010-08-15 Ulrich Drepper <drepper@redhat.com>
15880
15881 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
15882 of strncasecmp_l.
1feccb6c 15883 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 15884
ca6bb004
UD
158852010-08-14 Ulrich Drepper <drepper@redhat.com>
15886
e9f82e0d
UD
15887 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
15888 strncase_l-nonascii.
15889 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
15890 Add strncase_l-ssse3.
15891 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
15892 * sysdeps/x86_64/strcmp.S: Likewise.
15893 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
15894 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
15895 * sysdeps/x86_64/strncase.S: New file.
15896 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
15897 * sysdeps/x86_64/strncase_l.S: New file.
15898 * string/Makefile (strop-tests): Add strncasecmp.
15899 * string/test-strncasecmp.c: New file.
15900
15901 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
15902 warning.
15903
ca6bb004
UD
15904 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
15905 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
15906
052fa7b3
AS
159072010-08-14 Andreas Schwab <schwab@linux-m68k.org>
15908
15909 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
15910
962dba78
UD
159112010-08-12 Ulrich Drepper <drepper@redhat.com>
15912
15913 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
15914 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
15915 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
15916
bebff237
AM
159172010-05-01 Alan Modra <amodra@gmail.com>
15918
15919 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
15920 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
15921 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
15922 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
15923 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
15924 tidying. Don't tail-call __sigjmp_save for static lib.
15925 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
15926 save location.
15927 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
15928 (CALL_MCOUNT): Add eh info, and nop after bl.
15929 (TAIL_CALL_SYSCALL_ERROR): New macro.
15930 (PSEUDO_RET): Use it.
15931 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
15932 Correct save location of integer regs and cr.
15933 (_dl_profile_resolve): Correct cr save location. Delete nops
15934 after bl when SHARED. Reduce cfi size a little by better
15935 placement of cfi directives.
15936 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
15937 make a stack frame. Instead use parm save area as a temp.
15938 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
15939 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
15940 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
15941 Don't make a stack frame for parent, use parm save area.
15942 Increase child stack frame to 112 bytes. Don't save unused reg,
15943 and adjust reg usage. Set up cfi on error recovery and
15944 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
15945 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
15946 (__makecontext): Add dummy nop after jump to exit.
15947 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
15948 Use correct parm save area and cr save, reduce stack frame.
15949 Correct cfi for possible PSEUDO_RET frame setup.
15950 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
15951 Branch to local label emitted by PSEUDO_RET rather than
15952 __syscall_error.
15953
02637374
AS
159542010-08-12 Andreas Schwab <schwab@redhat.com>
15955
15956 [BZ #11904]
15957 * locale/programs/locale.c (print_assignment): New function.
15958 (show_locale_vars): Use it.
15959
c3e2f19b
UD
159602010-08-11 Ulrich Drepper <drepper@redhat.com>
15961
3cdaa6ad
UD
15962 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
15963 field.
15964 (struct statfs64): Likewise.
15965 (_STATFS_F_FLAGS): Define.
15966 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
15967 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
15968 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
15969 (ST_VALID): Define locally.
15970 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
15971 __statvfs_getflags, use the provided value.
15972 * sysdeps/unix/sysv/linux/kernel-features.h: Define
15973 __ASSUME_STATFS_F_FLAGS.
15974
754f7da3
UD
15975 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
15976
10b3bedc
UD
15977 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
15978 Add sys/fanotify.h.
15979 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
15980 fanotify_mask for GLIBC_2.13.
15981 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
15982 fanotify_init and fanotify_mark.
15983 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
15984 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
15985
c08fb0d7
UD
15986 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
15987 Add prlimit.
15988 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
15989 prlimit64 for GLIBC_2.13.
15990 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
15991 prlimit64.
15992 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
15993 syscall.
15994 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
15995 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
15996 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
15997 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
15998 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
15999 add prlimit alias.
16000 * sysdeps/unix/sysv/linux/prlimit.c: New file.
16001
15bac72b
UD
16002 [BZ #11903]
16003 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
16004 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
16005
c3e2f19b
UD
16006 * nss/Makefile: Add rules to build and run tst-nss-test1.
16007 * shlib-versions: Add entry for libnss_test1.
16008 * nss/nss_test1.c: New file.
16009 * nss/tst-nss-test1.c: New file.
16010
16011 * nss/nsswitch.c (__nss_database_custom): Define new variable.
16012 (__nss_configure_lookup): Set appropriate entry in
16013 __nss_configure_lookup to true.
16014 * nss/nsswitch.h: Define enum with indeces of databases in
16015 databases and __nss_database_custom arrays. Declare
16016 __nss_database_custom.
16017 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
16018 to avoid using nscd when custom rules are installed.
16019 * nss/getXXbyYY_r.c: Likewise.
16020 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
16021
16022 * nss/nss_files/files-parse.c: Whitespace fixes.
16023
f15ce4d8
UD
160242010-08-09 Ulrich Drepper <drepper@redhat.com>
16025
16026 [BZ #11883]
16027 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
16028 * posix/fnmatch_loop.c: Likewise.
16029
d22e4cc9
AK
160302010-07-17 Andi Kleen <ak@linux.intel.com>
16031
16032 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
16033 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
16034 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
16035 * Versions.def [GLIBC_2.13]: Add.
16036
805bc17d
UD
160372010-08-06 Ulrich Drepper <drepper@redhat.com>
16038
16039 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
16040 Also fail if tpwd after pwuid call is NULL.
16041
5a42321d
ST
160422010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
16043
16044 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
16045 when converting to ms.
16046
fd3ebeda
ST
160472010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
16048
16049 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
16050 EOPNOTSUPP errors with ENOTTY.
16051 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
16052 EOPNOTSUPP errors with ENOTTY.
16053
73507d3a
UD
160542010-07-31 Ulrich Drepper <drepper@redhat.com>
16055
16056 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
16057 Add strcasecmp_l-ssse3.
16058 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
16059 strcasecmp.
16060 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
16061 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
16062 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
16063
fe36dd02
UD
160642010-07-30 Ulrich Drepper <drepper@redhat.com>
16065
66f6765a
UD
16066 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
16067
42e08a54
UD
16068 * string/Makefile (strop-tests): Add strcasecmp.
16069 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
16070 strcasecmp_l-nonascii.
16071 (gen-as-const-headers): Add locale-defines.sym.
16072 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
16073 * sysdeps/x86_64/strcasecmp.S: New file.
16074 * sysdeps/x86_64/strcasecmp_l.S: New file.
16075 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
16076 * sysdeps/x86_64/locale-defines.sym: New file.
16077 * string/test-strcasecmp.c: New file.
16078
fe36dd02
UD
16079 * string/test-strcasestr.c: Test both ends of the range of characters.
16080 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
16081
48cbc0d6
RM
160822010-07-29 Roland McGrath <roland@redhat.com>
16083
76e6d6bc 16084 [BZ #11856]
48cbc0d6
RM
16085 * manual/locale.texi (Yes-or-No Questions): Fix example code.
16086
880113d9
UD
160872010-07-27 Ulrich Drepper <drepper@redhat.com>
16088
16089 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
16090 for ld.so.
16091
deb9cabb
AS
160922010-07-27 Andreas Schwab <schwab@redhat.com>
16093
16094 * manual/memory.texi (Malloc Tunable Parameters): Document
16095 M_PERTURB.
16096
1c7570ff
RM
160972010-07-26 Roland McGrath <roland@redhat.com>
16098
16099 [BZ #11840]
16100 * configure.in (-fgnu89-inline check): Set and substitute
16101 gnu89_inline, not libc_cv_gnu89_inline.
16102 * configure: Regenerated.
16103 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
16104
24fb0f88
UD
161052010-07-26 Ulrich Drepper <drepper@redhat.com>
16106
16107 * string/test-strnlen.c: New file.
16108 * string/Makefile (strop-tests): Add strnlen.
16109 * string/tester.c (test_strnlen): Add a few more test cases.
16110 * string/tst-strlen.c: Better error reporting.
16111
16112 * sysdeps/x86_64/strnlen.S: New file.
16113
8e96b93a
UD
161142010-07-24 Ulrich Drepper <drepper@redhat.com>
16115
16116 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
16117 lower-latency instructions.
16118
dbc676d4
UD
161192010-07-23 Ulrich Drepper <drepper@redhat.com>
16120
16121 * string/test-strcasestr.c: New file.
16122 * string/test-strstr.c: New file.
16123 * string/Makefile (strop-tests): Add strstr and strcasestr.
16124 * string/str-two-way.h: Don't undefine MAX.
16125 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
16126
f6a31e0e
AS
161272010-07-21 Andreas Schwab <schwab@redhat.com>
16128
16129 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
16130 strcasestr-nonascii.
16131 (CFLAGS-strcasestr-nonascii.c): Define.
16132 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
16133 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
16134 Remove unused attribute.
16135
5dbc3b6c
RM
161362010-07-20 Roland McGrath <roland@redhat.com>
16137
16138 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
16139 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
16140 ld.so.cache was broken. With it, there is no way to disable dsocaps
16141 like LD_HWCAP_MASK can disable hwcaps.
16142
23d101d8
EPM
161432010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
16144
16145 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
16146
cc9f2e47
UD
161472010-07-16 Ulrich Drepper <drepper@redhat.com>
16148
16149 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
16150 call in strcasestr.
16151 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
16152 __strcasestr_sse42_nonascii.
16153 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
16154 strcasestr-nonascii.c.
16155 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
16156
77c1b069
LM
161572010-06-15 Luis Machado <luisgpm@br.ibm.com>
16158
16159 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
16160 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
16161 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
16162 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
16163
440566c3
UD
161642010-07-09 Ulrich Drepper <drepper@redhat.com>
16165
16166 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
16167 fcntl.
16168
5be9d05d
AS
161692010-07-06 Andreas Schwab <schwab@redhat.com>
16170
c30b7ee2 16171 [BZ #11577]
5be9d05d
AS
16172 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
16173 dl_signal_cerror.
16174
8a492a67
UD
161752010-07-06 Ulrich Drepper <drepper@redhat.com>
16176
16177 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
16178 _PC_PIPE_BUF using F_GETPIPE_SZ.
16179
713df3d5
RM
161802010-07-05 Roland McGrath <roland@redhat.com>
16181
16182 * manual/arith.texi (Rounding Functions): Fix rint description
16183 implicit in round description.
16184
702e8f14
UD
161852010-07-02 Ulrich Drepper <drepper@redhat.com>
16186
16187 * elf/Makefile: Fix linking for a few tests to make recent linker
16188 happy.
16189
52ed8be9
AS
161902010-06-30 Andreas Schwab <schwab@redhat.com>
16191
16192 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
16193 $(common-objpfx)libc_nonshared.a.
16194
f47c9a11
LM
161952010-06-21 Luis Machado <luisgpm@br.ibm.com>
16196
16197 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
16198 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
16199 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
16200 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
16201 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
16202 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
16203 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
16204 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
16205 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
16206 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
16207 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
16208 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
16209 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
16210 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
16211 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
16212 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
16213 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
16214 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
16215 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
16216 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
16217 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
16218 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
16219 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
16220 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
16221 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
16222 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
16223 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
16224 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
16225 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
16226 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
16227 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
16228 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
16229 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
16230 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
16231 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
16232 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
16233 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
16234 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
16235 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
16236 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
16237 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
16238 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
16239 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
16240 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
16241 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
16242 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
16243 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
16244 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
16245
6fb8cbcb
L
162462010-06-25 H.J. Lu <hongjiu.lu@intel.com>
16247
16248 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
16249 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
16250 * string/memmove.c (memmove): Renamed to ...
16251 (MEMMOVE): ...this. Default to memmove.
16252 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
16253 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
16254 (END_CHK): Define.
16255 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
16256 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
16257 mempcpy-ssse3-back memmove-ssse3-back.
16258 * sysdeps/x86_64/multiarch/bcopy.S: New file .
16259 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
16260 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
16261 * sysdeps/x86_64/multiarch/memcpy.S: New file.
16262 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
16263 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
16264 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
16265 * sysdeps/x86_64/multiarch/memmove.c: New file.
16266 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
16267 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
16268 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
16269 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
16270 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
16271 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
16272 Define.
16273 (index_Fast_Copy_Backward): Define.
16274 (HAS_ARCH_FEATURE): Define.
16275 (HAS_FAST_REP_STRING): Define.
16276 (HAS_FAST_COPY_BACKWARD): Define.
16277
4e733bac 162782010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
16279
16280 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
16281 Restore proper fallback handling.
16282
63c4ed22
UD
162832010-06-19 Ulrich Drepper <drepper@redhat.com>
16284
ac2b484c
UD
16285 [BZ #11701]
16286 * posix/group_member.c (__group_member): Correct checking loop.
16287
63c4ed22
UD
16288 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
16289 OOM in getpwuid_r correctly. Return error number when the caller
16290 should return, otherwise -1.
16291 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
16292 call returning > 0 value.
16293 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
16294
765ade4b
AS
162952010-06-07 Andreas Schwab <schwab@redhat.com>
16296
16297 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
16298 libc_nonshared.a from targets in modules-names.
16299
80da2e09
KS
163002010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
16301
16302 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
16303 requires it.
16304
158db122
LM
163052010-06-10 Luis Machado <luisgpm@br.ibm.com>
16306
16307 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
16308 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
16309 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
16310 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
16311
caa78cf8
AS
163122010-06-02 Andreas Schwab <schwab@redhat.com>
16313
16314 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
16315
b2ef2c01
UD
163162010-06-14 Ulrich Drepper <drepper@redhat.com>
16317
16318 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
16319 and F_GETPIPE_SZ.
16320 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
16321 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
16322 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
16323 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
16324 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
16325 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
16326
fbd643b6
RM
163272010-06-14 Roland McGrath <roland@redhat.com>
16328
16329 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
16330
f32f2869
JJ
163312010-06-07 Jakub Jelinek <jakub@redhat.com>
16332
16333 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
16334 __REDIRECT followed by __THROW.
16335 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
16336 * posix/getopt.h (getopt): Likewise.
16337
2a50c078
EPM
163382010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
16339
16340 * hurd/lookup-at.c (__file_name_lookup_at): Accept
16341 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
16342 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
16343 in AT_FLAGS.
16344 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
16345 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
16346
eb5ad2eb
LM
163472010-05-28 Luis Machado <luisgpm@br.ibm.com>
16348
16349 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
16350
3c88fe1e
L
163512010-05-26 H.J. Lu <hongjiu.lu@intel.com>
16352
16353 [BZ #11640]
16354 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
16355 Properly check family and model.
16356
d2f73151
TY
163572010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
16358
16359 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
16360
ebd2e13d
LM
163612010-05-24 Luis Machado <luisgpm@br.ibm.com>
16362
16363 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
16364
b32b8b45
UD
163652010-05-21 Ulrich Drepper <drepper@redhat.com>
16366
16367 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
16368 symbol reference.
16369
9acbe24d
AS
163702010-05-19 Andreas Schwab <schwab@redhat.com>
16371
16372 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
16373 symbol reference.
16374
f0ccf6ea
AS
163752010-05-21 Andreas Schwab <schwab@redhat.com>
16376
3d04ff3a
AS
16377 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
16378 and internal_recvmmsg.
16379 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
16380 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
16381 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
16382 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
16383
f0ccf6ea
AS
16384 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
16385 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
16386 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
16387
5b08ac57
AS
163882010-05-20 Andreas Schwab <schwab@redhat.com>
16389
16390 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
16391
4828935d
LM
163922010-05-17 Luis Machado <luisgpm@br.ibm.com>
16393
16394 POWER7 optimizations.
16395 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
16396 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
16397
373d545e
UD
163982010-05-19 Ulrich Drepper <drepper@redhat.com>
16399
16400 * version.h: Update for 2.13 development version.
16401
21a2b1ae
AS
164022010-05-12 Andrew Stubbs <ams@codesourcery.com>
16403
16404 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
16405 exceptions. Return 0.
16406
3f7dcb2b
RM
164072010-05-07 Roland McGrath <roland@redhat.com>
16408
16409 * elf/ldconfig.c (main): Add a const.
16410
5f24d53a 164112010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 16412
a160f8d8
UD
16413 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
16414 (args_options): Add no-idn option.
16415 (ahosts_keys_int): Add idn_flags to ai_flags.
16416 (parse_option): Handle 'i' option to clear idn_flags.
16417
5f24d53a
UD
16418 * malloc/malloc.c (_int_free): Possible race in the most recently
16419 added check. Only act on the data if no current modification
16420 happened.
265bb1ce
UD
16421
16422See ChangeLog.17 for earlier changes.