]> git.ipfire.org Git - thirdparty/glibc.git/blame - ChangeLog
Use x86_64 bits/{debugreg,reg}.h for i386 and x86-64
[thirdparty/glibc.git] / ChangeLog
CommitLineData
f3d1f93c
L
12012-06-04 H.J. Lu <hongjiu.lu@intel.com>
2
3 [BZ #14117]
68e408ab
L
4 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
5 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
6 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
7 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
8 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
9 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
10
f3d1f93c
L
11 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
12 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
13 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
14 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
15 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
16 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
17
d9dc34cd
TMQMF
182012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
19
20 [BZ #13743]
21 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
22 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
23 (sysdep_headers): Include sys/platform/ppc.h.
24 * sysdeps/powerpc/test-gettimebase.c: Test for
25 __ppc_get_timebase() to catch future ISA opcode/insn changes.
26 * manual/Makefile (appendices): Include platform.texi.
27 * manual/contrib.texi (Contributors): Update @node pointers.
28 * manual/maint.texi (Maintenance): Likewise.
29 (Platform): New node.
30 * manual/platform.texi: New file. Document the new features.
31
4af3879c
SP
322012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
33 Jakub Jelinek <jakub@redhat.com>
34
35 [BZ #14188]
36 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
37 where __builtin_expect is unavailable.
38
2fd6ff13
DM
392012-06-03 David S. Miller <davem@davemloft.net>
40
41 * stdlib/longlong.h: Updated from GCC.
42
173f7220
AS
432012-06-02 Andreas Schwab <schwab@linux-m68k.org>
44
45 [BZ #14042]
46 * sysdeps/powerpc/powerpc32/mcount.c: New file.
47 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
48 __mcount_internal.
49 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
50 (GLIBC_2.16): Likewise.
51
f34a1c6f
L
522012-06-01 H.J. Lu <hongjiu.lu@intel.com>
53
54 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
55
88a4576f
JM
562012-06-01 Joseph Myers <joseph@codesourcery.com>
57
ea32bcdd
JM
58 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
59 (default-abi): New variable.
60 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
61 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
62 variable.
63 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
64 Likewise.
65 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
66 Likewise.
67 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
68 Likewise.
69
88a4576f
JM
70 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
71 definition. Document in comment.
72
402fe938
DM
732012-06-01 David S. Miller <davem@davemloft.net>
74
75 * stdlib/longlong.h: Updated from GCC.
76
3553723f
L
772012-06-01 H.J. Lu <hongjiu.lu@intel.com>
78
79 [BZ #14117]
3bd872c4
L
80 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
81 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
82 sys/debugreg.h sys/io.h here.
83 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
84 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
85 sys/io.h.
86 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
87 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
88 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
89 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
90 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
91 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
92
3553723f
L
93 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
94 Define only if __x86_64__ is defined.
95
4842e4fe
JM
962012-06-01 Joseph Myers <joseph@codesourcery.com>
97
c5bfe3d5
JM
98 [BZ #14048]
99 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
100 Use int64_t for variable i.
101 * math/libm-test.inc (fmod_test): Add more tests.
102
4842e4fe
JM
103 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
104 z computation is not scheduled after fetestexcept.
105 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
106 Use math_force_eval instead of asm to ensure calculation scheduled
107 before exception test.
108 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
109 Ensure a1 + u.d computation is not scheduled after fetestexcept.
110
efb73488
AJ
1112012-06-01 Aurelien Jarno <aurelien@aurel32.net>
112
113 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
114 computation is not scheduled after fetestexcept.
115
29bcce7c
L
1162012-06-01 H.J. Lu <hongjiu.lu@intel.com>
117
118 [BZ #14117]
119 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
120 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
121
73a68f94
AZ
1222012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
123
124 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
125 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
126
67b6df78
L
1272012-05-31 H.J. Lu <hongjiu.lu@intel.com>
128
edf2933a 129 [BZ #14117]
ebc64a18
L
130 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
131 <bits/wordsize.h>.
132 (__WCHAR_MIN): Support __WORDSIZE == 64.
133 (__WCHAR_MAX): Likewise.
134
edf2933a
L
135 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
136 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
137
57c6cf40
L
138 [BZ #14183]
139 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
140 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
141
67b6df78 142 [BZ #14117]
8eb6281e
L
143 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
144 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
145
aac639f4
L
146 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
147 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
148
67b6df78
L
149 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
150 Defined to 1 if __x86_64__ isn't defined.
151 (_STAT_VER_LINUX_OLD): New.
152 (st_atime): Remove duplicate.
153 (st_mtime): Likewise.
154 (st_ctime): Likewise.
155
1c2cfe81
DM
1562012-05-31 David S. Miller <davem@davemloft.net>
157
158 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
159 entries.
160
5be8418c
AS
1612012-06-01 Andreas Schwab <schwab@linux-m68k.org>
162
e7725326
AS
163 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
164 gen-libm-test.pl.
165
5be8418c
AS
166 [BZ #14132]
167 * elf/dl-reloc.c: Include <_itoa.h>.
168 (_dl_reloc_bad_type): Remove use of INTUSE.
169 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
170 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
171 * stdio-common/psiginfo.c (psiginfo): Likewise.
172 * stdio-common/psignal.c (psignal): Likewise.
173 * string/strsignal.c (strsignal): Likewise.
174 * include/signal.h (_sys_siglist): Declare hidden proto.
175 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
176 INTVARDEF with libc_hidden_data_def.
177 * stdio-common/itoa-udigits.c: Likewise.
178 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
179 (_itoa_lower_digits_internal): Remove declaration.
180 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
181 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
182 (_sys_sigabbrev_internal): Remove aliases.
183 (_sys_siglist): Define hidden alias.
184
507352f1
MT
1852012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
186
187 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
188 bits/sysctl.h.
189
42bbb1c3
L
1902012-05-31 H.J. Lu <hongjiu.lu@intel.com>
191
192 [BZ #14117]
6bd784b6
L
193 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
194 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
195
8bca20f0
L
196 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
197 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
198 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
199 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
200 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
201 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
202
f9e890a9
L
203 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
204 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
205 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
206
471101a1
L
207 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
208 with __addr.
209 (insw): Likewise.
210 (insl): Likewise.
211 (outsb): Likewise.
212 (outsw): Likewise.
213 (outsl): Likewise.
214
6451c862
L
215 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
216 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
217 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
218
a254b8c9
L
219 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
220 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
221 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
222 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
223 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
224 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
225
b8dfdd92
L
226 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
227 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
228
578cd270
L
229 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
230 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
231
de662f5f
L
232 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
233 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
234 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
235
25653439
L
236 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
237 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
238 to ...
239 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
240
6bad24a0
L
241 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
242 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
243 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
244
42bbb1c3
L
245 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
246 for x86-64.
247 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
248
2d10d547
JM
2492012-05-31 Joseph Myers <joseph@codesourcery.com>
250
251 * math/math.h (M_El): Use two more decimal places.
252 (M_LOG2El): Likewise.
253 (M_LOG10El): Likewise.
254 (M_LN2l): Likewise.
255 (M_LN10l): Likewise.
256 (M_PIl): Likewise.
257 (M_PI_2l): Likewise.
258 (M_PI_4l): Likewise.
259 (M_1_PIl): Likewise.
260 (M_2_PIl): Likewise.
261 (M_2_SQRTPIl): Likewise.
262 (M_SQRT2l): Likewise.
263 (M_SQRT1_2l): Likewise.
264
f230c29b
DM
2652012-05-31 David S. Miller <davem@davemloft.net>
266
267 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
268 values between float registers.
269 * sysdeps/sparc/sparc64/memset.S: Likewise.
270 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
271
fed806c3
MF
2722012-05-31 Mike Frysinger <vapier@gentoo.org>
273
274 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
275 -D_FORTIFY_SOURCE=1.
276 (CPPFLAGS-tst-longjmp_chk.c): Define.
277 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
278 (CPPFLAGS-tst-longjmp_chk2.c): Define.
279 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
280 CFLAGS-tst-wchar-h.c.
281
30917259
MP
2822012-05-31 Marek Polacek <polacek@redhat.com>
283
284 [BZ #14132]
285 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
286 __endmntent_internal): Remove declaration.
287 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
288 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
289 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
290
1c58d5dc
DM
2912012-05-30 David S. Miller <davem@davemloft.net>
292
293 * sysdeps/sparc/sparc32/soft-fp/q_util.c
294 (___Q_simulate_exceptions): Use real FP ops rather than writing
295 into the %fsr.
296 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
297 Likewise.
298
7dc00e0d
L
2992012-05-30 H.J. Lu <hongjiu.lu@intel.com>
300
301 [BZ #14117]
0bd53985
L
302 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
303 * sysdeps/x86/bits/xtitypes.h: This.
304
3a257e66
L
305 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
306 * sysdeps/x86/bits/wordsize.h: This.
307
62f62904
L
308 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
309 * sysdeps/x86/bits/huge_vall.h: This.
310
404fe9d9
L
311 * sysdeps/i386/bits/select.h: Removed.
312 * sysdeps/x86_64/bits/select.h: Renamed to ...
313 * sysdeps/x86/bits/select.h: This.
314
d48d0446
L
315 * sysdeps/i386/bits/setjmp.h: Removed.
316 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
317 * sysdeps/x86/bits/setjmp.h: This.
318
7dc00e0d
L
319 * sysdeps/i386/bits/mathdef.h: Removed.
320 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
321 * sysdeps/x86/bits/mathdef.h: This.
322
03277f8f
AS
3232012-05-30 Andreas Schwab <schwab@linux-m68k.org>
324
325 [BZ #14132]
326 * include/sys/socket.h (__connect_internal)
327 (__libc_sa_len_internal): Remove declaration.
328 (__connect, __libc_sa_len): Declare hidden_proto.
329 (SA_LEN): Remove use of INTUSE.
330 * socket/connect.c: Add libc_hidden_def.
331 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
332 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
333 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
334 alias.
335 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
336 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
337 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
338 of adding _internal alias.
339
13764867
L
3402012-05-30 H.J. Lu <hongjiu.lu@intel.com>
341
342 [BZ #14117]
6bd97696
L
343 * sysdeps/i386/bits/link.h: Removed.
344 * sysdeps/i386/bits/linkmap.h: Likewise.
345 * sysdeps/x86_64/bits/link.h: Renamed to ...
346 * sysdeps/x86/bits/link.h: This.
347 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
348 * sysdeps/x86/bits/linkmap.h: This.
349
f726f0bb
L
350 * sysdeps/i386/bits/endian.h: Removed.
351 * sysdeps/x86_64/bits/endian.h: Renamed to ...
352 * sysdeps/x86/bits/endian.h: This.
353
13764867
L
354 * sysdeps/i386/bits/byteswap.h: Removed.
355 * sysdeps/i386/bits/byteswap-16.h: Likewise.
356 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
357 * sysdeps/x86/bits/byteswap.h: This.
358 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
359 * sysdeps/x86/bits/byteswap-16.h: This.
360 * sysdeps/i386/Implies: Add x86.
361 * sysdeps/x86_64/Implies: Likewise.
362
ae251b0b
DM
3632012-05-30 David S. Miller <davem@davemloft.net>
364
365 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
366 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
367 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
368 (FP_TRAPPING_EXCEPTIONS): Define.
369 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
370 (FP_TRAPPING_EXCEPTIONS): Define.
371 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
372 subnormals only when inexact has been signalled or underflow
373 exceptions are enabled.
374 (_FP_PACK_CANONICAL): Likewise.
375
d5c90867
L
3762012-05-30 H.J. Lu <hongjiu.lu@intel.com>
377
378 [BZ #14183]
379 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
380 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
381
63f1549e
RH
3822012-05-30 Richard Henderson <rth@twiddle.net>
383
8d8f2279
RH
384 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
385 with #ifndef NOT_IN_libc.
386
63f1549e
RH
387 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
388 marked to avoid plt entry.
389
0ab0291b
L
3902012-05-30 H.J. Lu <hongjiu.lu@intel.com>
391
392 [BZ #14112]
393 * Makeconfig (default-abi): New macro.
394 (abi-includes): Likewise.
395 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
396 $(abi-$(default-abi)-lib-soname) for soname if defined.
397 ($(common-objpfx)gnu/lib-names.stmp): Generate from
398 abi-variants.
399 * Makefile (installed-stubs): Likewise.
400 * include/stubs-biarch.h: Removed.
401 * scripts/lib-names.awk: Only handle one library at a time.
402 * scripts/soversions.awk: Remove WORDSIZE support.
403 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
404 entries.
405 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
406 Removed.
407 (syscall-list-default-condition): Likewise.
408 (syscall-list-default-condition): Likewise.
409 (syscall-list-includes): Likewise.
410 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
411 syscall-list-* with abi-*. Handle undefined abi-variants.
412 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
413 * sysdeps/unix/sysv/linux/i386/Implies: New file.
414 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
415 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
416 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
417 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
418 Removed.
419 (syscall-list-32-options): Likewise.
420 (syscall-list-32-condition): Likewise.
421 (syscall-list-64-options): Likewise.
422 (syscall-list-64-condition): Likewise.
423 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
424 macro.
425 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
426 Renamed to ...
427 (abi-*): This.
428 (abi-64-ld-soname): New macro.
429 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
430 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
431 Renamed to ...
432 (abi-*): This.
433 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
434 * sysdeps/x86_64/x32/shlib-versions: Likewise.
435
4da0431d
JM
4362012-05-30 Joseph Myers <joseph@codesourcery.com>
437
3a85279c
JM
438 * sysdeps/unix/sysv/linux/kernel-features.h
439 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
440 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
441 include <kernel-features.h>.
442 [!__NR_ftruncate64]: Remove conditional code.
443 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
444 [__NR_ftruncate64]: Make code unconditional.
445 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
446 * sysdeps/unix/sysv/linux/truncate64.c: Do not
447 include <kernel-features.h>.
448 [!__NR_ftruncate64]: Remove conditional code.
449 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
450 [__NR_ftruncate64]: Make code unconditional.
451 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
452 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
453 include <kernel-features.h>.
454 [!__NR_ftruncate64]: Remove conditional code.
455 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
456 [__NR_ftruncate64]: Make code unconditional.
457 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
458 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
459 include <kernel-features.h>.
460 [!__NR_ftruncate64]: Remove conditional code.
461 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
462 [__NR_ftruncate64]: Make code unconditional.
463 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
464
4da0431d
JM
465 * configure.in (libc_cv_fpie): Weaken to a compile test using
466 LIBC_TRY_CC_OPTION.
467 * configure: Regenerated.
468
11ef492c
AK
4692012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
470
471 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
472 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
473 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
474 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
475 Refreshed.
476 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
477 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
478 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
479 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
480 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
481 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
482 Refreshed.
483
d66ef399
DM
4842012-05-27 David S. Miller <davem@davemloft.net>
485
486 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
487 (___Q_zero): New.
488 (__Q_simulate_exceptions): Return void. Change to simulate
489 exceptions by writing into the %fsr.
490 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
491 (__Qp_handle_exceptions): Likewise.
492 (numbers): Delete.
493 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
494 __Qp_handle_exceptions.
495 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
496 __Qp_handle_exceptions.
497 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
498 as unused and give dummy FP_RND_NEAREST initializer.
499 (FP_INHIBIT_RESULTS): Define.
500 (___Q_simulate_exceptions): Update declaration.
501 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
502 formatting.
503 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
504 as unused and give dummy FP_RND_NEAREST initializer.
505 (__Qp_handle_exceptions): Update declaration.
506 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
507 formatting.
508
04fb54b5
TS
5092012-05-27 Thomas Schwinge <thomas@codesourcery.com>
510
511 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
512 the temporary FPU control word.
513 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
514 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
515 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
516 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
517 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
518 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
519 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
520 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
521 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
522 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
523 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
524
3f99608f
KK
5252012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
526
527 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
528 fields.
529
65a4de4e
CLT
5302012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
531
532 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
533 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
534 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
535 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
536 Likewise.
537 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
538 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
539 Likewise.
540
15749d40
UD
5412012-05-27 Ulrich Drepper <drepper@gmail.com>
542
543 * po/h.po: Update from translation team.
544
25dbcb27
AS
5452012-05-26 Andreas Schwab <schwab@linux-m68k.org>
546
3d3f8e55
AS
547 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
548
25dbcb27
AS
549 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
550 handling of denormals.
551 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
552 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
553 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
554 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
555 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
556 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
557 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
558 Likewise.
559
7ad47a80 5602012-05-26 Marek Polacek <polacek@redhat.com>
d81dcb35
MP
561
562 [BZ #14152]
563 * math/libm-test.inc (fma_test): Don't always expect underflow
564 exception.
565
9c6ea9fa
SP
5662012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
567
568 [BZ #12416]
569 * elf/tst-execstack.c: Include stackinfo.h.
570 (do_test): Adjust test case to ensure that pthread_getattr_np
571 behaviour remains the same after marking stack executable.
572
a8239222
JM
5732012-05-25 Joseph Myers <joseph@codesourcery.com>
574
575 * sysdeps/unix/sysv/linux/kernel-features.h
576 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
577 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
578 kernel-features.h.
579 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
580 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
581 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
582 kernel-features.h.
583 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
584 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
585
918b5606
L
5862012-05-25 H.J. Lu <hongjiu.lu@intel.com>
587
588 * configure.in: Define the default includes to being none.
589 * configure: Regenerated.
590
3a097cc7
RM
5912012-05-25 Roland McGrath <roland@hack.frob.com>
592
8422c9a5
RM
593 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
594 * sysdeps/x86_64/setjmp.S: Likewise.
595 * sysdeps/i386/bsd-setjmp.S: Likewise.
596 * sysdeps/i386/bsd-_setjmp.S: Likewise.
597 * sysdeps/i386/setjmp.S: Likewise.
598 * sysdeps/i386/__longjmp.S: Likewise.
599 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
600 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
601
3a097cc7
RM
602 * include/stap-probe.h: New file.
603 * configure.in: Handle --enable-systemtap.
604 * configure: Regenerated.
605 * config.h.in (USE_STAP_PROBE): New #undef.
606 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
607 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
608 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
609
21708942
JM
6102012-05-25 Joseph Myers <joseph@codesourcery.com>
611
612 [BZ #13717]
613 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
614 to 2.4.0 where earlier.
615 * sysdeps/unix/sysv/linux/configure: Regenerated.
616 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
617 <kernel-features.h>.
618 [__ASSUME_32BITUIDS]: Make code unconditional.
619 [!__ASSUME_32BITUIDS]: Remove conditional code.
620 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
621 <kernel-features.h>.
622 [__ASSUME_32BITUIDS]: Make code unconditional.
623 [!__ASSUME_32BITUIDS]: Remove conditional code.
624 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
625 [__ASSUME_32BITUIDS]: Make code unconditional.
626 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
627 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
628 <kernel-features.h>.
629 [__ASSUME_32BITUIDS]: Make code unconditional.
630 [!__ASSUME_32BITUIDS]: Remove conditional code.
631 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
632 <kernel-features.h>.
633 [__ASSUME_32BITUIDS]: Make code unconditional.
634 [!__ASSUME_32BITUIDS]: Remove conditional code.
635 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
636 <kernel-features.h>.
637 [__ASSUME_32BITUIDS]: Make code unconditional.
638 [!__ASSUME_32BITUIDS]: Remove conditional code.
639 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
640 <kernel-features.h>.
641 [__ASSUME_32BITUIDS]: Make code unconditional.
642 [!__ASSUME_32BITUIDS]: Remove conditional code.
643 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
644 <kernel-features.h>.
645 [__ASSUME_32BITUIDS]: Make code unconditional.
646 [!__ASSUME_32BITUIDS]: Remove conditional code.
647 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
648 <kernel-features.h>.
649 [__ASSUME_32BITUIDS]: Make code unconditional.
650 [!__ASSUME_32BITUIDS]: Remove conditional code.
651 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
652 <kernel-features.h>.
653 [__ASSUME_32BITUIDS]: Make code unconditional.
654 [!__ASSUME_32BITUIDS]: Remove conditional code.
655 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
656 <kernel-features.h>.
657 [__ASSUME_32BITUIDS]: Make code unconditional.
658 [!__ASSUME_32BITUIDS]: Remove conditional code.
659 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
660 <kernel-features.h>.
661 [__ASSUME_32BITUIDS]: Make code unconditional.
662 [!__ASSUME_32BITUIDS]: Remove conditional code.
663 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
664 <kernel-features.h>.
665 [__ASSUME_32BITUIDS]: Make code unconditional.
666 [!__ASSUME_32BITUIDS]: Remove conditional code.
667 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
668 <kernel-features.h>.
669 [__NR_setresgid] (__setresgid): Do not declare.
670 [__ASSUME_32BITUIDS]: Make code unconditional.
671 [!__ASSUME_32BITUIDS]: Remove conditional code.
672 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
673 <kernel-features.h>.
674 [__NR_setresuid] (__setresuid): Do not declare.
675 [__ASSUME_32BITUIDS]: Make code unconditional.
676 [!__ASSUME_32BITUIDS]: Remove conditional code.
677 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
678 <kernel-features.h>.
679 [__ASSUME_32BITUIDS]: Make code unconditional.
680 [!__ASSUME_32BITUIDS]: Remove conditional code.
681 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
682 <kernel-features.h>.
683 [__ASSUME_32BITUIDS]: Make code unconditional.
684 [!__ASSUME_32BITUIDS]: Remove conditional code.
685 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
686 <kernel-features.h>.
687 [__ASSUME_32BITUIDS]: Make code unconditional.
688 [!__ASSUME_32BITUIDS]: Remove conditional code.
689 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
690 <kernel-features.h>.
691 [__ASSUME_32BITUIDS]: Make code unconditional.
692 [!__ASSUME_32BITUIDS]: Remove conditional code.
693 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
694 <kernel-features.h>.
695 [__ASSUME_32BITUIDS]: Make code unconditional.
696 [!__ASSUME_32BITUIDS]: Remove conditional code.
697 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
698 <kernel-features.h>.
699 [__ASSUME_32BITUIDS]: Make code unconditional.
700 [!__ASSUME_32BITUIDS]: Remove conditional code.
701 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
702 <kernel-features.h>.
703 [__ASSUME_32BITUIDS]: Make code unconditional.
704 [!__ASSUME_32BITUIDS]: Remove conditional code.
705 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
706 <kernel-features.h>.
707 [__ASSUME_32BITUIDS]: Make code unconditional.
708 [!__ASSUME_32BITUIDS]: Remove conditional code.
709 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
710 <kernel-features.h>.
711 [__ASSUME_32BITUIDS]: Make code unconditional.
712 [!__ASSUME_32BITUIDS]: Remove conditional code.
713 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
714 <kernel-features.h>.
715 [__ASSUME_32BITUIDS]: Make code unconditional.
716 [!__ASSUME_32BITUIDS]: Remove conditional code.
717 * sysdeps/unix/sysv/linux/kernel-features.h
718 (__ASSUME_SETRESUID_SYSCALL): Remove.
719 (__ASSUME_SETRESGID_SYSCALL): Likewise.
720 (__ASSUME_32BITUIDS): Likewise.
721 (__ASSUME_LDT_WORKS): Likewise.
722 (__ASSUME_O_DIRECTORY): Likewise.
723 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
724 architecture but not kernel version.
725 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
726 (__ASSUME_MMAP2_SYSCALL): Likewise.
727 (__ASSUME_STAT64_SYSCALL): Likewise.
728 (__ASSUME_IPC64): Likewise.
729 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
730 <kernel-features.h>.
731 [__ASSUME_32BITUIDS]: Make code unconditional.
732 [!__ASSUME_32BITUIDS]: Remove conditional code.
733 * sysdeps/unix/sysv/linux/opendir.c: Do not include
734 <kernel-features.h>.
735 [__ASSUME_O_DIRECTORY]: Make code unconditional.
736 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
737 132096]: Remove conditional code.
738 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
739 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
740 <kernel-features.h>.
741 [__ASSUME_32BITUIDS]: Make code unconditional.
742 [!__ASSUME_32BITUIDS]: Remove conditional code.
743 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
744 <kernel-features.h>.
745 [__ASSUME_32BITUIDS]: Make code unconditional.
746 [!__ASSUME_32BITUIDS]: Remove conditional code.
747 * sysdeps/unix/sysv/linux/setegid.c: Do not include
748 <kernel-features.h>.
749 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
750 unconditional.
751 (__setresgid): Do not declare.
752 [__ASSUME_32BITUIDS]: Make code unconditional.
753 [!__ASSUME_32BITUIDS]: Remove conditional code.
754 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
755 <kernel-features.h>.
756 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
757 unconditional.
758 (__setresuid): Do not declare.
759 [__ASSUME_32BITUIDS]: Make code unconditional.
760 [!__ASSUME_32BITUIDS]: Remove conditional code.
761 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
762 <kernel-features.h>.
763 [__ASSUME_32BITUIDS]: Make code unconditional.
764 [!__ASSUME_32BITUIDS]: Remove conditional code.
765 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
766 <kernel-features.h>.
767 [__ASSUME_32BITUIDS]: Make code unconditional.
768 [!__ASSUME_32BITUIDS]: Remove conditional code.
769
a386f1cc
RH
7702012-05-25 Richard Henderson <rth@twiddle.net>
771
772 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
773 dl_hwcap to ifunc resolver.
774 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
775 elf_ifunc_invoke.
776 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
777 dl_hwcap to ifunc resolver.
778 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
779
b6550497
JM
7802012-05-24 Joseph Myers <joseph@codesourcery.com>
781
782 [BZ #14153]
783 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
784 for |x| <= 2**-26, not 2**-57.
785 * math/libm-test.inc (acos_test): Do not allow spurious underflow
786 exception.
787
b0bc23a1
JL
7882012-05-24 Jeff Law <law@redhat.com>
789
790 * stdio-common/Makefile (tests): Add bug25.
791 * stdio-common/bug25.c: New test.
792
347c92e9
L
7932012-05-24 H.J. Lu <hongjiu.lu@intel.com>
794
795 [BZ #13576]
796 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
797 multiple of MALLOC_ALIGNMENT in size.
798 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
799
6bcc8b3f
JM
8002012-05-24 Joseph Myers <joseph@codesourcery.com>
801
802 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
803 Require >= 256.
804 (FILENAME_MAX): Use macro-int-constant.
805 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
806 (_IOFBF): Use macro-int-constant.
807 (_IOLBF): Likewise.
808 (_IONBF): Likewise.
809 (SEEK_CUR): Likewise.
810 (SEEK_END): Likewise.
811 (SEEK_SET): Likewise.
812 (TMP_MAX): Likewise.
813 (EOF): Use macro-int-constant. Require < 0.
814 (NULL): Use macro-constant. Require == 0.
815 (stdin): Require type to be FILE *.
816 (stdout): Likewise.
817 (stderr): Likewise.
818 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
819 macro-int-constant.
820 (EXIT_SUCCESS): Likewise.
821 (NULL): Use macro-constant. Require == 0.
822 (RAND_MAX): Use macro-int-constant.
823 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
824 [C99-based standards] (strtof): Require function.
825 [C99-based standards] (strtold): Likewise.
826 [C99-based standards] (strtoll): Likewise.
827 [C99-based standards] (strtoull): Likewise.
828 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
829 [ISO || ISO99 || ISO11] (limits.h): Likewise.
830 [ISO || ISO99 || ISO11] (math.h): Likewise.
831 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
832 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
833 [ISO || ISO99 || ISO11] (*_t): Do not allow.
834
d18ea0c5
AS
8352012-05-24 Andreas Schwab <schwab@linux-m68k.org>
836
837 [BZ #14132]
56d25bb8
AS
838 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
839 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
840 * intl/dgettext.c (DCGETTEXT): Likewise.
841 * intl/gettext.c (DCGETTEXT): Likewise.
842 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
843 * posix/regex_internal.h (gettext): Likewise.
844 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
845 Remove declaration.
846 * include/argz.h (__argz_count_internal)
847 (__argz_stringify_internal): Remove declaration.
848 (__argz_count, __argz_stringify): Declare hidden proto.
849 * intl/dcgettext.c: Remove use of INTDEF.
850 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
851 * string/argz-stringify.c: Likewise.
852 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
853 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
854 Declare hidden proto.
d18ea0c5
AS
855 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
856 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
857 Declare hidden proto.
858 * include/stdio.h (__asprintf_internal): Don't declare.
859 (__asprintf): Don't define as macro. Declare hidden proto.
860 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
861 (__fsetlocking): Declare hidden proto.
862 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
863 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
864 hidden proto.
865 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
866 (_IO_setlinebuf): Remove use of INTUSE.
867 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
868 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
869 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
870 Remove declaration.
871 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
872 (_IO_do_flush): Remove use of INTUSE.
873 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
874 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
875 (_IO_adjust_column, _IO_least_wmarker)
876 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
877 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
878 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
879 (_IO_default_doallocate, _IO_wdefault_doallocate)
880 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
881 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
882 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
883 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
884 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
885 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
886 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
887 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
888 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
889 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
890 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
891 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
892 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
893 proto.
894 (_IO_flush_all_internal, _IO_adjust_column_internal)
895 (_IO_default_uflow_internal, _IO_default_finish_internal)
896 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
897 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
898 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
899 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
900 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
901 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
902 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
903 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
904 (_IO_file_close_internal, _IO_file_close_it_internal)
905 (_IO_file_underflow_internal, _IO_file_overflow_internal)
906 (_IO_file_init_internal, _IO_file_attach_internal)
907 (_IO_file_fopen_internal, _IO_file_read_internal)
908 (_IO_file_sync_internal, _IO_file_seek_internal)
909 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
910 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
911 (_IO_str_underflow_internal, _IO_str_overflow_internal)
912 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
913 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
914 (_IO_list_all_internal, _IO_link_in_internal)
915 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
916 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
917 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
918 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
919 (_IO_do_write_internal, _IO_padn_internal)
920 (_IO_getline_info_internal, _IO_getline_internal)
921 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
922 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
923 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
924 (_IO_vfscanf_internal, _IO_vfprintf_internal)
925 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
926 (_IO_init_internal, _IO_un_link_internal): Don't declare.
927 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
928 with libc_hidden_ver, remove use of INTUSE.
929 * libio/genops.c: Likewise.
930 * libio/freopen.c: Likewise.
931 * libio/freopen64.c: Likewise.
932 * libio/iofclose.c: Likewise.
933 * libio/iofdopen.c: Likewise.
934 * libio/iofflush.c: Likewise.
935 * libio/iofflush_u.c: Likewise.
936 * libio/iofgets.c: Likewise.
937 * libio/iofgets_u.c: Likewise.
938 * libio/iofopen.c: Likewise.
939 * libio/iofopncook.c: Likewise.
940 * libio/iofread.c: Likewise.
941 * libio/iofread_u.c: Likewise.
942 * libio/ioftell.c: Likewise.
943 * libio/iofwrite.c: Likewise.
944 * libio/iogetline.c: Likewise.
945 * libio/iogets.c: Likewise.
946 * libio/iogetwline.c: Likewise.
947 * libio/iopadn.c: Likewise.
948 * libio/iopopen.c: Likewise.
949 * libio/ioseekoff.c: Likewise.
950 * libio/ioseekpos.c: Likewise.
951 * libio/iosetbuffer.c: Likewise.
952 * libio/iosetvbuf.c: Likewise.
953 * libio/ioungetc.c: Likewise.
954 * libio/ioungetwc.c: Likewise.
955 * libio/iovdprintf.c: Likewise.
956 * libio/iovsprintf.c: Likewise.
957 * libio/iovsscanf.c: Likewise.
958 * libio/memstream.c: Likewise.
959 * libio/obprintf.c: Likewise.
960 * libio/oldfileops.c: Likewise.
961 * libio/oldiofclose.c: Likewise.
962 * libio/oldiofdopen.c: Likewise.
963 * libio/oldiofopen.c: Likewise.
964 * libio/oldiopopen.c: Likewise.
965 * libio/oldstdfiles.c: Likewise.
966 * libio/putc.c: Likewise.
967 * libio/setbuf.c: Likewise.
968 * libio/setlinebuf.c: Likewise.
969 * libio/stdfiles.c: Likewise.
970 * libio/strops.c: Likewise.
971 * libio/vasprintf.c: Likewise.
972 * libio/vscanf.c: Likewise.
973 * libio/vsnprintf.c: Likewise.
974 * libio/vswprintf.c: Likewise.
975 * libio/wfiledoalloc.c: Likewise.
976 * libio/wfileops.c: Likewise.
977 * libio/wgenops.c: Likewise.
978 * libio/wmemstream.c: Likewise.
979 * libio/wstrops.c: Likewise.
980 * libio/__fpurge.c: Likewise.
981 * libio/__fsetlocking.c: Likewise.
982 * assert/assert.c: Likewise.
983 * debug/fgets_chk.c: Likewise.
984 * debug/fgets_u_chk.c: Likewise.
985 * debug/fread_chk.c: Likewise.
986 * debug/fread_u_chk.c: Likewise.
987 * debug/gets_chk.c: Likewise.
988 * debug/obprintf_chk.c: Likewise.
989 * debug/vasprintf_chk.c: Likewise.
990 * debug/vdprintf_chk.c: Likewise.
991 * debug/vsnprintf_chk.c: Likewise.
992 * debug/vsprintf_chk.c: Likewise.
993 * malloc/mtrace.c: Likewise.
994 * misc/error.c: Likewise.
995 * misc/syslog.c: Likewise.
996 * stdio-common/asprintf.c: Likewise.
997 * stdio-common/fxprintf.c: Likewise.
998 * stdio-common/getw.c: Likewise.
999 * stdio-common/isoc99_fscanf.c: Likewise.
1000 * stdio-common/isoc99_scanf.c: Likewise.
1001 * stdio-common/isoc99_vfscanf.c: Likewise.
1002 * stdio-common/isoc99_vscanf.c: Likewise.
1003 * stdio-common/isoc99_vsscanf.c: Likewise.
1004 * stdio-common/printf-prs.c: Likewise.
1005 * stdio-common/printf_fp.c: Likewise.
1006 * stdio-common/printf_fphex.c: Likewise.
1007 * stdio-common/printf_size.c: Likewise.
1008 * stdio-common/putw.c: Likewise.
1009 * stdio-common/scanf.c: Likewise.
1010 * stdio-common/sprintf.c: Likewise.
1011 * stdio-common/tmpfile.c: Likewise.
1012 * stdio-common/vfprintf.c: Likewise.
1013 * stdio-common/vfscanf.c: Likewise.
1014 * stdlib/strfmon_l.c: Likewise.
1015 * sunrpc/openchild.c: Likewise.
1016 * sunrpc/xdr_stdio.c: Likewise.
1017 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
1018 * sysdeps/mach/hurd/tmpfile.c: Likewise.
1019
d6c33fda
RM
10202012-05-24 Roland McGrath <roland@hack.frob.com>
1021
c1487492
RM
1022 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
1023
1024 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
1025 in the third column, to generate for the shared library an IFUNC
1026 that uses _dl_vdso_vsym.
1027 * Makerules (COMPILE.c, compile-stdin.c): New variables.
1028 * Makeconfig (object-suffixes-noshared): New variable.
1029
1030 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
1031 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
1032 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
1033 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
1034
d6c33fda
RM
1035 [BZ #14132]
1036 * include/sys/time.h (__gettimeofday): Remove macro.
1037 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
1038 * time/gettimeofday.c (__gettimeofday): Remove #undef.
1039 Remove INTDEF.
1040 (__gettimeofday): Add libc_hidden_def.
1041 (gettimeofday): Add libc_hidden_weak.
1042 * sysdeps/mach/gettimeofday.c: Likewise.
1043 * sysdeps/posix/gettimeofday.c: Likewise.
1044 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
1045 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
1046 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
1047 (__gettimeofday_internal): Remove strong_alias.
1048 (__gettimeofday): Add libc_hidden_def.
1049 (gettimeofday): Add libc_hidden_weak.
1050 * sysdeps/unix/syscalls.list (gettimeofday):
1051 Remove __gettimeofday_internal alias.
1052
b5a2bbe6
L
10532012-05-24 Daniel Jacobowitz <drow@false.org>
1054 H.J. Lu <hongjiu.lu@intel.com>
1055
1056 [BZ #12495]
1057 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
1058 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
1059 (largebin_index_32_big): New.
1060 (largebin_index): Use it for 16-byte alignment.
1061 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
1062 correction with front_misalign.
1063
cfba4fda
L
10642012-05-24 H.J. Lu <hongjiu.lu@intel.com>
1065
7f907421
L
1066 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
1067 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
1068 Likewise.
1069 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
1070 Likewise.
1071 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
1072 Likewise.
1073 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
1074 Likewise.
1075 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
1076 Likewise.
1077 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
1078 Likewise.
1079 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
1080 Likewise.
1081 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
1082 Likewise.
1083 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
1084 Likewise.
1085 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
1086 Likewise.
1087 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
1088 Likewise.
1089 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
1090 Likewise.
1091
cfba4fda
L
1092 * scripts/data/c++-types-x32-linux-gnu.data: New file.
1093 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
1094
80bad0cc
JM
10952012-05-24 Joseph Myers <joseph@codesourcery.com>
1096
7a25eb06
JM
1097 [BZ #10846]
1098 [BZ #14036]
1099 * math/libm-test.inc (exp_test): Add test from bug 14036.
1100 (pow_test): Add test from bug 10846.
1101
795405f9
JM
1102 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
1103 and other flags.
1104 (special_function): Do not include flags in test name.
1105 (parse_args): Likewise.
1106 * sysdeps/i386/fpu/libm-test-ulps: Update.
1107 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
1108 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
1109 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
1110 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1111
80bad0cc
JM
1112 * math/gen-libm-test.pl (%beautify): Add entries for underflow
1113 exceptions.
1114 * math/libm-test.inc ("Philosophy"): Update comment about
1115 exception testing.
1116 (UNDERFLOW_EXCEPTION): New macro.
1117 (UNDERFLOW_EXCEPTION_OK): Likewise.
1118 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
1119 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
1120 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
1121 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
1122 (INVALID_EXCEPTION_OK): Update value.
1123 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
1124 (OVERFLOW_EXCEPTION_OK): Likewise.
1125 (IGNORE_ZERO_INF_SIGN): Likewise.
1126 (test_exceptions): Handle underflow exceptions.
1127 (acos_test): Update for underflow exception expectations.
1128 (cexp_test): Likewise.
1129 (clog_test): Likewise.
1130 (clog10_test): Likewise.
1131 (csqrt_test): Likewise.
1132 (ctan_test): Likewise.
1133 (ctanh_test): Likewise.
1134 (exp_test): Likewise.
1135 (exp10_test): Likewise.
1136 (exp2_test): Likewise.
1137 (expm1_test): Likewise.
1138 (fma_test): Likewise.
1139 (j0_test): Likewise.
1140 (jn_test): Likewise.
1141 (nexttoward_test): Likewise.
1142 (pow_test): Likewise.
1143 (scalbn_test): Likewise.
1144 (scalbln_test): Likewise.
1145 (tan_test): Likewise.
1146 (y1_test): Likewise.
1147 * sysdeps/i386/fpu/libm-test-ulps: Update.
1148 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1149
9e0e3d0b
DM
11502012-05-23 David S. Miller <davem@davemloft.net>
1151
1152 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
1153 (__libc_sigaction): Remove unused local variables.
1154
ccd0a08f
L
11552012-05-23 H.J. Lu <hongjiu.lu@intel.com>
1156
1157 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
1158
62bdf9a6
PE
11592012-05-23 Paul Eggert <eggert@cs.ucla.edu>
1160
f8591f80
PE
1161 mktime: avoid signed integer overflow
1162 * time/mktime.c (__mktime_internal): Do not mishandle the case
1163 where diff == INT_MIN.
1164
94c7d826
PE
1165 mktime: simplify computation of average
1166 * time/mktime.c (ranged_convert): Use new time_t_avg function
1167 instead of rolling our own (probably-slower) code.
1168
ce73d683
PE
1169 mktime: do not assume signed right shift propagates sign bit
1170 * time/mktime.c (isdst_differ): New static function.
1171 (__mktime_internal): No need to normalize tm_isdst now.
1172 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
1173 tm_isdst values.
1174
72a22e59
PE
1175 mktime: merge another wrapv change from gnulib
1176 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
1177 from some compilers.
1178
68605433
PE
1179 mktime: remove incorrect attempt at unusual arithmetics
1180 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
1181 The code didn't really work on such machines anyway.
1182 (TYPE_MINIMUM): Assume two's complement.
1183 (twos_complement_arithmetic): Verify that long_int and time_t
1184 are two's complement (or unsigned, in the latter case).
1185
03cf7fe3
PE
1186 mktime: check signed shifts on long_int and time_t, too
1187 * time/mktime.c (SHR): Check that shifts work as desired
1188 on the types long_int and time_t too, as SHR is used on
1189 such types.
1190
f04dfbc2
PE
1191 mktime: do not assume 'long' is wide enough
1192 * time/mktime.c (verify): Move decl up.
1193 (long_int): New type.
1194 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
1195 to remove assumption in the code that 'long' is wide enough to
1196 store year values. This assumption is not true on x32 and on
1197 some non-glibc platforms.
1198
62bdf9a6
PE
1199 mktime: merge wrapv change from gnulib
1200 * time/mktime.c (WRAPV): New macro.
1201 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
1202 (guess_time_tm, __mktime_internal): Do not assume that signed
1203 integer overflow wraps around; modern compilers generate code
1204 where this assumption is no longer valid.
1205
5e292e4f
L
12062012-05-23 H.J. Lu <hongjiu.lu@intel.com>
1207
1208 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
1209 Replace "jmp L(pseudo_end)" with "ret".
1210 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
1211 Likewise.
1212
8caf8c87
AJ
12132012-05-23 Andreas Jaeger <aj@suse.de>
1214
1215 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
1216 * sysdeps/unix/sysv/linux/poll.c: Remove file.
1217
1a09dc56
AJ
12182012-05-23 Andreas Jaeger <aj@suse.de>
1219 Maximilian Attems <max@stro.at>
1220
1221 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
1222 New macros.
1223
1c87aba0
L
12242012-05-23 H.J. Lu <hongjiu.lu@intel.com>
1225
1226 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
1227 code so that pseudo_end is just ret and the stack pointer is
1228 correct also for static library in error case.
1229
40e45bd5
JM
12302012-05-23 Joseph Myers <joseph@codesourcery.com>
1231
c2670533
JM
1232 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
1233 move to syscalls.list.
1234 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
1235 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
1236 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
1237 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
1238
40e45bd5
JM
1239 * manual/install.texi (Running make install): Do not mention Linux
1240 kernel version for which pt_chown is not needed.
1241 (Linux): Do not mention problems with nscd with 2.0 kernels.
1242 * INSTALL: Regenerated.
1243
be08eda5
AJ
12442012-05-23 Andreas Jaeger <aj@suse.de>
1245
1246 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
1247 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
1248 macro.
1249 * sysdeps/unix/sysv/linux/s390/bits/mman.h
1250 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
1251 * sysdeps/unix/sysv/linux/sh/bits/mman.h
1252 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
1253 * sysdeps/unix/sysv/linux/i386/bits/mman.h
1254 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
1255 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
1256 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
1257 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
1258 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
1259 * sysdeps/unix/sysv/linux/bits/in.h
1260 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
1261
a6a056bb
RM
12622012-05-22 Roland McGrath <roland@hack.frob.com>
1263
1264 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
1265 (PREPARE_VERSION): Just use assert instead, it will be elided
1266 under [NDEBUG] anyway.
1267
c9009328
L
12682012-05-22 H.J. Lu <hongjiu.lu@intel.com>
1269
1270 * sysdeps/unix/sysv/linux/Makefile: Include
1271 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
cb191f23 1272 (sysdep_routines): Remove sysctl.
c9009328
L
1273 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
1274 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
1275 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
1276 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
1277 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
1278
73338355
AJ
12792012-05-22 Andreas Jaeger <aj@suse.de>
1280
1281 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
1282 that pseudo_end is just ret and the stack pointer is correct also
1283 for static library in error case.
1284
d44638b0
PP
12852012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
1286
1287 [BZ #14122]
1288 * nss/nsswitch.c (defconfig_entries): New variable.
1289 (__nss_database_lookup): Don't leak defconfig entries.
1290 (nss_parse_service_list): Don't leak on error paths.
1291 (free_database_entries): New function.
1292 (free_defconfig): New function.
1293 (free_mem): Move common code to free_database_entries.
1294
31a39bd8
L
12952012-05-22 H.J. Lu <hongjiu.lu@intel.com>
1296
da0331a8
L
1297 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
1298 Add arch_prctl.
1299 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
1300
31a39bd8
L
1301 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
1302 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
1303 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
1304 New macro.
1305 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
1306 (INTERNAL_SYSCALL_TYPES): Likewise.
1307 (LOAD_ARGS_TYPES_[1-6]): Likewise.
1308 (LOAD_REGS_TYPES_[1-6]): Likewise.
1309 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
1310 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
1311
45470df3
AZ
13122012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1313
1314 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
1315 copysignl for GLIBC_2_0.
1316 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
1317 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
1318 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
1319 logbl for GLIBC_2_0.
1320 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
1321 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
1322
98a61bcb
L
13232012-05-22 H.J. Lu <hongjiu.lu@intel.com>
1324
a4f6e481
L
1325 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
1326 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
1327
f63d5db6
L
1328 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
1329 Use "neg %eax".
1330
98a61bcb
L
1331 * time/mktime.c: Update copyright years.
1332
95770f14
PE
13332012-05-22 Paul Eggert <eggert@cs.ucla.edu>
1334
6226efbd
PE
1335 mktime: merge comment-quoting-style change from gnulib
1336 * time/mktime.c: Quote 'like this' in comments.
1337 The GNU coding standards suggest that we no longer quote `like this',
1338 as "`" and "'" are typically rendered asymmetrically nowadays.
1339 The typical gnulib style is to quote 'like this' when quoting
1340 code, and "like this" when quoting English.
1341
b99e4f78
PE
1342 * time/mktime.c (compile-command): Add "-I.".
1343
643e01e6
PE
1344 mktime: merge mktime-internal.h change from gnulib
1345 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
1346
2554247d
PE
1347 mktime: merge time_r change from gnulib
1348 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
1349
826dd0ab
PE
1350 mktime: merge DEBUG change from gnulib
1351 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
1352 case system <time.h> has a #define.
1353
bd83aabe
PE
1354 mktime: merge <sys/types.h> change from gnulib
1355 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
1356 since <time.t> is now guaranteed to define time_t.
1357
95770f14
PE
1358 mktime: merge HAVE_CONFIG_H change from gnulib
1359 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
1360
5e1a27a9
L
13612012-05-22 H.J. Lu <hongjiu.lu@intel.com>
1362
0e44a77e
L
1363 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
1364 Use "neg %eax".
1365
5e1a27a9
L
1366 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
1367 __rlim_t cast.
1368 (struct rusage): Use anonymous union to pad each field to
1369 __syscall_slong_t.
1370
46259bec
DM
13712012-05-21 David S. Miller <davem@davemloft.net>
1372
1373 * Makefules (o-iterator): Remove .s cases.
1374 (compile-command.s): Delete.
1375 (COMPILE.s): Delete.
1376 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
1377
59f0c22e
JM
13782012-05-21 Joseph Myers <joseph@codesourcery.com>
1379
1380 * configure.in (libc_cv_predef_stack_protector): Only consider
1381 "foobar" and "__stack_chk_fail" lines in libc_undefs.
1382 * configure: Regenerated.
1383
20c07380
L
13842012-05-21 H.J. Lu <hongjiu.lu@intel.com>
1385
bbb3154b
L
1386 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
1387 New macro. Use R*LP on int and pointer.
1388 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
c5b3a2c0
L
1389 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
1390 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
bbb3154b
L
1391 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
1392
20c07380
L
1393 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
1394 [__WORDSIZE_TIME64_COMPAT32] instead of
1395 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
1396 (struct utmp): Likewise.
1397 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
1398 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
1399 Renamed to ...
1400 (__WORDSIZE_TIME64_COMPAT32): This.
1401 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
1402 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
1403 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
1404 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
1405 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
1406 (__WORDSIZE_TIME64_COMPAT32): New macro.
1407
d8d1017e
AJ
14082012-05-21 Andreas Jaeger <aj@suse.de>
1409
1410 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
1411 only if [SHARED]. Add prototype for __wcschr_ia32.
1412
6c7fb145
RM
14132012-05-21 Roland McGrath <roland@hack.frob.com>
1414
1415 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
1416 of %rbp unmolested in the jmp_buf while mangling the low bits.
1417 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
1418 unmolested high bits of %rbp while demangling the low bits.
1419 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
1420
66274218
AJ
14212012-05-21 Andreas Jaeger <aj@suse.de>
1422
07c58f8f
AJ
1423 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
1424 * sunrpc/svc_simple.c: Use it for registerrpc.
1425 * sunrpc/xcrypt.c: Use it for passwd2des.
1426
66274218
AJ
1427 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
1428
61f65140
L
14292012-05-21 H.J. Lu <hongjiu.lu@intel.com>
1430
1431 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
1432 Don't define if [__SYSCALL_WORDSIZE != 32].
1433 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
1434 New macro.
1435
5fefb436
AJ
14362012-05-21 Bruno Haible <bruno@clisp.org>
1437 Andreas Jaeger <aj@suse.de>
1438
1439 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
1440 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
1441 inptr and inend for must_buffer_ch.
1442 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
1443 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
1444 * stdio-common/Makefile (tests): Remove bug15.
1445 (bug15-ENV): Remove macro.
1446 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
1447 anymore.
1448
d8e272ab
AJ
14492012-05-19 Andreas Jaeger <aj@suse.de>
1450 Roland McGrath <roland@hack.frob.com>
1451
1452 * manual/contrib.texi: Completely rewritten. It contains now an
1453 alphabetical list of contributors and their contributions.
1454
4a56a162
RH
14552012-05-21 Richard Henderson <rth@twiddle.net>
1456
1457 * misc/getauxval.c (__getauxval): Use unsigned long int.
1458 * misc/sys/auxv.h: Include <sys/cdefs.h>.
1459 (getauxval): Use unsigned long int.
1460
d024d23c
L
14612012-05-21 H.J. Lu <hongjiu.lu@intel.com>
1462
1463 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
1464
cbc00a03
RM
14652012-05-21 Roland McGrath <roland@hack.frob.com>
1466
1467 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
1468 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
1469 __alignof__ (long double).
1470
478143fa
AZ
14712012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1472
1473 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1474
c7683a6d
RH
14752012-05-20 Richard Henderson <rth@twiddle.net>
1476
1477 * misc/getauxval.c: New file.
1478 * misc/sys/auxv.h: New file.
1479 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
1480 (routines): Add getauxval.
1481 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
1482 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
1483 * elf/dl-sysdep.c (_dl_auxv): Remove.
1484 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
1485 * elf/dl-support.c (_dl_auxv): New variable.
1486 (_dl_aux_init): Initialize it.
1487 * manual/startup.texi (Auxiliary Vector): New node.
1488 * sysdeps/generic/bits/hwcap.h: New file.
1489 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
1490 * sysdeps/powerpc/sysdep.h: ... here. Include it.
1491 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
1492 * sysdeps/sparc/sysdep.h: ... here. Include it.
1493 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
1494 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
cbc00a03
RM
1495 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
1496 Update.
c7683a6d
RH
1497 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
1498 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
1499 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
1500 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
1501 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
1502 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
1503 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
1504 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
1505
a6f1845d
AZ
15062012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1507
1508 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1509
cbcbe830
DM
15102012-05-19 David S. Miller <davem@davemloft.net>
1511
1512 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1513
e0b16cc2
JM
15142012-05-19 Joseph Myers <joseph@codesourcery.com>
1515
1516 [BZ #14123]
1517 * math/s_ccosh.c: Include <float.h>
1518 (__ccosh): Avoid internal overflow calculating sinh and cosh
1519 values before multiplying by sin and cos values.
1520 * math/s_ccoshf.c: Likewise.
1521 * math/s_ccoshl.c: Likewise.
1522 * math/s_csin.c: Likewise.
1523 * math/s_csinf.c: Likewise.
1524 * math/s_csinl.c: Likewise.
1525 * math/s_csinh.c: Likewise.
1526 * math/s_csinhf.c: Likewise.
1527 * math/s_csinhl.c: Likewise.
1528 * math/libm-test.inc (ccos_test): Add more tests.
1529 (ccosh_test): Likewise.
1530 (csin_test): Likewise.
1531 (csinh_test): Likewise.
1532 * sysdeps/i386/fpu/libm-test-ulps: Update.
1533 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1534
6ad13e08
L
15352012-05-19 H.J. Lu <hongjiu.lu@intel.com>
1536
f66f0ce8
L
1537 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
1538 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
1539
6ad13e08
L
1540 * sysdeps/x86_64/x32/_itoa.h: Add comment.
1541
b1d072a7
JM
15422012-05-19 Joseph Myers <joseph@codesourcery.com>
1543
1544 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
1545 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
1546 * sysdeps/powerpc/soft-fp/Versions: Likewise.
1547 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
1548 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
1549 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
1550 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
1551 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
1552 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
1553 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
1554 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
1555 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
1556 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
1557 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
1558 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
1559 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
1560 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
1561 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
1562 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
1563 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
1564 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
1565 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
1566 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
1567 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
1568 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
1569 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
1570 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
1571 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
1572 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
1573 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
1574 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
1575
9eae47cb
AJ
15762012-05-18 Andreas Jaeger <aj@suse.de>
1577
1578 * csu/.gitignore: Delete.
1579
bb07f69f
L
15802012-05-18 H.J. Lu <hongjiu.lu@intel.com>
1581
1582 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
1583 (timex): Use __syscall_slong_t.
1584
e6bdb741
AJ
15852012-05-18 Andreas Jaeger <aj@suse.de>
1586 Carlos O'Donell <carlos_odonell@mentor.com>
1587
1588 * manual/install.texi (Configuring and compiling): Update
1589 description about files modified in the source directory.
d6c33fda 1590 * INSTALL: Regenerated.
e6bdb741 1591
1b74487e
L
15922012-05-18 H.J. Lu <hongjiu.lu@intel.com>
1593
1594 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
1595 value. Use "or" to set return value to -1.
1596 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
1597 negate return value.
1598
a88b64b9
TMQMF
15992012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
1600
1601 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
1602 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
1603 failure if the compiler has Graphite support disabled.
1604 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
1605 Likewise.
1606 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
1607 CFLAGS-memmove.c): Likewise.
1608 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
1609 Likewise.
1610
3707636e
L
16112012-05-18 H.J. Lu <hongjiu.lu@intel.com>
1612
610b8622
L
1613 * sysdeps/x86_64/x32/_itoa.h: New file.
1614
7cd195df
L
1615 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
1616 getdents system call only if kernel and user dirents have the
1617 same d_ino and d_off.
1618
94b07d20
L
1619 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
1620 LLONG_MAX != LONG_MAX.
1621 (_itoa_word): Use _ITOA_WORD_TYPE on value.
1622 (_fitoa_word): Likewise.
1623
18298070
L
1624 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
1625 years.
1626 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
1627 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
1628 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
1629
553c7ea4
L
1630 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
1631 include <bits/wordsize.h>. Check __x86_64__ instead of
1632 __WORDSIZE.
1633 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
1634 if __x86_64__ is defined. Use anonymous union on fpstate.
1635
3707636e
L
1636 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
1637 anonymous union.
1638
b53ef01a
AS
16392012-05-18 Andreas Schwab <schwab@linux-m68k.org>
1640
37fb1dc0
AS
1641 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
1642 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
1643 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
1644 Refer to _rtld_local_ro instead of _rtld_global_ro.
1645 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
1646 Likewise.
1647 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
1648 Likewise.
1649 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
1650 Likewise.
1651 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
1652 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
1653 of _rtld_global, and rtld_progname instead of _dl_argv[0].
1654
b53ef01a
AS
1655 * sysdeps/powerpc/powerpc32/dl-machine.c
1656 (__elf_machine_runtime_setup) [PROF]: Don't reference
1657 _dl_prof_resolve.
1658
7a185db2
AJ
16592012-05-18 Andreas Jaeger <aj@suse.de>
1660
1661 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
1662 function only available for GCCs before 3.4 since GCC 3.4
1663 introduced a builtin.
1664 (lrint): Likewise.
1665 (llrintf): Likewise.
1666 (llrint): Likewise.
1667 (fmaxf): Likewise.
1668 (fmax): Likewise.
1669 (fminf): Likewise.
1670 (fmin): Likewise.
1671 (rint): Likewise.
1672 (rintf): Likewise.
1673 (nearbyint): Likewise.
1674 (nearbyintf): Likewise.
1675 (ceil): Likewise.
1676 (ceilf): Likewise.
1677 (floor): Likewise.
1678 (floorf): Likewise.
1679
3e5aef87
L
16802012-05-17 H.J. Lu <hongjiu.lu@intel.com>
1681
428bd707
L
1682 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
1683 on both fields and cast pointer to __syscall_ulong_t.
1684
3e5aef87
L
1685 * bits/types.h (__fsword_t): New type.
1686 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
1687 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
1688 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
1689 (__FSWORD_T_TYPE): Likewise.
1690 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
1691 (__FSWORD_T_TYPE): Likewise.
1692 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
1693 (__FSWORD_T_TYPE): Likewise.
1694 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
1695 (__FSWORD_T_TYPE): Likewise.
1696 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
1697 __SWORD_TYPE with __fsword_t.
1698 (statfs64): Likewise.
1699
1ba7c3dc
DM
17002012-05-17 David S. Miller <davem@davemloft.net>
1701
1702 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
1703
59910343
AJ
17042012-05-17 Andreas Jaeger <aj@suse.de>
1705
1706 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
1707 warning.
1708
2e4c1e9e
L
17092012-05-17 H.J. Lu <hongjiu.lu@intel.com>
1710
1711 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
1712
de7f5ce7
AJ
17132012-05-17 Andreas Jaeger <aj@suse.de>
1714
1715 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
1716 when it is used.
1717
286abc3d
CM
17182012-05-17 Chris Metcalf <cmetcalf@tilera.com>
1719
1720 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
1721
477cc68e
L
17222012-05-17 H.J. Lu <hongjiu.lu@intel.com>
1723
1724 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
1725 * sysdeps/x86_64/tst-mallocalign1.c: New file.
1726
1a0994f5
CD
17272012-05-17 Andreas Jaeger <aj@suse.de>
1728 Carlos O'Donell <carlos_odonell@mentor.com>
1729
1730 [BZ #14059]
1731 * sysdeps/x86_64/multiarch/init-arch.h
1732 (bit_YMM_Usable): Rename to...
1733 (bit_AVX_Usable): ... this.
1734 (bit_FMA4_Usable): New macro.
1735 (bit_XMM_state): New macro.
1736 (bit_YMM_state): New macro.
1737 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
1738 [__ASSEMBLER__] (index_AVX_Usable): ... this.
1739 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
1740 (CPUID_OSXSAVE): New macro.
1741 (CPUID_AVX): New macro.
1742 (CPUID_FMA4): New macro.
1743 (index_YMM_Usable): Rename to...
1744 (index_AVX_Usable): ... this.
1745 (HAS_AVX): Use HAS_ARCH_FEATURE.
1746 (HAS_FMA4): Likewise.
1747 (HAS_YMM_USABLE): Remove.
1748 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
1749 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
1750 are present.
1751 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
1752 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
1753 * sysdeps/x86_64/multiarch/Makefile: Likewise.
1754 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
1755 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
1756
0af797de
CM
17572012-05-17 Chris Metcalf <cmetcalf@tilera.com>
1758
1759 * math/libm-test.c: Support platforms without multiple rounding modes.
1760 * math/bug-nextafter.c: Support platforms without FP exceptions.
1761 * math/bug-nexttoward.c: Likewise.
1762 * math/test-fenv.c: Likewise.
1763 * math/test-misc.c: Likewise.
1764 * stdlib/bug-getcontext.c: Likewise.
1765
e39745ff
AJ
17662012-05-17 Andreas Jaeger <aj@suse.de>
1767
1768 * manual/examples/search.c (critter_cmp): Change signature to
1769 avoid warnings.
1770 * manual/string.texi (Collation Functions): Likewise.
1771
48970aba
L
17722012-05-16 H.J. Lu <hongjiu.lu@intel.com>
1773
1774 * bits/types.h: Fold copyright years.
1775 * bits/typesizes.h: Likewise.
1776 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
1777 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
1778 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
1779 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
1780 * time/time.h: Likewise.
1781
bedee953
PP
17822012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
1783
1784 [BZ #208]
1785 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
1786 in instead of returning them. Return void.
1787 (__libc_mallinfo): Accumulate over all arenas.
1788 (__malloc_stats): Adjust for change in int_mallinfo interface.
1789
61653dfb
RM
17902012-05-16 Roland McGrath <roland@hack.frob.com>
1791
30b99d79
RM
1792 [BZ #10375]
1793 * configure.in (NM): Add AC_CHECK_TOOL for it.
1794 (libc_extra_cflags): New substituted variable.
1795 Check for -fstack-protector being used implicitly.
1796 * configure: Regenerated.
1797 * config.make.in (config-extra-cflags): New variable,
1798 gets @libc_extra_cflags@.
1799 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
1800
61653dfb
RM
1801 [BZ #10375]
1802 * configure.in: Check for _FORTIFY_SOURCE being predefined.
1803 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
1804 * configure: Regenerated.
1805 * config.make.in (CPPUNDEFS): New substituted variable.
1806 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
1807 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
1808 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
1809
661768bb
L
18102012-05-16 H.J. Lu <hongjiu.lu@intel.com>
1811
1812 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
1813 (mq_attr): Use __syscall_slong_t.
1814
d4261567
L
18152012-05-16 H.J. Lu <hongjiu.lu@intel.com>
1816
1817 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
1818 Check __x86_64__ instead of __WORDSIZE.
1819 (_STAT_VER_LINUX): Likewise.
1820 (stat): Check __x86_64__ instead of __WORDSIZE. Use
1821 __syscall_ulong_t and __syscall_slong_t.
1822 (stat64): Likewise.
1823
cf3ff365
L
18242012-05-16 H.J. Lu <hongjiu.lu@intel.com>
1825
1826 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
1827
76cf3e4d
L
18282012-05-16 H.J. Lu <hongjiu.lu@intel.com>
1829
1830 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
1831
a637753a
L
18322012-05-16 H.J. Lu <hongjiu.lu@intel.com>
1833
1834 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
1835 __syscall_ulong_t.
1836
d5e05119
L
1837 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
1838 include <bits/wordsize.h>. Check __x86_64__ instead of
1839 __WORDSIZE.
1840 (greg_t): Use "__extension__ long long int" if __x86_64__ is
1841 defined.
1842 (mcontext_t): Replace "unsigned long" with "unsigned long long".
1843
f62ee380
L
1844 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
1845 include <bits/wordsize.h>. Check __x86_64__ instead of
1846 __WORDSIZE.
1847 (user_regs_struct): Use "__extension__ unsigned long long"
1848 instead of "unsigned long" if __x86_64__ is defined.
1849 (user): Likewise. Pad after pointer field if __ILP32__ is
1850 defined.
1851
4e124ced
JM
18522012-05-16 Joseph Myers <joseph@codesourcery.com>
1853
6a3951a0
JM
1854 * configure.in (makeinfo): Require version 4.5 or later. Allow
1855 versions 5 to 9.
1856 * configure: Regenerated.
1857 * manual/install.texi (texinfo): Increase version requirement to
1858 4.5 or later.
1859 * INSTALL: Regenerated.
1860
4e124ced
JM
1861 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
1862
953ca31a
L
18632012-05-16 H.J. Lu <hongjiu.lu@intel.com>
1864
1865 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
1866
617aca05
L
1867 * sysdeps/x86_64/x32/ffs.c: New file.
1868
5762f7ae
L
1869 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
1870 __syscall_ulong_t.
1871 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
1872 defined. Use __syscall_ulong_t.
1873 (shminfo): Use __syscall_ulong_t.
1874 (shm_info): Likewise.
1875
a26b6856
L
1876 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
1877 __syscall_ulong_t.
1878
cb2b9ef7
L
1879 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
1880 <bits/wordsize.h>.
1881 (msgqnum_t): Use __syscall_ulong_t.
1882 (msglen_t): Likewise.
1883 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
1884 __syscall_ulong_t.
1885
34683bb0
L
1886 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
1887 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
1888
84a68786
L
1889 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
1890
48baa5f1
L
1891 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
1892 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
1893
180be88b
L
1894 * sysvipc/sys/msg.h (msgbuf): Replace long int with
1895 __syscall_slong_t.
1896
5e90c8ad
L
1897 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
1898 include <bits/wordsize.h>. Check __x86_64__ instead of
1899 __WORDSIZE.
1900
23dfb58b
L
1901 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
1902 "unsigned long long int" if __x86_64__ is defined.
1903 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
1904
ce5d54b0
L
1905 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
1906 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
1907 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
1908
13dc9eac
L
1909 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
1910 <stdint.h>.
1911 (GET_PC): Cast to uintptr_t first.
1912 (GET_FRAME): Likewise.
1913 (GET_STACK): Likewise.
1914
a7895d15
L
1915 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
1916 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
1917 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
1918 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
1919 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
1920 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
1921 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
1922 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
1923 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
1924 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
1925 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
1926 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
1927 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
1928 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
1929 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
1930 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
1931 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
1932 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
1933 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
1934 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
1935 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
1936 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
1937 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
1938 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
1939 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
1940 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
1941 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
1942 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
1943 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
1944
656416c9
AS
19452012-05-16 Andreas Schwab <schwab@linux-m68k.org>
1946
5bd66283
AS
1947 * Makerules (+depfiles): Also collect depfiles from .oS in
1948 $(extra-objs).
1949 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
1950 .oS, $(libnldbl-routines)).
1951
656416c9
AS
1952 * Makerules (native-compile-mkdep-flags): Define.
1953 * sunrpc/Makefile (extra-objs): Add $(addprefix
1954 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
1955 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
1956 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
1957 calling $(make-target-directory).
1958
a46f2169
L
19592012-05-15 H.J. Lu <hongjiu.lu@intel.com>
1960
1961 * bits/types.h (__snseconds_t): Removed.
1962 * time/time.h (struct timespec): Replace __snseconds_t with
1963 __syscall_slong_t.
1964 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
1965 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
1966 Likewise.
1967 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
1968 (__SNSECONDS_T_TYPE): Likewise.
1969 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
1970 (__SNSECONDS_T_TYPE): Likewise.
1971 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
1972 (__SNSECONDS_T_TYPE): Likewise.
1973
6af6528b
L
19742012-05-15 H.J. Lu <hongjiu.lu@intel.com>
1975
1976 * sysdeps/mach/hurd/bits/typesizes.h
1977 (__SYSCALL_SLONG_TYPE): New macro.
1978 (__SYSCALL_ULONG_TYPE): Likewise.
1979
de986b56
L
19802012-05-15 H.J. Lu <hongjiu.lu@intel.com>
1981
1982 * bits/types.h (__syscall_slong_t): New type.
1983 (__syscall_ulong_t): Likewise.
1984
1985 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
1986 (__SYSCALL_ULONG_TYPE): Likewise.
1987 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
1988 (__SYSCALL_SLONG_TYPE): Likewise.
1989 (__SYSCALL_ULONG_TYPE): Likewise.
1990 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
1991 (__SYSCALL_SLONG_TYPE): Likewise.
1992 (__SYSCALL_ULONG_TYPE): Likewise.
1993 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
1994 (__SYSCALL_SLONG_TYPE): Likewise.
1995 (__SYSCALL_ULONG_TYPE): Likewise.
1996
85736dc7
L
19972012-05-15 H.J. Lu <hongjiu.lu@intel.com>
1998
1999 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
2000 Add sigaltstack-offsets.sym.
2001 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
2002 <sigaltstack-offsets.h>.
2003 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
2004 longjmp_msg pointer.
2005 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
2006 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
2007 signal stack.
2008 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
2009
cc03b296
JM
20102012-05-15 Joseph Myers <joseph@codesourcery.com>
2011
a9538892
JM
2012 * elf/stackguard-macros.h: Remove file.
2013 * sysdeps/generic/stackguard-macros.h: New file.
2014 * sysdeps/i386/stackguard-macros.h: Likewise.
2015 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
2016 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
2017 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
2018 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
2019 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
2020 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
2021 * sysdeps/x86_64/stackguard-macros.h: Likewise.
2022 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
2023 <elf/stackguard-macros.h>.
2024
cc03b296
JM
2025 [BZ #14109]
2026 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
2027 __aligned__ in attribute.
2028 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
2029 (gregset_t): Likewise.
2030
93171016
L
20312012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2032
2033 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
2034 * sysdeps/x86_64/64/Implies-after: Here. New file.
2035 * sysdeps/x86_64/x32/Implies-after: New file.
2036
d86813a0
L
20372012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2038
2039 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
2040 and access return value for _dl_profile_fixup. Use R10_LP to
2041 load frame size.
2042
2953ec75
L
20432012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2044
2045 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
2046
3b550e9e
L
20472012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2048
2049 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
2050 * sysdeps/x86_64/x32/sysdep.h: New file.
2051
eda41706
L
20522012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2053
2054 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
2055 * sysdeps/x86_64/setjmp.S: Likewise.
2056
9ea01d93
AZ
20572012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2058
2059 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
2060 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
2061 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
2062 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
2063 remove unused global constant.
2064
02a91938
CM
20652012-05-15 Chris Metcalf <cmetcalf@tilera.com>
2066
2067 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
2068 include of <not-cancel.h>.
2069
6540185f
RM
20702012-05-15 Roland McGrath <roland@hack.frob.com>
2071
2072 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
2073
509072a0
AJ
20742012-05-15 Jeff Law <law@redhat.com>
2075 Andreas Jaeger <aj@suse.de>
2076
2077 [BZ #13594]
2078 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
2079 out from...
2080 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
2081 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
2082 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
2083 code changing __hst_map_handle.map.
2084
ba75122d
RM
20852012-05-15 Roland McGrath <roland@hack.frob.com>
2086
2087 * configure.in (sysnames): Look for Implies-before and Implies-after
2088 files.
2089 * configure: Regenerated.
2090
890d8bd8
L
20912012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2092
2093 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
2094 8-byte data alignment with LP_SIZE alignment.
2095
f6ee6623
L
20962012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2097
2098 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
2099 into R10_LP.
2100
ea2626f6
L
21012012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2102
2103 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
2104
085f715e
L
21052012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2106
2107 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
2108 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
2109 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
2110 Likewise.
2111 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
2112
be8498fc
L
21132012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2114
2115 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
2116 (stackinfo_sub_sp): Likewise.
2117
70bc83b9
L
21182012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2119
2120 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
2121 RAX_LP.
2122
9bc0b730
L
21232012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2124
2125 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
2126 into R*_LP.
2127
6d2850e7
L
21282012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2129
2130 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
2131 sizes into R*_LP.
2132
3cb84561
L
21332012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2134
2135 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
2136
54e2ed81
L
21372012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2138
2139 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
2140 into R11_LP and load __x86_64_shared_cache_size_half into
2141 R8_LP.
2142
8a17f349
L
21432012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2144
2145 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
2146 R8_LP.
2147
777b1eea
AZ
21482012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2149
2150 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
2151 logb for POWER7.
2152 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
2153 logbf for POWER7.
2154 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
2155 logbl for POWER7.
2156 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
2157 powerpc32/power7/fpu/s_logb.c via #include.
2158 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
2159 powerpc32/power7/fpu/s_logbf.c via #include.
2160 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
2161 powerpc32/power7/fpu/s_logbl.c via #include.
2162
d20d4ac2
JM
21632012-05-15 Joseph Myers <joseph@codesourcery.com>
2164
2165 * README.libm: Remove file.
2166
6cdef1ab
L
21672012-05-14 H.J. Lu <hongjiu.lu@intel.com>
2168
2169 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
2170 count for x32. Use R*_LP and omit operand-size suffix.
2171
0b254d8f
L
21722012-05-14 H.J. Lu <hongjiu.lu@intel.com>
2173
2174 * shlib-versions: Move x86_64-.*-linux.* entries to ...
2175 * sysdeps/x86_64/64/shlib-versions: Here. New file.
2176 * sysdeps/x86_64/x32/shlib-versions: New file.
2177
ceb809dc
RM
21782012-05-14 Roland McGrath <roland@hack.frob.com>
2179
2180 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
2181 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
2182 Use _dl_fatal_printf instead.
2183
37f1abd4
JM
21842012-05-14 Joseph Myers <joseph@codesourcery.com>
2185
2186 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
2187 set if not set by the user. Do not allow for being unset.
2188 * sysdeps/unix/sysv/linux/configure: Regenerated.
2189
11de3a33
L
21902012-05-14 H.J. Lu <hongjiu.lu@intel.com>
2191
2192 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
2193 the `q' suffix from lea and replace .quad with ASM_ADDR.
2194
e02f153a
L
21952012-05-14 H.J. Lu <hongjiu.lu@intel.com>
2196
2197 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
2198 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
2199 instead of $17.
2200 (PTR_DEMANGLE): Likewise.
2201
520ae0fd
L
22022012-05-14 H.J. Lu <hongjiu.lu@intel.com>
2203
2204 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
2205 (LP_OP): Likewise.
2206 (ASM_ADDR): Likewise.
2207 (RAX_LP): Likewise.
2208 (RBP_LP): Likewise.
2209 (RBX_LP): Likewise.
2210 (RCX_LP): Likewise.
2211 (RDI_LP): Likewise.
2212 (RSI_LP): Likewise.
2213 (RSP_LP): Likewise.
2214 (R8_LP): Likewise.
2215 (R9_LP): Likewise.
2216 (R10_LP): Likewise.
2217 (R10_LP): Likewise.
2218 (R11_LP): Likewise.
2219 (R12_LP): Likewise.
2220 (R13_LP): Likewise.
2221 (R14_LP): Likewise.
2222 (R15_LP): Likewise.
2223
b985be81
L
22242012-05-14 H.J. Lu <hongjiu.lu@intel.com>
2225
2226 * sysdeps/x86_64/x32/dl-machine.h: New file.
2227
6a4888ff
AJ
22282012-05-14 Andreas Jaeger <aj@suse.de>
2229
2230 * manual/Makefile (subdir): Remove export of subdir.
2231 (all): Remove target.
2232 (.PHONY): Remove all from list.
2233 (mkinstalldirs): Remove.
2234 (.PHONY): Remove installdirs from list.
2235 ($(inst_infodir)/libc.info): Use make-target-directory.
2236 (installdirs): Remove.
2237 (subdir_%): Remove.
2238 (glibc-targets): Remove.
2239 (lib): Remove.
2240 (stubs): Remove.
2241 ($(objpfx)stubs ../po/manual.pot): Remove.
2242 ($(objpfx)stamp%): Remove.
2243 (make-target-directory): Remove.
2244 (subdir_install): Remove.
2245 (routines): Remove.
2246 (aux): Remove.
2247 (sources): Remove.
2248 (objects): Remove.
2249 (headers): Remove.
2250
2251 [BZ #13750]
2252 * manual/.gitignore: Remove, it's not needed anymore.
2253 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
2254 all files in it.
2255 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
2256 directory.
2257 (texis): Renamed to $(objpfx)texis.
2258 (texis-path): New, contains path to generated files.
2259 (chapters.%): Use texis-path for complete path, add extra argument
2260 libc-texinfo.sh.
2261 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
2262 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
2263 (summary,texi, stamp-summary): Use complete path of
2264 files. Generate files in build dir.
2265 (dir-add.texi): Build in build dir.
2266 (libm-err.texi,stamp-libm-err): Likewise.
2267 (version.texi, stamp-version): Likewise.
2268 (.%c.texi): Likewise.
2269 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
2270 (mostlyclean): Remove target.
2271 (realclean): Remove target.
2272 (generated): Add new variable with contents from mostlyclean and
2273 realclean, remove entries duplicated in common-mostlyclean, add
2274 stamp-libm-err and stamp-version.
2275 (generated-dirs): Add libc directory.
2276 ($(inst_infodir)/libc.info): Install files from build dir.
2277
2278 * manual/install.texi (Configuring and compiling): Adjust since
2279 the info files are not part of the tar ball anymore.
2280
7ac77294
AJ
22812012-05-14 Andreas Jaeger <aj@suse.de>
2282
2283 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
2284 variable.
2285
ffb7875d
JM
22862012-05-14 Joseph Myers <joseph@codesourcery.com>
2287
2288 [BZ #13717]
2289 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
2290 to 2.2.0 where earlier.
2291 * sysdeps/unix/sysv/linux/configure: Regenerated.
2292 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
2293 Remove conditional code.
2294 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
2295 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
2296 Remove conditional code.
2297 [!__NR_lchown]: Likewise.
2298 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
2299 [__NR_lchown]: Likewise.
2300 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
2301 comment referencing __ASSUME_LCHOWN_SYSCALL.
2302 * sysdeps/unix/sysv/linux/i386/sigaction.c
2303 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
2304 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
2305 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
2306 Remove conditional code.
2307 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
2308 (__protocol_available): Remove #if 0 code.
2309 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
2310 conditional code.
2311 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
2312 * sysdeps/unix/sysv/linux/kernel-features.h
2313 (__ASSUME_GETCWD_SYSCALL): Don't define.
2314 (__ASSUME_REALTIME_SIGNALS): Likewise.
2315 (__ASSUME_PREAD_SYSCALL): Likewise.
2316 (__ASSUME_PWRITE_SYSCALL): Likewise.
2317 (__ASSUME_POLL_SYSCALL): Likewise.
2318 (__ASSUME_LCHOWN_SYSCALL): Likewise.
2319 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
2320 non-SPARC.
2321 (__ASSUME_SIOCGIFNAME): Don't define.
2322 (__ASSUME_MSG_NOSIGNAL): Likewise.
2323 (__ASSUME_SENDFILE): Define unconditionally.
2324 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
2325 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
2326 conditional code.
2327 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
2328 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
2329 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
2330 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
2331 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
2332 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
2333 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
2334 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
2335 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
2336 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
2337 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
2338 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
2339 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
2340 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
2341 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
2342 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
2343 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
2344 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
2345 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
2346 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
2347 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
2348 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
2349 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
2350 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
2351 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
2352 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
2353 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
2354 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
2355 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
2356 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
2357 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
2358 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
2359 Remove conditional code.
2360 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
2361 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
2362 Remove conditional code.
2363 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
2364 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
2365 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
2366 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
2367 Remove conditional code.
2368 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
2369 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
2370 Remove conditional code.
2371 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
2372 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
2373 Remove conditional code.
2374 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
2375 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
2376 Remove conditional code.
2377 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
2378 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
2379 Remove conditional code.
2380 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
2381 * sysdeps/unix/sysv/linux/sh/pwrite64.c
2382 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
2383 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
2384 * sysdeps/unix/sysv/linux/sigaction.c
2385 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
2386 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
2387 * sysdeps/unix/sysv/linux/sigpending.c
2388 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
2389 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
2390 * sysdeps/unix/sysv/linux/sigprocmask.c
2391 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
2392 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
2393 * sysdeps/unix/sysv/linux/sigsuspend.c
2394 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
2395 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
2396 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
2397 (__libc_missing_rt_sigs): Remove.
2398 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
2399 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
2400 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
2401 Remove conditional code.
2402 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
2403 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
2404 return 1.
2405 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
2406 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
2407 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
2408 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
2409
1bfb7291
AJ
24102012-05-14 Andreas Jaeger <aj@suse.de>
2411
caae5a81
AJ
2412 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
2413 it's not used in glibc.
2414 (__coshm1): Likewise.
2415 (__acosh1p): Likewise.
2416 (__sgn): Likewise.
2417
1bfb7291
AJ
2418 * manual/string.texi (Copying and Concatenation): Add missing
2419 variable in concat example.
2420 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
2421
c044d724
L
24222012-05-14 H.J. Lu <hongjiu.lu@intel.com>
2423
144c5467 2424 [BZ #14103]
c044d724
L
2425 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
2426 __builtin_clzl with __builtin_clzll.
2427
2523c62b
L
24282012-05-14 H.J. Lu <hongjiu.lu@intel.com>
2429
2430 [BZ #14104]
2431 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
2432 libc_freeres_ptr.
2433
d7bb4c42
LD
24342012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
2435
2436 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
2437 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
2438 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
2439 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
2440
9dc4e1fb
MF
24412012-05-14 Mike Frysinger <vapier@gentoo.org>
2442
2443 * NEWS: Update ia64 info.
2444
c7df0112
AS
24452012-05-12 Andreas Schwab <schwab@linux-m68k.org>
2446
2447 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
2448 used as bcopy.
2449
dc70356c
TS
24502012-05-12 Thomas Schwinge <thomas@codesourcery.com>
2451
2452 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
2453 * sysdeps/unix/syscalls.list (dup3): Likewise.
2454 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
2455 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
2456
9fb1a21f
L
24572012-05-11 H.J. Lu <hongjiu.lu@intel.com>
2458
2459 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
2460 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
2461
4822a2a5
L
24622012-05-11 H.J. Lu <hongjiu.lu@intel.com>
2463
2464 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
2465 thread pointer.
2466 (TLS_IE): Use mov/add instead of movq/addq to load thread
2467 pointer.
2468 (TLS_GD_PREFIX): New.
2469 (TLS_GD): Use it.
2470
842b81d6
DM
24712012-05-11 David S. Miller <davem@davemloft.net>
2472
2473 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
2474 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
2475 (_FPU_SETCW): Likewise.
2476
1cf463cd
L
24772012-05-10 H.J. Lu <hongjiu.lu@intel.com>
2478
2479 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
2480 is 32-byte aligned.
2481
60cc4a18
AS
24822012-05-11 Andreas Schwab <schwab@linux-m68k.org>
2483
2484 [BZ #11837]
2485 * iconvdata/gb18030.c: Update tables.
2486 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
2487 characters specially.
2488 (BODY for TO_LOOP): Add encoding of missing ranges.
2489
febb44a4
TS
24902012-05-11 Thomas Schwinge <thomas@codesourcery.com>
2491
2492 [BZ #13673]
2493 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
2494 * sysdeps/mach/hurd/dup3.c: Likewise.
2495 * sysdeps/mach/hurd/readlinkat.c: Likewise.
2496 * sysdeps/powerpc/memmove.c:: Likewise.
2497
0a10fb9e
L
24982012-05-10 H.J. Lu <hongjiu.lu@intel.com>
2499
2500 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
2501 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
2502
df8a552f
L
25032012-05-10 H.J. Lu <hongjiu.lu@intel.com>
2504
2505 * elf/elf.h (R_X86_64_RELATIVE64): New.
2506 (R_X86_64_NUM): Updated.
2507 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
2508 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
2509 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
2510 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
2511 tst-quad1pie tst-quad2pie
2512 (modules-names): Add tst-quadmod1 tst-quadmod2.
2513 ($(objpfx)tst-quad1): New dependency.
2514 ($(objpfx)tst-quad2): Likewise.
2515 ($(objpfx)tst-quad1pie): Likewise.
2516 ($(objpfx)tst-quad2pie): Likewise.
2517 * sysdeps/x86_64/tst-quad1.c: New file.
2518 * sysdeps/x86_64/tst-quad1pie.c: New file.
2519 * sysdeps/x86_64/tst-quad2.c: Likewise.
2520 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
2521 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
2522 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
2523 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
2524 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
2525
f34d6f84
ST
25262012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
2527
f42d41d1
ST
2528 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
2529 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
2530 * streams/stropts.h (t_scalar_t): Define type.
2531
3c3571fc
ST
2532 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
2533 (_PATH_PRESERVE): Set to "/var/lib".
2534 (_PATH_RWHODIR): Set to "/var/spool/rwho".
2535
61f06bd3
ST
2536 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
2537 instead of int.
2538
918d4d71
ST
2539 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
2540 if __dir_mkfile succeeded.
2541
f34d6f84
ST
2542 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
2543 checking for _hurd_dtablesize. Unlock it right after having
2544 finished _hurd_dtable allocation.
2545
10589b4a
TS
25462012-05-10 Thomas Schwinge <thomas@schwinge.name>
2547
674cdbc7
TS
2548 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
2549 * sysdeps/mach/hurd/configure: Regenerated.
2550 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
2551 special-casing to...
2552 * sysdeps/gnu/configure.in: ... this new file.
2553 * sysdeps/unix/sysv/linux/configure: Regenerated.
2554 * sysdeps/gnu/configure: New generated file.
2555
8e41b99f
TS
2556 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
2557 for Linux: use nsec instead of usec, as well as:
2558 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
2559 members of type struct timespec.
2560 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
2561 New macros.
2562 (struct stat64): Likewise.
2563 (_STATBUF_ST_NSEC): New macro.
2564 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
2565
10589b4a
TS
2566 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
2567 __strtoul_internal rather than strtoul.
2568
63643c85
PT
25692012-05-10 Pino Toscano <toscano.pino@tiscali.it>
2570
2571 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
2572 and reject them.
2573
3faebe6a
ST
25742012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
2575
2576 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
2577 which preserves existing values.
2578 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
2579
c6474b07
PT
25802012-05-10 Pino Toscano <toscano.pino@tiscali.it>
2581
2582 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
2583 TIMEOUT values. Return EINVAL for NFDS values either negative or
2584 greater than FD_SETSIZE.
2585
1043890b
ST
25862012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
2587
2588 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
2589 allocated, call __vm_protect to finish enabling the existing space, and
2590 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
2591 allocate the remainder.
2592
37ed8b9b
PT
25932012-05-10 Pino Toscano <toscano.pino@tiscali.it>
2594
2595 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
2596 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
2597
db653660
ST
25982012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
2599
37ed8b9b
PT
2600 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
2601 sysdeps/mach/hurd/readlink.c.
b29d4053 2602
db653660
ST
2603 * posix/tst-sysconf.c (posix_options): Only use
2604 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
2605 _POSIX_SYNCHRONIZED_IO when they are defined
2606 * sysdeps/mach/hurd/bits/posix_opt.h:
2607 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
2608 (_XOPEN_REALTIME): Undefine macro.
2609 (_XOPEN_REALTIME_THREADS): Undefine macro.
2610 (_XOPEN_SHM): Undefine macro.
2611 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
2612 macro to -1.
2613 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
2614 macro to -1.
2615 (_POSIX_ASYNC_IO): Undefine macro.
2616 (_POSIX_PRIORITIZED_IO): Undefine macro.
2617 (_POSIX_SPIN_LOCKS): Define macro to -1.
2618
ee16e894
ST
2619 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
2620 SA_NODEFER, SA_RESETHAND.
2621 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
2622 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
2623 F_DUPFD_CLOEXEC.
2624
6103ae3b
TS
26252012-05-10 Thomas Schwinge <thomas@schwinge.name>
2626
2627 * elf/Makefile (pldd-modules): Define unconditionally.
2628
80b4e5f3
TS
26292012-05-10 Thomas Schwinge <thomas@schwinge.name>
2630
2631 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
2632
edadcbd6
ST
26332012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
2634
2635 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
2636 Return ENOENT when name is empty.
2637 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
2638
80694780
TS
26392012-05-10 Thomas Schwinge <thomas@schwinge.name>
2640
1792c087
TS
2641 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
2642
80694780
TS
2643 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
2644
6b645f0d
ST
26452012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
2646
80694780
TS
2647 Fix mlock in all cases except non-readable pages.
2648 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
2649 instead of VM_PROT_ALL as parameter to __vm_wire function.
66cbbebc 2650
6b645f0d
ST
2651 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
2652 (__mkdir): When path is `/', just fail with EEXIST.
2653 * sysdeps/mach/hurd/mkdirat.c: Likewise.
2654
e468f8a3
TS
26552012-05-10 Thomas Schwinge <thomas@schwinge.name>
2656
2657 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
2658 <sys/uio.h> (for writev).
2659 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
2660 and <sys/param.h> (for MIN).
2661
a4186cff
PT
26622012-05-10 Pino Toscano <toscano.pino@tiscali.it>
2663
2664 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
2665 REQUESTED_TIME. Properly set the remaining time and return EINTR
2666 if interrupted.
2667
510bbf14
TS
26682012-05-10 Thomas Schwinge <thomas@schwinge.name>
2669
2670 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
2671 Depend on against $(link-rpcuserlibs).
2672
5d5722e8
ST
26732012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
2674
a4186cff
PT
2675 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
2676 (__libc_stack_end): Do not use attribute_relro.
2677 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
2678 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
5d5722e8 2679 to libthread-provided value.
a4186cff
PT
2680 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
2681 attribute_relro.
5d5722e8 2682
37233df9
TS
26832012-05-10 Thomas Schwinge <thomas@schwinge.name>
2684
be971a2b
TS
2685 [BZ #3748]
2686 * bits/libc-lock.h (__libc_once_get): New macro.
2687 * sysdeps/mach/bits/libc-lock.h: Likewise.
2688 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
2689 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
2690 instead of using implementation details.
2691
37233df9
TS
2692 * libio/fileops.c: Unconditionally include <kernel-features.h>.
2693 * libio/freopen.c: Likewise.
2694 * libio/freopen64.c: Likewise.
2695 * misc/syslog.c: Likewise.
2696 * nscd/connections.c: Likewise.
2697 * nscd/netgroupcache.c: Likewise.
2698 * sysdeps/posix/getcwd.c: Likewise.
2699
38de94a5
RM
27002012-05-10 Roland McGrath <roland@hack.frob.com>
2701
2702 * math/w_ilogbf.c: Add #include <limits.h>.
2703
67530489
ST
27042012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
2705
a4186cff 2706 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
bbc49098
ST
2707 path instead of returning without unlocking.
2708
67530489
ST
2709 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
2710 immediate-write ioctls.
2711 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
2712
5aa3a74a
TS
27132012-05-10 Thomas Schwinge <thomas@schwinge.name>
2714
18bad2ae
TS
2715 * sysdeps/mach/hurd/i386/init-first.c (init): Use
2716 __builtin_frame_address instead of making assumptions about the
2717 location of the return address relative to DATA. Force early load of
2718 the return address.
2719 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
2720 __builtin_frame_address.
2721
5aa3a74a
TS
2722 dup3 for GNU Hurd.
2723 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
2724 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
2725 implement dup3 and do some further code clean-ups.
2726 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
2727 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
2728
ecd0de9a
ST
27292012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
2730
cd9fa985
ST
2731 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
2732
a4186cff
PT
2733 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
2734 HURD_CRITICAL_END around holding _hurd_dtable_lock.
2735 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
2736 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
2737 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
2738 d->port.lock.
802ca5a5 2739
a4186cff
PT
2740 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
2741 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
2742 when handler == SIG_ERR, not when handler != SIG_ERR.
ecd0de9a 2743
bcf55240
TS
27442012-05-10 Thomas Schwinge <thomas@schwinge.name>
2745
6960eb42
TS
2746 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
2747 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
2748 definitions.
2749
eb43375f
TS
2750 accept4 for GNU Hurd.
2751 * include/sys/socket.h (__libc_accept4): New prototype.
2752 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
2753 to implement __libc_accept4.
2754 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
2755 __libc_accept4.
2756 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
2757
bcf55240
TS
2758 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
2759 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
2760 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
2761 signal-defines.sym.
2762
6178c55b
ST
27632012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
2764
a4186cff 2765 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
6178c55b 2766
6f080c2f
TS
27672012-05-10 Thomas Schwinge <thomas@schwinge.name>
2768
2769 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
2770 assertion on O_CLOEXEC flag.
2771 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
2772 * hurd/intern-fd.c: Likewise.
2773 * hurd/port2fd.c: Likewise.
2774
bcfe3a54
ST
27752012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
2776
2777 [BZ #3906]
2778 * bits/in.h (IPV6_PKTINFO): Define new macro.
2779 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
2780
89c9aa49
AZ
27812012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2782
2783 [BZ #13954]
2784 [BZ #13955]
2785 [BZ #13956]
2786 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
2787 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
2788 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
2789 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
2790 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
2791 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
2792 * math/libm-test.inc (logb_test) : Additional logb tests.
2793
021db4be
AJ
27942012-05-09 Andreas Schwab <schwab@linux-m68k.org>
2795 Andreas Jaeger <aj@suse.de>
2796
2797 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
2798 * configure: Regenerated.
2799 * config.h.in (LINK_OBSOLETE_RPC): New macro.
2800 * config.make.in (link-obsolete-rpc): New substituted variable.
2801 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
2802 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
2803 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
2804 (shared-only-routines): Don't set it under [link-obsolete-rpc],
2805 so that libc.a contains the symbols.
2806 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
2807 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
2808 * sunrpc/auth_none.c: Likewise.
2809 * sunrpc/auth_unix.c: Likewise.
2810 * sunrpc/authdes_prot.c: Likewise.
2811 * sunrpc/authuxprot.c: Likewise.
2812 * sunrpc/clnt_gen.c: Likewise.
2813 * sunrpc/clnt_perr.c: Likewise.
2814 * sunrpc/clnt_raw.c: Likewise.
2815 * sunrpc/clnt_simp.c: Likewise.
2816 * sunrpc/clnt_tcp.c: Likewise.
2817 * sunrpc/clnt_udp.c: Likewise.
2818 * sunrpc/clnt_unix.c: Likewise.
2819 * sunrpc/des_crypt.c: Likewise.
2820 * sunrpc/des_soft.c: Likewise.
2821 * sunrpc/get_myaddr.c: Likewise.
2822 * sunrpc/key_call.c: Likewise.
2823 * sunrpc/key_prot.c: Likewise.
2824 * sunrpc/netname.c: Likewise.
2825 * sunrpc/pm_getmaps.c: Likewise.
2826 * sunrpc/pm_getport.c: Likewise.
2827 * sunrpc/pmap_clnt.c: Likewise.
2828 * sunrpc/pmap_prot.c: Likewise.
2829 * sunrpc/pmap_prot2.c: Likewise.
2830 * sunrpc/pmap_rmt.c: Likewise.
2831 * sunrpc/publickey.c: Likewise.
2832 * sunrpc/rpc_cmsg.c: Likewise.
2833 * sunrpc/rpc_common.c: Likewise.
2834 * sunrpc/rpc_dtable.c: Likewise.
2835 * sunrpc/rpc_prot.c: Likewise.
2836 * sunrpc/rpc_thread.c: Likewise.
2837 * sunrpc/rtime.c: Likewise.
2838 * sunrpc/svc.c: Likewise.
2839 * sunrpc/svc_auth.c: Likewise.
2840 * sunrpc/svc_raw.c: Likewise.
2841 * sunrpc/svc_run.c: Likewise.
2842 * sunrpc/svc_tcp.c: Likewise.
2843 * sunrpc/svc_udp.c: Likewise.
2844 * sunrpc/svc_unix.c: Likewise.
2845 * sunrpc/svcauth_des.c: Likewise.
2846 * sunrpc/xcrypt.c: Likewise.
2847 * sunrpc/xdr.c: Likewise.
2848 * sunrpc/xdr_array.c: Likewise.
2849 * sunrpc/xdr_float.c: Likewise.
2850 * sunrpc/xdr_intXX_t.c: Likewise.
2851 * sunrpc/xdr_mem.c: Likewise.
2852 * sunrpc/xdr_rec.c: Likewise.
2853 * sunrpc/xdr_ref.c: Likewise.
2854 * sunrpc/xdr_sizeof.c: Likewise.
2855 * sunrpc/xdr_stdio.c: Likewise.
2856
b5c086a2
RM
28572012-05-10 Roland McGrath <roland@hack.frob.com>
2858
2859 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
2860 change. Update copyright years.
2861
6d74dd09
JM
28622012-05-10 Joseph Myers <joseph@codesourcery.com>
2863
2864 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
2865
28e72501
MK
28662012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
2867 Joseph Myers <joseph@codesourcery.com>
2868 Paul Pluzhnikov <ppluzhnikov@google.com>
2869
2870 [BZ #14012]
2871 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
2872 requiring rpcgen.
2873 [cross-compiling] (extra-libs): Likewise.
2874 [cross-compiling] (extra-libs-others): Likewise.
2875 [cross-compiling] (librpcsvc-routines): Likewise.
2876 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
2877 [cross-compiling] (omit-deps): Likewise.
2878 (sunrpc-CPPFLAGS): New variable.
2879 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
2880 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
2881 (cross-rpcgen-objs): New variable.
2882 (extra-objs): Append $(cross-rpcgen-objs).
2883 ($(cross-rpcgen-objs)): New rule.
2884 ($(objpfx)cross-rpcgen): Likewise.
2885 (rpcgen-cmd): Define to use $(built-program-file). Expand
2886 comment.
2887 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
2888 ($(objpfx)x%.stmp): Likewise.
2889 * sunrpc/proto.h [IS_IN_build] (_): Define.
2890 [IS_IN_build] (_libc_intl_domainname): Likewise.
2891
c8c59454
L
28922012-05-10 H.J. Lu <hongjiu.lu@intel.com>
2893
2894 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
2895 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
2896 and R_X86_64_TPOFF64.
2897
6f27cd16
JM
28982012-05-10 Joseph Myers <joseph@codesourcery.com>
2899
2900 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
2901 sysdeps/unix/sysv/syscalls.list.
2902 (stime): Likewise.
2903 (utime): Likewise.
2904 * sysdeps/unix/sysv/syscalls.list: Remove file.
2905
02467e1c
PE
29062012-05-10 Paul Eggert <eggert@cs.ucla.edu>
2907
2908 [BZ #3440]
2909 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
2910 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
2911 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
2912 (__LC_IDENTIFICATION): Make these macros useful in #if
2913 expressions, as required by C99.
2914
da392631
AS
29152012-05-10 Andreas Schwab <schwab@linux-m68k.org>
2916
2917 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
2918 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
2919 after this.
2920
8115f29b
L
29212012-05-09 H.J. Lu <hongjiu.lu@intel.com>
2922
2923 * stdlib/longlong.h: Updated from GCC.
2924
bdd74070
AJ
29252012-05-09 Andreas Jaeger <aj@suse.de>
2926
edfe0dbe
AJ
2927 * nscd/nscd.c (run_modes): Make named enum, reorder so that
2928 default is first entry.
2929 (run_mode): Set type.
2930 (main): Remove informal message about syslog.
2931 (options): Fix typo.
2932
bcfe3a54
ST
2933 [BZ #14053]
2934 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
bdd74070 2935 to asm.
bcfe3a54
ST
2936 (lrint): Likewise.
2937 (llrintf): Likewise.
2938 (llrint): Likewise.
2939 (rint): Likewise.
2940 (rintf): Likewise.
2941 (nearbyint): Likewise.
2942 (nearbyintf): Likewise.
bdd74070 2943
91d8d69e
AJ
29442012-05-09 Andreas Jaeger <aj@suse.de>
2945 Pedro Alves <palves@redhat.com>
2946
2947 * nscd/nscd.c (run_mode): Use enum.
2948 (main): Cleanup coding style issue.
2949
bb90b80b
AJ
29502012-05-09 Alexandre Oliva <aoliva@redhat.com>
2951 Andreas Jaeger <aj@suse.de>
2952
bcfe3a54
ST
2953 * nscd/nscd.c (go_background): Replaced with...
2954 (run_mode): ... this.
bb90b80b 2955 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
bcfe3a54
ST
2956 (options): Add -F --foreground.
2957 (main): Implement it.
2958 (parse_opt): Parse it.
bb90b80b 2959
1a4b75a1
AJ
29602012-05-09 Andreas Jaeger <aj@suse.de>
2961
2962 [BZ #14083]
2963 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
2964 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
2965 -Wconversion warning.
2966 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
2967 Likewise.
2968
b1cc2472
JM
29692012-05-09 Joseph Myers <joseph@codesourcery.com>
2970
2971 * conform/data/locale.h-data (NULL): Use macro-constant. Require
2972 == 0.
2973 (LC_ALL): Use macro-int-constant.
2974 (LC_COLLATE): Likewise.
2975 (LC_CTYPE): Likewise.
2976 (LC_MESSAGES): Likewise.
2977 (LC_MONETARY): Likewise.
2978 (LC_NUMERIC): Likewise.
2979 (LC_TIME): Likewise.
2980 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
2981 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
2982 [ISO || ISO99 || ISO11] (*_t): Do not allow.
2983 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
2984 Specify type.
2985 [C99-based standards] (float_t): Expect type.
2986 [C99-based standards] (double_t): Expect type.
2987 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
2988 type.
2989 [C99-based standards] (HUGE_VALL): Likewise.
2990 [C99-based standards] (INFINITY): Likewise.
2991 [C99-based standards] (NAN): Likewise.
2992 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
2993 [C99-based standards] (FP_NAN): Likewise.
2994 [C99-based standards] (FP_NORMAL): Likewise.
2995 [C99-based standards] (FP_SUBNORMAL): Likewise.
2996 [C99-based standards] (FP_ZERO): Likewise.
2997 [C99-based standards] (FP_FAST_FMA): Use
2998 optional-macro-int-constant. Specify type. Require == 1.
2999 [C99-based standards] (FP_FAST_FMAF): Likewise.
3000 [C99-based standards] (FP_FAST_FMAL): Likewise.
3001 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
3002 [C99-based standards] (FP_ILOGBNAN): Likewise.
3003 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
3004 Specify type.
3005 [C99-based standards] (MATH_ERREXCEPT): Likewise.
3006 [C99-based standards] (math_errhandling): Specify type.
3007 [ISO99 || ISO11] (signgam): Do not allow.
3008 [non-C99-based standards] (copysignf): Do not allow.
3009 [non-C99-based standards] (exp2f): Likewise.
3010 [non-C99-based standards] (log2f): Likewise.
3011 [non-C99-based standards] (modff): Allow.
3012 [non-C99-based standards] (erff): Do not allow.
3013 [non-C99-based standards] (erfcf): Likewise.
3014 [non-C99-based standards] (gammaf): Likewise.
3015 [non-C99-based standards] (hypotf): Likewise.
3016 [non-C99-based standards] (j0f): Likewise.
3017 [non-C99-based standards] (j1f): Likewise.
3018 [non-C99-based standards] (jnf): Likewise.
3019 [non-C99-based standards] (lgammaf): Likewise.
3020 [non-C99-based standards] (tgammaf): Likewise.
3021 [non-C99-based standards] (y0f): Likewise.
3022 [non-C99-based standards] (y1f): Likewise.
3023 [non-C99-based standards] (ynf): Likewise.
3024 [non-C99-based standards] (isnanf): Likewise.
3025 [non-C99-based standards] (acoshf): Likewise.
3026 [non-C99-based standards] (asinhf): Likewise.
3027 [non-C99-based standards] (atanhf): Likewise.
3028 [non-C99-based standards] (cbrtf): Likewise.
3029 [non-C99-based standards] (expm1f): Likewise.
3030 [non-C99-based standards] (ilogbf): Likewise.
3031 [non-C99-based standards] (log1pf): Likewise.
3032 [non-C99-based standards] (logbf): Likewise.
3033 [non-C99-based standards] (nextafterf): Likewise.
3034 [non-C99-based standards] (remainderf): Likewise.
3035 [non-C99-based standards] (rintf): Likewise.
3036 [non-C99-based standards] (scalbf): Likewise.
3037 [non-C99-based standards] (copysignl): Likewise.
3038 [non-C99-based standards] (exp2l): Likewise.
3039 [non-C99-based standards] (log2l): Likewise.
3040 [non-C99-based standards] (modfl): Allow.
3041 [non-C99-based standards] (erfl): Do not allow.
3042 [non-C99-based standards] (erfcl): Likewise.
3043 [non-C99-based standards] (gammal): Likewise.
3044 [non-C99-based standards] (hypotl): Likewise.
3045 [non-C99-based standards] (j0l): Likewise.
3046 [non-C99-based standards] (j1l): Likewise.
3047 [non-C99-based standards] (jnl): Likewise.
3048 [non-C99-based standards] (lgammal): Likewise.
3049 [non-C99-based standards] (tgammal): Likewise.
3050 [non-C99-based standards] (y0l): Likewise.
3051 [non-C99-based standards] (y1l): Likewise.
3052 [non-C99-based standards] (ynl): Likewise.
3053 [non-C99-based standards] (isnanl): Likewise.
3054 [non-C99-based standards] (acoshl): Likewise.
3055 [non-C99-based standards] (asinhl): Likewise.
3056 [non-C99-based standards] (atanhl): Likewise.
3057 [non-C99-based standards] (cbrtl): Likewise.
3058 [non-C99-based standards] (expm1l): Likewise.
3059 [non-C99-based standards] (ilogbl): Likewise.
3060 [non-C99-based standards] (log1pl): Likewise.
3061 [non-C99-based standards] (logbl): Likewise.
3062 [non-C99-based standards] (nextafterl): Likewise.
3063 [non-C99-based standards] (remainderl): Likewise.
3064 [non-C99-based standards] (rintl): Likewise.
3065 [non-C99-based standards] (scalbl): Likewise.
3066 [ISO || ISO99 || ISO11] (*_t): Do not allow.
3067 [non-C99-based standards] (FP_*): Do not allow.
3068 [C99-based standards] (FP_*): Change to
3069 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
3070 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
3071 allow.
3072 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
3073 (SIG_ERR): Likewise.
3074 [X/Open-based standards] (SIG_HOLD): Likewise.
3075 (SIG_IGN): Likewise.
3076 (SIGABRT): Use macro-int-constant. Specify type. Require
3077 positive value.
3078 (SIGFPE): Likewise.
3079 (SIGILL): Likewise.
3080 (SIGINT): Likewise.
3081 (SIGSEGV): Likewise.
3082 (SIGTER): Likewise.
3083 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
3084 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
3085 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
3086 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
3087 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
3088 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
3089 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
3090 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
3091 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
3092 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
3093 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
3094 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
3095 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
3096 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
3097 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
3098 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
3099 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
3100 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
3101 [X/Open-based standards] (SIGTRAP): Likewise.
3102 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
3103 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
3104 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
3105 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
3106 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
3107 allow.
3108
b9f1922d
IW
31092012-05-08 Ian Wienand <ianw@vmware.com>
3110
3111 [BZ #14080]
3112 * time/tzset.c (__tzset_parse_tz): Update default rules for
3113 daylight time changes in the Energy Policy Act of 2005.
3114
1db86e88
AJ
31152012-05-09 Andreas Jaeger <aj@suse.de>
3116
3117 [BZ #13983]
3118 * elf/ldconfig.c (parse_conf): Change string to make clear that
3119 ldconfig only issued a warning if ld.so.conf does not exist.
3120
dee4a4e3
DM
31212012-05-08 David S. Miller <davem@davemloft.net>
3122
ee0db190
DM
3123 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
3124 movxtod instead of popping the value on the stack.
3125
dee4a4e3
DM
3126 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3127
6a43ec98
CD
31282012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
3129
3130 * config.h.in: Add HAVE_ARM_PCS_VFP.
3131
05c2c961
RMG
31322012-05-08 Roland Mc Grath <roland@hack.frob.com>
3133
bcfe3a54
ST
3134 [BZ #13979]
3135 * include/features.h: Warn if user requests __FORTIFY_SOURCE
3136 checking but the checks are disabled for any reason.
05c2c961 3137
4b30f61a
L
31382012-05-08 H.J. Lu <hongjiu.lu@intel.com>
3139
3140 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
3141 and ELF64_R_TYPE with ELFW(R_TYPE).
3142
eee2bc67
JM
31432012-05-08 Joseph Myers <joseph@codesourcery.com>
3144
7ea5391a
JM
3145 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
3146 (ulimit): Likewise.
3147
eee2bc67
JM
3148 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
3149 (settimeofday): Likewise.
3150
abb66a67
MF
31512012-05-08 Mike Frysinger <vapier@gentoo.org>
3152
3153 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
3154 a struct th_u2 inside the union, and move tu_block/tu_code into
3155 a new th_u3 union of tu_block/tu_code inside of that. Move
3156 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
3157 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
3158 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
3159 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
3160 (th_stuff): Change to th_u1.tu_stuff.
3161 (th_data): Define.
3162 (th_msg): Change to th_u1.th_u2.tu_data.
3163
7f18b530
DM
31642012-05-07 David S. Miller <davem@davemloft.net>
3165
05760585
DM
3166 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3167
7f18b530
DM
3168 [BZ #14074]
3169 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
3170 (SETUP_PIC_REG): Use it.
3171 (SETUP_PIC_REG_LEAF): Use it.
3172
495fd99f
JM
31732012-05-07 Joseph Myers <joseph@codesourcery.com>
3174
3175 [BZ #13885]
3176 [BZ #13923]
3177 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
3178 USE_AS_EXPM1L.
3179 (EXPL_FINITE): Likewise.
3180 (FLDLOG): Likewise.
3181 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
3182 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
3183 e_expl.S.
3184 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
3185 USE_AS_EXPM1L.
3186 (EXPL_FINITE): Likewise.
3187 (FLDLOG): Likewise.
3188 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
3189 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
3190 e_expl.S.
3191 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
3192 test of -max_value argument for long double.
3193 * sysdeps/i386/fpu/libm-test-ulps: Update.
3194 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3195
6693d694
DM
31962012-05-06 David S. Miller <davem@davemloft.net>
3197
3198 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
3199 quad soft-float symbols whose references which are compiler
3200 generated.
3201 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
3202
6c23e11c
JM
32032012-05-06 Joseph Myers <joseph@codesourcery.com>
3204
d8b82cad
JM
3205 [BZ #13884]
3206 [BZ #13914]
3207 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
3208 USE_AS_EXP10L.
3209 (EXPL_FINITE): Likewise.
3210 (FLDLOG): Likewise.
3211 (c0): Likewise.
3212 (c1): Likewise.
3213 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
3214 Adjust comments for base varying.
3215 (__expl_finite): Change alias to EXPL_FINITE.
3216 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
3217 e_expl.S.
3218 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
3219 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
3220 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
3221 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
3222 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
3223 USE_AS_EXP10L.
3224 (EXPL_FINITE): Likewise.
3225 (FLDLOG): Likewise.
3226 (c0): Likewise.
3227 (c1): Likewise.
3228 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
3229 Adjust comments for base varying.
3230 (__expl_finite): Change alias to EXPL_FINITE.
3231 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
3232 tests for bugs.
3233 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3234
6c23e11c
JM
3235 [BZ #14064]
3236 * math/libm-test.inc (check_float_internal): Correct ulp
3237 calculation for subnormal expected results.
3238
29ba805c
AJ
32392012-05-06 Andreas Jaeger <aj@suse.de>
3240
3241 * Makeconfig (+math-flags): New, set to -frounding-math.
3242 (+cflags): Add +math-flags so that all of glibc gets compiled with
3243 it.
3244
3245 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
3246
7b17aeda
JM
32472012-05-05 Joseph Myers <joseph@codesourcery.com>
3248
5779f134
JM
3249 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
3250 Disable one test.
3251
41498f4d
JM
3252 [BZ #13787]
3253 [BZ #13922]
3254 [BZ #14036]
3255 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
3256 (__ieee754_expl): Allow for and saturate large arguments.
3257 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
3258 (u_threshold): Likewise.
3259 (__exp): Call __ieee754_exp before checking for overflow and
3260 underflow.
3261 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
3262 (u_threshold): Likewise.
3263 (__expf): Call __ieee754_expf before checking for overflow and
3264 underflow.
3265 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
3266 (u_threshold): Likewise.
3267 (__expl): Call __ieee754_expl before checking for overflow and
3268 underflow.
3269 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
3270 (__ieee754_expl): Allow for and saturate large arguments.
3271 * math/libm-test.inc (exp_test): Add another test. Do not allow
3272 missing overflow exception on overflow.
3273 (expm1_test): Do not allow missing overflow exception on overflow.
3274
6698b8bf
JM
3275 * sysdeps/i386/fpu/e_expl.c: Move to ...
3276 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
3277 rather than using inline asm.
3278 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
3279 * sysdeps/x86_64/fpu/e_expl.S: Copy from
3280 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
3281
7b17aeda
JM
3282 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
3283 (nice): Likewise.
3284 (poll): Likewise.
3285 (signal): Likewise.
3286 (time): Likewise.
3287 (times): Likewise.
3288
f7c85819
JM
32892012-05-04 Joseph Myers <joseph@codesourcery.com>
3290
3291 * sysdeps/unix/syscalls.list (adjtime): Add entry from
3292 sysdeps/unix/common/syscalls.list.
3293 (fchmod): Likewise.
3294 (fchown): Likewise.
3295 (ftruncate): Likewise.
3296 (getrusage): Likewise.
3297 (gettimeofday): Likewise.
3298 (setpgid): Likewise.
3299 (setregid): Likewise.
3300 (setreuid): Likewise.
3301 (sigaction): Likewise.
3302 (truncate): Likewise.
3303 (vhangup): Likewise.
3304 * sysdeps/unix/common/syscalls.list: Remove file.
3305 * sysdeps/unix/bsd/Implies: Don't include unix/common.
3306 * sysdeps/unix/sysv/linux/Implies: Likewise.
3307
336270d0
L
33082012-05-04 H.J. Lu <hongjiu.lu@intel.com>
3309
3310 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
3311 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
3312 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
3313 Moved to ...
3314 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
3315 Here.
3316 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
3317 to ...
3318 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
3319 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
3320 to ...
3321 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
3322 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
3323 to ...
3324 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
3325 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
3326 to ...
3327 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
3328 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
3329 to ...
3330 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
3331 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
3332 to ...
3333 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
3334 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
3335 to ...
3336 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
3337 Here.
3338 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
3339 to ...
3340 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
3341 Here.
3342 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
3343 to ...
3344 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
3345 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
3346 Moved to ...
3347 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
3348 Here.
3349 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
3350 to ...
3351 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
3352
d128e450
JM
33532012-05-04 Joseph Myers <joseph@codesourcery.com>
3354
fa8ee516
JM
3355 * sysdeps/unix/common/bits/dirent.h: Remove file.
3356 * sysdeps/unix/common/bits/fcntl.h: Likewise.
3357
d128e450
JM
3358 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
3359 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
3360 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
3361 * sysdeps/unix/bsd/isatty.c: Likewise.
3362 * sysdeps/unix/bsd/tcdrain.c: Likewise.
3363 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
3364 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
3365
ff8faaf0 33662012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31dc8730 3367
62881be4 3368 [BZ #13563]
31dc8730
AZ
3369 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
3370 long double comparison inaccuracies.
3371 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
3372 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3373
6fef930c
AS
33742012-05-04 Andreas Schwab <schwab@linux-m68k.org>
3375
3376 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
3377 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
3378
8f203e6c
JM
33792012-05-04 Joseph Myers <joseph@codesourcery.com>
3380
3381 [BZ #14049]
3382 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
3383 nonzero digits before rounding a hex value.
3384 * stdlib/tst-strtod.c (tests): Add another test.
3385
5197d9c2
AK
33862012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3387
3388 * sysdeps/s390/fpu/libm-test-ulps: Update.
3389
f0c1dedf
AJ
33902012-05-03 Andreas Jaeger <aj@suse.de>
3391
3392 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
3393 does not get optimized out.
3394 (malloc_opt_barrier): New.
3395
a65ef2ae 33962012-05-03 Andreas Jaeger <aj@suse.de>
461b8e5a 3397 Roland McGrath <roland@hack.frob.com>
a65ef2ae 3398
2b942cb7 3399 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
a65ef2ae 3400 intermediate file deletion.
2b942cb7 3401 (generated): Add .symlist files.
a65ef2ae 3402
54b71e02
JM
34032012-05-03 Joseph Myers <joseph@codesourcery.com>
3404
3405 [BZ #13775]
3406 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
3407 Redirect under this condition.
3408 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
3409 [__USE_GNU] (__dprintf_chk): Not under this condition.
3410 [__USE_GNU] (__vdprintf_chk): Likewise.
3411 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
3412 under this condition.
3413 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
3414 [__USE_XOPEN2K8] (dprintf): Define under this condition.
3415 [__USE_XOPEN2K8] (vdprintf): Likewise.
3416 [__USE_GNU] (__dprintf_chk): Not under this condition.
3417 [__USE_GNU] (__vdprintf_chk): Likewise.
3418 [__USE_GNU] (dprintf): Likewise.
3419 [__USE_GNU] (vdprintf): Likewise.
3420
d3dfcc41
RM
34212012-05-03 Roland McGrath <roland@hack.frob.com>
3422
3423 * elf/Makefile (common-generated): Set this instead of generated for
3424 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
3425 $(all-built-dso)-derived lists.
3426
7ac30cc5
AJ
34272012-05-03 Andreas Jaeger <aj@suse.de>
3428
0c51e550
AJ
3429 * sysdeps/i386/fpu/libm-test-ulps: Update.
3430
7ac30cc5
AJ
3431 * FAQ: Removed.
3432 * FAQ.in: Likewise.
3433 * scripts/gen-FAQ.pl: Likewise.
3434 * manual/install.texi (Installation): Point to online location of
3435 FAQ.
3436 * Makefile (files-for-dist): Remove FAQ.
3437 (FAQ): Remove.
3438
d4c2917f
AM
34392012-05-02 Allan McRae <allan@archlinux.org>
3440
3441 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
3442 (LDFLAGS-reldepmod5.so): Likewise.
3443 (LDFLAGS-reldep6mod1.so): Likewise.
3444 (LDFLAGS-reldep6mod4.so): Likewise.
3445 (LDFLAGS-reldep8mod3.so): Likewise.
3446 (LDFLAGS-unload4mod1.so): Likewise.
3447 (LDFLAGS-unload4mod2.so): Likewise.
3448 (LDFLAGS-tst-initorder): Likewise.
3449 (LDFLAGS-tst-initordera2.so): Likewise.
3450 (LDFLAGS-tst-initordera3.so): Likewise.
3451 (LDFLAGS-tst-initordera4.so): Likewise.
3452 (LDFLAGS-tst-initorderb2.so): Likewise.
3453 (LDFLAGS-noload): Likewise.
3454 (LDFLAGS-next): Likewise.
3455 (LDFLAGS-order2mod1.so): Likewise.
3456 (LDFLAGS-order2mod2.so): Likewise.
3457 (LDFLAGS-tst-initorder2): Likewise.
3458 (LDFLAGS-tst-initorder2a.so): Likewise.
3459 (LDFLAGS-tst-initorder2b.so): Likewise.
3460 (LDFLAGS-tst-initorder2c.so): Likewise.
3461 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
3462
d77f993f
DM
34632012-05-02 David S. Miller <davem@davemloft.net>
3464
3465 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3466
171a70b4
PP
34672012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
3468
3469 [BZ #14055]
3470 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
3471
0be196ad
AJ
34722012-05-02 Andreas Jaeger <aj@suse.de>
3473
3474 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
3475 since we manipulate rounding mode.
3476 (CPPFLAGS-test-idouble.c): Likewise.
3477 (CPPFLAGS-test-ifloat.c): Likewise.
3478 (CFLAGS-test-ldouble.c): Likewise.
3479 (CFLAGS-test-double.c): Likewise.
3480 (CFLAGS-test-float.c): Likewise.
3481 (CFLAGS-test-misc.c): Likewise.
3482 (CFLAGS-test-test-fenv.c): Likewise.
3483
4f9d04aa
AZ
34842012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3485
2b942cb7
RM
3486 [BZ #2550]
3487 [BZ #2570]
3488 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
3489 comparisons to determine direction to adjust input.
4f9d04aa 3490
82a79e7d
RM
34912012-05-01 Roland McGrath <roland@hack.frob.com>
3492
f5a01ca9
RM
3493 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
3494 output to the target.
3495
90fe4186
RM
3496 * scripts/localplt.awk: New file.
3497 * elf/Makefile ($(objpfx)check-localplt): Target removed.
3498 (check-localplt-CFLAGS): Variable removed.
3499 ($(all-built-dso:=.jmprel)): New static pattern rule.
3500 (generated): Add those targets.
3501 (localplt-built-dso): New variable.
3502 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
3503
3504 * elf/check-localplt.c: File removed.
3505
82397ed6
RM
3506 * scripts/check-execstack.awk: New file.
3507 * elf/Makefile ($(objpfx)check-execstack): Target removed.
3508 (check-execstack-CFLAGS): Variable removed.
3509 ($(objpfx)check-execstack.h): Target removed.
3510 ($(objpfx)execstack-default): New target.
3511 (generated): Add that instead of check-execstack.h.
3512 ($(all-built-dso:=.phdr)): New static pattern rule.
3513 (generated): Add those targets.
3514 * elf/check-execstack.c: File removed.
3515
82a79e7d
RM
3516 * scripts/check-textrel.awk: New file.
3517 * elf/Makefile ($(objpfx)check-textrel): Target removed.
3518 (check-textrel-CFLAGS): Variable removed.
3519 (all-built-dso): Use := to define.o
3520 ($(all-built-dso:=.dyn)): New static pattern rule.
3521 (generated): Add those targets.
3522 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
3523 * config.make.in (READELF): New substituted variable.
3524 * elf/check-textrel.c: File removed.
3525
62fde54f 35262012-05-01 Joseph Myers <joseph@codesourcery.com>
ee74b9cb 3527
615605c9
JM
3528 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
3529 allow.
3530 * conform/data/ctype.h-data [C99-based standards] (isblank):
3531 Expect function.
3532 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
3533 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
3534 [ISO || ISO99 || ISO11] (*_t): Do not allow.
3535 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
3536 Specify type. Require positive value.
3537 (EILSEQ): Likewise.
3538 (ERANGE): Likewise.
3539 [ISO || POSIX] (EILSEQ): Do not expect.
3540 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
3541 Specify type. Require positive value.
3542 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
3543 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
3544 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
3545 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
3546 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
3547 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
3548 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
3549 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
3550 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
3551 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
3552 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
3553 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
3554 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
3555 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
3556 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
3557 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
3558 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
3559 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
3560 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
3561 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
3562 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
3563 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
3564 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
3565 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
3566 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
3567 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
3568 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
3569 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
3570 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
3571 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
3572 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
3573 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
3574 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
3575 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
3576 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
3577 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
3578 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
3579 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
3580 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
3581 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
3582 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
3583 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
3584 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
3585 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
3586 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
3587 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
3588 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
3589 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
3590 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
3591 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
3592 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
3593 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
3594 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
3595 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
3596 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
3597 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
3598 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
3599 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
3600 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
3601 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
3602 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
3603 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
3604 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
3605 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
3606 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
3607 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
3608 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
3609 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
3610 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
3611 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
3612 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
3613 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
3614 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
3615 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
3616 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
3617 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
3618 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
3619 Require >= 2.
3620 (FLT_ROUNDS): Expect as macro, not constant.
3621 (FLT_MANT_DIG): Use macro-int-constant.
3622 (DBL_MANT_DIG): Likewise.
3623 (LDBL_MANT_DIG): Likewise.
3624 (FLT_DIG): Likewise.
3625 (DBL_DIG): Likewise.
3626 (LDBL_DIG): Likewise.
3627 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
3628 (DBL_MIN_EXP): Likewise.
3629 (LDBL_MIN_EXP): Likewise.
3630 (FLT_MAX_EXP): Use macro-int-constant.
3631 (DBL_MAX_EXP): Likewise.
3632 (LDBL_MAX_EXP): Likewise.
3633 (FLT_MAX_10_EXP): Likewise.
3634 (DBL_MAX_10_EXP): Likewise.
3635 (LDBL_MAX_10_EXP): Likewise.
3636 (FLT_MAX): Use macro-constant.
3637 (DBL_MAX): Likewise.
3638 (LDBL_MAX): Likewise.
3639 (FLT_EPSILON): Use macro-constant. Give upper bound.
3640 (DBL_EPSILON): Likewise.
3641 (LDBL_EPSILON): Likewise.
3642 (FLT_MIN): Likewise.
3643 (DBL_MIN): Likewise.
3644 (LDBL_MIN): Likewise.
3645 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
3646 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
3647 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
3648 [ISO11] (FLT_HAS_SUBNORM): Likewise.
3649 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
3650 [ISO11] (DBL_DECIMAL_DIG): Likewise.
3651 [ISO11] (FLT_DECIMAL_DIG): Likewise.
3652 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
3653 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
3654 [ISO11] (FLT_TRUE_MIN): Likewise.
3655 [ISO11] (LDBL_TRUE_MIN): Likewise.
3656 [ISO || ISO99 || ISO11] (*_t): Do not allow.
3657 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
3658 (SCHAR_MIN): Use macro-int-constant. Specify type.
3659 (SCHAR_MAX): Likewise.
3660 (UCHAR_MAX): Likewise.
3661 (CHAR_MIN): Likewise.
3662 (CHAR_MAX): Likewise.
3663 (MB_LEN_MAX): Use macro-int-constant.
3664 (SHRT_MIN): Use macro-int-constant. Specify type.
3665 (SHRT_MAX): Likewise.
3666 (USHRT_MAX): Likewise.
3667 (INT_MAX): Likewise.
3668 (INT_MIN): Use macro-int-constant. Specify type. Make upper
3669 bound negative.
3670 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
3671 bound with "U".
3672 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
3673 bound with "L".
3674 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
3675 bound negative. Suffix upper bound with "L".
3676 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
3677 bound with "UL".
3678 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
3679 Specify type.
3680 [C99-based standards] (LLONG_MAX): Likewise.
3681 [C99-based standards] (ULLONG_MAX): Likewise.
3682 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
3683 == 0.
3684 [ISO11] (max_align_t): Require type.
3685 [ISO || ISO99 || ISO11] (*_t): Do not allow.
3686
c9140a62
JM
3687 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
3688 from $CFLAGS, without defining away __attribute__ calls.
3689 (checknamespace): Use $CFLAGS_namespace.
3690
9af0bf29
JM
3691 * conform/conformtest.pl (@keywords): Only include C99 keywords
3692 for standards based on C99 or C11.
3693
343222a2
JM
3694 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
3695 Disable tests.
3696 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
3697 UNIX98]: Likewise.
3698
661f8cf0
JM
3699 * conform/conformtest.pl: Handle "macro-int-constant" and test for
3700 usability of symbols in #if.
3701
ee74b9cb
JM
3702 * conform/conformtest.pl: If macro or constant types start
3703 "promoted:", expect the symbol to be of the following type
3704 promoted by the integer promotions.
62fde54f 3705
aafc49b3
JM
3706 * conform/conformtest.pl: Parse all "constant" and "macro" lines
3707 in one place. Also handle "macro-constant".
3708
fefdf574
JM
3709 * conform/conformtest.pl: Only accept expected macro values with
3710 "==". Parse all "macro" lines in one place.
3711 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
3712
f2d922fe
JM
3713 * conform/conformtest.pl: Handle braced types on "constant" lines
3714 instead of handling "typed-constant".
3715 * conform/data/signal.h-data: Use "constant" instead of
3716 "typed-constant".
3717
d22956c9
JM
3718 * conform/conformtest.pl: Handle "optional-" at start of lines in
3719 one place rather than duplicating several cases. Handle each
3720 format of "macro" line with initial "optional-".
3721
028e2e38
JM
3722 * conform/conformtest.pl: Only accept expected constant or
3723 optional-constant values with "==". Parse all "constant" lines in
3724 one place. Parse all "optional-constant" lines in one place.
3725 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
3726 * conform/data/fmtmsg.h-data: Likewise.
3727 * conform/data/netinet/in.h-data: Likewise.
3728 * conform/data/tar.h-data: Likewise.
3729 * conform/data/limits.h-data: Use "==" form on "constant" and
3730 "optional-constant" lines.
3731
1b8f2850
JM
3732 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
3733 Use -std=c99 for XOPEN2K.
3734 (@knownproblems): Remove.
3735 (newtoken): Don't check %isknown.
3736
a05a144b
JM
3737 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
3738 Do not expect macro.
3739 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
3740 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
3741 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
3742 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
3743 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
3744 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
3745 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
3746 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
3747 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
3748 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
3749 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
3750 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
3751 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
3752 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
3753 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
3754 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
3755 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
3756 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
3757 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
3758 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
3759 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
3760 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
3761 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
3762 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
3763 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
3764 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
3765 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
3766 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
3767 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
3768 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
3769 [XPG3] (acosh): Likewise.
3770 [XPG3] (asinh): Likewise.
3771 [XPG3] (atanh): Likewise.
3772 [XPG3] (cbrt): Likewise.
3773 [XPG3] (expm1): Likewise.
3774 [XPG3] (ilogb): Likewise.
3775 [XPG3] (log1p): Likewise.
3776 [XPG3] (logb): Likewise.
3777 [XPG3] (nextafter): Likewise.
3778 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
3779 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
3780 [XPG3] (remainder): Likewise.
3781 [XPG3] (rint): Likewise.
3782 [XPG3 || XPG4 || UNIX98] (round): Likewise.
3783 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
3784 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
3785 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
3786 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
3787 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
3788 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
3789 [UNIX98 || XOPEN2K] (scalb): Expect.
3790 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
3791 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
3792 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
3793 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
3794 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
3795 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
3796 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
3797 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
3798 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
3799 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
3800 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
3801 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
3802 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
3803 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
3804 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
3805 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
3806 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
3807 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
3808 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
3809 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
3810 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
3811 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
3812 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
3813 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
3814 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
3815 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
3816 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
3817 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
3818 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
3819 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
3820 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
3821 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
3822 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
3823 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
3824 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
3825 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
3826 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
3827 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
3828 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
3829 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
3830 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
3831 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
3832 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
3833 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
3834 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
3835 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
3836 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
3837 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
3838 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
3839 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
3840 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
3841 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
3842 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
3843 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
3844 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
3845 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
3846 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
3847 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
3848 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
3849 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
3850 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
3851 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
3852 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
3853 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
3854 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
3855 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
3856 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
3857 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
3858 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
3859 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
3860 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
3861 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
3862 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
3863 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
3864 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
3865 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
3866 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
3867 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
3868 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
3869 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
3870 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
3871 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
3872 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
3873 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
3874 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
3875 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
3876 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
3877 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
3878 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
3879 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
3880 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
3881 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
3882 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
3883 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
3884 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
3885 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
3886 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
3887 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
3888 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
3889 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
3890 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
3891 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
3892 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
3893 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
3894 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
3895 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
3896 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
3897 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
3898 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
3899 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
3900 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
3901 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
3902 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
3903 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
3904 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
3905 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
3906 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
3907 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
3908 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
3909 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
3910 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
3911 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
3912 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
3913 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
3914 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
3915 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
3916 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
3917 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
3918 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
3919 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
3920 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
3921 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
3922 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
3923 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
3924 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
3925 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
3926 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
3927
73c5ebe3
JM
3928 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
3929 _XOPEN_SOURCE_EXTENDED for XPG4.
3930
39c33b6c
JM
3931 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
3932
62fde54f
JM
3933 * Makeconfig (localtime): Remove variable.
3934 (inst_localtime-file): Likewise.
3935
0741d64c
AS
39362012-05-01 Andreas Schwab <schwab@linux-m68k.org>
3937
3938 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
3939 Update.
3940 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
3941 Update.
3942 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
3943 Update.
3944 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
3945 Update.
3946 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
3947 Update.
3948 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
3949 Update.
3950 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
3951 Update.
3952 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
3953 Update.
3954 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
3955 Update.
3956
7cb029ee
JM
39572012-05-01 Joseph Myers <joseph@codesourcery.com>
3958
3959 [BZ #2550]
3960 [BZ #2570]
3961 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
3962 comparisons to determine direction to adjust input.
3963 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
3964 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
3965 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
3966 Likewise.
3967 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
3968 Likewise.
3969 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
3970 Likewise.
3971 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
3972 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
3973 Likewise.
3974 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
3975 Likewise.
3976 * math/libm-test.inc (nexttoward_test): Add more tests.
3977
412bd966
AS
39782012-05-01 Andreas Schwab <schwab@linux-m68k.org>
3979
3980 [BZ #14040]
3981 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
3982 in version GLIBC_2.1, not GLIBC_2.0.
3983 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
3984 Likewise.
3985
9568c0c2
JM
39862012-04-30 Joseph Myers <joseph@codesourcery.com>
3987
adfbc8ac
JM
3988 [BZ #13942]
3989 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
3990 (1 - x) * (1 + x).
3991 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
3992 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
3993 * math/libm-test.inc (acos_test): Add more tests.
3994 (asin_test): Likewise.
3995 * sysdeps/i386/fpu/libm-test-ulps: Update.
3996 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3997
5ba3cc69
JM
3998 [BZ #14034]
3999 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
4000 of square root.
4001 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
4002 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
4003 * math/libm-test.inc (acos_test_tonearest): New function.
4004 (acos_test_towardzero): Likewise.
4005 (acos_test_downward): Likewise.
4006 (acos_test_upward): Likewise.
4007 (asin_test_tonearest): Likewise.
4008 (asin_test_towardzero): Likewise.
4009 (asin_test_downward): Likewise.
4010 (asin_test_upward): Likewise.
4011 (main): Call the new functions.
4012 * sysdeps/i386/fpu/libm-test-ulps: Update.
4013 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4014
9568c0c2
JM
4015 [BZ #13884]
4016 [BZ #13924]
4017 * math/e_exp10.c: Include <float.h>.
4018 (__ieee754_exp10): Handle underflow here rather than multiplying
4019 large negative argument by M_LN10.
4020 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
4021 of __ieee754_expf.
4022 * math/e_exp10l.c: Include <float.h>.
4023 (__ieee754_exp10l): Handle underflow here rather than multiplying
4024 large negative argument by M_LN10l.
4025 * math/libm-test.inc (exp10_test): Add another test. Do not allow
4026 spurious overflow exception on underflow.
4027
5ac3ea17
MP
40282012-04-29 Marek Polacek <polacek@redhat.com>
4029
4030 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
4031 (__fortify_function): New macro.
4032 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
4033 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
4034 __extern_always_inline.
4035 * libio/bits/stdio2.h: Likewise.
4036 * libio/bits/stdio.h: Likewise.
4037 * string/string.h: Likewise.
4038 * string/bits/string3.h: Likewise.
4039 * include/stdio.h: Likewise.
4040 * stdlib/bits/stdlib.h: Likewise.
4041 * stdlib/stdlib.h: Likewise.
4042 * rt/bits/mqueue2.h: Likewise.
4043 * rt/mqueue.h: Likewise.
4044 * posix/bits/unistd.h: Likewise.
4045 * posix/unistd.h: Likewise.
4046 * io/bits/poll2.h: Likewise.
4047 * io/bits/fcntl2.h: Likewise.
4048 * io/fcntl.h: Likewise.
4049 * io/sys/poll.h: Likewise.
4050 * misc/bits/syslog.h: Likewise.
4051 * misc/bits/syslog-ldbl.h: Likewise.
4052 * misc/sys/syslog.h: Likewise.
4053 * socket/bits/socket2.h: Likewise.
4054 * socket/sys/socket.h: Likewise.
4055 * debug/tst-chk1.c: Likewise.
4056 * wcsmbs/bits/wchar2.h: Likewise.
4057 * wcsmbs/bits/wchar-ldbl.h: Likewise.
4058 * wcsmbs/wchar.h: Likewise.
4059
ecf0ebfb
AJ
40602012-04-29 Andreas Jaeger <aj@suse.de>
4061
4062 * Makerules (tests): Remove enable-check-abi protection.
4063 (check-abi-warn): Remove.
4064 (check-abi-%): Remove check-abi-warn usage.
4065
4066 * configure.in: Remove check-abi configure option.
4067 * configure: Regenerated.
4068 * config.make.in (enable-check-abi): Remove.
4069
6d5c57fa
AS
40702012-04-28 Andreas Schwab <schwab@linux-m68k.org>
4071
24c5d07e 4072 [BZ #14033]
ded5180a
AS
4073 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
4074 double functions to double *_finite functions.
4075
7e0d315d
AS
4076 [BZ #13941]
4077 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
4078 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
4079 LDBL_MIN_EXP.
4080 * stdio-common/Makefile (tests): Add tst-sprintf3.
4081 * stdio-common/tst-sprintf3.c: New file.
4082
6d5c57fa
AS
4083 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
4084 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
4085
0749ff8b
JM
40862012-04-28 Joseph Myers <joseph@codesourcery.com>
4087
4088 * conform/conformtest.pl: Remove duplicate typed-constant
4089 handling.
4090
8dbd5d7b
DM
40912012-04-28 David S. Miller <davem@davemloft.net>
4092
4093 * Makerules (%.abilist): Add vpath on sysdep_dirs.
4094 (check-abi-%): Remove AWK script prerequisite and explicit
4095 abilist directory.
4096 (check-abi): Rewrite to just diff the symlist with the abilist.
4097 (config-tls, config-abi-config): Delete, no longer used.
4098 (update-abi-%): Remove AWK script and explicit abilist directory.
4099 (update-abi): Rewrite to simply compare and conditionally copy the
4100 symlist and the sysdep abilist file. Remove update-abi-config
4101 checks.
4102 * abilist/ld.abilist: Remove.
4103 * abilist/libBrokenLocale.abilist: Remove.
4104 * abilist/libanl.abilist: Remove.
4105 * abilist/libcrypt.abilist: Remove.
4106 * abilist/libdl.abilist: Remove.
4107 * abilist/librt.abilist: Remove.
4108 * abilist/libthread_db.abilist: Remove.
4109 * abilist/libutil.abilist: Remove.
4110 * scripts/extract-abilist.awk: Remove.
4111 * scripts/merge-abilist.awk: Remove.
4112 * sysdeps/generic/libcidn.abilist: New file.
4113 * sysdeps/generic/libnss_compat.abilist: New file.
4114 * sysdeps/generic/libnss_db.abilist: New file.
4115 * sysdeps/generic/libnss_dns.abilist: New file.
4116 * sysdeps/generic/libnss_files.abilist: New file.
4117 * sysdeps/generic/libnss_hesiod.abilist: New file.
4118 * sysdeps/generic/libnss_nis.abilist: New file.
4119 * sysdeps/generic/libnss_nisplus.abilist: New file.
4120 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
4121 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
4122 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
4123 file.
4124 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
4125 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
4126 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
4127 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
4128 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
4129 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
4130 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
4131 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
4132 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
4133 file.
4134 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
4135 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
4136 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
4137 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
4138 file.
4139 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
4140 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
4141 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
4142 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
4143 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
4144 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
4145 file.
4146 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
4147 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
4148 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
4149 file.
4150 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
4151 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
4152 New file.
4153 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
4154 New file.
4155 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
4156 New file.
4157 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
4158 New file.
4159 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
4160 New file.
4161 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
4162 New file.
4163 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
4164 New file.
4165 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
4166 New file.
4167 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
4168 New file.
4169 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
4170 New file.
4171 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
4172 New file.
4173 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
4174 New file.
4175 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
4176 New file.
4177 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
4178 file.
4179 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
4180 New file.
4181 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
4182 New file.
4183 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
4184 file.
4185 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
4186 New file.
4187 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
4188 New file.
4189 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
4190 file.
4191 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
4192 New file.
4193 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
4194 New file.
4195 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
4196 New file.
4197 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
4198 New file.
4199 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
4200 New file.
4201 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
4202 New file.
4203 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
4204 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
4205 file.
4206 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
4207 New file.
4208 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
4209 file.
4210 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
4211 file.
4212 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
4213 file.
4214 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
4215 file.
4216 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
4217 file.
4218 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
4219 New file.
4220 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
4221 file.
4222 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
4223 file.
4224 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
4225 New file.
4226 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
4227 file.
4228 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
4229 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
4230 file.
4231 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
4232 New file.
4233 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
4234 file.
4235 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
4236 file.
4237 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
4238 file.
4239 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
4240 file.
4241 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
4242 file.
4243 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
4244 New file.
4245 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
4246 file.
4247 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
4248 file.
4249 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
4250 New file.
4251 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
4252 file.
4253 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
4254 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
4255 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
4256 file.
4257 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
4258 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
4259 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
4260 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
4261 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
4262 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
4263 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
4264 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
4265 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
4266 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
4267 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
4268 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
4269 file.
4270 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
4271 New file.
4272 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
4273 file.
4274 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
4275 file.
4276 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
4277 file.
4278 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
4279 file.
4280 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
4281 file.
4282 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
4283 New file.
4284 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
4285 New file.
4286 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
4287 file.
4288 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
4289 New file.
4290 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
4291 file.
4292 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
4293 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
4294 file.
4295 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
4296 New file.
4297 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
4298 file.
4299 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
4300 file.
4301 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
4302 file.
4303 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
4304 file.
4305 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
4306 file.
4307 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
4308 New file.
4309 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
4310 New file.
4311 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
4312 file.
4313 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
4314 New file.
4315 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
4316 file.
4317
41d73a1b
JM
43182012-04-28 Joseph Myers <joseph@codesourcery.com>
4319
4320 * conform/conformtest.pl: Fix typo in handling typed-constant from
4321 allow-header.
4322
28aeeda4
JM
43232012-04-27 Joseph Myers <joseph@codesourcery.com>
4324
adae8f5e
JM
4325 * README: Cut down references to pre-2.6 Linux kernels and
4326 Linuxthreads. Update lists of configurations in libc and ports
4327 and sort alphabetically. Say "or newer" with Linux kernel version
4328 requirements.
4329
28aeeda4
JM
4330 * config.h.in [IS_IN_build]: Allow compiling without optimization.
4331
a462cb63
RA
43322012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
4333
4334 [BZ #887]
4335 * math/libm-test.inc (logb_test_downward): New test to expose
4336 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
4337 rounding mode.
4338
6ad3493e
JM
43392012-04-27 Joseph Myers <joseph@codesourcery.com>
4340
4341 [BZ #14027]
4342 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
4343 to be done.
4344 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
4345 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
4346
2ce4f015
JM
43472012-04-26 Joseph Myers <joseph@codesourcery.com>
4348
5aeb141a
JM
4349 * sysdeps/unix/i386/brk.S: Remove file.
4350 * sysdeps/unix/i386/dl-brk.S: Likewise.
4351 * sysdeps/unix/i386/pipe.S: Likewise.
4352 * sysdeps/unix/i386/sigreturn.S: Likewise.
4353 * sysdeps/unix/i386/syscall.S: Likewise.
4354 * sysdeps/unix/i386/vfork.S: Likewise.
4355 * sysdeps/unix/i386/wait.S: Likewise.
4356
7143acae
JM
4357 * sysdeps/unix/common/tcsendbrk.c: Move to ...
4358 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
4359
2ce4f015
JM
4360 * configure.in (arm*-none*): Do not allow without
4361 --enable-hacker-mode.
4362 (netbsd*): Remove case setting base_os.
4363 (386bsd*): Likewise.
4364 (freebsd*): Likewise.
4365 (bsdi*): Likewise.
4366 (osf*): Likewise.
4367 (sunos*): Likewise.
4368 (ultrix*): Likewise.
4369 (newsos*): Likewise.
4370 (dynix*): Likewise.
4371 (*bsd*): Likewise.
4372 (sysv*): Likewise.
4373 (isc*): Likewise.
4374 (esix*): Likewise.
4375 (sco*): Likewise.
4376 (minix*): Likewise.
4377 (irix4*): Likewise.
4378 (irix6*): Likewise.
4379 (solaris[2-9]*): Likewise.
4380 (none): Likewise.
4381 * configure: Regenerated.
4382
0ac229c8
AZ
43832012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4384
4385 [BZ #11521]
4386 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
4387 overflow or cancellation in calculating denominator.
4388 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
4389 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
4390 down expression to avoid unexpected rounding in newer GCCs.
4391 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
4392
33f244f4
DM
43932012-04-26 David S. Miller <davem@davemloft.net>
4394
4395 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
4396 long-double compat symbols.
4397 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
4398 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
4399 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
4400 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
4401 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
4402 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
4403 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
4404 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
4405 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
4406 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
4407 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
4408 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
4409 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
4410
cfa1f3e8
DM
44112012-04-25 David S. Miller <davem@davemloft.net>
4412
4413 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
4414 HWCAP_* values only after the memory barriers have been defined.
4415 (atomic_full_barrier): Define.
4416 (atomic_read_barrier): Define.
4417 (atomic_write_barrier): Define.
4418
6e236b92
SP
44192012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
4420
4421 * shlib-versions: Add libgcc_s version information.
4422 * sysdeps/generic/libgcc_s.h: Remove.
4423 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
4424 libgcc_s.h.
4425 * sysdeps/gnu/unwind-resume.c: Likewise.
4426 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
4427
aab39a09
DM
44282012-04-25 David S. Miller <davem@davemloft.net>
4429
4430 * sysdeps/unix/sparc/brk.S: Delete.
4431 * sysdeps/unix/sparc/dl-brk.S: Delete.
4432 * sysdeps/unix/sparc/pipe.S: Delete.
4433 * sysdeps/unix/sparc/sysdep.S: Delete.
4434 * sysdeps/unix/sparc/sysdep.h: Delete.
4435 * sysdeps/unix/sparc/vfork.S: Delete.
4436 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
4437 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
4438 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
4439 ret_ERRVAL, r0, r1, MOVE): Define.
4440 (JUMPTARGET): Remove.
4441 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
4442 sysdeps/unix/sparc/sysdep.h
4443 (ENTRY, END): Remove.
4444 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
4445
a3cc4f48
JM
44462012-04-25 Joseph Myers <joseph@codesourcery.com>
4447
2ed8cda2
JM
4448 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
4449 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
4450 -DIS_IN_build.
4451
35d76d59
JM
4452 * timezone/README: Update upstream location and email address for
4453 tzcode and tzdata.
4454 * timezone/zdump.c: Update from tzcode 2012b.
4455 * timezone/zic.c: Likewise.
4456
a3cc4f48
JM
4457 * configure.in (libc_cv_as_needed): Remove test.
4458 * configure: Regenerated.
4459 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
4460 conditional definition.
4461 [$(have-as-needed) != yes] (no-as-needed): Likewise.
4462 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
4463 * config.make.in (have-as-needed): Remove variable.
4464
ceab42c3
SP
44652012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
4466 Paul Pluzhnikov <ppluzhnikov@google.com>
4467
4468 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
4469 strings correctly.
4470
3ce2865f
CLT
44712012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
4472
4473 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
4474 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
4475 * sysdeps/sh/strlen.S: Likewise.
4476
f37e0d68
JM
44772012-04-24 Joseph Myers <joseph@codesourcery.com>
4478
ae186e9a
JM
4479 * sysdeps/unix/fork.S: Remove file.
4480 * sysdeps/unix/i386/fork.S: Likewise.
4481 * sysdeps/unix/sparc/fork.S: Likewise.
4482
b96914af
JM
4483 * sysdeps/unix/system.c: Remove file.
4484 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
4485
f37e0d68
JM
4486 * sysdeps/unix/getegid.S: Remove file.
4487 * sysdeps/unix/geteuid.S: Likewise.
4488
87ef29ca
RM
44892012-04-24 Roland McGrath <roland@hack.frob.com>
4490
83bcd236
RM
4491 * scripts/check-localplt.awk: New file.
4492 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
4493 of diff.
4494 * scripts/data/localplt-generic.data: Add a comment.
4495
87ef29ca
RM
4496 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
4497 NODE when __dir_mkfile failed.
4498 * sysdeps/mach/hurd/symlinkat.c: Likewise.
4499 Reported by Ludovic Courtès <ludo@gnu.org>.
4500
e5a6e567
AJ
45012012-04-24 Andreas Jaeger <aj@suse.de>
4502
4503 * Makerules (common-clean): Also remove gen-as-const-headers
4504 files.
4505
c1820385
JM
45062012-04-24 Joseph Myers <joseph@codesourcery.com>
4507
4508 * Makerules (native-compile): Do not change working directory for
4509 build. Use $(OUTPUT_OPTION) in command.
4510 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
4511
94e02fc4
AZ
45122012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4513
4514 [BZ #13886]
4515 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
4516 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
4517 * math/libm-test.inc (floor_test): Add more tests.
4518 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
4519
3a533ca3
JM
45202012-04-24 Joseph Myers <joseph@codesourcery.com>
4521
940ab4b3
JM
4522 * sysdeps/unix/getdents.c: Remove file.
4523 * sysdeps/unix/sysv/getdents.c: Likewise.
4524 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
4525
90e037bd
JM
4526 * sysdeps/unix/syscalls.list (madvise): Add syscall from
4527 sysdeps/unix/mman/syscalls.list.
4528 (mmap): Likewise.
4529 (mprotect): Likewise.
4530 (msync): Likewise.
4531 (munmap): Likewise.
4532 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
4533 * sysdeps/unix/mman/syscalls.list: Remove.
4534 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
4535
3a533ca3
JM
4536 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
4537 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
4538 * configure: Regenerated.
4539 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
4540 $(libgcc_s_suffix).
4541 * config.make.in (libgcc_s_suffix): Remove variable.
4542
1ad743de
JM
45432012-04-23 Joseph Myers <joseph@codesourcery.com>
4544
4ad451e2
JM
4545 * sysdeps/unix/sysv/gethostname.c: Move to ...
4546 * sysdeps/posix/gethostname.c: ... here.
4547
5e37ce39
JM
4548 * sysdeps/unix/execve.S: Remove file.
4549
1ad743de
JM
4550 * sysdeps/unix/_exit.S: Remove file.
4551
4e681b5b
AJ
45522012-04-23 Andreas Jaeger <aj@suse.de>
4553
4554 [BZ #13739]
4555 * manual/Makefile: Remove make dist support, there's no
4556 need for a stand-alone documentation tar ball.
4557 (TEXI2DVI): Define always, it's not in Makeconfig.
4558 (dist): Removed.
4559 (tar-it): Removed.
4560 (edition): Removed.
4561 (glibc-doc-$(edition).tar): Removed
4562 (%.Z): Removed.
4563 (%.gz): Removed.
4564 (%.uu): Removed.
4565 (ETAGS): Remove, it's in Makeconfig.
4566 (move-if-change): Remove, it's in Makeconfig.
4567
c0baea34
PE
45682013-04-23 Paul Eggert <eggert@cs.ucla.edu>
4569
4570 [BZ #13970]
4571 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
4572 (strtod, strtof, strtold, strtol, strtoul, strtoq)
4573 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
4574 (strtod_l, strtof_l, strtold_l): Remove __wur.
4575 It is not necessarily an error to ignore strtol's return value.
4576 One can reliably look at the stored endptr to decide whether
4577 the number had valid syntax.
4578
7c0616fa
AJ
45792012-04-21 Andreas Jaeger <aj@suse.de>
4580
803cb6b7 4581 [BZ #13739]
7c0616fa
AJ
4582 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
4583
b0fe253f
JM
45842012-04-21 Joseph Myers <joseph@codesourcery.com>
4585
4586 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
4587 * sysdeps/unix/sysv/Versions: Remove file.
4588
8280f22d
MT
45892012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
4590
4591 [BZ #13927]
4592 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4593
75ce411f 45942012-04-21 Nick Alcock <nick.alcock@oracle.com>
b8e33728
N
4595
4596 [BZ #7064]
4597 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
4598 version from __vm86.
4599
097d59fa
JM
46002012-04-20 Joseph Myers <joseph@codesourcery.com>
4601
a90f3bcb
JM
4602 * sysdeps/unix/common/lxstat.c: Remove file.
4603 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
4604
edc7ea78
JM
4605 * sysdeps/unix/sysv/Makefile: Remove file.
4606
cb78c221
JM
4607 * sysdeps/unix/sysv/direct.h: Remove file.
4608
efa6a45f
JM
4609 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
4610 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
4611 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
4612 * sysdeps/unix/sysv/bits/signum.h: Likewise.
4613 * sysdeps/unix/sysv/bits/stat.h: Likewise.
4614 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
4615 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
4616
9c9f2d0c
JM
4617 * sysdeps/unix/sysv/setrlimit.c: Remove file.
4618
4541c83b
JM
4619 * sysdeps/unix/xmknod.c: Remove file.
4620 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
4621
f5d153a0
JM
4622 * sysdeps/unix/sysv/settimeofday.c: Remove file.
4623
aa746595
JM
4624 * sysdeps/unix/sysv/i386/time.S: Remove file.
4625
cce5905e
JM
4626 * sysdeps/unix/fxstat.c: Remove file.
4627 * sysdeps/unix/xstat.c: Likewise.
4628 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
4629
37fa3841
JM
4630 * sysdeps/unix/sysv/sigaction.c: Remove file.
4631
ff1962a3
JM
4632 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
4633 (sysdep_headers): Remove variable.
4634 [termio.h not in sysdep_headers] (generated): Likewise.
4635 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
4636 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
4637 * sysdeps/unix/sysv/tcdrain.c: Likewise.
4638 * sysdeps/unix/sysv/tcflow.c: Likewise.
4639 * sysdeps/unix/sysv/tcflush.c: Likewise.
4640 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
4641 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
4642 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
4643 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
4644 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
4645
e7740d31
JM
4646 * sysdeps/unix/siglist.c: Remove file.
4647
ee06f18b
JM
4648 * sysdeps/unix/getppid.S: Remove file.
4649
097d59fa
JM
4650 * sysdeps/unix/mkdir.c: Remove file.
4651 * sysdeps/unix/rmdir.c: Likewise.
4652
ff3d51ec
AS
46532012-04-19 Andreas Schwab <schwab@linux-m68k.org>
4654
4655 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
4656 ERR_MAX value.
4657 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
4658 errlist-compat value.
4659
50f81fd7
DM
46602012-04-18 David S. Miller <davem@davemloft.net>
4661
4662 * sysdeps/generic/memcopy.h (reg_char): Delete.
4663 * debug/strcat_chk.c: Use char, not reg_char.
4664 * debug/strcpy_chk.c: Likewise.
4665 * debug/strncat_chk.c: Likewise.
4666 * debug/strncpy_chk.c: Likewise.
4667 * string/memchr.c: Likewise.
4668 * string/memrchr.c: Likewise.
4669 * string/rawmemchr.c: Likewise.
4670 * string/strcat.c: Likewise.
4671 * string/strchr.c: Likewise.
4672 * string/strchrnul.c: Likewise.
4673 * string/strcmp.c: Likewise.
4674 * string/strcpy.c: Likewise.
4675 * string/strncat.c: Likewise.
4676 * string/strncmp.c: Likewise.
4677 * string/strncpy.c: Likewise.
4678
8ff41c46
WS
46792012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
4680
4681 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
4682 __builtin_memcopy is called when src and dest ranges are known to not
4683 overlap.
4684
6b652f46
WS
46852012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
4686
4687 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
4688 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
4689 fwd_align_merge macro call.
4690 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
4691 bwd_align_merge macro call.
4692 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
4693
b282631e
WS
46942012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
4695
4696 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
4697 bwd_align_merge macros.
4698 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
4699 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
4700 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
4701
95aa737c
DM
47022012-04-18 David S. Miller <davem@davemloft.net>
4703
4704 * sysdeps/sparc/sparc64/memcopy.h: Delete.
4705
7a99a614
AJ
47062012-04-18 Andreas Jaeger <aj@suse.de>
4707
4708 [BZ# 6794]
4709 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
4710 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
4711 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
4712
4713 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
4714 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
4715 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
4716
4717 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
4718 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
4719 Adjust for changed ldbl-128 files.
4720
4721 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
4722 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
4723 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
4724
e5270c23
DM
47252012-04-17 David S. Miller <davem@davemloft.net>
4726
4727 * sysdeps/sparc/sparc32/memcopy.h: Delete.
4728
fb5e92c9
AS
47292012-04-17 Andreas Schwab <schwab@linux-m68k.org>
4730
4731 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
4732 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
4733 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
4734 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
4735 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
4736 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
4737
76da7265
AZ
47382012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4739
4740 [BZ #6794]
4741 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
4742 * math/libm-test.inc: Add ilogb errno and exception tests.
4743 * math/w_ilogb.c: New file: ilogb wrapper.
4744 * math/w_ilogbf.c: New file: ilogbf wrapper.
4745 * math/w_ilogbl.c: New file: ilogbl wrapper.
4746 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
4747 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
4748 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
4749 exception being thrown with 0.0 as argument.
4750 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
4751 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
4752 exception being thrown with 0.0 as argument.
4753 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
4754 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
4755 exception being thrown with 0.0 as argument.
4756 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
4757 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
4758 exception being thrown with 0.0 as argument.
4759 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
4760 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
7a99a614 4761 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
76da7265
AZ
4762 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
4763 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
4764 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
4765 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
4766 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
4767 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
4768
0396e69d
PB
47692012-04-17 Petr Baudis <pasky@ucw.cz>
4770
4771 * include/sys/uio.h: Change __vector to __iovec to avoid clash
4772 with altivec.
4773
750b5926
MP
47742012-04-16 Marek Polacek <polacek@redhat.com>
4775
4776 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
4777
751728a1
MP
47782012-04-16 Marek Polacek <polacek@redhat.com>
4779
4780 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
4781 operands of fdivp instruction.
4782
34a27407
L
47832012-04-13 H.J. Lu <hongjiu.lu@intel.com>
4784
4785 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
4786 * elf/tst-auditmod3b.c: Likewise.
4787 * elf/tst-auditmod4b.c: Likewise.
4788 * elf/tst-auditmod5b.c: Likewise.
4789 * elf/tst-auditmod6b.c: Likewise.
4790 * elf/tst-auditmod6c.c: Likewise.
4791 * elf/tst-auditmod7b.c: Likewise.
4792 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
4793 * sysdeps/x86_64/preconfigure.in: Likewise.
4794 * sysdeps/x86_64/preconfigure: Regenerated.
4795
7e73e17d
L
47962012-04-13 H.J. Lu <hongjiu.lu@intel.com>
4797
4798 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
4799 __ILP32__.
4800
c7a6ab72
AB
48012012-04-13 Antoine Balestrat <merkil33@gmail.com>
4802
4803 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
4804 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
4805
a9e8e0e0
CL
48062012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
4807
4808 [BZ #13973]
4809 * locale/iso-639.def: Fix gl language name. Spotted by
4810 Yaron Shahrabani.
4811
ec98af7d
RM
48122012-04-12 Roland McGrath <roland@hack.frob.com>
4813
4814 [BZ #2074]
4815 * libio/libio.h (__io_write_fn): Update comment.
4816
247c3ede
PB
48172012-04-12 Petr Baudis <pasky@ucw.cz>
4818
4819 [BZ #2074]
4820 * stdio.texi (Hook Functions): The user provided writer function
4821 is not allowed to return -1.
4822
55939d6d
DM
48232012-04-11 David S. Miller <davem@davemloft.net>
4824
4825 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4826
90020f5a
MF
48272012-04-11 Mike Frysinger <vapier@gentoo.org>
4828
4829 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
4830 Add a leading slash to rtkaio.
4831
288f9098
JM
48322012-04-11 Jim Meyering <meyering@redhat.com>
4833
90020f5a
MF
4834 [BZ #11959]
4835 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
4836 It is not necessarily an error to ignore fwrite's return
4837 value. One can reliably use ferror to test for errors after
4838 the fact.
288f9098 4839
4be2b570
L
48402012-04-10 H.J. Lu <hongjiu.lu@intel.com>
4841
4842 * bits/types.h (__snseconds_t): New type.
4843 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
4844
4845 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
4846 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
4847 (__SNSECONDS_T_TYPE): Likewise.
4848 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
4849 (__SNSECONDS_T_TYPE): Likewise.
4850 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
4851 (__SNSECONDS_T_TYPE): Likewise.
4852
288f9098 48532012-04-10 Andreas Jaeger <aj@suse.de>
4cfd8026
AJ
4854
4855 [BZ #2636]
4856 * manual/time.texi (Processor Time): Return type of times is
4857 elapsed real time since an arbitrary point in the past.
4858 (CPU Time): Move CLK_TCK from here...
4859 (Processor Time): ...to here. Correct description.
4860 * manual/conf.texi (Constants for Sysconf): Correct description of
4861 _SC_CLK_TCK.
4862
d7dd4413
DM
48632012-04-10 David S. Miller <davem@davemloft.net>
4864
4865 [BZ #13967]
4866 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
4867 where the is a gap between DT_REL(A) and DT_JMPREL.
4868
b46068fc
L
48692012-04-10 H.J. Lu <hongjiu.lu@intel.com>
4870
4871 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
4872 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
4873 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
4874
73d65cc3
SP
48752012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
4876
4877 * elf/dl-support.c (_dl_inhibit_cache): New variable.
4878 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
4879 (dl_main): Handle --inhibit-cache.
4880 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
4881 _dl_inhibit_cache.
4882 * elf/dl-load.c (_dl_map_object): Use it.
4883 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
4884
bcc8d661
JM
48852012-04-09 Joseph Myers <joseph@codesourcery.com>
4886
8f9a2fae
JM
4887 [BZ #13872]
4888 * sysdeps/i386/fpu/e_powl.S (p78): New object.
4889 (__ieee754_powl): Saturate large exponents rather than testing for
4890 overflow of y*log2(x).
4891 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
4892 * math/libm-test.inc (pow_test): Do not permit spurious overflow
4893 exceptions.
4894
bcc8d661
JM
4895 [BZ #11521]
4896 * math/s_ctan.c: Include <float.h>.
4897 (__ctan): Avoid internal overflow or cancellation in calculating
4898 denominator.
4899 * math/s_ctanf.c: Likewise.
4900 * math/s_ctanl.c: Likewise.
4901 * math/s_ctanh.c: Likewise.
4902 * math/s_ctanhf.c: Likewise.
4903 * math/s_ctanhl.c: Likewise.
4904 * math/libm-test.inc (ctan_test): Add more tests.
4905 (ctanh_test): Likewise.
4906 * sysdeps/i386/fpu/libm-test-ulps: Update.
4907 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4908
823fbbb4
AJ
49092012-04-09 Andreas Jaeger <aj@suse.de>
4910
03879793
AJ
4911 [BZ #6894]
4912 * manual/filesys.texi (Directory Entries): Mention that d_namlen
4913 is an optional BSD extension.
4914
823fbbb4
AJ
4915 [BZ #10254]
4916 * manual/stdio.texi (Opening Streams): Document additional fopen
4917 parameters.
4918
8de131cb
RM
49192012-04-09 Roland McGrath <roland@hack.frob.com>
4920
4921 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
4922 %eax without telling the compiler.
4923
c0ed9d7d
CD
49242012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
4925
4926 [BZ # 13963]
4927 * manual/install.texi: Use sourceware.org.
4928
c483f6b4
JM
49292012-04-09 Joseph Myers <joseph@codesourcery.com>
4930
d7dd9453
JM
4931 [BZ #13873]
4932 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
4933 (__ieee754_pow): Generate overflow and underflow using huge*huge
4934 and tiny*tiny rather than just returning constant infinity or zero
4935 for large exponents.
4936 * math/libm-test.inc (pow_test): Require overflow exceptions for
4937 applicable cases of large exponents.
4938
c483f6b4
JM
4939 [BZ #706]
4940 * sysdeps/i386/fpu/e_pow.S (p10): New object.
4941 (__ieee754_pow): Use iterative multiplication algorithm only for
4942 integer exponents with absolute value below 1024. Check for odd
4943 integer exponents when using algorithm for real exponents.
4944 * math/libm-test.inc (pow_test): Add more tests.
4945 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4946
d2de7579
JM
49472012-04-08 Joseph Myers <joseph@codesourcery.com>
4948
4949 [BZ #13705]
4950 * math/libm-test.inc (exp_test): Do not allow overflow exception
4951 on underflow test.
4952
f77f1232
AJ
49532012-04-08 Aurelien Jarno <aurelien@aurel32.net>
4954
4955 [BZ #13705]
4956 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
4957 instead of __kernel_standard_f.
4958
3884932b
MF
49592012-04-08 Mike Frysinger <vapier@gentoo.org>
4960
4961 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
4962 * sysdeps/x86_64/memset_chk.S: Likewise.
4963
54472e9c
AJ
49642012-04-08 Andreas Jaeger <aj@suse.de>
4965
6ab0fbfc
AJ
4966 [BZ #10153]
4967 * manual/startup.texi (Environment Access): Describe return value
4968 for putenv and setenv.
4969
61efba8c
AJ
4970 [BZ #6895]
4971 * manual/filesys.texi (Directory Entries): Add description for
4972 DT_LNK.
4973
95c3f29a
AJ
4974 [BZ #6890]
4975 * manual/filesys.texi (Directory Entries): Clarify that it's file
4976 system not operating system in the description of DT_UNKNOWN.
4977
54472e9c
AJ
4978 [BZ #6578]
4979 * manual/syslog.texi (closelog): Fix reference, it's openlog.
4980
624254b1
SC
49812012-04-08 Stephen Compall <s11@member.fsf.org>
4982
4983 [BZ #6649]
4984 * manual/llio.texi (Opening and Closing Files): Add cross
4985 reference to explain mode argument.
4986
1e4920e0
MF
49872012-04-07 Mike Frysinger <vapier@gentoo.org>
4988
4989 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
4990 * sysdeps/x86_64/memset_chk.S: Likewise.
4991
5ed848f3
DM
49922012-04-07 David S. Miller <davem@davemloft.net>
4993
4994 * elf/elf.h (R_SPARC_WDISP10): Define.
4995 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
4996 R_SPARC_SIZE32.
4997 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
4998 R_SPARC_SIZE64 and R_SPARC_H34.
4999
96154cd8
CD
50002012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
5001
5002 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
5003 conditions and remove no longer applicable assertion.
5004
9904dc47
L
50052012-04-06 H.J. Lu <hongjiu.lu@intel.com>
5006
5007 * bits/byteswap.h: Include <features.h>.
5008 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
5009 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
5010
f8887d0a
L
50112012-04-06 H.J. Lu <hongjiu.lu@intel.com>
5012
5013 * bits/byteswap.h (__bswap_16): Removed.
5014 Include <bits/byteswap-16.h> to get __bswap_16.
5015 * sysdeps/i386/bits/byteswap.h: Likewise.
5016 * sysdeps/s390/bits/byteswap.h: Likewise.
5017 * sysdeps/x86_64/bits/byteswap.h: Likewise.
5018 * bits/byteswap-16.h: New file.
5019 * sysdeps/i386/bits/byteswap-16.h: Likewise.
5020 * sysdeps/s390/bits/byteswap-16.h: Likewise.
5021 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
5022 * string/Makefile (headers): Add bits/byteswap-16.h.
5023
62470f60
PP
50242012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
5025
5026 [BZ #13895]
5027 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
5028 extra indirection.
5029 * nss/Makefile (tests-static, tests): Add tst-nss-static.
5030 * nss/tst-nss-static.c: New.
5031
4dad7bab
RM
50322012-04-06 Robert Millan <rmh@gnu.org>
5033
5034 [BZ #6486]
5035 * manual/llio.texi (File Position Primitive): lseek
5036 refers to WHENCE when it really means OFFSET.
5037
e9142a17
AJ
50382012-04-06 Andreas Jaeger <aj@suse.de>
5039
2c040eff
AJ
5040 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
5041 strncmp declarations.
5042
e9142a17
AJ
5043 * abilist/libc.abilist: Add __poll and __ppoll.
5044
ff9f1c5f
DM
50452012-04-05 David S. Miller <davem@davemloft.net>
5046
dcd2ae90
DM
5047 * scripts/check-local-headers.sh: Accept a host triplet in the
5048 path matched by the exclude regexp.
5049
993eb054
DM
5050 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
5051 definition.
5052 * sysdeps/powerpc/powerpc32/dl-machine.h
5053 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
5054 * sysdeps/s390/s390-32/dl-machine.h
5055 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
5056 * sysdeps/sparc/sparc32/dl-machine.h
5057 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
5058 * sysdeps/sparc/sparc64/dl-machine.h
5059 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
5060
ff9f1c5f
DM
5061 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
5062 lazy binding.
48e2e132 5063 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
ff9f1c5f
DM
5064 undefined symbol errors.
5065
48e2e132 5066 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
ff9f1c5f
DM
5067 DT_NEEDED entries.
5068
e80d6f94
MM
50692012-04-05 Michael Matz <matz@suse.de>
5070
5071 [BZ #13592]
5072 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
5073
349fa79f
AJ
50742012-04-05 Andreas Jaeger <aj@suse.de>
5075
5076 [BZ #13908]
5077 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
5078 comment.
5079
f402708f
KK
50802012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
5081
5082 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
5083 which ROUND is no valid rounding mode.
5084
2ecccfc9
KK
50852012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
5086
5087 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
5088 read again.
5089 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
5090
8a53f50f
KK
50912012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
5092
5093 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
5094 an exception using FPU order intentionally.
5095
50962012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
5097
5098 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
5099 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
5100 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
5101 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
5102
d653abb7
SJ
51032012-04-05 Simon Josefsson <simon@josefsson.org>
5104
5105 [BZ #12340]
5106 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
5107 EINVAL when BUFLEN is too smal.
5108
c3b1bf7d
TS
51092012-04-05 Thomas Schwinge <thomas@codesourcery.com>
5110
5111 [BZ #13553]
5112 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
5113 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
5114
b1aa60f3
AJ
51152012-04-03 Andreas Jaeger <aj@suse.de>
5116
c3b1bf7d 5117 [BZ #13938]
67f60a26
AJ
5118 * manual/setjmp.texi (System V contexts): Fix sentence.
5119
b1aa60f3
AJ
5120 [BZ #13926]
5121 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
5122 New macro for this case.
5123 [!__GNUC__] (__bswap_64): New inline function for this case.
5124 * sysdeps/x86_64/bits/byteswap.h: Likewise.
5125 * bits/byteswap.h: Likewise.
5126 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
5127 ull, guard with __GLIBC_HAVE_LONG_LONG.
5128
5129 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
5130 __GLIBC_HAVE_LONG_LONG.
5131
5132 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
5133 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
5134
39c59c35
TMQMF
51352012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
5136
5137 [BZ #13691]
5138 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
5139 inptr and inend, rather than using last_ch.
5140
135ffda8
DM
51412012-04-02 David S. Miller <davem@davemloft.net>
5142
5143 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
5144 * stdio-common/printf-parse.h (read_int): Change return type to
5145 'int', return -1 on INT_MAX overflow.
5146 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
5147 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
5148 overflows INT_MAX. Check for overflow of in-format-string precision
5149 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
5150 SIZE_MAX not INT_MAX for integer overflow test.
5151 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
5152 skip the construct in the format string but do not record anything.
5153 * stdio-common/bug22.c: Adjust to test both width/prevision
5154 INT_MAX overflow as well as total length INT_MAX overflow. Check
5155 explicitly for proper errno values.
5156
228c019e
TS
51572012-04-02 Thomas Schwinge <thomas@codesourcery.com>
5158
302cadd3
TS
5159 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
5160 CHAR_MAX.
5161 * string/test-strcmp.c [! WIDE]: Likewise.
5162 * time/tst-mktime2.c: Likewise for INT_MAX.
5163 * string/test-string.h: #include <sys/param.h> for MIN.
5164
228c019e
TS
5165 * csu/init-first.c (__libc_init_first): Call __ctype_init.
5166 * sysdeps/i386/init-first.c (init): Likewise.
5167 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
5168 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
5169 * sysdeps/sh/init-first.c (init): Likewise.
5170
cfa633f5
UD
51712012-04-01 Ulrich Drepper <drepper@gmail.com>
5172
5173 * po/ru.po: Update from translation team.
d1635ef8 5174 * po/vi.po: Likewise.
cfa633f5 5175
6cd0a5ea
SP
51762012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
5177
5178 * resolv/nss_dns/dns-host.c: Merge copyright years.
5179
4b43400f
LD
51802012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
5181
5182 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
5183 Optimize memcpy with prefetch if
5184 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
5185 src, dst pointers have unequal 16 byte alignments.
5186
48c41d04
SP
51872012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
5188
5189 [BZ #13928]
5190 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
5191 from a CNAME entry and return the minimum ttl for the query.
5192 (gaih_getanswer_slice): Likewise.
5193
b8dc394d
JL
51942012-03-30 Jeff Law <law@redhat.com>
5195
5196 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
5197 due to long keys.
5198 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
5199 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
5200
2f5a5ed0
JL
5201 * resolv/nss_dns/dns-host.c: Update copyright year.
5202
1d39e359
UD
52032012-03-30 Ulrich Drepper <drepper@gmail.com>
5204
c030f70c 5205 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8e6d1083 5206 requests to save a system call. Fix check that all bytes are sent.
c030f70c 5207
1d39e359
UD
5208 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
5209 comments for sendmmsg.
5210
52112012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
e64d2de5
TMQMF
5212
5213 [BZ #13691]
5214 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
5215 with only 1 character between 0x0041 and 0x01b0.
5216 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
5217 * wcsmbs/tst-mbsnrtowcs.c: New file.
5218
20fde227
DM
52192012-03-29 David S. Miller <davem@davemloft.net>
5220
5221 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
5222 small copies by hand.
5223
984a4237
JL
52242012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
5225
5226 [BZ #13761]
5227 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
5228 _nss_compat_initgroups_dyn): Fall back to malloc/free
5229 for large group memberships.
5230
18c9d62b
DM
52312012-03-28 David S. Miller <davem@davemloft.net>
5232
88d85d4f
DM
5233 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
5234 that branches into memcpy.
5235 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
5236 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
5237 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
5238 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
5239 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
5240 bits.
5241 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
5242 implementation too.
5243 * sysdeps/sparc/mempcpy.S: New file.
5244
e5aa83e1
DM
5245 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
5246 the IFUNC routine in the libc case.
5247 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
5248
88570753
DM
5249 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
5250 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
5251 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
5252 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
5253 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
5254 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
5255 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
5256 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
5257
249d7567
DM
5258 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
5259 loop to 256 bytes instead of 64 bytes and fix test signedness.
5260
18c9d62b
DM
5261 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
5262 * sysdeps/sparc/sparc32/Makefile: rather than here...
5263 * sysdeps/sparc/sparc64/Makefile: and here.
5264
05f3d1f6
UD
52652012-03-28 Ulrich Drepper <drepper@gmail.com>
5266
5267 * malloc/mallocbug.c: Avoid warnings about unused variables.
5268
86ae07a8
JL
52692012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
5270
5271 [BZ #13760]
5272 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
5273 in the right place. Discard and retry query if response is
5274 larger than input buffer size.
5275
41bf21a1
JM
52762012-03-28 Joseph Myers <joseph@codesourcery.com>
5277
d6270972
JM
5278 [BZ #369]
5279 [BZ #2678]
5280 [BZ #3866]
5281 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
5282 x for large integer exponent.
5283 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
5284 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
5285 sign of result as needed afterwards.
5286 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
5287 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
5288 result for underflowing pow the same as for overflow.
5289 (__kernel_standard_l): Handle powl overflow and underflow here
5290 rather than calling __kernel_standard.
5291 * math/libm-test.inc (pow_test): Add more tests.
5292
414fca03 5293 [BZ #3868]
41bf21a1
JM
5294 [BZ #13879]
5295 [BZ #13910]
5296 [BZ #13911]
5297 [BZ #13912]
5298 [BZ #13913]
5299 [BZ #13915]
5300 [BZ #13916]
5301 [BZ #13917]
5302 [BZ #13918]
5303 [BZ #13919]
5304 [BZ #13920]
5305 [BZ #13921]
5306 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
5307 * sysdeps/ieee754/k_standard.c: Include <float.h>.
5308 (__kernel_standard_l): New function.
5309 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
5310 __kernel_standard.
5311 * math/w_acosl.c (__acosl): Likewise.
5312 * math/w_asinl.c (__asinl): Likewise.
5313 * math/w_atan2l.c (__atan2l): Likewise.
5314 * math/w_atanhl.c (__atanhl): Likewise.
5315 * math/w_coshl.c (__coshl): Likewise.
5316 * math/w_exp10l.c (__exp10l): Likewise.
5317 * math/w_exp2l.c (__exp2l): Likewise.
5318 * math/w_fmodl.c (__fmodl): Likewise.
5319 * math/w_hypotl.c (__hypotl): Likewise.
5320 * math/w_j0l.c (__j0l, __y0l): Likewise.
5321 * math/w_j1l.c (__j1l, __y1l): Likewise.
5322 * math/w_jnl.c (__jnl, __ynl): Likewise.
5323 * math/w_lgammal.c (__lgammal): Likewise.
5324 * math/w_log10l.c (__log10l): Likewise.
5325 * math/w_log2l.c (__log2l): Likewise.
5326 * math/w_logl.c (__logl): Likewise.
5327 * math/w_powl.c (__powl): Likewise.
5328 * math/w_remainderl.c (__remainderl): Likewise.
5329 * math/w_scalbl.c (sysv_scalbl): Likewise.
5330 * math/w_sinhl.c (__sinhl): Likewise.
5331 * math/w_sqrtl.c (__sqrtl): Likewise.
5332 * math/w_tgammal.c (__tgammal): Likewise.
5333 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
5334 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
5335 * math/libm-test.inc (acos_test): Add more tests.
5336 (acosh_test): Likewise.
5337 (asin_test): Likewise.
5338 (atanh_test): Likewise.
5339 (exp_test): Likewise.
5340 (exp10_test): Likewise.
5341 (exp2_test): Likewise.
5342 (expm1_test): Likewise.
5343 (lgamma_test): Likewise.
5344 (log_test): Likewise.
5345 (log10_test): Likewise.
5346 (log1p_test): Likewise.
5347 (log2_test): Likewise.
5348 (pow_test): Do not allow some spurious overflow exceptions.
5349 (sqrt_test): Add more tests.
5350 (tgamma_test): Likewise.
5351 (y0_test): Likewise.
5352 (y1_test): Likewise.
5353 (yn_test): Likewise.
5354
dd62fda6
AB
53552012-03-27 Anton Blanchard <anton@samba.org>
5356
5357 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
5358 MAP_HUGETLB.
5359 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
5360 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
5361 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
5362
1e3cdfda
AJ
53632012-03-27 David S. Miller <davem@davemloft.net>
5364
b855ab85
DM
5365 * conform/Makefile: Run run-conformtest.sh using $(BASH).
5366
1e3cdfda
AJ
5367 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
5368 have-as-vis3 check.
5369
53702012-03-27 Andreas Jaeger <aj@suse.de>
5371
5372 * sysdeps/x86_64/elf/configure.in: Moved to ...
5373 * sysdeps/x86_64/configure.in: ... here.
5374 * sysdeps/x86_64/elf/start.S: Moved to ...
5375 * sysdeps/x86_64/start.S: ... here.
5376 * sysdeps/x86_64/elf/configure: Delete.
5377
5378 * sysdeps/x86_64/configure.in: Merge contents from
5379 sysdeps/i386/configure.in (without i686 check).
5380
5381 * sysdeps/i386/elf/Versions: Merge into ...
5382 * sysdeps/i386/Versions: ... this.
5383 * sysdeps/i386/elf/Versions: Delete file.
5384 * sysdeps/i386/elf/start.S: Moved to ...
5385 * sysdeps/i386/start.S: ...here.
5386 * sysdeps/i386/elf/configure.in: Merge into...
5387 * sysdeps/i386/configure.in: ...here.
5388 * sysdeps/i386/elf/configure.in: Delete file.
5389 * sysdeps/i386/elf/configure: Delete file.
5390
5391 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
5392 * debug/backtracesyms.c: ... here.
5393 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
5394 * debug/backtracesymsfd.c: ... here.
5395 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
5396 * sysdeps/generic/ifunc-sel.h: ... here.
5397
5398 * sysdeps/unix/i386/start.c: Delete file.
5399 * sysdeps/unix/sparc/start.c: Delete file.
5400 * sysdeps/unix/start.c: Delete file.
5401
5402 * sysdeps/sh/elf/configure.in: Moved to ...
5403 * sysdeps/sh/configure.in: ... here.
5404 * sysdeps/sh/elf/start.S: Moved to ...
5405 * sysdeps/sh/start.S: ... here.
5406 * sysdeps/sh/elf/configure: Delete file.
5407
5408 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
5409 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
5410 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
5411 * sysdeps/powerpc/powerpc64/entry.h: ... here.
5412 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
5413 * sysdeps/powerpc/powerpc64/start.S: here.
5414 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
5415 * sysdeps/powerpc/powerpc64/Makefile: ... this.
5416 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
5417 * sysdeps/powerpc/powerpc64/configure.in: ... this.
5418 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
5419
5420 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
5421 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
5422 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
5423 * sysdeps/powerpc/powerpc32/start.S: ... here.
5424 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
5425 * sysdeps/powerpc/powerpc32/configure.in: ... this.
5426 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
5427
5428 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
5429 * sysdeps/powerpc/ifunc-sel.h: ... here.
5430 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
5431 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
5432
5433 * sysdeps/sparc/elf/configure.in: Moved to ...
5434 * sysdeps/sparc/configure.in: ... here.
5435 * sysdeps/sparc/elf/configure: Delete file.
5436 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
5437 * sysdeps/sparc/sparc32/start.S: ... here.
5438 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
5439 * sysdeps/sparc/sparc64/start.S: ... here.
5440 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
5441 * sysdeps/sparc/sparc32/Makefile: ... this.
5442 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
5443 * sysdeps/sparc/sparc64/Makefile: ... this.
5444
5445 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
5446 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
5447 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
5448 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
5449 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
5450 * sysdeps/s390/s390-32/setjmp.S: ... here.
5451 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
5452 * sysdeps/s390/s390-32/configure.in: ... here.
5453 * sysdeps/s390/s390-32/elf/configure: Delete file.
5454 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
5455 * sysdeps/s390/s390-32/start.S: ... here.
5456
5457 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
5458 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
5459 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
5460 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
5461 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
5462 * sysdeps/s390/s390-64/setjmp.S: ... here.
5463 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
5464 * sysdeps/s390/s390-64/configure.in: ... here
5465 * sysdeps/s390/s390-64/elf/configure: Delete file.
5466 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
5467 * sysdeps/s390/s390-64/start.S: ... here.
5468 * sysdeps/s390/s390-64/elf/configure: Delete.
5469
5470 * configure.in: Remove support for elf directories in sysdeps.
5471
5472 * configure: Regenerated.
5473 * sysdeps/i386/configure: Regenerated.
5474 * sysdeps/powerpc/powerpc32/configure: Regenerated.
5475 * sysdeps/powerpc/powerpc64/configure: Regenerated.
5476 * sysdeps/s390/s390-32/configure: Regenerated.
5477 * sysdeps/s390/s390-64/configure: Regenerated.
5478 * sysdeps/sh/configure: Regenerated.
5479 * sysdeps/sparc/configure: Regenerated.
5480 * sysdeps/x86_64/configure: Regenerated.
5481
a3f61311
AS
54822012-03-26 Andreas Schwab <schwab@linux-m68k.org>
5483
c876e002
AS
5484 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5485
a3f61311
AS
5486 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
5487 denormal result into account.
5488
ac4c54f0
RM
54892012-03-25 Roland McGrath <roland@hack.frob.com>
5490
5491 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
5492 Reported by Allan McRae <allan@archlinux.org>.
5493
6a9b9c02
JL
54942012-03-23 Jeff Law <law@redhat.com>
5495
5496 * nss/getnssent.c (__nss_getent): Fix typo.
5497
4c42a0c1
DM
54982012-03-23 David S. Miller <davem@davemloft.net>
5499
5500 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5501
1532c7ac
L
55022012-03-23 H.J. Lu <hongjiu.lu@intel.com>
5503
5504 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
5505 to pad to uint64_t for each field.
5506 (dl_tls_index): Replace unsigned long with uint64_t.
5507
3ff42526
PP
55082012-03-23 Daniel Jacobowitz <dmj@google.com>
5509 Paul Pluzhnikov <ppluzhnikov@google.com>
5510
5511 [BZ #6528]
5512 * grp/Makefile (otherlibs): Don't set it.
5513 * inet/Makefile (otherlibs): Likewise.
5514 * login/Makefile (otherlibs): Likewise.
5515 * nscd/Makefile (otherlibs): Likewise.
5516 * posix/Makefile (otherlibs): Likewise.
5517 * pwd/Makefile (otherlibs): Likewise.
5518 * rt/Makefile (otherlibs): Likewise.
5519 * sunrpc/Makefile (otherlibs): Likewise.
5520 * nss/Makefile (otherlibs): Likewise.
5521 Add libnss_files to routines and static-only-routines.
5522 ($(objpfx)getent): Remove rule.
5523 * resolv/Makefile: Add libnss_dns and libresolv to routines and
5524 static-only-routines.
5525
7c69cd14
JM
55262012-03-22 Joseph Myers <joseph@codesourcery.com>
5527
5528 [BZ #13892]
5529 * math/s_cexp.c: Include <float.h>.
5530 (__cexp): Handle exp result overflowing not necessarily
5531 overflowing both real and imaginary parts of result.
5532 * math/s_cexpf.c: Likewise.
5533 * math/s_cexpl.c: Likewise.
5534 * math/libm-test.inc (cexp_test): Add more tests.
5535 * sysdeps/i386/fpu/libm-test-ulps: Update.
5536 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5537
81b035fe
L
55382012-03-22 H.J. Lu <hongjiu.lu@intel.com>
5539
5540 * include/link.h (ELFW): New macro.
5541 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
5542 Replace ELF64_R_TYPE with ELFW(R_TYPE).
5543
1da7940c
L
55442012-03-22 H.J. Lu <hongjiu.lu@intel.com>
5545
5546 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
5547 with uint64_t.
5548
b749dbb9
L
55492012-03-22 H.J. Lu <hongjiu.lu@intel.com>
5550
5551 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
5552 declaration.
5553 (struct La_x32_retval): Likewise.
5554
2ff87f3f
L
55552012-03-22 H.J. Lu <hongjiu.lu@intel.com>
5556
5557 * sysdeps/x86_64/preconfigure.in: New file.
5558 * sysdeps/x86_64/preconfigure: New generated file.
5559
c0df8e69
JM
55602012-03-22 Joseph Myers <joseph@codesourcery.com>
5561
48e44791
JM
5562 [BZ #13824]
5563 * math/e_exp2l.c: Include <float.h>.
5564 (__ieee754_exp2l): Handle overflow and underflow cases
5565 separately. Only pass fractional part of argument to
5566 __ieee754_expl.
5567 * math/libm-test.inc (exp2_test): Add more tests.
5568
c0df8e69
JM
5569 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
5570 negating x to take absolute value.
5571 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
5572 Likewise.
5573 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
5574 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
5575 Likewise.
5576 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
5577 computing low part if x was negated.
5578 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
5579
c8e43ba7
L
55802012-03-21 H.J. Lu <hongjiu.lu@intel.com>
5581
5582 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
5583 la_x32_gnu_pltexit.
5584 (pltexit): Cast int_retval to ptrdiff_t.
5585 * elf/tst-auditmod3b.c: Likewise.
5586 * elf/tst-auditmod4b.c: Likewise.
5587 * elf/tst-auditmod5b.c: Likewise.
5588 * elf/tst-auditmod6b.c: Likewise.
5589 * elf/tst-auditmod6c.c: Likewise.
5590 * elf/tst-auditmod7b.c: Likewise.
5591
5592 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
5593 and x32_gnu_pltexit.
5594
5595 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
5596 __ELF_NATIVE_CLASS.
5597 (La_x32_regs): New macro.
5598 (La_x32_retval): Likewise.
5599 (la_x32_gnu_pltenter): New function prototype.
5600 (la_x32_gnu_pltexit): Likewise.
5601
7998fa78
AS
56022012-03-21 Andreas Schwab <schwab@linux-m68k.org>
5603
dcb33988
AS
5604 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
5605 exponent.
5606
233fc563
AS
5607 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5608
7998fa78
AS
5609 * configure.in (libc_cv_cc_nofma): Check for option to disable
5610 generation of FMA instructions.
5611 * configure: Regenerate.
5612 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
5613 * sysdeps/ieee754/dbl-64/Makefile: New file.
5614 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
5615 Remove brandred-fma4.
5616 (CFLAGS-brandred-fma4.c): Remove.
5617 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
5618 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
5619 define.
5620 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
5621 define.
5622
8e95c99a
L
56232012-03-21 H.J. Lu <hongjiu.lu@intel.com>
5624
5625 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
5626 LLONG_MAX != LONG_MAX.
5627 (_itoa_word): Use _ITOA_WORD_TYPE on value.
5628 (_fitoa_word): Likewise.
5629 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
5630 LLONG_MAX != LONG_MAX.
5631 * stdio-common/_itowa.h: Include <_itoa.h>.
5632 (_itowa_word): Use _ITOA_WORD_TYPE on value.
5633 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
5634 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
5635 only if not defined.
5636 (_ITOA_WORD_TYPE): Likewise.
5637 (_itoa_word): Use _ITOA_WORD_TYPE on value.
5638 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
5639
6f4db457
DM
56402012-03-21 David S. Miller <davem@davemloft.net>
5641
5642 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5643
7785fe5a
L
56442012-03-21 H.J. Lu <hongjiu.lu@intel.com>
5645
5646 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
5647 of x86_64 when setting libc_cv_slibdir, libdir and
5648 libc_cv_localedir.
5649 * sysdeps/unix/sysv/linux/configure: Regenerated.
5650
4535cd55
JM
56512012-03-21 Joseph Myers <joseph@codesourcery.com>
5652
5653 * manual/lang.texi (Old Varargs): Remove section.
5654 (How Variadic): Update menu.
5655 (va_start): Do not mention varargs.h.
5656
17228132
TS
56572012-03-21 Thomas Schwinge <thomas@codesourcery.com>
5658 Joseph Myers <joseph@codesourcery.com>
5659
5660 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
5661 link test.
5662 * configure: Regenerated.
5663
8149f976
TS
56642012-03-21 Thomas Schwinge <thomas@codesourcery.com>
5665
05f3d1f6
UD
5666 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
5667 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
5668 conformtest.pl
8149f976 5669
1a4ac776
JM
56702012-03-21 Joseph Myers <joseph@codesourcery.com>
5671
be22ce65
JM
5672 * NOTES: Remove.
5673 * Makefile (files-for-dist): Remove NOTES.
5674 (NOTES): Remove rule.
5675 * README: Don't refer to NOTES.
5676 * manual/creature.texi: Don't include macros.texi.
5677 * manual/intro.texi (creature.texi): Remove comment referring to
5678 NOTES.
5679
40b601fb
JM
5680 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
5681 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
5682 * configure: Regenerated.
5683 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
5684 LIBC_TRY_CC_OPTION.
5685 (libc_cv_as_i686): Likewise.
5686 (libc_cv_cc_avx): Likewise.
5687 (libc_cv_cc_sse2avx): Likewise.
5688 (libc_cv_cc_fma4): Likewise.
5689 (libc_cv_cc_novzeroupper): Likewise.
5690 * sysdeps/i386/configure: Regenerated.
5691
1a4ac776
JM
5692 [BZ #13883]
5693 * sysdeps/i386/fpu/s_cexp.S: Remove.
5694 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
5695 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
5696 * math/libm-test.inc (cexp_test): Add more tests.
5697 * sysdeps/i386/fpu/libm-test-ulps: Update.
5698 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5699
a458e7fe
AM
57002012-03-21 Allan McRae <allan@archlinux.org>
5701
5702 * timezone/Makefile: Do not install iso3166.tab and zone.tab
5703
0cb7efc5
JM
57042012-03-21 Joseph Myers <joseph@codesourcery.com>
5705
5706 [BZ #13871]
5707 * math/w_exp2.c: Do not include <float.h>.
5708 (o_threshold, u_threshold): Remove.
5709 (__exp2): Calculate result before checking finiteness and calling
5710 __kernel_standard.
5711 * math/w_exp2f.c: Likewise.
5712 * math/w_exp2l.c: Likewise.
5713 * math/libm-test.inc (exp2_test): Require overflow exception for
5714 1e6 input.
2460d3aa
JM
5715
5716 [BZ #3866]
5717 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
5718 range of signed 64-bit integers before using fistpll. Remove
5719 checks for whether integers fit in mantissa bits.
5720 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
5721 the range of signed 32-bit integers before using fistpl. Remove
5722 checks for whether integers fit in mantissa bits.
5723 * sysdeps/i386/fpu/e_powl.S (p64): New object.
5724 (__ieee754_powl): Test for y outside the range of signed 64-bit
5725 integers before using fistpll. Reduce 64-bit values to 63-bit
5726 ones as needed.
5727 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
5728 divide-by-zero is raised for zero to large negative powers.
5729 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
5730 (__ieee754_powl): Test for y outside the range of signed 64-bit
5731 integers before using fistpll. Reduce 64-bit values to 63-bit
5732 ones as needed.
5733 * math/libm-test.inc (pow_test): Add more tests.
5734
eb96ffb0
L
57352012-03-20 H.J. Lu <hongjiu.lu@intel.com>
5736
5737 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
5738 <stdio-common/_itoa.h>.
5739 * debug/segfault.c: Likewise.
5740 * elf/dl-cache.c: Likewise.
5741 * elf/dl-minimal.c: Likewise.
5742 * elf/dl-misc.c: Likewise.
5743 * elf/dl-sysdep.c: Likewise.
5744 * elf/dl-version.c: Likewise.
5745 * elf/rtld.c: Likewise.
5746 * hurd/hurdsock.c: Likewise.
5747 * hurd/lookup-retry.c: Likewise.
5748 * malloc/malloc.c: Likewise.
5749 * malloc/mtrace.c: Likewise.
5750 * nscd/nscd_getgr_r.c: Likewise.
5751 * nscd/nscd_getpw_r.c: Likewise.
5752 * nscd/nscd_getserv_r.c: Likewise.
5753 * posix/getopt_init.c: Likewise.
5754 * posix/wordexp.c: Likewise.
5755 * stdio-common/_itoa.c: Likewise.
5756 * stdio-common/printf_fphex.c: Likewise.
5757 * stdio-common/vfprintf.c: Likewise.
5758 * string/_strerror.c: Likewise.
5759 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
5760 * sysdeps/i386/i686/hp-timing.h: Likewise.
5761 * sysdeps/mach/_strerror.c: Likewise.
5762 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
5763 * sysdeps/mach/hurd/sethostid.c: Likewise.
5764 * sysdeps/mach/hurd/xmknodat.c: Likewise.
5765 * sysdeps/mach/xpg-strerror.c: Likewise.
5766 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
5767 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
5768 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
5769 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
5770 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
5771 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
5772 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
5773 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
5774 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
5775 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
5776 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
5777 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
5778 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
5779 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
5780 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
5781 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
5782 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
5783 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
5784 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
5785 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
5786 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
5787
5788 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
5789
5790 * stdio-common/_itoa.h: Moved to ...
5791 * sysdeps/generic/_itoa.h: Here.
5792
5793 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
5794
5795 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
5796 instead of "_itoa.h" and "_itowa.h".
5797 * stdio-common/vfprintf.: Likewise.
5798
d1af992d
L
57992012-03-20 H.J. Lu <hongjiu.lu@intel.com>
5800
5801 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
5802 <bits/wordsize.h>.
5803 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
5804 (__signbit): Likwise.
5805 (llrintf): Likwise.
5806 (llrint): Likwise.
5807
114883e0
L
58082012-03-20 H.J. Lu <hongjiu.lu@intel.com>
5809
5810 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
5811 __WORDSIZE != 64.
5812
c135cc1b
JM
58132012-03-20 Joseph Myers <joseph@codesourcery.com>
5814
5815 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
5816 OVERFLOW_EXCEPTION_OK.
5817 * math/libm-test.inc ("Philosophy"): Update comment about
5818 exception testing.
5819 (OVERFLOW_EXCEPTION): Define.
5820 (OVERFLOW_EXCEPTION_OK): Likewise.
5821 (INVALID_EXCEPTION_OK): Renumber.
5822 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
5823 (IGNORE_ZERO_INF_SIGN): Likewise.
5824 (test_exceptions): Handle FE_OVERFLOW.
5825 (exp10_test): Expect overflow exceptions.
5826 (exp2_test): Likewise.
5827 (expm1_test): Likewise.
5828 (nextafter_test): Likewise.
5829 (pow_test): Likewise.
5830 (scalbn_test): Likewise.
5831 (scalbln_test): Likewise.
5832
95443d88
L
58332012-03-19 H.J. Lu <hongjiu.lu@intel.com>
5834
5835 * sysdeps/x86_64/bits/atomic.h
5836 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
5837 64bit integer.
5838 (atomic_exchange_acq): Likewise.
5839 (__arch_exchange_and_add_body): Likewise.
5840 (__arch_add_body): Likewise.
5841 (atomic_add_negative): Likewise.
5842 (atomic_add_zero): Likewise.
5843
490df6c4
L
58442012-03-19 H.J. Lu <hongjiu.lu@intel.com>
5845
c2722551 5846 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
5847 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
5848
5e52b189
L
58492012-03-19 H.J. Lu <hongjiu.lu@intel.com>
5850
5851 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
5852 Check __x86_64__ instead of __WORDSIZE.
5853
a9879d4c
L
58542012-03-19 H.J. Lu <hongjiu.lu@intel.com>
5855
5856 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
5857
5df98260
DM
58582012-03-19 David S. Miller <davem@davemloft.net>
5859
e1497744
DM
5860 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5861
5df98260
DM
5862 * sysdeps/sparc/fpu/fenv_private.h: New file.
5863 * sysdeps/sparc/fpu/math_private.h: Use it.
5864 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
5865 Remove.
5866 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
5867 (libc_feholdexcept_setroundl): Remove.
5868 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
5869 Remove.
5870 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
5871 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
5872
b4c35121
L
58732012-03-19 H.J. Lu <hongjiu.lu@intel.com>
5874
5875 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
5876 int64_t instead of long int.
5877 (INSERT_WORDS64): Likwise.
5878
56965fd7
L
58792012-03-19 H.J. Lu <hongjiu.lu@intel.com>
5880
5881 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
5882 _Unwind_GetCFA return to _Unwind_Ptr first.
5883
83d1aec8
JM
58842012-03-19 Joseph Myers <joseph@codesourcery.com>
5885
1897ad44
JM
5886 [BZ #13629]
5887 * math/s_clog.c: Include <float.h>.
5888 (__clog): Scale large or subnormal inputs.
5889 * math/s_clogf.c: Likewise.
5890 * math/s_clogl.c: Likewise.
5891 * math/s_clog10.c: Include <float.h>.
5892 (M_LOG10_2): Define.
5893 (__clog10): Scale large or subnormal inputs.
5894 * math/s_clog10f.c: Likewise.
5895 * math/s_clog10l.c: Likewise.
5896 * math/libm-test.inc (clog_test): Add more tests.
5897 (clog10_test): Likewise.
5898 * sysdeps/i386/fpu/libm-test-ulps: Update.
5899 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5900
7726d6a9
JM
5901 [BZ #11451]
5902 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
5903 x and y.
5904 * math/libm-test.inc (atan2_test): Add another test.
5905
83d1aec8
JM
5906 * Makerules (common-objdir-compile): Remove.
5907 * sysdeps/unix/Makefile (config-generated): Do not add
5908 $(unix-generated) to variable.
5909 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
5910 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
5911 Remove rule.
5912 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
5913 Likewise.
5914 [generic bits/local_lim.h] (before-compile): Do not append to
5915 variable.
5916 [generic bits/local_lim.h] (common-generated): Likewise.
5917 [generic sys/param.h] (before-compile): Do not append to variable.
5918 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
5919 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
5920 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
5921 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
5922 include.
5923 [generic sys/param.h] (sys/param.h-includes): Remove variable.
5924 [generic sys/param.h] (sys/param.h-includes): Remove rule.
5925 [generic sys/param.h] ($(addprefix
5926 $(common-objpfx),$(sys/param.h-includes))): Likewise.
5927 [generic sys/param.h] (common-generated): Do not append to
5928 variable.
5929 [generic sys/param.h] (sysdep_headers): Likewise.
5930 [generic bits/errno.h] (before-compile): Do not append to
5931 variable.
5932 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
5933 rule.
5934 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
5935 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
5936 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
5937 [generic bits/errno.h] (common-generated): Do not append to
5938 variable.
5939 [generic bits/ioctls.h] (before-compile): Do not append to
5940 variable.
5941 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
5942 rule.
5943 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
5944 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
5945 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
5946 rule.
5947 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
5948 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
5949 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
5950 [generic bits/ioctls.h] (common-generated): Do not append to
5951 variable.
5952 [generic sys/syscall.h] (syscall.h): Remove variable.
5953 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
5954 rule.
5955 [generic sys/syscall.h] (before-compile): Do not append to
5956 variable.
5957 [generic sys/syscall.h] (common-generated): Likewise.
5958 * sysdeps/unix/errnos-tmpl.c: Remove file.
5959 * sysdeps/unix/errnos.awk: Likewise.
5960 * sysdeps/unix/ioctls-tmpl.c: Likewise.
5961 * sysdeps/unix/ioctls.awk: Likewise.
5962 * sysdeps/unix/mk-local_lim.c: Likewise.
5963 * sysdeps/unix/snarf-ioctls: Likewise.
5964
4851a949
RH
59652012-03-19 Richard Henderson <rth@twiddle.net>
5966
bd37f2ee
RH
5967 * sysdeps/i386/fpu/fenv_private.h: New file.
5968 * sysdeps/i386/fpu/math_private.h: Use it.
5969 (math_opt_barrier, math_force_eval): Remove.
5970 (libc_feholdexcept_setround_53bit): Remove.
5971 (libc_feupdateenv_53bit): Remove.
5972 * sysdeps/x86_64/fpu/math_private.h: Likewise.
5973 (math_opt_barrier, math_force_eval): Remove.
5974 (libc_feholdexcept): Remove.
5975 (libc_feholdexcept_setround): Remove.
5976 (libc_fetestexcept, libc_fesetenv): Remove.
5977 (libc_feupdateenv_test): Remove.
5978 (libc_feupdateenv, libc_feholdsetround): Remove.
5979 (libc_feresetround): Remove.
5980
d0adc922
RH
5981 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
5982 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
5983
0fe0f1f8
RH
5984 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
5985 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
5986 (libc_feupdateenv_testl): New.
5987 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
5988 (libc_feupdateenv_testf): New.
5989 (libc_feupdateenv): Use libc_feupdateenv_test.
5990 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
5991 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
5992
eb92c487
RH
5993 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
5994 (libc_feholdsetroundf, libc_feholdsetroundl): New.
5995 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
5996 (libc_feresetround_noex): New.
5997 (libc_feresetround_noexf): New.
5998 (libc_feresetround_noexl): New.
5999 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
6000 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
6001 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
6002 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
6003 SET_RESTORE_ROUND.
6004 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
6005 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
6006 (__cos): Likewise.
6007 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
6008 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
6009 SET_RESTORE_ROUND_NOEX.
6010 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
6011 SET_RESTORE_ROUND_NOEXF.
6012 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
6013 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
6014 (libc_feholdsetroundf): New.
6015 (libc_feresetround, libc_feresetroundf): New.
6016
7d2e8012
RH
6017 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
6018 (libc_feholdexcept_setround_53bit): Convert from macro to function.
6019 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
6020
b4dabbb4
RH
6021 * sysdeps/generic/math_private.h: Include <fenv.h>.
6022 (default_libc_feholdexcept): New.
6023 (default_libc_feholdexcept_setround): New.
6024 (default_libc_fesetenv, default_libc_feupdateenv): New.
6025 (libc_feholdexcept): Only define if undefined.
6026 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
6027 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
6028 (libc_feholdexcept_setroundl): Likewise.
6029 (libc_feholdexcept_setround_53bit): Likewise.
6030 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
6031 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
6032 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
6033 (libc_feupdateenv_53bit): Likewise.
6034 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
6035 (libc_feholdexcept): Convert from macro to inline function.
6036 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
6037 (libc_fesetenv, libc_feupdateenv): Likewise.
6038
4851a949
RH
6039 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
6040 not previously defined.
6041 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
6042 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
6043 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
6044 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
6045 * sysdeps/ieee754/flt-32/math_private.h: New file.
6046 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
6047 math_private.h below SET_FLOAT_WORD.
6048 (__isnan, __isinf_ns, __finite): Remove.
6049 (__isnanf, __isinf_nsf, __finitef): Remove.
6050
e79d442e
AS
60512012-03-18 Andreas Schwab <schwab@linux-m68k.org>
6052
6053 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6054
90b80344
DM
60552012-03-17 David S. Miller <davem@davemloft.net>
6056
6057 [BZ #6471]
6058 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
6059 for 2.16.
6060
edc21804
DM
60612012-03-16 David S. Miller <davem@davemloft.net>
6062
77e927af
DM
6063 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
6064 warnings.
6065
374976dd
DM
6066 [BZ #6471]
6067 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
6068 properly.
6069 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
6070 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
6071 sysdep_routines when subdir is sysvipc.
6072 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
6073 __getshmlba helper.
6074
edc21804
DM
6075 * sysdeps/sparc/fpu/libm-test/ulps: Update.
6076
473c3ef3
L
60772012-03-16 H.J. Lu <hongjiu.lu@intel.com>
6078
6079 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
6080 [__LP64__].
6081
eb0f39b6
L
60822012-03-16 H.J. Lu <hongjiu.lu@intel.com>
6083
6084 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
6085 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
6086 (__lround): Renamed to ...
6087 (__llround): This. Replace long int with long long int.
6088 Define lround functions as aliases of llround functions.
6089 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
6090
6b6cd74b
L
60912012-03-16 H.J. Lu <hongjiu.lu@intel.com>
6092
6093 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
6094 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
6095 adresses to uintptr_t. Replace "long int" and "unsigned long
6096 int" with "greg_t" on va_arg.
6097
f1a77b01
L
60982012-03-16 H.J. Lu <hongjiu.lu@intel.com>
6099
6100 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
6101 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
6102
6103 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
6104 Move e_machine check before EI_CLASS check. Handle x32
6105 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
6106 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
6107 SKIP_EM_IA_64 and include
6108 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
6109
6110 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
6111 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
6112 (add_system_dir): New macro.
6113
6114 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
6115 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
6116
11b90b9f
JM
61172012-03-16 Joseph Myers <joseph@codesourcery.com>
6118
c36e1d23
JM
6119 [BZ #2551]
6120 [BZ #2552]
6121 [BZ #2553]
6122 [BZ #2554]
6123 [BZ #2562]
6124 [BZ #2563]
6125 [BZ #2565]
6126 [BZ #2566]
6127 [BZ #2576]
6128 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
6129 (y0): Likewise.
6130 * math/w_j0f.c (j0f): Likewise.
6131 (y0f): Likewise.
6132 * math/w_j0l.c (__j0l): Likewise.
6133 (__y0l): Likewise.
6134 * math/w_j1.c (j1): Likewise.
6135 (y1): Likewise.
6136 * math/w_j1f.c (j1f): Likewise.
6137 (y1f): Likewise.
6138 * math/w_j1l.c (__j1l): Likewise.
6139 (__y1l): Likewise.
6140 * math/w_jn.c (jn): Likewise.
6141 (yn): Likewise.
6142 * math/w_jnf.c (jnf): Likewise.
6143 (ynf): Likewise.
6144 * math/w_jnl.c (__jnl): Likewise.
6145 (__ynl): Likewise.
6146 * math/libm-test.inc (j0_test): Add more tests.
6147 (j1_test): Likewise.
6148 (jn_test): Likewise. Add trailing semicolon to existing test.
6149 (y0_test): Likewise.
6150 (y1_test): Likewise.
6151 * sysdeps/i386/fpu/libm-test-ulps: Update.
6152 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6153
11b90b9f
JM
6154 [BZ #13851]
6155 [BZ #13854]
6156 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
6157 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
6158 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
6159 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
6160 (__tanl): Set errno for infinite argument.
6161 * sysdeps/i386/fpu/mptan.c: Remove.
6162 * sysdeps/i386/fpu/s_tan.S: Likewise.
6163 * sysdeps/i386/fpu/s_tanl.S: Likewise.
6164 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
6165 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
6166 * math/libm-test.inc (tan_test): Add more tests and enable more
6167 tests for double and long double.
6168 * sysdeps/i386/fpu/libm-test-ulps: Update.
6169 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6170
6a1bd2a1
JK
61712012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
6172
6173 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
6174 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
6175
10a803e0
RM
61762012-03-16 Roland McGrath <roland@hack.frob.com>
6177
6178 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
6179 * configure.in: Use it for both main tree and add-ons.
6180 * configure: Regenerated.
6181
f196c7f7
L
61822012-03-16 H.J. Lu <hongjiu.lu@intel.com>
6183
6184 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
6185
8848d99d
JM
61862012-03-16 Joseph Myers <joseph@codesourcery.com>
6187
96cbe7f4
JM
6188 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
6189 in comment.
6190
8848d99d
JM
6191 [BZ #13851]
6192 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
6193 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
6194 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
6195 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
6196 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
6197 infinite argument.
6198 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
6199 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
6200 != 0 for prec == 2.
6201 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
6202 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
6203 * sysdeps/i386/fpu/s_cosl.S: Likewise.
6204 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
6205 * sysdeps/i386/fpu/s_sinl.S: Likewise.
6206 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
6207 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
6208 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
6209 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
6210 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
6211 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
6212 * math/libm-test.inc (cos_test): Add more tests and enable more
6213 tests for long double.
6214 (sin_test): Likewise.
6215 (sincos_test): Likewise.
6216 * sysdeps/i386/fpu/libm-test-ulps: Update.
6217 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6218
dd7f4703
DM
62192012-03-16 David S. Miller <davem@davemloft.net>
6220
6221 * sysdeps/sparc/fpu/math_private.h: New file.
6222
006f1daa
DM
62232012-03-15 David S. Miller <davem@davemloft.net>
6224
c0c83bc8
DM
6225 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
6226 file.
e6a62e18 6227 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
6228 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
6229 file.
e6a62e18
DM
6230 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
6231 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
6232 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
6233 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
6234 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
6235 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
6236 sysdep routines.
6237 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
6238
88cb87d9
DM
6239 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
6240 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
6241
006f1daa 6242 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
6243 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
6244 sparc-ifunc.h
006f1daa 6245 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
6246 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
6247 Likewise.
6248 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
6249 Likewise.
006f1daa
DM
6250 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
6251 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
6252 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
6253 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
6254 Likewise.
006f1daa
DM
6255 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
6256 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
6257 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
6258 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
6259 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
6260 Likewise.
6261 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
6262 Likewise.
006f1daa
DM
6263 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
6264 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
6265 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
6266 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
6267 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
6268 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
6269 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
6270 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
6271 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
6272 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
6273 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
6274 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
6275 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
6276 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
6277 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
6278 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
6279 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
6280 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
6281 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
6282 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
6283 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
6284 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
6285 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
6286 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
6287
11e0098e
AS
62882012-03-15 Andreas Schwab <schwab@linux-m68k.org>
6289
6290 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
6291 scaling.
6292 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6293
e85b09d0
AJ
62942012-03-15 Andreas Jaeger <aj@suse.de>
6295
6296 [BZ #13852]
6297 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
6298 ieee754/flt-32 implementation for sin, cos and sincos.
6299 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
6300 * sysdeps/i386/fpu/s_cosf.S: Likewise.
6301 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
6302 * sysdeps/i386/fpu/s_sinf.S: Likewise.
6303 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
6304 ieee754/flt-32 implementation for tan.
6305
6306 * math/libm-test.inc (cos_test): Enable some large input tests for
6307 float as well
6308 (sin_test): Likewise.
6309 (sincos_test): Likewise.
6310 (tan_test): Add tests for large input.
6311
6312 * sysdeps/i386/fpu/libm-test-ulps: Update.
6313
81c64153
AJ
63142012-03-15 Andreas Jaeger <aj@suse.de>
6315
6316 [BZ #13658]
6317 * math/libm-test.inc (cos_test): Add more test cases.
6318 (sin_test): Likewise.
6319 (sincos_test): Likewise.
6320
7bbfa5c6
AJ
63212012-03-15 Andreas Jaeger <aj@suse.de>
6322
6323 [BZ #13837]
6324 * math/libm-test.inc (cos_test): Add a test case for large input
6325 value.
6326 (sin_test): Likewise.
6327 (sincos_test): Likewise.
6328
63292012-03-15 Andreas Jaeger <aj@suse.de>,
6330 Joseph Myers <joseph@codesourcery.com>
6331
6332 [BZ #13658]
0671f479 6333 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
6334 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
6335 * sysdeps/i386/fpu/branred.c: Likewise.
6336 * sysdeps/i386/fpu/dosincos.c: Likewise.
6337 * sysdeps/i386/fpu/mpa.c: Likewise.
6338 * sysdeps/i386/fpu/s_cos.S: Likewise.
6339 * sysdeps/i386/fpu/s_sin.S: Likewise.
6340 * sysdeps/i386/fpu/s_sincos.S: Likewise.
6341 * sysdeps/i386/fpu/sincos32.c: Likewise.
6342
6343 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
6344 Define.
6345 (libc_feupdateenv_53bit): Define.
6346 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
6347 Define.
6348 (libc_feupdateenv_53bit): Define.
6349
6350 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
6351 53 bit (without extend i386 double precision).
6352
6353 * math/libm-test.inc (sincos_test): Add tests for large input.
6354 (sin): Likewise.
6355 (cos): Likewise.
6356
6357 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
6358
9cad04ea
AS
63592012-03-15 Andreas Schwab <schwab@linux-m68k.org>
6360
6361 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6362
f7062b9a
DM
63632012-03-15 David S. Miller <davem@davemloft.net>
6364
6365 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
6366 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
6367 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
6368 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
6369 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
6370 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
6371 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
6372 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
6373 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
6374 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
6375 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
6376 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
6377 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
6378 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
6379 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
6380 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
6381 file.
f7062b9a 6382 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
6383 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
6384 file.
f7062b9a 6385 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
6386 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
6387 file.
f7062b9a 6388 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
6389 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
6390 file.
f7062b9a
DM
6391 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
6392 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
6393 fmin/fmax sysdep routines.
6394 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
6395
7bd951ff
DM
63962012-03-14 David S. Miller <davem@davemloft.net>
6397
559398ab
DM
6398 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
6399 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
6400 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
6401 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
6402 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
6403 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
6404 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
6405 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
6406 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
6407 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
6408 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
6409 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
6410 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
6411 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
6412 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
6413 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
6414 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
6415 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
6416 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
6417 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
6418 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
6419 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
6420 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
6421 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
6422 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
6423 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
6424 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
6425 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
6426 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
6427 routines.
6428 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
6429 file.
559398ab 6430 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
6431 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
6432 file.
559398ab 6433 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
6434 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
6435 file.
559398ab 6436 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
6437 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
6438 file.
559398ab 6439 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
6440 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
6441 file.
559398ab 6442 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
6443 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
6444 file.
6445 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
6446 file.
6447 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
6448 file.
6449 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
6450 file.
6451 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
6452 New file.
6453 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
6454 file.
6455 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
6456 file.
559398ab 6457 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
6458 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
6459 file.
559398ab 6460 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
6461 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
6462 file.
559398ab 6463 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
6464 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
6465 file.
559398ab 6466 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
6467 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
6468 VIS3 routines.
559398ab
DM
6469
6470 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
6471 New file.
6472
5a1c1e32
DM
6473 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6474
eae47a36
DM
6475 * sysdeps/sparc/configure.in: New file.
6476 * sysdeps/sparc/configure: Generate.
6477 * configure.in (libc_cv_sparc_as_vis3): Substitute.
6478 * configure: Regenerate.
6479 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
6480 * config.make.in (have-as-vis3): New.
6481 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
6482 available use -Av9d instead of -Av9a.
6483 * sysdeps/sparc/sparc64/Makefile: Likewise.
6484 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
6485 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
6486 New file.
6487 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
6488 file.
6489 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
6490 New file.
6491 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
6492 file.
eae47a36
DM
6493 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
6494 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
6495 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
6496 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
6497 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
6498
c0c83bc8
DM
6499 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
6500 fzeros/fnegs to load 0x80000000 into a float register instead of
6501 using the stack.
7bd951ff
DM
6502 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
6503
bd951ccb
JM
65042012-03-14 Joseph Myers <joseph@codesourcery.com>
6505
6506 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
6507 bits/syscall.h.
6508 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
6509 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
6510 ($(inst_includedir)/bits/syscall.h): Remove rule.
6511 ($(objpfx)bits/syscall.d): Include instead of
6512 $(objpfx)syscall-list.d.
6513 (generated): Change syscall-list.h and syscall-list.d to
6514 bits/syscall.h and bits/syscall.d.
6515
bb4e6db2
RM
65162012-03-14 Roland McGrath <roland@hack.frob.com>
6517
6518 [BZ #13846]
6519 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
6520
aa4a2ae1
JM
65212012-03-14 Joseph Myers <joseph@codesourcery.com>
6522
e456826d
JM
6523 [BZ #13841]
6524 * math/s_csqrt.c: Include <float.h>.
6525 (__csqrt): Scale large or subnormal inputs.
6526 * math/s_csqrtf.c: Likewise.
6527 * math/s_csqrtl.c: Likewise.
6528 * math/libm-test.inc (csqrt_test): Add more tests.
6529 * sysdeps/i386/fpu/libm-test-ulps: Update.
6530 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6531
aa4a2ae1
JM
6532 [BZ #13840]
6533 * math/libm-test.inc (hypot_test): Add more tests.
6534
7c10fd35
DM
65352012-03-13 David S. Miller <davem@davemloft.net>
6536
6537 [BZ #13840]
6538 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
6539 double-precision for the calculation instead of scaling.
6540
f453b98b
JM
65412012-03-13 Joseph Myers <joseph@codesourcery.com>
6542
6543 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
6544 manipulate bits before adding and subtracting TWO52[sx].
6545 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
6546 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
6547 Likewise.
6548 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
6549
09a3453f
DM
65502012-03-13 David S. Miller <davem@davemloft.net>
6551
8e59da90
DM
6552 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
6553 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
6554 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
6555 rtld-global-offsets.h
6556 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
6557
2a8ab7f2
DM
6558 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
6559 large parameters.
6560
10f62770
DM
6561 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
6562
5f0bdb18
DM
6563 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
6564 'err' in the ifdef scope in which it is actually used.
6565
09a3453f
DM
6566 * nss/nss_db/db-init.c: Include string.h
6567
b4b2eb5e
DM
65682012-03-12 David S. Miller <davem@davemloft.net>
6569
98bb2f1c
DM
6570 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
6571 masking out of the most significant byte of random value used.
6572 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
6573 Fix coding style in previous change.
6574
b4b2eb5e
DM
6575 * sysdeps/unix/sysv/linux/kernel-features.h
6576 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
6577 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
6578 expression.
6579 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
6580 later.
6581
6e226b09
DM
65822012-03-11 David S. Miller <davem@davemloft.net>
6583
a1bcbd40
DM
6584 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
6585 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
6586 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
6587 for 'resultvar' otherwise things get truncated on 64-bit.
6588
cb9d6174
DM
6589 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
6590 Fix masking out of the most significant byte of random value used.
6591
6e226b09
DM
6592 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6593
058c132d
AS
65942012-03-10 Andreas Schwab <schwab@linux-m68k.org>
6595
6596 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6597
2d2cd515
DM
65982012-03-09 David S. Miller <davem@davemloft.net>
6599
6600 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
6601 variables with appropriate CPP guards.
6602 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
6603 frame pointer, not the stack pointer. Correct layout comments. Fix test
6604 on resulting framesize and the management of the outregs buffer for pltexit.
6605 Preserve floating point return values across _dl_call_pltexit call.
6606 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
6607 framesize and the management of the outregs buffer for pltexit.
6608 Preserve floating point return values across _dl_call_pltexit
6609 call.
6610 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
6611 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
6612 (print_exit): Fix format string for return register value.
6613
9a07f9d0
JM
66142012-03-10 Joseph Myers <joseph@codesourcery.com>
6615
6616 * sunrpc/Makefile (others): Add rpcgen.
6617 ($(objpfx)rpcgen): Remove special build rule and dependency on
6618 libc.
6619 * sunrpc/rpcgen.c: New file.
6620
547b5e30
PE
66212012-03-09 Paul Eggert <eggert@cs.ucla.edu>
6622
c524201a
PE
6623 [BZ #13673]
6624 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
6625 * stdio-common/bug-vfprintf-nargs.c: Likewise.
6626 * sysdeps/i386/crti.S: Likewise.
6627 * sysdeps/i386/crtn.S: Likewise.
6628 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
6629 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
6630 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
6631 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
6632 * sysdeps/sh/crti.S: Likewise.
6633 * sysdeps/sh/crtn.S: Likewise.
6634 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
6635
7b6235f2
PE
6636 [BZ #13673]
6637 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
6638 with URL.
6639 * locale/programs/locfile-kw.gperf: Likewise.
6640 * locale/programs/charmap-kw.h: Regenerated.
6641 * locale/programs/locfile-kw.h: Likewise.
6642
547b5e30
PE
6643 [BZ #13673]
6644 * intl/plural.y: Replace FSF snail mail address with URL.
6645 * intl/plural.c: Regenerated.
6646
5f0a5dae
RH
66472012-03-09 Richard Henderson <rth@twiddle.net>
6648
6649 * include/math_private.h: Remove file.
6650 * math/math_private.h: Move file ...
6651 * sysdeps/generic/math_private.h: ... here.
6652
b8c03620
RH
6653 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
6654 * sysdeps/powerpc/fpu/math_private.h: Likewise.
6655 * sysdeps/x86_64/fpu/math_private.h: Likewise.
6656
4e234f5d 6657 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
6658 and <math_private.h>.
6659 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
6660 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
6661 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
6662 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
6663 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
6664 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
6665 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
6666 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
6667 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
6668 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
6669 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
6670 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
6671 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
6672 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
6673 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
6674 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
6675 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
6676 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
6677 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
6678 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
6679 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
6680 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
6681 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
6682 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
6683 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
6684 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
6685 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
6686 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
6687 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
6688 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
6689 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
6690 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
6691 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
6692 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
6693 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
6694 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
6695 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
6696 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
6697 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
6698 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
6699 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
6700 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
6701 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
6702 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
6703 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
6704 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
6705 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
6706 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
6707 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
6708 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
6709 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
6710 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
6711 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
6712 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
6713 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
6714 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
6715 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
6716 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
6717 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
6718 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
6719 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
6720 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
6721 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
6722 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
6723 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
6724 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
6725 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
6726 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
6727 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
6728 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
6729 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
6730 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
6731 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
6732 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
6733 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
6734 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
6735 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
6736 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
6737 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
6738 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
6739 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
6740 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
6741 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
6742 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
6743 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
6744 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
6745 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
6746 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
6747 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
6748 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
6749 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
6750 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
6751 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
6752 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
6753 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
6754 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
6755 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
6756 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
6757 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
6758 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
6759 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
6760 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
6761 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
6762 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
6763 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
6764 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
6765 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
6766 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
6767 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
6768 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
6769 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
6770 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
6771 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
6772 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
6773 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
6774 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
6775 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
6776 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
6777 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
6778 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
6779 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
6780 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
6781 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
6782 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
6783 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
6784 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
6785 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
6786 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
6787 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
6788 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
6789 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
6790 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
6791 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
6792 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
6793 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
6794 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
6795 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
6796 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
6797 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
6798 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
6799 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
6800 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
6801 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
6802 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
6803 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
6804 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
6805 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
6806 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
6807 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
6808 * sysdeps/ieee754/k_standard.c: Likewise.
6809 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
6810 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
6811 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
6812 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
6813 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
6814 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
6815 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
6816 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
6817 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
6818 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
6819 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
6820 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
6821 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
6822 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
6823 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
6824 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
6825 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
6826 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
6827 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
6828 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
6829 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
6830 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
6831 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
6832 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
6833 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
6834 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
6835 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
6836 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
6837 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
6838 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
6839 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
6840 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
6841 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
6842 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
6843 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
6844 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
6845 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
6846 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
6847 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
6848 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
6849 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
6850 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
6851 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
6852 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
6853 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
6854 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
6855 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
6856 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
6857 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
6858 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
6859 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
6860 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
6861 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
6862 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
6863 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
6864 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
6865 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
6866 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
6867 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
6868 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
6869 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
6870 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
6871 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
6872 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
6873 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
6874 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
6875 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
6876 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
6877 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
6878 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
6879 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
6880 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
6881 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
6882 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
6883 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
6884 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
6885 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
6886 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
6887 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
6888 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
6889 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
6890 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
6891 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
6892 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
6893 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
6894 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
6895 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
6896 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
6897 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
6898 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
6899 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
6900 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
6901 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
6902 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
6903 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
6904 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
6905 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
6906 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
6907 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
6908 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
6909 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
6910 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
6911 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
6912 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
6913 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
6914 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
6915 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
6916 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
6917 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
6918 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
6919 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
6920 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
6921 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
6922 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
6923 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
6924 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
6925 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
6926 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
6927 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
6928 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
6929 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
6930 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
6931 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
6932 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
6933 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
6934 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
6935 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
6936 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
6937 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
6938 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
6939 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
6940 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
6941 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
6942 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
6943 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
6944 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
6945 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
6946 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
6947 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
6948 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
6949 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
6950 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
6951 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
6952 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
6953 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
6954 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
6955 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
6956 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
6957 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
6958 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
6959 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
6960 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
6961 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
6962 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
6963 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
6964 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
6965 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
6966 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
6967 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
6968 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
6969 * sysdeps/ieee754/s_lib_version.c: Likewise.
6970 * sysdeps/ieee754/s_matherr.c: Likewise.
6971 * sysdeps/ieee754/s_signgam.c: Likewise.
6972 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
6973 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
6974 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
6975 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
6976 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
6977 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
6978 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
6979 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
6980 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
6981 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
6982 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
6983 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
6984 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
6985 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
6986 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
6987 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
6988 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
6989 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
6990 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
6991 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
6992 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 6993
1991fa03
JM
69942012-03-09 Joseph Myers <joseph@codesourcery.com>
6995
6996 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
6997 * sunrpc/rpc_main.c: Likewise.
6998 * sunrpc/rpc_svcout.c: Likewise.
6999
60d6f5a6
DM
70002012-03-09 David S. Miller <davem@davemloft.net>
7001
7002 * include/math_private.h: New file.
7003
4962050e
JM
70042012-03-09 Joseph Myers <joseph@codesourcery.com>
7005
02a6f887
JM
7006 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
7007 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
7008 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
7009 from <bits/socket_type.h>.
7010 (enum __socket_type): Don't define here.
7011 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
7012 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
7013 bits/socket_type.h.
7014
c6e013c1
JM
7015 [BZ #13566]
7016 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
7017 checking __USE_GNU.
7018
4962050e
JM
7019 * Makerules ($(inst_includedir)/%.h): New rule.
7020 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
7021 (install-others): Remove variable setting.
7022 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
7023
38842f45
RH
70242012-03-08 Richard Henderson <rth@twiddle.net>
7025
67bb6da6
RH
7026 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
7027 from macro to inline function; merge with the
7028 !__LIBC_INTERNAL_MATH_INLINES version.
7029 (__ieee754_sqrtf): Likewise.
7030
15194b4b
RH
7031 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
7032 to inline function.
7033 (__rintf, __floor, __floorf): Likewise.
7034
64e21ede
RH
7035 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
7036 macro to inline function.
7037 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
7038
38842f45
RH
7039 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
7040 not <math/math_private.h>.
7041
c64bf5fe
DM
70422012-03-08 David S. Miller <davem@davemloft.net>
7043
7044 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
7045 copyright year.
7046 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
7047
82d86f28
TS
70482012-03-08 Thomas Schwinge <thomas@codesourcery.com>
7049
7050 * resolv/gai_misc.c (handle_requests): Fix struct timespec
7051 normalization.
7052 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
7053 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
7054
aea5d727
UD
70552012-03-08 Ulrich Drepper <drepper@gmail.com>
7056
7057 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
7058 be defined individually, they must be defined as a block. Define
7059 S for printing a string instead of hidint the different by using a
7060 macro for adding the 'l'.
7061 * stdio-common/tst-fphex-wide.c: Adjust.
7062
70bca0a3
MP
70632012-03-07 Marek Polacek <polacek@redhat.com>
7064
7065 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
7066
65b81130
MP
70672012-03-08 Marek Polacek <polacek@redhat.com>
7068
7069 [BZ #13806]
7070 * stdio-common/Makefile (tests): Add tst-fphex-wide.
7071 * stdio-common/tst-fphex.c: Define a few macros to make the
7072 test reusable. Use them.
7073 * stdio-common/tst-fphex-wide.c: New file.
7074
07037eeb
JM
70752012-03-08 Joseph Myers <joseph@codesourcery.com>
7076
a7a93d50
JM
7077 [BZ #6911]
7078 * manual/macros.texi (gnusystems): New macro.
7079 (nongnusystems): Likewise.
7080 (gnulinuxhurdsystems): Likewise.
7081 (gnuhurdsystems): Likewise..
7082 (gnulinuxsystems): Likewise.
7083 * manual/charset.texi: Use new macros or @theglibc{} to refer to
7084 variants of the GNU system, not "GNU system".
7085 * manual/conf.texi: Likewise.
7086 * manual/errno.texi: Likewise. Update example of errno macro
7087 expansion.
7088 * manual/filesys.texi: Likewise.
7089 (getumask): Document as specific to GNU/Hurd.
7090 * manual/install.texi: Likewise. Reword some references to
7091 GNU/Linux.
7092 * manual/intro.texi: Likewise.
7093 * manual/io.texi: Likewise.
7094 (File Name Portability): Detail which constraints are inapplicable
7095 to all GNU systems and which are only inapplicable to GNU/Hurd.
7096 * manual/job.texi: Likewise.
7097 * manual/llio.texi: Likewise.
7098 (O_NOCTTY): Document as present on GNU/Linux.
7099 * manual/maint.texi: Likewise.
7100 * manual/memory.texi: Likewise.
7101 * manual/pattern.texi: Likewise.
7102 * manual/pipe.texi: Likewise.
7103 * manual/process.texi: Likewise.
7104 * manual/resource.texi: Likewise.
7105 (RUSAGE_CHILDREN): Remove statement about specifying a particular
7106 child on GNU/Hurd.
7107 * manual/setjmp.texi: Likewise.
7108 * manual/signal.texi: Likewise.
7109 * manual/startup.texi: Likewise.
7110 * manual/stdio.texi: Likewise.
7111 * manual/terminal.texi: Likewise.
7112 (ONLCR): Document as POSIX.
7113 (OXTABS): Document availability on GNU/Linux as XTABS.
7114 (ONOEOT): Document availability separately from other bits.
7115 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
7116 * manual/time.texi: Likewise.
7117 * manual/users.texi: Likewise.
7118 * INSTALL: Regenerated.
7119 * sysdeps/gnu/errlist.c: Regenerated.
7120
07037eeb
JM
7121 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
7122 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
7123 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
7124 puts.
7125 * configure: Regenerated.
7126
d1d3431a
JM
71272012-03-07 Joseph Myers <joseph@codesourcery.com>
7128
af6a1e37
JM
7129 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
7130 default includes instead of AC_HEADER_CHECK.
7131 * sysdeps/i386/configure: Regenerated.
7132
d1d3431a
JM
7133 [BZ #10716]
7134 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
7135 * math/s_cacoshf.c (__cacoshf): Likewise.
7136 * math/s_cacoshl.c (__cacoshl): Likewise.
7137 * math/s_casinh.c (__casinh): Set signs of result from argument.
7138 * math/s_casinhf.c (__casinhf): Likewise.
7139 * math/s_casinhl.c (__casinhl): Likewise.
7140 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
7141 (casinh_test): Add more tests.
7142 * sysdeps/i386/fpu/libm-test-ulps: Update.
7143 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7144
482ff4da
UD
71452012-03-07 Ulrich Drepper <drepper@gmail.com>
7146
872fda05
UD
7147 * po/zh_TW.po: Update from translation team.
7148
a4300c7a
UD
7149 * login/Makefile (distribute): Remove variable.
7150 * catgets/Makefile: Likewise.
7151 * mach/Makefile: Likewise.
7152 * malloc/Makefile: Likewise.
7153 * misc/Makefile: Likewise.
7154 * iconv/Makefile: Likewise.
7155 * nscd/Makefile: Likewise.
7156 * hurd/Makefile: Likewise.
7157 * manual/Makefile: Likewise.
7158 * locale/Makefile: Likewise.
7159 * intl/Makefile: Likewise.
7160 * conform/Makefile: Likewise.
7161 * nss/Makefile: Likewise.
7162 * time/Makefile: Likewise.
7163 * soft-fp/Makefile: Likewise.
7164 * dirent/Makefile: Likewise.
7165 * gmon/Makefile: Likewise.
7166 * po/Makefile: Likewise.
7167 * rt/Makefile: Likewise.
7168 * socket/Makefile: Likewise.
7169 * math/Makefile: Likewise.
7170 * signal/Makefile: Likewise.
7171 * debug/Makefile: Likewise.
7172 * elf/Makefile: Likewise.
7173 * timezone/Makefile: Likewise.
7174 * stdlib/Makefile: Likewise.
7175 * iconvdata/Makefile: Likewise.
7176 * sunrpc/Makefile: Likewise.
7177 * io/Makefile: Likewise.
7178 * argp/Makefile: Likewise.
7179 * inet/Makefile: Likewise.
7180 * hesiod/Makefile: Likewise.
7181 * grp/Makefile: Likewise.
7182 * csu/Makefile: Likewise.
7183 * wctype/Makefile: Likewise.
7184 * crypt/Makefile: Likewise.
7185 * libio/Makefile: Likewise.
7186 * string/Makefile: Likewise.
7187 * nis/Makefile: Likewise.
7188 * resolv/Makefile: Likewise.
7189 * stdio-common/Makefile: Likewise.
7190 * wcsmbs/Makefile: Likewise.
7191 * dlfcn/Makefile: Likewise.
7192 * posix/Makefile: Likewise.
7193
3b7c4e74 7194 [BZ #6959]
482ff4da
UD
7195 * timezone/Makefile: Don't install timezone files, just the programs
7196 and scripts.
7197
f72ed77d
UD
71982012-03-06 Ulrich Drepper <drepper@gmail.com>
7199
a000466f
UD
7200 * nss/databases.def: Add missing gshadow entry.
7201
f72ed77d
UD
7202 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
7203
a53b7a4e
MP
72042012-03-06 Marek Polacek <polacek@redhat.com>
7205
7206 [BZ #13726]
7207 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
7208 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
7209 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
7210 * stdio-common/tst-long-dbl-fphex.c: New file.
7211
e9258400
DM
72122012-03-06 David S. Miller <davem@davemloft.net>
7213
7214 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
7215 (set_obp_int): New function.
7216 (get_obp_int): New function.
7217 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
7218 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
7219 Avoid unused variable warnings on 'val' and use builtin_expect.
7220 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
7221 __builtin_expect.
e9258400
DM
7222 (INLINE_CLONE_SYSCALL): Likewise.
7223
3bd2c723
DM
72242012-03-05 David S. Miller <davem@davemloft.net>
7225
7226 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7227
bbb78d03
AS
72282012-03-05 Andreas Schwab <schwab@linux-m68k.org>
7229
884c5db4
AS
7230 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7231
bbb78d03
AS
7232 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
7233 only for |x| >= 40.
7234 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
7235
1c9f702a 72362012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
7237
7238 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
7239 Replace gettimeofday with __vdso_gettimeofday.
7240
7be16f82
RM
7241 * sysdeps/unix/sysv/linux/x86_64/init-first.c
7242 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
7243 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
7244
7245 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
7246 time with __vdso_time.
7247
ed58a00f
JM
72482012-03-05 Joseph Myers <joseph@codesourcery.com>
7249
7250 * manual/lang.texi (size_t): Note types to which size_t may be
7251 equivalent with the GNU C Library, but do not describe when
7252 differences between them are significant.
7253
30ee4ced
AJ
72542012-03-05 Andreas Jaeger <aj@suse.de>
7255
7256 * sysdeps/i386/fpu/libm-test-ulps: Update.
7257
b7cd39e8
JM
72582012-03-05 Joseph Myers <joseph@codesourcery.com>
7259
7260 [BZ #3976]
7261 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
7262 (__ieee754_pow): Save and restore rounding mode and use
7263 round-to-nearest for main computations.
7264 * math/libm-test.inc (pow_test_tonearest): New function.
7265 (pow_test_towardzero): Likewise.
7266 (pow_test_downward): Likewise.
7267 (pow_test_upward): Likewise.
7268 (main): Call the new functions.
7269 * sysdeps/i386/fpu/libm-test-ulps: Update.
7270 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
7271
7272 [BZ #3976]
7273 * math/libm-test.inc (cosh_test_tonearest): New function.
7274 (cosh_test_towardzero): Likewise.
7275 (cosh_test_downward): Likewise.
7276 (cosh_test_upward): Likewise.
7277 (sinh_test_tonearest): Likewise.
7278 (sinh_test_towardzero): Likewise.
7279 (sinh_test_downward): Likewise.
7280 (sinh_test_upward): Likewise.
7281 (main): Call the new functions.
7282 * sysdeps/i386/fpu/libm-test-ulps: Update.
7283 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7284
6c6a98c9
TV
72852012-03-05 Tom de Vries <tom@codesourcery.com>
7286
7287 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
7288 default stack guard is set in last bytes.
7289 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
7290
21bb2d2e 72912012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 7292
21bb2d2e 7293 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 7294
21bb2d2e
AJ
7295 [BZ #13656]
7296 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
7297 possibly allocate from heap instead of stack.
7298 * stdio-common/bug-vfprintf-nargs.c: New file.
7299 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 7300
c6922934
AS
73012012-03-03 Andreas Schwab <schwab@linux-m68k.org>
7302
7303 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7304
bc957d53
MP
73052012-03-03 Marek Polacek <polacek@redhat.com>
7306
7307 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
7308 * math/math_private.h: Likewise.
7309 * stdlib/tst-strtod.c: Likewise.
7310 * sysdeps/i386/i486/bits/atomic.h: Likewise.
7311 * sysdeps/x86_64/bits/atomic.h: Likewise.
7312
6358490d
DM
73132012-03-02 David S. Miller <davem@davemloft.net>
7314
7315 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
7316 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
7317 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
7318 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
7319 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
7320 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
7321 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
7322 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
7323
01ae168d
RM
73242012-03-02 Roland McGrath <roland@hack.frob.com>
7325
d9a17c07
RM
7326 [BZ #13792]
7327 * manual/examples/README: New file, says the example source files
7328 can be used under GPL>=2.
7329 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
7330 line containing just "*/".
7331 * manual/examples/add.c: Add copyright header (GPL>=2).
7332 * manual/examples/argp-ex1.c: Likewise.
7333 * manual/examples/argp-ex2.c: Likewise.
7334 * manual/examples/argp-ex3.c: Likewise.
7335 * manual/examples/argp-ex4.c: Likewise.
7336 * manual/examples/atexit.c: Likewise.
7337 * manual/examples/db.c: Likewise.
7338 * manual/examples/dir.c: Likewise.
7339 * manual/examples/dir2.c: Likewise.
7340 * manual/examples/execinfo.c: Likewise.
7341 * manual/examples/filecli.c: Likewise.
7342 * manual/examples/filesrv.c: Likewise.
7343 * manual/examples/fmtmsgexpl.c: Likewise.
7344 * manual/examples/genpass.c: Likewise.
7345 * manual/examples/inetcli.c: Likewise.
7346 * manual/examples/inetsrv.c: Likewise.
7347 * manual/examples/isockad.c: Likewise.
7348 * manual/examples/longopt.c: Likewise.
7349 * manual/examples/memopen.c: Likewise.
7350 * manual/examples/memstrm.c: Likewise.
7351 * manual/examples/mkfsock.c: Likewise.
7352 * manual/examples/mkisock.c: Likewise.
7353 * manual/examples/mygetpass.c: Likewise.
7354 * manual/examples/pipe.c: Likewise.
7355 * manual/examples/popen.c: Likewise.
7356 * manual/examples/rprintf.c: Likewise.
7357 * manual/examples/search.c: Likewise.
7358 * manual/examples/select.c: Likewise.
7359 * manual/examples/setjmp.c: Likewise.
7360 * manual/examples/sigh1.c: Likewise.
7361 * manual/examples/sigusr.c: Likewise.
7362 * manual/examples/stpcpy.c: Likewise.
7363 * manual/examples/strdupa.c: Likewise.
7364 * manual/examples/strftim.c: Likewise.
7365 * manual/examples/strncat.c: Likewise.
7366 * manual/examples/subopt.c: Likewise.
7367 * manual/examples/swapcontext.c: Likewise.
7368 * manual/examples/termios.c: Likewise.
7369 * manual/examples/testopt.c: Likewise.
7370 * manual/examples/testpass.c: Likewise.
7371 * manual/examples/timeval_subtract.c: Likewise.
7372
01ae168d
RM
7373 [BZ #13792]
7374 * manual/time.texi (Elapsed Time): Move timeval_subtract example
7375 function to ...
7376 * manual/timeval_subtract.c.texi: ... here, new file.
7377
49efa33d
DM
73782012-03-02 David S. Miller <davem@davemloft.net>
7379
7380 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
7381
28afd92d
JM
73822012-03-02 Joseph Myers <joseph@codesourcery.com>
7383
804360ed
JM
7384 [BZ #3976]
7385 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
7386 (__sin): Save and restore rounding mode and use round-to-nearest
7387 for all computations.
7388 (__cos): Save and restore rounding mode and use round-to-nearest
7389 for all computations.
7390 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
7391 <fenv.h>.
7392 (tan): Save and restore rounding mode and use round-to-nearest for
7393 all computations.
7394 * math/libm-test.inc (cos_test_tonearest): New function.
7395 (cos_test_towardzero): Likewise.
7396 (cos_test_downward): Likewise.
7397 (cos_test_upward): Likewise.
7398 (sin_test_tonearest): Likewise.
7399 (sin_test_towardzero): Likewise.
7400 (sin_test_downward): Likewise.
7401 (sin_test_upward): Likewise.
7402 (tan_test_tonearest): Likewise.
7403 (tan_test_towardzero): Likewise.
7404 (tan_test_downward): Likewise.
7405 (tan_test_upward): Likewise.
7406 (main): Call the new functions.
7407 * sysdeps/i386/fpu/libm-test-ulps: Update.
7408 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7409
a6d06d7b
JM
7410 [BZ #10135]
7411 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
7412 small n, then large n, before computing and testing k+n.
7413 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
7414 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
7415 Likewise.
7416 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
7417 Likewise.
7418 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
7419 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
7420 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
7421 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
7422 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
7423 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
7424 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
7425 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
7426 * math/libm-test.inc (scalbn_test): Add more tests.
7427 (scalbln_test): Likewise.
7428
07e12bb3
JM
7429 * manual/filesys.texi (mode_t): Describe constraints on size and
7430 signedness, not exact equivalence to a particular type.
7431 (ino_t): Likewise.
7432 (ino64_t): Likewise.
7433 (dev_t): Likewise.
7434 (nlink_t): Likewise.
7435 (blkcnt_t): Likewise.
7436 (blkcnt64_t): Likewise.
7437 * manual/llio.texi (off_t): Likewise.
7438
28afd92d
JM
7439 [BZ #3976]
7440 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
7441 (__ieee754_exp): Save and restore rounding mode and use
7442 round-to-nearest for all computations.
7443 * math/libm-test.inc (exp_test_tonearest): New function.
7444 (exp_test_towardzero): Likewise.
7445 (exp_test_downward): Likewise.
7446 (exp_test_upward): Likewise.
7447 (main): Call the new functions.
7448 * sysdeps/i386/fpu/libm-test-ulps: Update.
7449 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7450
b1eeb65d
CD
74512012-03-01 Chris Demetriou <cgd@google.com>
7452
7453 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
7454 have predictable order.
7455
53362a4b
DM
74562012-03-01 David S. Miller <davem@davemloft.net>
7457
3c969083
DM
7458 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
7459
759707de
DM
7460 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
7461 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
7462 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
7463 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
7464
dfdb8ff2
DM
7465 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
7466 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
7467 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
7468 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
7469 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
7470 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
7471 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
7472 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
7473 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
7474
ead89f96
DM
7475 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7476
7f66bd07
DM
7477 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
7478 * sysdeps/sparc/fpu/libm-test-ulps: to here.
7479 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
7480
53362a4b
DM
7481 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
7482 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
7483 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
7484 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
7485 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
7486 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
7487 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
7488 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
7489 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
7490 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
7491 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
7492 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
7493 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
7494 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
7495 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
7496 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
7497 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
7498 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
7499 * sysdeps/sparc/elf/configure: Regenerated.
7500
7b1902cb
JM
75012012-03-01 Joseph Myers <joseph@codesourcery.com>
7502
bec039bc
JM
7503 * configure.in (AS, LD): Require binutils 2.20 or later.
7504 * configure: Regenerated.
7505 * manual/install.texi (Tools for Compilation): Give binutils 2.20
7506 as required minimum version.
7507 * INSTALL: Regenerated.
7508
7b1902cb
JM
7509 [BZ #2541]
7510 [BZ #4108]
7511 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
7512 before squaring exponent.
7513 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
7514 bottom long double and 27 bits of top long double before squaring
7515 exponent.
7516 * math/libm-test.inc (erfc_test): Add more tests.
7517 * sysdeps/i386/fpu/libm-test-ulps: Update.
7518 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
7519 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7520
f775c276
KT
75212012-03-01 Kai Tietz <ktietz@redhat.com>
7522
7523 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
7524 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
7525 containing bit-fields.
7526 * soft-fp/extended.h (_FP_UNION_E): Likewise.
7527 * soft-fp/single.h (_FP_UNION_S): Likewise.
7528 * soft-fp/double.h (_FP_UNION_D): Likewise.
7529
5b8a4d4a
JM
75302012-02-29 Joseph Myers <joseph@codesourcery.com>
7531
0bab47b6
JM
7532 [BZ #13786]
7533 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
7534 not include ../strcmp.S.
7535 [USE_AS_STRNCASECMP_L]: Likewise.
7536 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
7537 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
7538 * sysdeps/i386/i686/multiarch/strncase_l-c.c
7539 (__strncasecmp_l_ia32): Define as alias to
7540 __strncasecmp_l_nonascii.
7541
0fcad3e2
JM
7542 [BZ #5794]
7543 * math/libm-test.inc (expm1_test): Add test for bug 5794.
7544 * sysdeps/i386/fpu/libm-test-ulps: Update.
7545 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7546
5b8a4d4a
JM
7547 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
7548 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7549
8fdceb2e
JL
75502012-02-29 Jeff Law <law@redhat.com>
7551
7552 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
7553 out of bounds read.
7554
1f393a11
MP
75552012-02-29 Marek Polacek <polacek@redhat.com>
7556
7557 [BZ #13706]
7558 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
7559 * elf/Makefile: Add rules to run tst-unused-dep.out.
7560
8847f037
DM
75612012-02-28 David S. Miller <davem@davemloft.net>
7562
7563 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
7564 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
7565 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
7566 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
7567 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
7568 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
7569
169d7f11
JM
75702012-02-29 Joseph Myers <joseph@codesourcery.com>
7571
7572 * math/libm-test.inc (llround_test): Move one test from
7573 lround_test. Use TEST_f_L in moved test.
7574 (lround_test): Move misplaced test to llround_test. Add testcase
7575 from bug 2561.
7576
39adf059
UD
75772012-02-28 Ulrich Drepper <drepper@gmail.com>
7578
7579 * sysdeps/x86_64/fpu/e_expf.S: New file.
7580 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
7581
71b5d1c5
SB
75822012-02-28 Stanislav Brabec <sbrabec@suse.cz>
7583
7584 [BZ #13637]
7585 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
7586 of remain_len that may cause incomplete multi-byte character and
7587 false match.
7588 * posix/bug-regex33.c: New file.
7589 * posix/Makefile (tests): Add bug-regex33.
7590
1f77f049
JM
75912012-02-28 Joseph Myers <joseph@codesourcery.com>
7592
7593 * manual/macros.texi: New file.
7594 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
7595 * manual/libc.texinfo: Include macros.texi.
7596 * manual/creatute.texi: Likewise.
7597 * manual/install.texi: Likewise.
7598 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
7599 @glibcadj{} in references to the GNU C Library.
7600 * manual/charset.texi: Likewise.
7601 * manual/conf.texi: Likewise.
7602 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
7603 when not using those macros.
7604 * manual/creature.texi: Likewise.
7605 * manual/crypt.texi: Likewise.
7606 * manual/errno.texi: Likewise.
7607 * manual/filesys.texi: Likewise.
7608 * manual/header.texi: Likewise.
7609 * manual/install.texi: Likewise.
7610 * manual/intro.texi: Likewise.
7611 * manual/io.texi: Likewise.
7612 * manual/job.texi: Likewise.
7613 * manual/lang.texi: Likewise.
7614 * manual/libc.texiinfo: Likewise.
7615 * manual/llio.texi: Likewise.
7616 * manual/locale.texi: Likewise.
7617 * manual/maint.texi: Likewise.
7618 * manual/math.texi: Likewise.
7619 * manual/memory.texi: Likewise.
7620 * manual/message.texi: Likewise.
7621 * manual/nss.texi: Likewise.
7622 * manual/pattern.texi: Likewise.
7623 * manual/process.texi: Likewise.
7624 * manual/resource.texi: Likewise.
7625 * manual/search.texi: Likewise.
7626 * manual/setjmp.texi: Likewise.
7627 * manual/signal.texi: Likewise.
7628 * manual/socket.texi: Likewise.
7629 * manual/startup.texi: Likewise.
7630 * manual/stdio.texi: Likewise.
7631 * manual/string.texi: Likewise.
7632 * manual/sysinfo.texi: Likewise.
7633 * manual/syslog.texi: Likewise.
7634 * manual/terminal.texi: Likewise.
7635 * manual/time.texi: Likewise.
7636 * manual/users.texi: Likewise.
7637 * INSTALL: Regenerated.
7638 * NOTES: Regenerated.
d40c5d54 7639 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 7640
450bf206
AS
76412012-02-28 Andreas Schwab <schwab@linux-m68k.org>
7642
7643 * include/dirent.h: Include <dirstream.h> before
7644 <dirent/dirent.h>.
7645
741a235b
DM
76462012-02-28 David S. Miller <davem@davemloft.net>
7647
7648 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
7649 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
7650 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
7651 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
7652
d6b5aa58
DM
76532012-02-27 David S. Miller <davem@davemloft.net>
7654
1aff59a3
DM
7655 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
7656 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
7657 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
7658 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
7659
d6b5aa58
DM
7660 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
7661 frame pointer instead of stack pointer relative arg slot.
7662 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
7663 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
7664 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
7665
433f48bf
CD
76662012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
7667
7668 [BZ #3992]
7669 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
7670
d674b76d
DM
76712012-02-27 David S. Miller <davem@davemloft.net>
7672
7673 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
7674 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
7675 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
7676 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
7677 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
7678 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
7679 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
7680 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
7681
0e7727f7
JM
76822012-02-27 Joseph Myers <joseph@codesourcery.com>
7683
7684 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
7685 later. Allow versions 5-9.
43be4ca2 7686 * configure: Regenerated.
0e7727f7
JM
7687 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
7688 required minimum version and 4.6 as recommended version. Do not
7689 mention bugs in GCC 2.7 and 2.8.
43be4ca2 7690 * INSTALL: Regenerated.
0e7727f7 7691
a78bc654
DM
76922012-02-27 David S. Miller <davem@davemloft.net>
7693
428d5830
DM
7694 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
7695 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
7696 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
7697 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
7698 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
7699 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
7700 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
7701 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
7702
a78bc654
DM
7703 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
7704 manipulate bits before adding and subtracting TWO112[sx].
7705 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
7706
4579f81c
RM
77072012-02-27 Roland McGrath <roland@hack.frob.com>
7708
36c8acb4
RM
7709 [BZ #13775]
7710 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
7711 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
7712 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
7713 being in POSIX, because they are in 1003.1-2008.
7714
84ad622b
RM
7715 * rt/tst-aio.c: Include <fcntl.h>.
7716 * rt/tst-aio7.c: Likewise.
7717 * rt/tst-aio64.c: Likewise.
7718
4579f81c
RM
7719 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
7720
abd923db
JM
77212012-02-27 Joseph Myers <joseph@codesourcery.com>
7722
7723 * manual/install.texi (--with-headers): Describe headers as
7724 interface headers, not private headers.
7725 (Specific advice for GNU/Linux systems): Describe use of headers
7726 from "make headers_install", not private headers from older
7727 kernels.
43be4ca2 7728 * INSTALL: Regenerated.
abd923db
JM
7729 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
7730 Change to 2.6.19.
7731 * sysdeps/unix/sysv/linux/configure: Regenerated.
7732
6664049b
JM
7733 * manual/llio.texi (fclean): Remove documentation.
7734
bb8b6697
JM
7735 * manual/Makefile (libc-texi-generated): New variable. Include
7736 version.texi.
7737 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
7738 $(libc-texi-generated), not duplicated list of files.
7739 (version.texi, stamp-version): New rules.
7740 (realclean): Remove $(libc-texi-generated), not individual files
7741 from that list. Do not remove dir-add.texinfo.
7742 * manual/libc.texinfo: Comment out uses of edition numbers and
7743 references to printed manual. Remove last-updated dates.
7744 (EDITION): Comment out.
7745 (ISBN): Likewise.
7746 (VERSION, UPDATED): Remove.
7747 (version.texi): Include.
7748
12e5c3b9
AS
77492012-02-27 Andreas Schwab <schwab@linux-m68k.org>
7750
7751 * sysdeps/posix/spawni.c: Include <signal.h>.
7752 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
7753 * sysdeps/pthread/aio_fsync.c: Likewise.
7754
4efeffc1 77552012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 7756
ba63ba08
UD
7757 * conform/Makefile (tests): Run only when not cross-compiling and
7758 when fast-check is not defined.
7759
d94a4670
UD
7760 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
7761 * conform/data/limits.h-data: Fixes for POSIX2008.
7762 * conform/run-conformtest.sh: Run all tests.
7763 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
7764 headers.
7765 * include/bits/dlfcn.h: Likewise.
7766 * include/langinfo.h: Likewise.
7767 * include/monetary.h: Likewise.
7768 * include/sys/poll.h: Likewise.
7769
7770 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
7771 for __USE_GNU.
7772 * posix/spawn.h: Define __need_sigset_t.
7773 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
7774 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
7775 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
7776 to get sigevent_t only.
7777 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
7778 only for __USE_GNU.
7779 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
7780 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
7781 process_vm_writev only for __USE_GNU.
7782 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
7783
7784 * conform/Makefile: For now ignore errors from run-conformtest.
7785 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
7786 POSIX to avoid namespace pollution. Don't prepend headers.
7787 * conform/data/aio.h-data: Fixes for POSIX testing.
7788 * conform/data/fcntl.h-data: Likewise.
7789 * conform/data/glob.h-data: Likewise.
7790 * conform/data/grp.h-data: Likewise.
7791 * conform/data/pthread.h-data: Likewise.
7792 * conform/data/pwd.h-data: Likewise.
7793 * conform/data/signal.h-data: Likewise.
7794 * conform/data/spawn.h-data: Likewise.
7795 * conform/data/stdio.h-data: Likewise.
7796 * conform/data/stdlib.h-data: Likewise.
7797 * conform/data/stropts.h-data: Likewise.
7798 * conform/data/sys/mman.h-data: Likewise.
7799 * conform/data/sys/stat.h-data: Likewise.
7800 * conform/data/sys/types.h-data: Likewise.
7801 * conform/data/sys/wait.h-data: Likewise.
7802 * conform/data/time.h-data: Likewise.
7803 * conform/data/unistd.h-data: Likewise.
7804 * conform/data/utime.h-data: Likewise.
7805
7806 * io/sys/stat.h: fchmod was always in POSIX.
7807 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
7808 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
7809 * rt/aio.h: Define __need_timespec before including <time.h>.
7810 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
7811 struct. Add forward declaration of pthread_attr_t and use it in
7812 sigevent.
7813 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
7814 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
7815 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
7816 always remove CLK_TCK definition.
7817
c20105c3
AS
78182012-02-26 Andreas Schwab <schwab@linux-m68k.org>
7819
7820 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
7821
7a270350
UD
78222012-02-25 Ulrich Drepper <drepper@gmail.com>
7823
31341567
UD
7824 * conform/run-conformtest.sh: New file.
7825 * conform/Makefile: Run run-conformtest for tests.
7826 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
7827 support.
7828
7829 * conform/data/uchar.h-data: New file.
7830 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
7831 * conform/data/arpa/inet.h-data: Likewise.
7832 * conform/data/assert.h-data: Likewise.
7833 * conform/data/complex.h-data: Likewise.
7834 * conform/data/cpio.h-data: Likewise.
7835 * conform/data/ctype.h-data: Likewise.
7836 * conform/data/dirent.h-data: Likewise.
7837 * conform/data/dlfcn.h-data: Likewise.
7838 * conform/data/errno.h-data: Likewise.
7839 * conform/data/fcntl.h-data: Likewise.
7840 * conform/data/float.h-data: Likewise.
7841 * conform/data/fmtmsg.h-data: Likewise.
7842 * conform/data/fnmatch.h-data: Likewise.
7843 * conform/data/ftw.h-data: Likewise.
7844 * conform/data/glob.h-data: Likewise.
7845 * conform/data/grp.h-data: Likewise.
7846 * conform/data/iconv.h-data: Likewise.
7847 * conform/data/inttypes.h-data: Likewise.
7848 * conform/data/langinfo.h-data: Likewise.
7849 * conform/data/libgen.h-data: Likewise.
7850 * conform/data/limits.h-data: Likewise.
7851 * conform/data/locale.h-data: Likewise.
7852 * conform/data/math.h-data: Likewise.
7853 * conform/data/monetary.h-data: Likewise.
7854 * conform/data/mqueue.h-data: Likewise.
7855 * conform/data/ndbm.h-data: Likewise.
7856 * conform/data/net/if.h-data: Likewise.
7857 * conform/data/netdb.h-data: Likewise.
7858 * conform/data/netinet/in.h-data: Likewise.
7859 * conform/data/nl_types.h-data: Likewise.
7860 * conform/data/poll.h-data: Likewise.
7861 * conform/data/pthread.h-data: Likewise.
7862 * conform/data/pwd.h-data: Likewise.
7863 * conform/data/regex.h-data: Likewise.
7864 * conform/data/sched.h-data: Likewise.
7865 * conform/data/search.h-data: Likewise.
7866 * conform/data/semaphore.h-data: Likewise.
7867 * conform/data/setjmp.h-data: Likewise.
7868 * conform/data/signal.h-data: Likewise.
7869 * conform/data/spawn.h-data: Likewise.
7870 * conform/data/stdarg.h-data: Likewise.
7871 * conform/data/stdio.h-data: Likewise.
7872 * conform/data/stdlib.h-data: Likewise.
7873 * conform/data/string.h-data: Likewise.
7874 * conform/data/strings.h-data: Likewise.
7875 * conform/data/stropts.h-data: Likewise.
7876 * conform/data/sys/ipc.h-data: Likewise.
7877 * conform/data/sys/mman.h-data: Likewise.
7878 * conform/data/sys/msg.h-data: Likewise.
7879 * conform/data/sys/resource.h-data: Likewise.
7880 * conform/data/sys/select.h-data: Likewise.
7881 * conform/data/sys/sem.h-data: Likewise.
7882 * conform/data/sys/shm.h-data: Likewise.
7883 * conform/data/sys/socket.h-data: Likewise.
7884 * conform/data/sys/stat.h-data: Likewise.
7885 * conform/data/sys/statvfs.h-data: Likewise.
7886 * conform/data/sys/time.h-data: Likewise.
7887 * conform/data/sys/timeb.h-data: Likewise.
7888 * conform/data/sys/times.h-data: Likewise.
7889 * conform/data/sys/types.h-data: Likewise.
7890 * conform/data/sys/uio.h-data: Likewise.
7891 * conform/data/sys/un.h-data: Likewise.
7892 * conform/data/sys/utsname.h-data: Likewise.
7893 * conform/data/sys/wait.h-data: Likewise.
7894 * conform/data/syslog.h-data: Likewise.
7895 * conform/data/tar.h-data: Likewise.
7896 * conform/data/termios.h-data: Likewise.
7897 * conform/data/utime.h-data: Likewise.
7898 * conform/data/utmpx.h-data: Likewise.
7899 * conform/data/varargs.h-data: Likewise.
7900 * conform/data/wchar.h-data: Likewise.
7901 * conform/data/wctype.h-data: Likewise.
7902 * conform/data/wordexp.h-data: Likewise.
7903
7904 * include/stropts.h: New file.
7905 * include/uchar.h: New file.
7906 * include/aio.h: Changes to allow conformtest.pl to use the headers.
7907 * include/assert.h: Likewise.
7908 * include/ctype.h: Likewise.
7909 * include/dirent.h: Likewise.
7910 * include/dlfcn.h: Likewise.
7911 * include/fcntl.h: Likewise.
7912 * include/fnmatch.h: Likewise.
7913 * include/glob.h: Likewise.
7914 * include/grp.h: Likewise.
7915 * include/libio.h: Likewise.
7916 * include/locale.h: Likewise.
7917 * include/math.h: Likewise.
7918 * include/net/if.h: Likewise.
7919 * include/netdb.h: Likewise.
7920 * include/netinet/in.h: Likewise.
7921 * include/pthread.h: Likewise.
7922 * include/pwd.h: Likewise.
7923 * include/regex.h: Likewise.
7924 * include/sched.h: Likewise.
7925 * include/search.h: Likewise.
7926 * include/setjmp.h: Likewise.
7927 * include/signal.h: Likewise.
7928 * include/stdio.h: Likewise.
7929 * include/stdlib.h: Likewise.
7930 * include/string.h: Likewise.
7931 * include/sys/cdefs.h: Likewise.
7932 * include/sys/mman.h: Likewise.
7933 * include/sys/msg.h: Likewise.
7934 * include/sys/resource.h: Likewise.
7935 * include/sys/select.h: Likewise.
7936 * include/sys/socket.h: Likewise.
7937 * include/sys/stat.h: Likewise.
7938 * include/sys/statvfs.h: Likewise.
7939 * include/sys/time.h: Likewise.
7940 * include/sys/times.h: Likewise.
7941 * include/sys/uio.h: Likewise.
7942 * include/sys/utsname.h: Likewise.
7943 * include/sys/wait.h: Likewise.
7944 * include/termios.h: Likewise.
7945 * include/time.h: Likewise.
7946 * include/ulimit.h: Likewise.
7947 * include/unistd.h: Likewise.
7948 * include/utime.h: Likewise.
7949 * include/wchar.h: Likewise.
7950 * include/wctype.h: Likewise.
7951 * include/wordexp.h: Likewise.
7952
7953 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
7954
7a270350
UD
7955 * time/time.h: TIME_UTC must be a macro.
7956 Make timespec_get available for ISO C11 only as well.
7957
7724defc
UD
79582012-02-24 Ulrich Drepper <drepper@gmail.com>
7959
7960 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
7961 Reported by Peng Haitao <penght@cn.fujitsu.com>.
7962
6b1d1d46
JM
79632012-02-24 Joseph Myers <joseph@codesourcery.com>
7964
7965 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 7966
0f8bbd69
JM
79672012-02-24 Joseph Myers <joseph@codesourcery.com>
7968
7969 * manual/texinfo.tex: Update to version 2012-01-19.16.
7970
66ab80bc
JM
79712012-02-24 Joseph Myers <joseph@codesourcery.com>
7972
7973 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
7974
74981cc5
RM
79752012-02-24 Roland McGrath <roland@hack.frob.com>
7976
ee968201
RM
7977 [BZ #13738]
7978 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
7979 * manual/fdl-1.3.texi: New file.
7980 * manual/fdl-1.1.texi: File removed.
7981
74981cc5
RM
7982 [BZ #13738]
7983 * manual/libc.texinfo (FDL_VERSION): New @set.
7984 Use it for mention of FDL in cover text.
7985 (Documentation License): Use it in @include file name.
7986
7bb764bc
JM
79872012-02-22 Joseph Myers <joseph@codesourcery.com>
7988 Roland McGrath <roland@hack.frob.com>
7989
7990 [BZ #5461]
7991 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
7992 not LONG_LONG_MAX and LONG_LONG_MIN.
7993 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
7994 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
7995 name.
7996 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
7997
6cbeae47
JM
79982012-02-22 Joseph Myers <joseph@codesourcery.com>
7999
8000 [BZ #2547]
8001 [BZ #11365]
8002 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
8003 manipulate bits before adding and subtracting TWO23[sx].
8004 * math/libm-test.inc (nearbyint_test): Add more tests.
8005
fe45ce09
JM
80062012-02-22 Joseph Myers <joseph@codesourcery.com>
8007
8008 [BZ #2548]
8009 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
8010 bits before adding and subtracting TWO23[sx].
8011 * math/libm-test.inc (rint_test): Add more tests.
8012 (rint_test_tonearest): Likewise.
8013 (rint_test_towardzero): Likewise.
8014 (rint_test_downward): Likewise.
8015 (rint_test_upward: Likewise.
8016
ff3b3d82
JM
80172012-02-22 Joseph Myers <joseph@codesourcery.com>
8018
8019 [BZ #10110]
8020 * include/stdc-predef.h: New file. Extracted from features.h.
8021 * include/features.h: Include stdc-predef.h.
8022 * Makefile (headers): Add stdc-predef.h.
8023 * CONFORMANCE (Compiler limitations): Update.
8024
ef0aab35
JM
80252012-02-22 Joseph Myers <joseph@codesourcery.com>
8026
8027 * manual/libc.texinfo (VERSION, UPDATED): Revert.
8028
58639409
DM
80292012-02-21 David S. Miller <davem@davemloft.net>
8030
8031 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
8032 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
8033
c0e70b25
DM
80342012-02-20 David S. Miller <davem@davemloft.net>
8035
8036 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
8037 using a normal save/restore sequence, rather than allocating a
8038 dummy stack frame just to store a frame pointer and restore.
8039 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
8040
fb06851d
JM
80412012-02-21 Joseph Myers <joseph@codesourcery.com>
8042
8043 * manual/install.texi: Fix stray word in line-wrapped comment.
8044
7a8b71c3
DM
80452012-02-20 David S. Miller <davem@davemloft.net>
8046
d510c123
DM
8047 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
8048 both binutils and gcc support GOTDATA.
8049
0722d7c2
DM
8050 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
8051 "rd %pc" in the PIC register setup sequences.
8052
3d2b3019
DM
8053 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
8054 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
8055 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
8056 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
8057 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
8058 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
8059 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
8060 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
8061 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
8062 (SYSCALL_ERROR_HANDLER): Likewise.
8063 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
8064 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
8065 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
8066 (SYSCALL_ERROR_HANDLER): Likewise.
8067
c80098a9
DM
8068 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
8069 (HAVE_GCC_GOTDATA): New.
8070 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
8071 relocation support in both binutils and gcc.
8072 * sysdeps/sparc/elf/configure: Regenerate.
8073
3a2545a0
DM
8074 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
8075 * sysdeps/sparc/sparc32/elf/configure: Delete.
8076 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
8077 * sysdeps/sparc/sparc64/elf/configure: Delete.
8078 * sysdeps/sparc/elf/configure.in: New file.
8079 * sysdeps/sparc/elf/configure: Generate.
8080
7a8b71c3
DM
8081 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
8082 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
8083 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
8084 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
8085 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
8086
f1e86fca
JM
80872012-02-21 Joseph Myers <joseph@codesourcery.com>
8088
8089 * manual/install.texi: Do not mention specific glibc version
8090 numbers.
8091 * manual/libc.texinfo (VERSION, UPDATED): Update.
8092 (@copying): Use @copyright{} and range of years.
8093
0e7dfaef
JM
80942012-02-21 Joseph Myers <joseph@codesourcery.com>
8095
8096 [BZ #13695]
8097 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
8098 [crti.S not in sysdirs] (generated): Do not append.
8099 [crti.S not in sysdirs] (omit-deps): Likewise.
8100 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
8101 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
8102 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
8103 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
8104 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
8105 Likewise.
8106 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
8107 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
8108 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
8109 * csu/defs.awk: Remove file.
8110 * sysdeps/generic/initfini.c: Likewise.
8111 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
8112 variable.
8113 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
8114 Likewise.
8115
599af3ca
JM
81162012-02-20 Joseph Myers <joseph@codesourcery.com>
8117
8118 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
8119 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
8120 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
8121 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
8122 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
8123 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
8124 <bits/epoll.h>.
8125 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
8126 (__EPOLL_PACKED): Define to empty if not defined by
8127 <bits/epoll.h>.
8128 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
8129 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
8130 bits/epoll.h.
8131
0e499750
JM
81322012-02-20 Joseph Myers <joseph@codesourcery.com>
8133
8134 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
8135 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
8136 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
8137 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
8138 <bits/timerfd.h>.
8139 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
8140 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
8141 bits/timerfd.h.
8142
5ad91f6e
JM
81432012-02-20 Joseph Myers <joseph@codesourcery.com>
8144
8145 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
8146 in C locale.
8147 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
8148 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
8149 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
8150 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8151
06b99b02
AJ
81522012-02-20 Aurelien Jarno <aurelien@aurel32.net>
8153
8154 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
8155 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
8156
7638c0fd
AS
81572012-02-19 Andreas Schwab <schwab@linux-m68k.org>
8158
8159 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
8160 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
8161 defined.
8162 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
8163 Likewise.
8164 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
8165 entry for 2.16.
8166
92221550
AJ
81672012-02-19 Aurelien Jarno <aurelien@aurel32.net>
8168
8169 * math/w_acos.c: Use non-signaling floating-point comparisons.
8170 * math/w_acosf.c: Likewise.
8171 * math/w_acosh.c: Likewise.
8172 * math/w_acoshf.c: Likewise.
8173 * math/w_acoshl.c: Likewise.
8174 * math/w_acosl.c: Likewise.
8175 * math/w_asin.c: Likewise.
8176 * math/w_asinf.c: Likewise.
8177 * math/w_asinl.c: Likewise.
8178 * math/w_atanh.c: Likewise.
8179 * math/w_atanhf.c: Likewise.
8180 * math/w_atanhl.c: Likewise.
8181 * math/w_exp2.c: Likewise.
8182 * math/w_exp2f.c: Likewise.
8183 * math/w_exp2l.c: Likewise.
8184 * math/w_j0.c: Likewise.
8185 * math/w_j0f.c: Likewise.
8186 * math/w_j0l.c: Likewise.
8187 * math/w_j1.c: Likewise.
8188 * math/w_j1f.c: Likewise.
8189 * math/w_j1l.c: Likewise.
8190 * math/w_jn.c: Likewise.
8191 * math/w_jnf.c: Likewise.
8192 * math/w_log.c: Likewise.
8193 * math/w_log10.c: Likewise.
8194 * math/w_log10f.c: Likewise.
8195 * math/w_log10l.c: Likewise.
8196 * math/w_log2.c: Likewise.
8197 * math/w_log2f.c: Likewise.
8198 * math/w_log2l.c: Likewise.
8199 * math/w_logf.c: Likewise.
8200 * math/w_logl.c: Likewise.
8201 * math/w_sqrt.c: Likewise.
8202 * math/w_sqrtf.c: Likewise.
8203 * math/w_sqrtl.c: Likewise.
8204 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
8205 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
8206 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
8207 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
8208 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
8209
ebaf36eb
JM
82102012-02-19 Joseph Myers <joseph@codesourcery.com>
8211
8212 [BZ #9739]
8213 * manual/string.texi (strnlen): Use correct parameter name in
8214 equivalent expression.
8215
71c254a6
JM
82162012-02-19 Joseph Myers <joseph@codesourcery.com>
8217
8218 [BZ #11174]
8219 * manual/users.texi (seteuid): Consistently use neweuid for
8220 argument name.
8221
16d2c631
JM
82222012-02-19 Joseph Myers <joseph@codesourcery.com>
8223
8224 [BZ #13704]
8225 * manual/nss.texi (Services in the NSS configuration): Correct
8226 list of services in example configuration file.
8227
cd837b09
NB
82282012-02-19 Nick Bowler <nbowler@draconx.ca>
8229
8230 [BZ #11322]
8231 * manual/arith.texi: Remove statements about negative zero
8232 behaving identically to zero.
8233
02c4bbad
JM
82342012-02-18 Joseph Myers <joseph@codesourcery.com>
8235
8236 [BZ #5993]
8237 * manual/install.texi: Do not document upgrading from libc5.
8238
366842e7
JM
82392012-02-18 Joseph Myers <joseph@codesourcery.com>
8240
8241 [BZ #4596]
8242 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
8243
dd54084d
DM
82442012-02-18 David S. Miller <davem@davemloft.net>
8245
8246 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
8247 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
8248 %o7 across the call.
8249 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
8250 instead.
8251 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
8252 SETUP_PIC_REG_LEAF.
8253 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
8254 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
8255 * sysdeps/sparc/crtn.S: Likewise.
8256
2bcc53a3
UD
82572012-02-17 Ulrich Drepper <drepper@gmail.com>
8258
8259 * aout/Makefile: Remove.
8260
09c093b5
RK
82612012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
8262
8263 [BZ #13058]
8264 * manual/examples/argp-ex1.c (main): Format definition in GNU
8265 style.
8266 * manual/examples/argp-ex2.c (main): Likewise.
8267 * manual/examples/argp-ex3.c (main): Likewise.
8268 * manual/examples/argp-ex4.c (main): Likewise.
8269 * manual/examples/longopt.c (main): Use new-style prototype
8270 definition.
8271 * manual/examples/strncat.c (main): Specify return type and use
8272 (void) for arguments.
8273 * manual/examples/subopt.c (main): Use char **argv argument.
8274
2ee633a2
JM
82752012-02-17 Joseph Myers <joseph@codesourcery.com>
8276
8277 [BZ #5077]
8278 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
8279 rounding modes.
8280
0520adde
FB
82812012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
8282
8283 [BZ #6907]
8284 * manual/string.texi (strchr): Change when strchrnul is
8285 recommended.
8286
3f4081cd
DGM
82872012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
8288
8289 [BZ #174]
8290 * manual/locale.texi (setlocale): Document LOCPATH.
8291
d1b10e78
JM
82922012-02-17 Joseph Myers <joseph@codesourcery.com>
8293
8294 [BZ #10210]
8295 * manual/process.texi (execle): Move @dots{} before last argument.
8296
79c6869c
PB
82972012-02-17 Paul Bolle <pebolle@tiscali.nl>
8298
8299 [BZ #12047]
8300 * manual/charset.texi (Generic Charset Conversion): Fix typo
8301 (LC_TYPE -> LC_CTYPE).
8302
cc6e48bc
NB
83032012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
8304
8305 [BZ #5805]
8306 * manual/arith.texi (scalbn): Use @var{} on parameter names.
8307 (scalbnf): Likewise.
8308 (scalbnl): Likewise.
8309 (scalbln): Likewise.
8310 (scalblnf): Likewise.
8311 (scalblnl): Likewise.
8312 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
8313 (vwarnx): Likewise.
8314 (verr): Likewise.
8315 (verrx): Likewise.
8316 * manual/filesys.texi (telldir): Use braces around return type.
8317 * manual/llio.texi (mmap): Add space after comma.
8318 (mmap64): Likewise.
8319 * manual/math.texi (jn): Use @var{} on parameter names.
8320 (jnf): Likewise.
8321 (jnl): Likewise.
8322 (yn): Likewise.
8323 (ynf): Likewise.
8324 (ynl): Likewise.
8325 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
8326 line.
8327 * manual/resource.texi (ulimit): Use @dots{} instead of literal
8328 "...".
8329 (sched_get_priority_min): Remove semicolon on @deftypefun line.
8330 (sched_get_priority_max): Likewise.
8331 * manual/signal.texi (sigvec): Add space after comma.
8332 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
8333 names.
8334 (if_indextoname): Likewise.
8335 (if_freenameindex): Likewise.
8336 (sendto): Use ',' instead of '.' in prototype.
8337 * manual/startup.texi (syscall): Use @dots{} instead of literal
8338 "...".
8339 * manual/stdio.texi (__fpending): Separate initial words of
8340 paragraph from @deftypefun line.
8341 * manual/syslog.texi (syslog): Use @dots{} instead of literal
8342 "...".
8343 (vsyslog): Use @var{} on parameter names.
8344 * manual/terminal.texi (stty): Use @var{} on parameter names.
8345 * manual/users.texi (getutmp): Use @var{} on parameter names.
8346 (getutmpx): Likewise.
8347
5b23062f
JM
83482012-02-17 Joseph Myers <joseph@codesourcery.com>
8349
8350 [BZ #6884]
8351 * manual/stdio.texi (fopen): Fix typos in description of
8352 ",ccs=STRING".
8353
8dee4833
AJ
83542012-02-17 Aurelien Jarno <aurelien@aurel32.net>
8355
8356 [BZ #4026]
8357 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
8358 get clock_id definition.
8359
9078ce93
TS
83602012-02-17 Thomas Schwinge <thomas@schwinge.name>
8361
8362 [BZ #4822]
8363 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
8364 (madvise): Cast every argument to void on its own.
8365
3835c55f
JM
83662012-02-17 Joseph Myers <joseph@codesourcery.com>
8367
8368 [BZ #9902]
8369 * manual/startup.texi (Exit Status): Fix typo.
8370
35c47e37
JM
83712012-02-17 Joseph Myers <joseph@codesourcery.com>
8372
8373 [BZ #10140]
8374 * manual/examples/argp-ex1.c: Include <stdlib.h>.
8375 * manual/examples/argp-ex2.c: Likewise.
8376 * manual/examples/argp-ex3.c: Likewise.
8377
e3b69ca7
RH
83782012-02-16 Richard Henderson <rth@redhat.com>
8379
8380 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
8381 * sysdeps/s390/s390-32/initfini.c: Remove.
8382 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
8383 * sysdeps/s390/s390-64/initfini.c: Remove.
8384
df83af67
KK
83852012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
8386
8387 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
8388 compiler output for sysdeps/generic/initfini.c.
8389 * sysdeps/sh/elf/initfini.c: Remove file.
8390
f63f3380
DM
83912012-02-16 David S. Miller <davem@davemloft.net>
8392
fb59b3a4
DM
8393 [BZ #11494]
8394 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
8395
f63f3380
DM
8396 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
8397 * sysdeps/sparc/crti.S: New file.
8398 * sysdeps/sparc/crtn.S: New file.
8399 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
8400 * sysdeps/sparc/sparc64/Makefile: Likewise.
8401
df6a4a4a
MF
84022012-02-15 Mike Frysinger <vapier@gentoo.org>
8403
6dd8f3dc 8404 [BZ #3335]
df6a4a4a
MF
8405 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
8406
1cac7236
RM
84072012-02-15 Roland McGrath <roland@hack.frob.com>
8408
d2c736f8
RM
8409 [BZ #4822]
8410 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
8411
1cac7236
RM
8412 * mach/devstream.c (cookie_io_functions_t): Macro removed.
8413 (write, read, close): Likewise.
8414 Patch by Aurelien Jarno <aurelien@aurel32.net>.
8415
8e475601
JM
84162012-02-15 Joseph Myers <joseph@codesourcery.com>
8417
8418 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
8419 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
8420 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
8421 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
8422 <bits/signalfd.h>.
8423 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
8424 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
8425 bits/signalfd.h.
8426
ed656b40
MP
84272012-02-14 Marek Polacek <polacek@redhat.com>
8428
8429 * sysdeps/x86_64/crti.S: New file.
8430 * sysdeps/x86_64/crtn.S: New file.
8431 * sysdeps/x86_64/elf/initfini.c: Remove file.
8432
2a979d3a
JM
84332012-02-13 Joseph Myers <joseph@codesourcery.com>
8434
8435 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
8436 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
8437 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
8438 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
8439 <bits/inotify.h>.
8440 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
8441 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
8442 bits/inotify.h.
8443
2a418ac3
JM
84442012-02-13 Joseph Myers <joseph@codesourcery.com>
8445
8446 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
8447 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
8448 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
8449 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
8450 <bits/eventfd.h>.
8451 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
8452 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
8453 bits/eventfd.h.
8454
fb779be7
TS
84552012-02-10 Thomas Schwinge <thomas@codesourcery.com>
8456
e19e83c5
RM
8457 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
8458 __feraiseexcept instead of feraiseexcept.
7c35ffed 8459
fb779be7
TS
8460 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
8461 nanosleep invocations.
8462 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
8463 strings, and add error checking for a nanosleep invocations.
8464
59ba27a6
PE
84652012-02-09 Paul Eggert <eggert@cs.ucla.edu>
8466
8467 Replace FSF snail mail address with URLs, as per GNU coding standards.
8468 Most of the snail mail addresses were wrong anyway, and omitting
8469 them makes the source code easier to maintain. Almost all of the
8470 changes are to license notices and to locale LC_IDENTIFICATION
8471 addresses, except for this one:
8472 * manual/libc.texinfo: In "Published by", give the FSF's URL,
8473 not its snail mail address.
8474
57b957eb
RH
84752012-02-09 Richard Henderson <rth@twiddle.net>
8476
af850b1c
RH
8477 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
8478 of kernel-features.h.
8479
57b957eb
RH
8480 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
8481
6b73181a
MP
84822012-02-08 Marek Polacek <polacek@redhat.com>
8483
8484 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
8485 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
8486 * sysdeps/gnu/_G_config.h: Likewise.
8487 * sysdeps/generic/_G_config.h: Likewise.
8488
26ecc33a
AS
84892012-02-08 Andreas Schwab <schwab@linux-m68k.org>
8490
6c6dbc63
AS
8491 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
8492 tests.
8493 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8494
e216c012
AS
8495 * sysdeps/powerpc/powerpc32/crti.S: New file.
8496 * sysdeps/powerpc/powerpc32/crtn.S: New file.
8497 * sysdeps/powerpc/powerpc64/crti.S: New file.
8498 * sysdeps/powerpc/powerpc64/crtn.S: New file.
8499
26ecc33a
AS
8500 * Makeconfig (have-initfini): Don't set.
8501 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
8502 * configure.in (nopic_initfini): Don't substitute.
8503 * config.h.in (HAVE_INITFINI): Don't #undef.
8504 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
8505 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
8506
3add8e13
JM
85072012-02-08 Joseph Myers <joseph@codesourcery.com>
8508
8509 Support crti.S and crtn.S provided directly by architectures.
8510 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
8511 [crti.S in sysdirs] (omit-deps): Likewise.
8512 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
8513 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
8514 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
8515 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
8516 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
8517 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
8518 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
8519 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
8520 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
8521 compiler output for sysdeps/generic/initfini.c.
8522 * sysdeps/i386/elf/Makefile: Remove file.
8523 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
8524
a22f12b4
MP
85252012-02-07 Marek Polacek <polacek@redhat.com>
8526
8527 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
8528 * sysdeps/gnu/_G_config.h: Likewise.
8529 * sysdeps/mach/hurd/_G_config.h: Likewise.
8530
148cf100
MP
85312012-02-07 Marek Polacek <polacek@redhat.com>
8532
8533 * math/Makefile (tests): Add tst-CMPLX2.
8534 * math/tst-CMPLX2.c: New file.
8535
cfdc0dd7
AS
85362012-02-07 Andreas Schwab <schwab@linux-m68k.org>
8537
84ba42c4
AS
8538 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
8539
cfdc0dd7
AS
8540 * math/libm-test.inc (jn_test): Add missing L suffix.
8541
622c86f4
MP
85422012-02-06 Marek Polacek <polacek@redhat.com>
8543
8544 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
8545 * sysdeps/i386/fpu/e_powf.S: Likewise.
8546 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
8547 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
8548 * sysdeps/i386/fpu/e_acosh.S: Likewise.
8549 * sysdeps/i386/fpu/e_pow.S: Likewise.
8550 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
8551 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
8552 * sysdeps/i386/fpu/s_expm1.S: Likewise.
8553 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
8554 * sysdeps/i386/fpu/e_log2.S: Likewise.
8555 * sysdeps/i386/fpu/e_log2l.S: Likewise.
8556 * sysdeps/i386/fpu/e_scalb.S: Likewise.
8557 * sysdeps/i386/fpu/e_powl.S: Likewise.
8558 * sysdeps/i386/fpu/s_log1p.S: Likewise.
8559 * sysdeps/i386/fpu/e_log10f.S: Likewise.
8560 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
8561 * sysdeps/i386/fpu/e_logl.S: Likewise.
8562 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
8563 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
8564 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
8565 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
8566 * sysdeps/i386/fpu/e_log2f.S: Likewise.
8567 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
8568 * sysdeps/i386/fpu/e_log.S: Likewise.
8569 * sysdeps/i386/fpu/s_cexp.S: Likewise.
8570 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
8571 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
8572 * sysdeps/i386/fpu/e_logf.S: Likewise.
8573 * sysdeps/i386/fpu/e_log10l.S: Likewise.
8574 * sysdeps/i386/fpu/e_atanh.S: Likewise.
8575 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
8576 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
8577 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
8578 * sysdeps/i386/fpu/e_log10.S: Likewise.
8579 * sysdeps/i386/fpu/s_frexp.S: Likewise.
8580 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
8581 * sysdeps/i386/fpu/s_asinh.S: Likewise.
8582 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
8583 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
8584 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
8585 * sysdeps/i386/asm-syntax.h: Likewise.
8586 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
8587 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
8588 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
8589 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
8590 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
8591 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
8592 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
8593 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
8594 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
8595 * sysdeps/powerpc/sysdep.h: Likewise.
8596 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
8597 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
8598
d4a54ac6
JM
85992012-02-06 Joseph Myers <joseph@codesourcery.com>
8600
8601 [BZ #411]
8602 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
8603
314054ea
JM
86042012-02-06 Joseph Myers <joseph@codesourcery.com>
8605
8606 * sysdeps/i386/sysdep.h: Include <features.h>.
8607 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
8608 version.
8609
d8e0ca50
JM
86102012-02-05 Joseph Myers <joseph@codesourcery.com>
8611
8612 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
8613 Define.
8614 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
8615 LOAD_PIC_REG_STR.
8616
b1da7dd9
JM
86172012-02-03 Joseph Myers <joseph@codesourcery.com>
8618
8619 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
8620 (SETUP_PIC_REG): Use GET_PC_THUNK.
8621 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
8622 macro.
8623
9a1d9254
JM
86242012-02-03 Joseph Myers <joseph@codesourcery.com>
8625
8626 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
8627 for non-PIC compilation.
8628 (SETUP_PIC_REG): Add .p2align directive.
8629 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
8630 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
8631 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
8632 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
8633 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
8634 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
8635 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
8636 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
8637 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
8638 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
8639 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
8640 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
8641 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
8642 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
8643 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
8644 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
8645 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
8646 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
8647 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
8648 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
8649 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
8650 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
8651 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
8652 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
8653 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
8654 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
8655 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
8656 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
8657 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
8658 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
8659 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
8660 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
8661 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
8662 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
8663 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
8664 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
8665 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
8666 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
8667 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
8668 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
8669 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
8670
65dc3b75
JM
86712012-02-03 Joseph Myers <joseph@codesourcery.com>
8672
8673 * math/tst-CMPLX.c: Include <stdio.h>.
8674
d55bf177
JM
86752012-01-31 Joseph Myers <joseph@codesourcery.com>
8676
8677 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
8678 float.
8679 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
8680 * sysdeps/sparc/bits/mathdef.h: Likewise.
8681
69db4f8f
MP
86822012-01-31 Marek Polacek <polacek@redhat.com>
8683
8684 * libio/libio.h: Don't define _PARAMS.
8685 * locale/programs/config.h: Don't define PARAMS.
8686 * stdlib/strtol_l.c: Likewise.
8687 (__strtol_l): Remove PARAMS from the prototype.
8688
41b81892
UD
86892012-01-31 Ulrich Drepper <drepper@gmail.com>
8690
3b49edc0
UD
8691 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
8692 names. Just use the correct names. Remove unnecessary wrapper
8693 functions.
8694 * malloc/arena.c: Likewise.
8695 * malloc/hooks.c: Likewise.
8696
41b81892
UD
8697 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
8698 ARENA_TEST says not to. Simplify test for creation of a new arena.
8699 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
8700
27a25b6e
UD
87012012-01-30 Ulrich Drepper <drepper@gmail.com>
8702
8703 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
8704 into tail calls.
8705 (update_get_addr): New function.
8706 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
8707 GET_ADDR_MODULE parameter.
8708
c8a89e7d
JM
87092012-01-30 Joseph Myers <joseph@codesourcery.com>
8710
8711 * crypt/cert.c: Remove __STDC__ conditionals.
8712 * crypt/crypt-entry.c: Likewise.
8713 * crypt/crypt_util.c: Likewise.
8714 * libio/filedoalloc.c: Likewise.
8715 * libio/fileops.c: Likewise.
8716 * libio/genops.c: Likewise.
8717 * libio/iofclose.c: Likewise.
8718 * libio/iofdopen.c: Likewise.
8719 * libio/iofopen.c: Likewise.
8720 * libio/iofopen64.c: Likewise.
8721 * libio/iogetdelim.c: Likewise.
8722 * libio/iopopen.c: Likewise.
8723 * libio/obprintf.c: Likewise.
8724 * libio/oldfileops.c: Likewise.
8725 * libio/oldiofclose.c: Likewise.
8726 * libio/oldiofdopen.c: Likewise.
8727 * libio/oldiofopen.c: Likewise.
8728 * libio/oldiopopen.c: Likewise.
8729 * libio/wfiledoalloc.c: Likewise.
8730 * libio/wgenops.c: Likewise.
8731 * locale/programs/xmalloc.c: Likewise.
8732 * misc/syslog.c: Likewise.
8733 * stdio-common/xbug.c: Likewise.
8734 * string/memchr.c: Likewise.
8735 * string/memcmp.c: Likewise.
8736 * string/memrchr.c: Likewise.
8737 * string/rawmemchr.c: Likewise.
8738 * sysdeps/posix/getcwd.c: Likewise.
8739 * time/strftime_l.c: Likewise.
8740
3b100462
JM
87412012-01-30 Joseph Myers <joseph@codesourcery.com>
8742
8743 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
8744 * config.make.in (config-cflags-sse2avx): Define.
8745 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
8746 Fix typo.
8747
607998af
CM
87482012-01-29 Chris Metcalf <cmetcalf@tilera.com>
8749
8750 * scripts/config.guess: Update from upstream config git repository.
8751 * scripts/config.sub: Likewise.
8752
3601428f
CM
87532012-01-28 Chris Metcalf <cmetcalf@tilera.com>
8754
3ac8b282
CM
8755 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
8756 (EM_NUM): Update.
8757 (R_TILEPRO_*, R_TILEGX_*): New macros.
8758
e034841e
CM
8759 * scripts/firstversions.awk: Fix bug in version range handling.
8760
540d7568
CM
8761 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
8762
3601428f
CM
8763 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
8764
463de862
CM
8765 * include/sys/epoll.h: New file.
8766 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
8767 libc_hidden_def.
8768
73139a76
UD
87692012-01-28 Ulrich Drepper <drepper@gmail.com>
8770
96bc5b45
UD
8771 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
8772 Avoid unnecessary __WORDSIZE == 64 test.
8773 (fmaxf): Use VEX format if possible.
8774 (fmax): Likewise.
8775 (fminf): Likewise.
8776 (fmin): Likewise.
8777
56f6f6a2
UD
8778 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
8779 * math/math_private.h: Remove libc_fegetround* and
8780 libc_fesetround*.
8781 * sysdeps/i386/configure.in: Check for -msse2avx.
8782 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
8783 also if SSE2AVX is defined.
8784 Remove libc_fegetround* and libc_fesetround*.
8785 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
8786 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
8787 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
8788 of HAS_YMM_USABLE.
8789 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
8790 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
8791 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
8792 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
8793 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
8794
73139a76
UD
8795 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
8796
d73f93a4
AZ
87972012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8798
8799 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
8800 size is not set.
8801 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
8802
6ee65ed6
UD
88032012-01-27 Ulrich Drepper <drepper@gmail.com>
8804
8805 [BZ #13618]
8806 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
8807 relocation.
8808 * Makeconfig (libm): Define.
8809 * elf/Makefile: Add rules to build and run tst-relsort1.
8810 * elf/tst-relsort1.c: New file.
8811 * elf/tst-relsort1mod1.c: New file.
8812 * elf/tst-relsort1mod2.c: New file.
8813
8db21882
JM
88142012-01-27 Joseph Myers <joseph@codesourcery.com>
8815
8816 * math/s_ldexp.c: Remove __STDC__ conditionals.
8817 * math/s_ldexpf.c: Likewise.
8818 * math/s_ldexpl.c: Likewise.
8819 * math/s_nextafter.c: Likewise.
8820 * math/s_nexttowardf.c: Likewise.
8821 * math/s_significand.c: Likewise.
8822 * math/s_significandf.c: Likewise.
8823 * math/s_significandl.c: Likewise.
8824 * math/w_jnl.c: Likewise.
8825 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
8826 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
8827 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
8828 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
8829 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
8830 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
8831 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
8832 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
8833 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
8834 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
8835 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
8836 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
8837 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
8838 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
8839 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
8840 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
8841 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
8842 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
8843 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
8844 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
8845 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
8846 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
8847 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
8848 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
8849 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
8850 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
8851 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
8852 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
8853 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
8854 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
8855 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
8856 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
8857 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
8858 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
8859 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
8860 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
8861 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
8862 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
8863 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
8864 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
8865 * sysdeps/ieee754/k_standard.c: Likewise.
8866 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
8867 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
8868 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
8869 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
8870 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
8871 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
8872 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
8873 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
8874 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
8875 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
8876 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
8877 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
8878 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
8879 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
8880 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
8881 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
8882 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
8883 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
8884 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
8885 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
8886 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
8887 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
8888 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
8889 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
8890 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
8891 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
8892 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
8893 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
8894 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
8895 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
8896 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
8897 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
8898 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
8899 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
8900 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
8901 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
8902 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
8903 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
8904 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
8905 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
8906 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
8907 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
8908 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
8909 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
8910 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
8911 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
8912 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
8913 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
8914 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
8915 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
8916 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
8917 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
8918 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
8919 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
8920 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
8921 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
8922 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
8923 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
8924 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
8925 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
8926 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
8927 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
8928 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
8929 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
8930 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
8931 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
8932 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
8933 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
8934 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
8935 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
8936 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
8937 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
8938 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
8939 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
8940 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
8941 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
8942 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
8943 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
8944 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
8945 * sysdeps/ieee754/s_matherr.c: Likewise.
8946 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
8947 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
8948 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
8949 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
8950
965a54a4
JM
89512012-01-26 Joseph Myers <joseph@codesourcery.com>
8952
8953 * crypt/md5.h: Remove __STDC__ conditionals.
8954 * libio/libioP.h: Likewise.
8955 * locale/programs/config.h: Likewise.
8956 * sysdeps/generic/sysdep.h: Likewise.
8957 * sysdeps/i386/asm-syntax.h: Likewise.
8958 * sysdeps/s390/asm-syntax.h: Likewise.
8959 * sysdeps/unix/sysdep.h: Likewise.
8960 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
8961 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
8962
7071ad79
JM
89632012-01-26 Joseph Myers <joseph@codesourcery.com>
8964
8965 * libio/libio.h: Remove __STDC__ conditionals.
8966 * malloc/obstack.h: Likewise.
8967 * math/complex.h: Likewise.
8968 * math/math.h: Likewise.
8969 * sysdeps/generic/_G_config.h: Likewise.
8970 * sysdeps/gnu/_G_config.h: Likewise.
8971 * sysdeps/mach/hurd/_G_config.h: Likewise.
8972 * sysdeps/powerpc/bits/mathdef.h: Likewise.
8973 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
8974 * sysdeps/sparc/bits/mathdef.h: Likewise.
8975
afc5ed09
UD
89762012-01-26 Ulrich Drepper <drepper@gmail.com>
8977
8978 [BZ #13583]
8979 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 8980 Clean up HAS_* macros.
afc5ed09 8981 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
8982 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
8983 possible.
8984 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
8985 HAS_AVX.
8986 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
8987 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
8988 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
8989 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
8990 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 8991
bdb6de1d
JM
89922012-01-25 Joseph Myers <joseph@codesourcery.com>
8993
8994 * elf/tst-unique3.cc (gets): Remove declaration.
8995 * elf/tst-unique3lib.cc (gets): Likewise.
8996 * elf/tst-unique3lib2.cc (gets): Likewise.
8997 * elf/tst-unique4.cc (gets): Likewise.
8998
b15549e6
UD
89992012-01-24 Ulrich Drepper <drepper@gmail.com>
9000
9001 * include/stdio.h: Add C++ protection. Add gets declarations and
9002 definitions.
9003 * debug/tst-chk1.c: Don't declare gets here.
9004 * stdio-common/tst-gets.c: Likewise.
9005
a037381f
JM
90062012-01-24 Joseph Myers <joseph@codesourcery.com>
9007
9008 * posix/glob: Remove directory.
9009
f1d4aa75
JM
90102012-01-24 Joseph Myers <joseph@codesourcery.com>
9011
9012 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
9013
81c0c964
PT
90142012-01-22 Pino Toscano <toscano.pino@tiscali.it>
9015
9016 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
9017 of the non-standard EPFNOSUPPORT.
9018
0ea698ae
ST
90192011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
9020
9021 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
9022 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
9023 ANYWHERE set to 1 only on KERN_NO_SPACE error.
9024
d220b117
UD
90252012-01-21 Ulrich Drepper <drepper@gmail.com>
9026
9027 * wcsmbs/uchar.h: Test __STDC_VERSION__.
9028
3e1aa84e
UD
90292012-01-20 Ulrich Drepper <drepper@gmail.com>
9030
9031 * nscd/aicache.c (addhstaiX): Do not cache negative results of
9032 transient errors.
9033 * nscd/grpcache.c (cache_addgr): Likewise.
9034 * nscd/hstcache.c (cache_addhst): Likewise.
9035 * nscd/initgrcache.c (addinitgroupsX): Likewise.
9036 * nscd/pwdcache.c (cache_addpw): Likewise.
9037 * nscd/servicescache.c (cache_addserv): Likewise.
9038
400aa020
UD
90392012-01-16 Ulrich Drepper <drepper@gmail.com>
9040
d77e7869
UD
9041 * malloc/malloc.c: Various cleanups.
9042 * malloc/hooks.c: Likewise.
9043
400aa020
UD
9044 * stdlib/Makefile (tests): Add bug-fmtmsg1.
9045 * stdlib/bug-fmtmsg1.c: New file.
9046
9047 * stdlib/fmtmsg.c (init): Add missing unlock.
9048 Patch by Peng Haitao <penght@cn.fujitsu.com>.
9049
e0a309cf
MP
90502012-01-12 Marek Polacek <polacek@redhat.com>
9051
9052 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
9053 and _GNU_SOURCE.
9054
929d11c7
WS
90552012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
9056
9057 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
9058 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
9059 macro to ensure uniqueness of label name.
9060 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
9061 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
9062
41d0e869
UD
90632012-01-11 Ulrich Drepper <drepper@gmail.com>
9064
0cc5ed3b
UD
9065 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
9066
41d0e869
UD
9067 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
9068 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
9069 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
9070 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
9071
a47a831a
UD
90722012-01-10 Ulrich Drepper <drepper@gmail.com>
9073
daa891c0
UD
9074 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
9075
9076 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
9077 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
9078 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
9079
e58ef0f2
UD
9080 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
9081
a47a831a 9082 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
9083 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
9084 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 9085 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
9086
9087 * math/bits/math-finite.h: Add ldexp support.
9088
a0bfc9c7
MP
90892012-01-10 Marek Polacek <polacek@redhat.com>
9090
9091 * locale/programs/localedef.h (show_archive_content): Add noreturn
9092 attribute.
9093
d6e97a1d
UD
90942012-01-09 Ulrich Drepper <drepper@gmail.com>
9095
9096 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
9097
d5835c26
UD
90982012-01-08 Ulrich Drepper <drepper@gmail.com>
9099
e5f484c6
UD
9100 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
9101
d5835c26
UD
9102 * io/Makefile (headers): Add bits/poll2.h.
9103
d1f741e9
WS
91042011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
9105
9106 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
9107 typo #include statement.
9108
ec09c1c4
UD
91092012-01-08 Ulrich Drepper <drepper@gmail.com>
9110
9111 * include/sys/cdefs.h: Define __attribute_alloc_size.
9112 * catgets/gencat.c: Add alloc_size attribute and apply consistently
9113 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
9114 * elf/pldd.c: Likewise.
9115 * iconv/iconv_charmap.c: Likewise.
9116 * iconv/iconvconfig.c: Likewise.
9117 * iconv/strtab.c: Likewise.
9118 * locale/programs/locale.c: Likewise.
9119 * locale/programs/localedef.h: Likewise.
9120 * locale/programs/simple-hash.c: Likewise.
9121 * nscd/nscd.h: Likewise.
9122 * nss/makedb.c: Likewise.
9123 * sysdeps/generic/ldconfig.h: Likewise.
9124 * locale/programs/localedef.c: Remove xmalloc prototype.
9125 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
9126
20b38e03
PP
91272012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
9128
9129 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
9130 appropriate.
9131
a0da5fe1
UD
91322012-01-08 Ulrich Drepper <drepper@gmail.com>
9133
1d5a644a 9134 * math/Makefile (tests): Add tst-CMPLX.
669704fd 9135 * math/tst-CMPLX.c: New file.
1d5a644a 9136
8784a6db
UD
9137 * math/complex.h (CMPLXL): Fix typo.
9138
d9a216c0
UD
9139 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
9140 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
9141 GLIBC_2.16.
9142 * debug/tst-chk1.c: Add poll and ppoll tests.
9143 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
9144 * include/sys/poll.h: Add hidden proto for ppoll.
9145 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
9146 * sysdeps/mach/hurd/ppoll.c: Likewise.
9147 * io/ppoll.c: Likewise.
9148 * debug/poll_chk.c: New file.
9149 * debug/ppoll_chk.c: New file.
9150 * include/bits/poll2.h: New file.
9151 * io/bits/poll2.h: New file.
9152
ac097f5c
UD
9153 [BZ #1350]
9154 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
9155
2119dcfa
UD
9156 * configure.in: static is always set to yes. Remove.
9157 * config.make.in: Don't set build-static.
9158 * Makeconfig: Remove use of build-static.
9159 * dlfcn/Makefile: Likewise.
9160 * elf/Makefile: Likewise.
9161 * math/Makefile: Likewise.
9162 * misc/Makefile: Likewise.
9163 * nptl/Makefile: Likewise.
9164 * sysdeps/mach/hurd/Makefile: Likewise.
9165
121766a9
UD
9166 * configure.in: PWD_P is not used anymore.
9167 * config.make.in: Remove PWD_P entry.
9168
51a1d39c 9169 * configure.in: Remove last remnants of RANLIB.
8720d066 9170 No need to check for signed size_t anymore.
215f4bdc
UD
9171 Don't set libc_commonpagesize and libc_relro_required here for Alpha
9172 and IA-64.
3857022a 9173 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
9174 * aclocal.m4: Likewise.
9175
d3ed7225
UD
9176 * wcsmbs/mbrtoc16.c: Implement using towc function.
9177 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
9178 * wcsmbs/wcsmbsload.c: Likewise.
9179 * iconv/gconv_simple.c: Likewise.
9180 * iconv/gconv_int.h: Likewise.
9181 * iconv/gconv_builtin.h: Likewise.
9182 * iconv/iconv_prog.c: Remove CHAR16 handling.
9183
9184 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
9185
9186 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
9187
a0da5fe1
UD
9188 * configure.in: Remove --with-elf and --enable-bounded options.
9189 Dont set base_machine for ia64. More non-ELF conditions removed.
9190 Remove testing and setting of leading underscore information.
9191 * config.make.in (build-bounded): Set to no.
9192 * config.h.in: Remove NO_UNDERSCORES entry.
9193 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
9194 them.
9195 * csu/start.c: Remove !NO_UNDERSCORE code.
9196 * locale/localeinfo.h: Likewise.
9197 * sysdeps/generic/machine-gmon.h: Likewise.
9198 * sysdeps/generic/sysdep.h: Likewise.
9199 * sysdeps/i386/sysdep.h: Likewise.
9200 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
9201 * sysdeps/mach/sysdep.h: Likewise.
9202 * sysdeps/s390/s390-32/sysdep.h: Likewise.
9203 * sysdeps/s390/s390-64/sysdep.h: Likewise.
9204 * sysdeps/sh/sysdep.h: Likewise.
9205 * sysdeps/sparc/sparc32/alloca.S: Likewise.
9206 * sysdeps/unix/i386/sysdep.S: Likewise.
9207 * sysdeps/unix/sparc/start.c: Likewise.
9208 * sysdeps/unix/sparc/sysdep.S: Likewise.
9209 * sysdeps/unix/sparc/sysdep.h: Likewise.
9210 * sysdeps/unix/start.c: Likewise.
9211 * sysdeps/unix/x86_64/sysdep.S: Likewise.
9212 * sysdeps/x86_64/sysdep.h: Likewise.
9213
df78418a
UD
92142012-01-07 Ulrich Drepper <drepper@gmail.com>
9215
a784e502
UD
9216 [BZ #13553]
9217 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
9218 for non-gcc.
9219 * argp/argp-fmtstream.h: Use const instead __const.
9220 * argp/argp.h: Likewise.
9221 * assert/assert.h: Likewise.
9222 * bits/fenv.h: Likewise.
9223 * bits/sched.h: Likewise.
9224 * bits/sigset.h: Likewise.
9225 * bits/sigthread.h: Likewise.
9226 * catgets/nl_types.h: Likewise.
9227 * conform/data/pthread.h-data: Likewise.
9228 * crypt/crypt-private.h: Likewise.
9229 * crypt/crypt.h: Likewise.
9230 * crypt/crypt_util.c: Likewise.
9231 * ctype/ctype.h: Likewise.
9232 * debug/execinfo.h: Likewise.
9233 * debug/mbsnrtowcs_chk.c: Likewise.
9234 * debug/mbsrtowcs_chk.c: Likewise.
9235 * debug/wcsnrtombs_chk.c: Likewise.
9236 * debug/wcsrtombs_chk.c: Likewise.
9237 * debug/wcstombs_chk.c: Likewise.
9238 * dirent/dirent.h: Likewise.
9239 * dlfcn/dlfcn.h: Likewise.
9240 * elf/neededtest4.c: Likewise.
9241 * grp/grp.h: Likewise.
9242 * gshadow/gshadow.h: Likewise.
9243 * iconv/gconv.h: Likewise.
9244 * iconv/gconv_int.h: Likewise.
9245 * iconv/gconv_simple.c: Likewise.
9246 * iconv/iconv.h: Likewise.
9247 * iconv/loop.c: Likewise.
9248 * iconv/skeleton.c: Likewise.
9249 * include/aio.h: Likewise.
9250 * include/aliases.h: Likewise.
9251 * include/argz.h: Likewise.
9252 * include/arpa/inet.h: Likewise.
9253 * include/assert.h: Likewise.
9254 * include/dirent.h: Likewise.
9255 * include/dlfcn.h: Likewise.
9256 * include/execinfo.h: Likewise.
9257 * include/fcntl.h: Likewise.
9258 * include/fenv.h: Likewise.
9259 * include/glob.h: Likewise.
9260 * include/grp.h: Likewise.
9261 * include/libintl.h: Likewise.
9262 * include/mntent.h: Likewise.
9263 * include/netdb.h: Likewise.
9264 * include/pwd.h: Likewise.
9265 * include/rpc/netdb.h: Likewise.
9266 * include/sched.h: Likewise.
9267 * include/search.h: Likewise.
9268 * include/shadow.h: Likewise.
9269 * include/signal.h: Likewise.
9270 * include/stdio.h: Likewise.
9271 * include/stdlib.h: Likewise.
9272 * include/string.h: Likewise.
9273 * include/sys/socket.h: Likewise.
9274 * include/sys/stat.h: Likewise.
9275 * include/sys/statfs.h: Likewise.
9276 * include/sys/statvfs.h: Likewise.
9277 * include/sys/syslog.h: Likewise.
9278 * include/sys/time.h: Likewise.
9279 * include/sys/uio.h: Likewise.
9280 * include/time.h: Likewise.
9281 * include/unistd.h: Likewise.
9282 * include/utmp.h: Likewise.
9283 * include/wchar.h: Likewise.
9284 * include/wctype.h: Likewise.
9285 * inet/aliases.h: Likewise.
9286 * inet/arpa/inet.h: Likewise.
9287 * inet/netinet/ether.h: Likewise.
9288 * inet/netinet/in.h: Likewise.
9289 * intl/libintl.h: Likewise.
9290 * io/bits/fcntl2.h: Likewise.
9291 * io/fcntl.h: Likewise.
9292 * io/ftw.h: Likewise.
9293 * io/sys/poll.h: Likewise.
9294 * io/sys/stat.h: Likewise.
9295 * io/sys/statfs.h: Likewise.
9296 * io/sys/statvfs.h: Likewise.
9297 * io/utime.h: Likewise.
9298 * libio/bits/stdio.h: Likewise.
9299 * libio/bits/stdio2.h: Likewise.
9300 * libio/libio.h: Likewise.
9301 * libio/libioP.h: Likewise.
9302 * libio/stdio.h: Likewise.
9303 * locale/lc-ctype.c: Likewise.
9304 * locale/locale.h: Likewise.
9305 * login/utmp.h: Likewise.
9306 * malloc/arena.c: Likewise.
9307 * malloc/malloc.c: Likewise.
9308 * malloc/malloc.h: Likewise.
9309 * malloc/mcheck.c: Likewise.
9310 * malloc/mtrace.c: Likewise.
9311 * math/bits/mathcalls.h: Likewise.
9312 * math/fenv.h: Likewise.
9313 * math/math_private.h: Likewise.
9314 * misc/bits/error.h: Likewise.
9315 * misc/bits/syslog.h: Likewise.
9316 * misc/err.h: Likewise.
9317 * misc/error.h: Likewise.
9318 * misc/fstab.h: Likewise.
9319 * misc/mntent.h: Likewise.
9320 * misc/regexp.h: Likewise.
9321 * misc/search.h: Likewise.
9322 * misc/sgtty.h: Likewise.
9323 * misc/sys/mman.h: Likewise.
9324 * misc/sys/syslog.h: Likewise.
9325 * misc/sys/uio.h: Likewise.
9326 * misc/sys/xattr.h: Likewise.
9327 * misc/ttyent.h: Likewise.
9328 * nis/rpcsvc/ypclnt.h: Likewise.
9329 * nss/nss.h: Likewise.
9330 * posix/bits/unistd.h: Likewise.
9331 * posix/fnmatch.h: Likewise.
9332 * posix/glob.h: Likewise.
9333 * posix/sched.h: Likewise.
9334 * posix/spawn.h: Likewise.
9335 * posix/sys/wait.h: Likewise.
9336 * posix/unistd.h: Likewise.
9337 * posix/wordexp.h: Likewise.
9338 * pwd/pwd.h: Likewise.
9339 * resolv/netdb.h: Likewise.
9340 * resource/sys/resource.h: Likewise.
9341 * rt/aio.h: Likewise.
9342 * rt/bits/mqueue2.h: Likewise.
9343 * rt/mqueue.h: Likewise.
9344 * shadow/shadow.h: Likewise.
9345 * signal/signal.h: Likewise.
9346 * socket/send.c: Likewise.
9347 * socket/sendto.c: Likewise.
9348 * socket/sys/socket.h: Likewise.
9349 * stdio-common/printf.h: Likewise.
9350 * stdlib/bits/stdlib.h: Likewise.
9351 * stdlib/fmtmsg.h: Likewise.
9352 * stdlib/monetary.h: Likewise.
9353 * stdlib/stdlib.h: Likewise.
9354 * stdlib/ucontext.h: Likewise.
9355 * streams/stropts.h: Likewise.
9356 * string/argz.h: Likewise.
9357 * string/bits/string2.h: Likewise.
9358 * string/string.h: Likewise.
9359 * string/strings.h: Likewise.
9360 * sunrpc/rpc/auth.h: Likewise.
9361 * sunrpc/rpc/auth_des.h: Likewise.
9362 * sunrpc/rpc/clnt.h: Likewise.
9363 * sunrpc/rpc/netdb.h: Likewise.
9364 * sunrpc/rpc/pmap_clnt.h: Likewise.
9365 * sunrpc/rpc/xdr.h: Likewise.
9366 * sysdeps/generic/inttypes.h: Likewise.
9367 * sysdeps/generic/net/if.h: Likewise.
9368 * sysdeps/generic/sys/swap.h: Likewise.
9369 * sysdeps/gnu/net/if.h: Likewise.
9370 * sysdeps/gnu/utmpx.h: Likewise.
9371 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
9372 * sysdeps/i386/i486/bits/string.h: Likewise.
9373 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
9374 * sysdeps/s390/bits/string.h: Likewise.
9375 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
9376 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
9377 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
9378 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
9379 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
9380 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
9381 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
9382 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
9383 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
9384 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
9385 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
9386 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
9387 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
9388 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
9389 * sysdeps/unix/sysv/linux/readv.c: Likewise.
9390 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
9391 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
9392 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
9393 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
9394 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
9395 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
9396 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
9397 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
9398 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
9399 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
9400 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
9401 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
9402 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
9403 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
9404 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
9405 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
9406 * sysvipc/sys/ipc.h: Likewise.
9407 * sysvipc/sys/msg.h: Likewise.
9408 * sysvipc/sys/sem.h: Likewise.
9409 * sysvipc/sys/shm.h: Likewise.
9410 * termios/termios.h: Likewise.
9411 * time/sys/time.h: Likewise.
9412 * time/time.h: Likewise.
9413 * wcsmbs/bits/wchar2.h: Likewise.
9414 * wcsmbs/uchar.h: Likewise.
9415 * wcsmbs/wchar.h: Likewise.
9416 * wctype/wctype.h: Likewise.
9417
0269750c
UD
9418 [BZ #13551]
9419 * Makeconfig: Remove all but ELF support including AIX support.
9420 * Makerules: Likewise.
9421 * config.h.in: Likewise.
9422 * config.make.in: Likewise.
9423 * configure: Likewise.
9424 * configure.in: Likewise.
9425 * csu/Makefile: Likewise.
9426 * csu/version.c: Likewise.
9427 * debug/Makefile: Likewise.
9428 * dlfcn/Makefile: Likewise.
9429 * elf/Makefile: Likewise.
9430 * extra-lib.mk: Likewise.
9431 * iconv/Makefile: Likewise.
9432 * include/libc-symbols.h: Likewise.
9433 * include/shlib-compat.h: Likewise.
9434 * resolv/Makefile: Likewise.
9435 * resolv/res_libc.c: Likewise.
9436 * rt/Makefile: Likewise.
9437 * sysdeps/i386/asm-syntax.h: Likewise.
9438 * sysdeps/i386/sysdep.h: Likewise.
9439 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
9440 * sysdeps/mach/sysdep.h: Likewise.
9441 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
9442 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
9443 * sysdeps/s390/asm-syntax.h: Likewise.
9444 * sysdeps/s390/s390-32/sysdep.h: Likewise.
9445 * sysdeps/s390/s390-64/sysdep.h: Likewise.
9446 * sysdeps/sh/sysdep.h: Likewise.
9447 * sysdeps/unix/sparc/sysdep.h: Likewise.
9448 * sysdeps/wordsize-32/divdi3.c: Likewise.
9449 * sysdeps/x86_64/sysdep.h: Likewise.
9450
00bbd29b
UD
9451 * argp/Versions: Remove _argp_unlock_xxx.
9452
9453 [BZ #13559]
9454 * abilist/ld.abilist: Update. Adjust for removal of tls option.
9455 * abilist/libBrokenLocale.abilist: Likewise.
9456 * abilist/libanl.abilist: Likewise.
9457 * abilist/libc.abilist: Likewise.
9458 * abilist/libcrypt.abilist: Likewise.
9459 * abilist/libdl.abilist: Likewise.
9460 * abilist/libm.abilist: Likewise.
9461 * abilist/libnsl.abilist: Likewise.
9462 * abilist/libpthread.abilist: Likewise.
9463 * abilist/libresolv.abilist: Likewise.
9464 * abilist/librt.abilist: Likewise.
9465 * abilist/libthread_db.abilist: Likewise.
9466 * abilist/libutil.abilist: Likewise.
9467 * abilist/libnss_db.abilist: New file.
9468
9469 * scripts/abilist.awk: Add support for indirect functions.
9470
a2693a0e
UD
9471 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
9472
3f05895f
UD
9473 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
9474
ecb6fb48
UD
9475 * shlib-versions: Remove entries for ports architectures.
9476
664f8cb9
UD
9477 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
9478 files in ports.
9479 * elf/stackguard-macros.h: Remove support for IA-64.
9480 * elf/tst-auditmod1.c: Likewise.
9481 * sysdeps/generic/ldsodefs.h: Likewise.
9482
7ae81d88
UD
9483 * sysdeps/unix/sysv/linux/configure.in: Ports should define
9484 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
9485 configure files.
9486
bdeba135
UD
9487 [BZ #13552]
9488 * configure.in: Remove --enable-omitfp support.
9489 * FAQ.in: Adjust.
9490 * config.make.in: Likewise.
9491 * Makeconfig: Likewise.
9492 * manual/install.texi: Likewise.
9493
d75a0a62
UD
9494 In case anyone cares, the IA-64 architecture could move to ports.
9495 * sysdeps/ia64/*: Removed.
9496 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 9497 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 9498
dcc9756b
UD
9499 [BZ #13555]
9500 * configure.in: Remove entries for unsupported architectures.
9501
d3761ebc 9502 [BZ #13533]
9954432e
UD
9503 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
9504 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
9505 routines.
9506 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
9507 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
9508 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
9509 fall back to using wcrtomb.
9510 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
9511 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
9512 renaming.
9513 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
9514 * wcsmbs/tst-c16c32-1.c: New file.
9515
9516 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
9517 local variable.
9518
c3a87236
UD
9519 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
9520
28926a1b
UD
9521 * elf/tst-unique3.cc: Add explicit declaration of gets.
9522 * elf/tst-unique3lib.cc: Likewise.
9523 * elf/tst-unique3lib2.cc: Likewise.
9524 * elf/tst-unique4.cc: Likewise.
9525
df78418a
UD
9526 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
9527
8ecd6b2a
JM
95282012-01-06 Joseph Myers <joseph@codesourcery.com>
9529
9530 [BZ #13566]
9531 * assert/assert.h (static_assert): Don't define for C++.
9532 * libio/stdio.h (gets): Do declare for C++ <= C++11.
9533 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
9534
9f115170
UD
95352012-01-03 Ulrich Drepper <drepper@gmail.com>
9536
5e0d0300
UD
9537 * iconv/loop.c (single loop): Fix assertion in storing of
9538 remaining bytes.
9539
9f115170
UD
9540 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
9541
81fb02b0
UD
95422012-01-01 Ulrich Drepper <drepper@gmail.com>
9543
9544 * posix/getconf.c: Update copyright year.
9545 * nss/getent.c: Likewise.
a316c1f6 9546 * nss/makedb.c: Likewise.
81fb02b0
UD
9547 * iconv/iconvconfig.c: Likewise.
9548 * iconv/iconv_prog.c: Likewise.
9549 * elf/ldconfig.c: Likewise.
a316c1f6
UD
9550 * elf/pldd.c: Likewise.
9551 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
9552 * catgets/gencat.c: Likewise.
9553 * csu/version.c: Likewise.
9554 * elf/ldd.bash.in: Likewise.
9555 * elf/sprof.c (print_version): Likewise.
9556 * locale/programs/locale.c: Likewise.
9557 * locale/programs/localedef.c: Likewise.
a316c1f6 9558 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
9559 * nscd/nscd.c (print_version): Likewise.
9560 * debug/xtrace.sh: Likewise.
9561 * malloc/memusage.sh: Likewise.
9562 * malloc/mtrace.pl: Likewise.
9563 * debug/catchsegv.sh: Likewise.
9564
2ba92745
JJ
95652011-12-30 Jakub Jelinek <jakub@redhat.com>
9566
9567 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
9568 pure attribute.
9569
dadebdae
UD
95702011-12-24 Ulrich Drepper <drepper@gmail.com>
9571
d3761ebc 9572 [BZ #13533]
db6af3eb
UD
9573 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
9574 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
9575 transformations.
9576 * iconv/gconv_int.h: Likewise.
9577 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
9578 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
9579 from libc for GLIBC_2.16.
9580 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
9581 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
9582 * wcsmbs/uchar.h: Really define mbstate_t.
9583 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
9584 * wcsmbs/c16rtomb.c: New file.
9585 * wcsmbs/mbrtoc16.c: New file.
9586 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
9587 for C/POSIX locale.
9588 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
9589 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
9590
dadebdae
UD
9591 * wcsmbs/wchar.h: Add missing __restrict.
9592
67371b56
UD
95932011-12-23 Ulrich Drepper <drepper@gmail.com>
9594
74033a25
UD
9595 [BZ #13532]
9596 * time/Makefile (routines): Add timespec_get.
9597 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
9598 * time/time.h: Define TIME_UTC and declare timespec_get. Define
9599 timespec for ISO C11.
9600 * time/timespec_get.c: New file.
9601 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
9602 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
9603
380d7e87
UD
9604 [BZ #13531]
9605 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
9606 * stdlib/stdlib.h: Declare aligned_alloc.
9607 * Versions.def: Add GLIBC_2.16 for libc.
9608 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
9609
4e9e7a35
UD
9610 [BZ 13527]
9611 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
9612 ISO C11.
9613
380d7e87 9614 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
9615 code.
9616
03a71829
UD
9617 [BZ #13528]
9618 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
9619
839e283e
UD
9620 [BZ #13529]
9621 * assert/assert.h (static_assert): Define.
9622
ce5294e2 9623 * version.h: Update for 2.16 development version.
90fa7312 9624
8d44e150 9625 [BZ #13526]
d7809905
UD
9626 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
9627 _ISOC11_SOURCE.
9628
c0da14cd
UD
9629 * version.h (RELEASE): Bump for 2.15 release.
9630 * include/features.h (__GLIBC_MINOR__): Bump to 15.
9631
530a3249
MP
9632 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
9633 Patch by Marek Polacek <mpolacek@redhat.com>.
9634
67371b56
UD
9635 * bits/byteswap.h: Protect long long constants with __extension__.
9636 * sysdeps/i386/bits/byteswap.h: Likewise.
9637 * sysdeps/ia64/bits/byteswap.h: Likewise.
9638 * sysdeps/s390/bits/byteswap.h: Likewise.
9639 * sysdeps/x86_64/bits/byteswap.h: Likewise.
9640
15db4de1
LD
96412011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9642
9643 [BZ #13540]
bbe315ea
LD
9644 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
9645 destination buffer.
15db4de1
LD
9646 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
9647
2b2596b1
MP
96482011-12-23 Marek Polacek <polacek@redhat.com>
9649
9650 * elf/dl-addr.c (determine_info): Add inline keyword.
9651 * elf/tst-auditmod4b.c (check_avx): Likewise.
9652 * elf/tst-auditmod6b.c (check_avx): Likewise.
9653 * elf/tst-auditmod6c.c (check_avx): Likewise.
9654 * elf/tst-auditmod7b.c (check_avx): Likewise.
9655
70c6c246
UD
96562011-12-23 Ulrich Drepper <drepper@gmail.com>
9657
9658 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
9659 !__SSE_MATH__.
9660
c044cf14
LD
96612011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9662
15db4de1 9663 [BZ #13540]
c044cf14
LD
9664 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
9665 processing for last bytes.
9666
6b13d9d9
BH
96672011-08-06 Bruno Haible <bruno@clisp.org>
9668
d455f537
BH
9669 [BZ #13061]
9670 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
9671 U+0385, not to U+1FEE.
9672
6b13d9d9
BH
9673 [BZ #13062]
9674 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
9675 entry for U+00A5 U+0301.
9676
db910efd
UD
96772011-12-22 Ulrich Drepper <drepper@gmail.com>
9678
27deeafc
UD
9679 [BZ #13166]
9680 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
9681 buffer for the output is too small.
9682
aed9d171
UD
9683 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
9684 optimization.
9685
db910efd
UD
9686 [BZ #13185]
9687 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
9688 SSE flags if possible.
9689
2bd779ae
LD
96902011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9691
e7f9dac3 9692 [BZ #13540]
2bd779ae
LD
9693 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
9694 processing for last bytes.
9695
154bfc16
JM
96962011-12-22 Joseph Myers <joseph@codesourcery.com>
9697
9698 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
9699 (syscall-list-default-options, syscall-list-default-condition)
9700 (syscall-list-includes): Define.
9701 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
9702 list of ABIs and options and #if conditions for each ABI. Do not
9703 handle common syscalls between ABIs specially.
9704 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
9705 Remove.
9706 (syscall-list-variants, syscall-list-32bit-options)
9707 (syscall-list-32bit-condition, syscall-list-64bit-options)
9708 (syscall-list-64bit-condition): Define.
9709 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
9710 (syscall-list-variants, syscall-list-32bit-options)
9711 (syscall-list-32bit-condition, syscall-list-64bit-options)
9712 (syscall-list-64bit-condition): Define.
9713 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
9714 Remove.
9715 (syscall-list-variants, syscall-list-32bit-options)
9716 (syscall-list-32bit-condition, syscall-list-64bit-options)
9717 (syscall-list-64bit-condition): Define.
9718 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
9719 Remove.
9720 (syscall-list-variants, syscall-list-32bit-options)
9721 (syscall-list-32bit-condition, syscall-list-64bit-options)
9722 (syscall-list-64bit-condition): Define.
9723
21eaf3a5
UD
97242011-12-22 Ulrich Drepper <drepper@gmail.com>
9725
16c6f992
UD
9726 * locale/iso-639.def: Add brx entry.
9727
41043168
UD
9728 [BZ #13328]
9729 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
9730 Proposed by Mariusz_Cukr <marcukr@op.pl>.
9731
21eaf3a5
UD
9732 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
9733 __feraiseexcept_renamed.
9734
e3a851a2
UD
97352011-12-21 Ulrich Drepper <drepper@gmail.com>
9736
4920765e
UD
9737 [BZ #13538]
9738 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
9739 EPOLLET with unsigned values.
9740 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
9741 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
9742
e3a851a2
UD
9743 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
9744 to large cancellation.
9745 * math/s_cacoshf.c: Likewise.
9746 * math/s_cacoshl.c: Likewise.
9747
b27e24b8
RK
97482011-11-18 Richard B. Kreckel <kreckel@ginac.de>
9749
9750 [BZ #13305]
aebefeee 9751 [BZ #12786]
b27e24b8
RK
9752 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
9753 * math/s_cacoshf.c: Likewise.
9754 * math/s_cacoshl.c: Likewise.
9755
ee190f67
UD
97562011-12-21 Ulrich Drepper <drepper@gmail.com>
9757
9758 [BZ #13439]
9759 * iconv/gconv.h: Define __GCONV_SWAP.
9760 * iconvdata/unicode.c: The swap bit must be stored in __flags.
9761 * iconvdata/utf-16.c: Likewise.
9762 * iconvdata/utf-32.c: Likewise.
9763
707f25df
AS
97642011-12-21 Andreas Schwab <schwab@linux-m68k.org>
9765
9766 [BZ #13524]
9767 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
9768 numerator after shifting it by one limb.
9769
d2daaa1e
RÁE
97702011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
9771
9772 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
9773 under [__USE_EXTERN_INLINES].
9774
a4647e72
UD
97752011-12-17 Ulrich Drepper <drepper@gmail.com>
9776
9777 [BZ #13446]
9778 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
9779
f0b264f1
AZ
97802011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9781
9782 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
9783 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
9784 optimized code.
9785 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
9786 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
9787 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
9788 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
9789 for strncasecmp/strncasecmp_l compilation.
9790 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
9791 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
9792
8ef4f244
MP
97932011-12-08 Marek Polacek <mpolacek@redhat.com>
9794
9795 [BZ #13484]
9796 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
9797 of __asm__.
9798
97ac2654
UD
97992011-12-17 Ulrich Drepper <drepper@gmail.com>
9800
9801 [BZ #13506]
9802 * time/tzfile.c (__tzfile_read): Check values from file header.
9803
91d2a845
WS
98042011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
9805
9806 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
9807 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
9808 * powerpc/powerpc32/dl-start.S: Likewise.
9809 * powerpc/powerpc32/elf/start.S: Likewise.
9810 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
9811 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
9812 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
9813 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
9814 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
9815 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
9816 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
9817 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
9818 * powerpc/powerpc32/fpu/s_round.S: Likewise.
9819 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
9820 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
9821 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
9822 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
9823 * powerpc/powerpc32/memset.S: Likewise.
9824 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
9825 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
9826 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
9827 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
9828 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
9829 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
9830 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
9831 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
9832 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
9833 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
9834 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
9835 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
9836 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
9837
a1267ba1
AZ
98382011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9839
9840 * math/libm-test.inc: Added more nearbyint tests.
9841 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
9842 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
9843 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
9844 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
9845
ad8ac1bd
RL
98462011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
9847
9848 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
9849 FD_CLOEXEC.
9850
1d3e4b61
UD
98512011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9852
9853 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
9854 Add wcscpy-ssse3 wcscpy-c.
9855 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
9856 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
9857 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
9858 * sysdeps/x86_64/wcschr.S: New file.
9859 * sysdeps/x86_64/wcsrchr.S: New file.
9860 * string/test-strcmp.c: Remove checking of wcscmp function for
9861 wrong alignments.
9862 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
9863 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
9864 wcsrchr-sse2 wcsrchr-c.
9865 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
9866 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
9867 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
9868 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
9869 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
9870 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
9871 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
9872 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
9873 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
9874 * wcsmbc/wcschr.c (WCSCHR): New macro.
9875
5b330a2d
UD
98762011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9877
9878 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
9879 * wcsmbs/test-wcsrchr.c: New file.
9880 * string/test-strrchr.c: Add wcsrchr support.
9881 (WIDE): New macro.
9882 * wcsmbs/test-wcscpy.c: New file.
9883 * string/test-strcpy.c: Add wcscpy support.
9884 (WIDE): New macro.
26428b7c 9885
f039c043
UD
98862011-12-10 Ulrich Drepper <drepper@gmail.com>
9887
9888 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
9889 the inner loop.
9890
850fb039
AS
98912011-12-06 Andreas Schwab <schwab@linux-m68k.org>
9892
9893 [BZ #13472]
9894 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
9895
4efbd5cb
UD
98962011-12-04 Ulrich Drepper <drepper@gmail.com>
9897
52ff5dd0 9898 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 9899 Minor optimizations.
52ff5dd0 9900
4efbd5cb
UD
9901 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
9902 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
9903 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
9904
8a426e12
UD
99052011-12-03 Ulrich Drepper <drepper@gmail.com>
9906
aff2453d
UD
9907 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
9908 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
9909 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
9910 for gcc to avoid warnings.
9911 * inet/Makefile (tests): Add tst-checks.
9912 * inet/tst-checks.c: New file.
9913
9914 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
9915 warning.
9916
9917 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
9918 __wmemcmp_sse2.
9919
9920 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
9921 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
9922
8a426e12
UD
9923 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
9924
9bea3473
UD
99252011-12-02 Ulrich Drepper <drepper@gmail.com>
9926
3a965496
UD
9927 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
9928 problem.
9929
9bea3473
UD
9930 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
9931
f101631b
UD
99322011-11-29 Joseph Myers <joseph@codesourcery.com>
9933
9934 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
9935 conditional on GCC version.
9936 (__arch_compare_and_exchange_val_8_acq)
9937 (__arch_compare_and_exchange_val_16_acq)
9938 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
9939 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
9940 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
9941
a98275aa
UD
99422011-12-02 Joseph Myers <joseph@codesourcery.com>
9943
9944 * sysdeps/sh/backtrace.c: New file.
9945
d4cc29a2
AS
99462011-12-02 Andreas Schwab <schwab@redhat.com>
9947
9948 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
9949 parenthesis.
9950
6257af2d
AS
99512011-12-01 Andreas Schwab <schwab@redhat.com>
9952
9953 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
9954 falling back to utime.
9955
b5f44c1a
AS
99562011-11-30 Andreas Schwab <schwab@redhat.com>
9957
9958 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
9959 expectations for float.
9960
f3a6cc0a
AS
99612011-11-29 Andreas Schwab <schwab@redhat.com>
9962
9963 * locale/weight.h (findidx): Add parameter len.
9964 * locale/weightwc.h (findidx): Likewise.
9965 * posix/fnmatch_loop.c (FCT): Adjust caller.
9966 * posix/regcomp.c (build_equiv_class): Likewise.
9967 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
9968 * posix/regexec.c (check_node_accept_bytes): Likewise.
9969 * string/strcoll_l.c (STRCOLL): Likewise.
9970 * string/strxfrm_l.c (STRXFRM): Likewise.
9971
9d65ea3a
UD
99722011-11-17 Ulrich Drepper <drepper@gmail.com>
9973
9974 * Makefile.in: Remove CVSOPT handling.
9975 * configure.in: Remove use of AC_REVISION.
9976 * iconvdata/Makefile (distribute): No need to filter out CVS.
9977 * scripts/list-sources.sh: Remove CVS, subversion and monotone
9978 handling.
9979
5583a086
AS
99802011-11-16 Andreas Schwab <schwab@redhat.com>
9981
9982 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
9983 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
9984 [USE_AS_STRNCASECMP_L]: Likewise.
9985 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
9986 NO_TLS_DIRECT_SEG_REFS.
9987 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
9988 Fix argument offsets for non-PIC.
9989 [USE_AS_STRNCASECMP_L]: Likewise.
9990 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
9991 NO_TLS_DIRECT_SEG_REFS.
9992
d62a8200
UD
99932011-11-15 Ulrich Drepper <drepper@gmail.com>
9994
9d65ea3a 9995 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
9996 O_CLOEXEC.
9997 * locale/loadlocale.c (_nl_load_locale): Likewise.
9998
09f93bd3
AS
99992011-11-15 Andreas Schwab <schwab@redhat.com>
10000
446514f9
AS
10001 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
10002 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
10003 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
10004 (SYSCALL_GETTIME): Set errno on error.
10005
09f93bd3
AS
10006 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
10007 count references to noai6ai_cached.
10008
312be3f9
UD
100092011-11-15 Ulrich Drepper <drepper@gmail.com>
10010
10011 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
10012
10013 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
10014 FD_CLOEXEC for /proc/self/maps.
10015
10016 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
10017 FD_CLOEXEC for /proc/meminfo.
10018
10019 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
10020 gai.conf.
10021
10022 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
10023 FD_CLOEXEC for given file.
10024
10025 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
10026
10027 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
10028 FD_CLOEXEC for /etc/hosts.
10029 (_gethtent): Likewise.
10030
10031 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
10032
10033 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
10034 cancellation and set FD_CLOEXEC for /etc/netgroup.
10035
10036 * nss/nss_files/files-key.c (search): Don't allow cancellation when
10037 reading /etc/publickey.
10038
10039 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
10040 allow cancellation when reading /etc/group.
10041
10042 * nss/nss_files/files-alias.c (internal_setent): Don't allow
10043 cancellation.
10044 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
10045
10046 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
10047 when using data file.
10048
10049 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
10050
10051 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
10052 (write_nis_obj): Use "c" and "e" in fopen.
10053
10054 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
10055
10056 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
10057
10058 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
10059
10060 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
10061
10062 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
10063 locale.alias.
10064
10065 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
10066
10067 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
10068
10069 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
10070
10071 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
10072 file parsing and set FD_CLOEXEC.
10073
82af0fa8
UD
100742011-11-14 Ulrich Drepper <drepper@gmail.com>
10075
10076 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
10077
a5fb313c
AS
100782011-11-14 Andreas Schwab <schwab@redhat.com>
10079
10080 * malloc/arena.c (arena_get2): Don't call reused_arena when
10081 _int_new_arena failed.
10082
6abf3465
UD
100832011-11-14 Ulrich Drepper <drepper@gmail.com>
10084
10085 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
10086 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
10087 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
10088 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
10089 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
10090 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
10091 to compile strcasecmp and strncasecmp.
10092 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
10093 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
10094
10095 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
10096
76e3966e
UD
100972011-11-13 Ulrich Drepper <drepper@gmail.com>
10098
10099 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
10100 locale-defines.sym to gen-as-const-headers.
10101 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
10102 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
10103 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
10104 to compile strcasecmp and strncasecmp.
10105 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
10106 strcasecmp_l and strncasecmp_l.
10107 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
10108 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
10109 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
10110 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
10111 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
10112 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
10113 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
10114 * sysdeps/i386/i686/multiarch/strncase.S: New file.
10115 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
10116 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
10117 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
10118
ab26144e
UD
101192011-11-12 Ulrich Drepper <drepper@gmail.com>
10120
7edb22ef
UD
10121 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
10122 result of SYSDEP_GETTIME_CPU to retval.
10123 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
10124 parameter list to macro. Remove trailing semicolon. Adjust users.
10125
9694fc44
UD
10126 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
10127 variable.
10128
8ad89ef8
UD
10129 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
10130 mantissa words.
10131 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
10132
0c822ef9
UD
10133 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
10134 from unused variable.
10135
874e0564
UD
10136 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
10137 DWARF definitions.
10138 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
10139 for assembling.
10140
3a2edc79
UD
10141 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
10142 over namespaces.
10143
f3c2577f
UD
10144 * sunrpc/rpc_prot.c (rejected): Fix case value.
10145
294ce126
UD
10146 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
10147 unsigned long long int to avoid warnings in shift.
10148
5e2b63c6
UD
10149 * posix/regex_internal.c (re_string_reconstruct): Actually use result
10150 of use of trans.
10151 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
10152 variable tmp.
10153
e7f4b08e
UD
10154 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
10155 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
10156 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
10157
ab26144e
UD
10158 * nis/nis_table.c (nis_list): Use variable of correct type for
10159 result of __follow_path call.
10160
8a6d5255
AZ
101612011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10162
10163 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
10164 of math functions ceil, trunc, floor, round, and sqrt, when
10165 avaliable on the platform.
10166 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
10167 name clash.
10168 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
10169 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
10170 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
10171
aaddc98c
MP
101722011-10-30 Marek Polacek <mpolacek@redhat.com>
10173
10174 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
10175 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
10176
95b7042b
RM
101772011-11-11 Roland McGrath <roland@hack.frob.com>
10178
10179 * include/unistd.h: Fix __readlink return type.
10180 Reported by Chris Metcalf <cmetcalf@tilera.com>.
10181
57769839
UD
101822011-11-11 Ulrich Drepper <drepper@gmail.com>
10183
10184 * stdlib/ucontext.h: Undo last change for makecontext.
10185
edc5984d
AS
101862011-11-11 Andreas Schwab <schwab@redhat.com>
10187
98591e58
AS
10188 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
10189
edc5984d
AS
10190 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
10191 * setjmp/setjmp.h: Mark functions as non-leaf.
10192 * setjmp/bits/setjmp2.h: Likewise.
10193 * stdlib/ucontext.h: Likewise.
10194
77cdc054
AS
101952011-11-10 Andreas Schwab <schwab@redhat.com>
10196
10197 * malloc/arena.c (_int_new_arena): Don't increment narenas.
10198 (reused_arena): Don't check arena limit.
10199 (arena_get2): Atomically check arena limit.
10200
fe72eebd
UD
102012011-11-08 Ulrich Drepper <drepper@gmail.com>
10202
5f078c32
UD
10203 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
10204 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
10205
fe72eebd
UD
10206 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
10207 instructions.
10208
ae1bc2fa
AS
102092011-11-07 Andreas Schwab <schwab@redhat.com>
10210
7583a88d
AS
10211 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
10212 handler when locking.
10213
ae1bc2fa
AS
10214 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
10215 Fix size of allocated buffer.
10216
10fb0bfa
AS
102172011-11-04 Andreas Schwab <schwab@redhat.com>
10218
998832a4
AS
10219 [BZ #10103]
10220 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
10221 declarations for long double functions.
10222 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
10223
10fb0bfa
AS
10224 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
10225
3d7ba52b
AS
102262011-11-03 Andreas Schwab <schwab@redhat.com>
10227
a9ae54a1
AS
10228 * nscd/nscd.c (main): Don't start AVC thread until credentials are
10229 installed.
10230
3d7ba52b
AS
10231 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
10232 is disabled.
10233
bc8db248
ST
102342011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
10235
10236 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
10237
45b96dd6
AS
102382011-11-01 Andreas Schwab <schwab@linux-m68k.org>
10239
647776f6
AS
10240 * include/alloca.h (stackinfo_alloca_round): Define.
10241 (extend_alloca): Use it.
10242 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
10243 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
10244 here.
10245
d91a8b93
AS
10246 * scripts/check-local-headers.sh: Ignore libaudit.h.
10247
45b96dd6
AS
10248 * nscd/Makefile (extra-objs): Make recursively expanded.
10249
432d41ce
UD
102502011-11-01 Ulrich Drepper <drepper@gmail.com>
10251
34372fc6
UD
10252 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
10253 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
10254
fadb59f8
UD
10255 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
10256 * posix/tst-rfc3484-2.c: Likewise.
10257 * posix/tst-rfc3484-3.c: Likewise.
10258
78239589
UD
10259 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
10260 process_vm_writev.
10261 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
10262 process_vm_writev.
10263 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
10264 process_vm_writev from libc using GLIBC_2.15 version.
10265
432d41ce
UD
10266 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
10267
02f9c6cf
PP
102682011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
10269
10270 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
10271 stack usage.
10272
3a2c0242
UD
102732011-10-31 Ulrich Drepper <drepper@gmail.com>
10274
f4ec4833
UD
10275 [BZ #13367]
10276 * nss/getent.c (initgroups_keys): Show error message in case no group
10277 names are given.
10278
3a2c0242
UD
10279 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
10280 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
10281 __bump_nl_timestamp.
10282 * nscd/connections (nscd_init): When host database is served open
10283 netlink socket and request notification about configuration changes.
10284 (main_loop_poll): Track netlink file descriptor and bump timestamp
10285 in case data becomes available.
10286 (main_loop_epoll): Likewise.
10287 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
10288 (database_pers_head): Add extra_data fileds.
10289 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
10290 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
10291 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
10292 Adjust caller.
10293 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
10294 in6ai data, call __free_in6ai.
10295 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
10296 Add -DHAVE_NETLINK.
10297 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
10298 interface information. Reuse previous data if netlink timestamp
10299 is not changed.
10300 (__bump_nl_timestamp): New function.
10301 (__free_in6ai): New function.
10302
636064eb
UD
103032011-10-30 Ulrich Drepper <drepper@gmail.com>
10304
10305 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
10306 close_not_cancel_no_status here.
10307 (__check_pf): Reorganize code a bit to not call close twice if OOM.
10308
9beb2334
UD
103092011-10-29 Ulrich Drepper <drepper@gmail.com>
10310
6ef76f3b
UD
10311 [BZ #13276]
10312 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
10313 return value.
10314
0ffc4f3e 10315 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
10316 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
10317 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
10318
cb95113e
UD
103192011-07-03 Andreas Jaeger <aj@suse.de>
10320
10321 [BZ #10709]
10322 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
10323 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
10324 * math/libm-test.inc (sin_test): Add test case.
10325
a1b560ff
UD
103262011-10-29 Ulrich Drepper <drepper@gmail.com>
10327
c9aaface
UD
10328 [BZ #13337]
10329 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
10330 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
10331
d272e7f1
UD
10332 * elf/chroot_canon.c (chroot_canon): Cleanups.
10333
1bc33071
UD
10334 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
10335
1760874d
TJ
10336 [BZ #13335]
10337 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
10338 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
10339
51d91b18
UD
10340 * string/test-strchr.c: Make usable for strchrnul testing.
10341 * string/test-strchrnul.c: New file.
10342 * string/Makefile (strop-tests): Add strchrnul.
10343
a1b560ff 10344 * po/it.po: Update from translation team.
b611fb81 10345 * po/es.po: Likewise.
a1b560ff 10346
a5b81e1f
UD
103472011-10-28 Ulrich Drepper <drepper@gmail.com>
10348
fd52bc6d
UD
10349 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
10350 the three constants needed as parameters. Drop the others.
10351 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
10352 __m128i_strloadu_tolower.
52e4b9eb
UD
10353 Create and initialize variable zero and use it in all the places
10354 where _mm_setzero_si128 was used.
fd52bc6d 10355
a5b81e1f
UD
10356 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
10357 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
10358 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
10359 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
10360 anymore.
10361 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
10362 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
10363 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
10364 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
10365 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
10366 __mpranred, __mptan.
10367 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
10368 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
10369 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
10370 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
10371 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
10372 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
10373 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
10374 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
10375 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
10376
b4343346
AS
103772011-10-28 Andreas Schwab <schwab@redhat.com>
10378
0c92d8a8
AS
10379 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
10380 redefine if SHARED.
10381 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
10382
b4343346
AS
10383 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
10384 wide char related routines to wcsmbs subdir.
10385
3871f58f
AS
103862011-10-27 Andreas Schwab <schwab@redhat.com>
10387
10388 [BZ #13344]
10389 * misc/sys/cdefs.h (__THROWNL): Define.
10390 * posix/unistd.h: Use __THREADNL instead of __THREAD
10391 for memory synchronization functions.
10392
94d44d9f
RM
103932011-10-26 Roland McGrath <roland@hack.frob.com>
10394
21b64b15 10395 [BZ #13349]
94d44d9f
RM
10396 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
10397 doesn't exist.
10398 * manual/stdio.texi (Obstack Streams): Node removed.
10399
f6ce9294
AS
104002011-10-26 Andreas Schwab <schwab@redhat.com>
10401
80479147
AS
10402 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
10403 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
10404 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
10405
f6ce9294
AS
10406 * math/math_private.h (math_force_eval): Allow non-addressable
10407 arguments.
10408 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
10409
618280a1
UD
104102011-10-25 Ulrich Drepper <drepper@gmail.com>
10411
e0016b11
UD
10412 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
10413 file is not needed.
10414
10415 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
10416 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
10417 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
10418 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
10419 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
10420 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
10421 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
10422 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
10423 Add AVX variants.
10424 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
10425 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
10426 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
10427 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
10428 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
10429 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
10430 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
10431 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
10432 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
10433 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
10434 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
10435 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
10436 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
10437 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
10438 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
10439 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
10440 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
10441 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
10442 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
10443
10444 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
10445 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
10446
618280a1
UD
10447 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
10448 place. Use VEX encoding when compiling for AVX.
10449
37822576
AS
104502011-10-25 Andreas Schwab <schwab@redhat.com>
10451
1f1e1947
AS
10452 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
10453 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
10454
37822576
AS
10455 * string/test-strchr.c (do_test): Don't generate NUL bytes.
10456
31ea014d
UD
104572011-10-25 Ulrich Drepper <drepper@gmail.com>
10458
d7826aa1 10459 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 10460 useless if() expression.
d7826aa1
UD
10461 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
10462 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
10463 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
10464 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
10465 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
10466 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
10467 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
10468 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
10469 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
10470 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
10471 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
10472 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
10473 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
10474 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
10475 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
10476 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
10477 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
10478 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
10479 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
10480
31ea014d
UD
10481 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
10482
16437fec
AS
104832011-10-25 Andreas Schwab <schwab@redhat.com>
10484
10485 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
10486 condition.
10487 * elf/dl-fini.c (_dl_sort_fini): Likewise.
10488
31d3cc00
UD
104892011-10-25 Ulrich Drepper <drepper@gmail.com>
10490
10491 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
10492 .text section. Avoid duplicate constants.
10493 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
10494 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
10495 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
10496 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
10497 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
10498 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
10499 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
10500 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
10501 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
10502 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
10503 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
10504 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
10505 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
10506 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
10507 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
10508 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
10509 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
10510 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
10511 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
10512 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
10513 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
10514 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
10515 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
10516 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
10517 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
10518 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
10519 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
10520 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
10521 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
10522 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
10523 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
10524 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
10525 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
10526 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
10527 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
10528 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
10529 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
10530 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
10531 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
10532 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
10533 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
10534 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
10535 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
10536 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
10537 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
10538
58985aa9
UD
105392011-10-24 Ulrich Drepper <drepper@gmail.com>
10540
202c9deb
UD
10541 * sysdeps/x86_64/dla.h: Move to ...
10542 * sysdeps/x86_64/fpu/dla.h: ...here.
10543 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
10544 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 10545
af968f62
UD
10546 * config.make.in: Add have-mfma4 entry.
10547 * configure.in: Substitute libc_cv_cc_fma4.
10548 * math/Makefile (dbl-only-routines): Add sincostab.
10549 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
10550 Use __sincostab not sincos.
10551 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
10552 name is a macro.
10553 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
10554 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
10555 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
10556 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
10557 using __copysign.
10558 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
10559 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
10560 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
10561 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
10562 and __inv.
10563 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
10564 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
10565 __copysign.
10566 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
10567 define aliases when function name is a macro.
10568 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
10569 sysdeps/ieee754/dbl-64/sincos.tbl.
10570 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
10571 fma4-enabled routines.
10572 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
10573 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
10574 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
10575 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
10576 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
10577 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
10578 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
10579 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
10580 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
10581 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
10582 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
10583 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
10584 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
10585 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
10586 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
10587 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
10588 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
10589 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
10590 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
10591 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
10592 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
10593 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
10594 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
10595 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
10596 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
10597 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
10598 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
10599 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
10600 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
10601 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
10602
58985aa9
UD
10603 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
10604 rename.
10605 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
10606 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
10607 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
10608 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
10609 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
10610 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
10611 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
10612 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
10613
a201fbcf
AS
106142011-10-24 Andreas Schwab <schwab@redhat.com>
10615
10616 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
10617
fc2ee42a
LD
106182011-10-23 Ulrich Drepper <drepper@gmail.com>
10619
bb3129bd
UD
10620 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
10621
0275fff8
UD
10622 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
10623 prediction.
10624 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
10625
2fa2ae85
UD
10626 * string/strnlen.c: Don't define STRNLEN, reverse logic.
10627 Remove unused variable magic_bits.
10628 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
10629
fc2ee42a
LD
10630 * string/strnlen.c: Define and use STRNLEN macro.
10631 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
10632 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
10633 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
10634 * wcsmbs/wcslen.c: Define and use WCSLEN.
10635 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
10636 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
10637 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
10638 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
10639 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
10640 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
10641 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
10642
ce7dd29f
LD
106432011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10644
10645 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
10646 strnlen-sse2-no-bsf.
10647 Rename strlen-no-bsf to strlen-sse2-no-bsf.
10648 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
10649 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
10650 Add strnlen support.
10651 (USE_AS_STRNLEN): New macro.
10652 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
10653 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
10654 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
10655 * sysdeps/x86_64/wcslen.S: New file.
10656
979c70a3
MZ
106572011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
10658
10659 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
10660 XMM-moves are used for copying on small sizes.
10661
2d09f82f
LD
106622011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10663
10664 * wcsmbs/Makefile (strop-tests): Add wcschr.
10665 * wcsmbs/test-wcschr.c: New file.
10666 * string/test-strchr.c: Update.
10667 Add wcschr support.
10668 (WIDE): New macro.
10669
619fccca
LD
106702011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10671
2d09f82f 10672 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
10673 * wcsmbs/test-wcslen.c: New file.
10674 * string/test-strlen.c: Update.
10675 Add wcslen support.
10676 (WIDE): New macro.
10677
09f699ea
UD
106782011-10-23 Ulrich Drepper <drepper@gmail.com>
10679
10680 * po/it.po: Update from translation team.
10681
95584d3b
LD
106822011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10683
10684 * sysdeps/x86_64/wcscmp.S: Update.
10685 Fix wrong comparison semantics.
10686 wcscmp shall use signed comparison not unsigned.
10687 Don't use substraction to avoid overflow bug.
10688 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
10689 * wcsmbc/wcscmp.c: Likewise.
10690 * string/test-strcmp.c: Likewise.
10691 Add new tests to check cases with negative values.
10692
c8b3296b
UD
106932011-10-23 Ulrich Drepper <drepper@gmail.com>
10694
10695 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
10696 * sysdeps/x86_64/dla.h: ...here. New file.
10697 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
10698 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
10699 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
10700 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
10701 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
10702 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
10703 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
10704 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
10705 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
10706
246ad57a
AS
107072011-10-23 Andreas Schwab <schwab@linux-m68k.org>
10708
10709 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
10710 __ynl_finite aliases.
10711
a1a87169
UD
107122011-10-22 Ulrich Drepper <drepper@gmail.com>
10713
0d355eb7
UD
10714 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10715
a1a87169
UD
10716 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
10717 define DLA_FMA.
10718 [DLA_FMA] (EMULV): Use DLA_FMA.
10719 [DLA_FMA] (MUL12): Use EMULV.
10720 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
10721 that are not needed.
10722 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
10723 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
10724 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
10725 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
10726 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
10727 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
10728 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
10729
ee2aafe0
AS
107302011-10-22 Andreas Schwab <schwab@linux-m68k.org>
10731
10732 * math/s_nan.c: Undef __nan.
10733 * math/s_nanf.c: Undef __nanf.
10734 * math/s_nanl.c: Undef __nanl.
10735 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
10736 "math_private.h".
10737
bc62c2fb
UD
107382011-10-22 Ulrich Drepper <drepper@gmail.com>
10739
77425c63
UD
10740 * math/s_catan.c: Add branch predictions.
10741 * math/s_catanf.c: Likewise.
10742 * math/s_catanh.c: Likewise.
10743 * math/s_catanhf.c: Likewise.
10744 * math/s_catanhl.c: Likewise.
10745 * math/s_catanl.c: Likewise.
10746 * math/s_cexp.c: Likewise.
10747 * math/s_cexpf.c: Likewise.
10748 * math/s_cexpl.c: Likewise.
10749 * math/s_clog.c: Likewise.
10750 * math/s_clog10.c: Likewise.
10751 * math/s_clog10f.c: Likewise.
10752 * math/s_clog10l.c: Likewise.
10753 * math/s_clogf.c: Likewise.
10754 * math/s_clogl.c: Likewise.
10755 * math/s_csqrt.c: Likewise.
10756 * math/s_csqrtf.c: Likewise.
10757 * math/s_csqrtl.c: Likewise.
10758 * math/s_ctanf.c: Likewise.
10759 * math/s_ctanh.c: Likewise.
10760 * math/s_ctanhf.c: Likewise.
10761 * math/s_ctanhl.c: Likewise.
10762 * math/s_ctanl.c: Likewise.
10763
bc62c2fb
UD
10764 * math/math_private.h: Define __nan, __nanf, __nanl.
10765 * math/s_cacosh.c: Include <math_private.h>.
10766 * math/s_cacoshl.c: Likewise.
10767 * math/s_casinh.c: Likewise.
10768 * math/s_casinhf.c: Likewise.
10769 * math/s_casinhl.c: Likewise.
10770 * math/s_ccos.c: Rely entire on ccosh.
10771 * math/s_ccosf.c: Rely entire on ccoshf.
10772 * math/s_ccosl.c: Rely entirely on ccoshl.
10773 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
10774 Remove tests for FE_INVALID.
10775 * math/s_ccoshf.c: Likewise.
10776 * math/s_ccoshl.c: Likewise.
10777 * math/s_csin.c: Likewise.
10778 * math/s_csinf.c: Likewise.
10779 * math/s_csinh.c Likewise.
10780 * math/s_csinhf.c: Likewise.
10781 * math/s_csinhl.c: Likewise.
10782 * math/s_csinl.c: Likewise.
10783 * math/s_ctan.c: Likewise.
10784 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
10785 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
10786 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
10787
8ec250a4
UD
107882011-10-21 Ulrich Drepper <drepper@gmail.com>
10789
c196fed8
UD
10790 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
10791 compilation problems.
10792
8ec250a4
UD
10793 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
10794 __builtin_expect.
10795
8d4f46c6
UD
107962011-10-20 Ulrich Drepper <drepper@gmail.com>
10797
ed72b654
UD
10798 * sysdeps/i386/configure.in: Test for -mfma4 option.
10799 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
10800 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
10801 COMMON_CPUID_INDEX_80000001.
10802 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
10803 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
10804 use it if FMA3 is not supported.
10805 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
10806
8d4f46c6
UD
10807 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
10808 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
10809
d45c60c2
AS
108102011-10-20 Andreas Schwab <schwab@redhat.com>
10811
10812 [BZ #12892]
10813 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
10814 it would create a cycle with a link time dependency.
10815
d9a4d2ab
UD
108162011-10-19 Ulrich Drepper <drepper@gmail.com>
10817
855d1560
UD
10818 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
10819 instruction.
10820 * string/Makefile (strop-tests): Add rawmemchr.
10821 * string/test-rawmemchr.c: New file.
10822
d9a4d2ab
UD
10823 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
10824 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
10825 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
10826 when compiling str{,n}casecmp and when AVX is available. Hook up
10827 new optimized code in initializers.
10828
8f3b1ffe
AS
108292011-10-19 Andreas Schwab <schwab@redhat.com>
10830
10831 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
10832 __feraiseexcept instead of feraiseexcept.
10833
d38f1dba
UD
108342011-10-18 Ulrich Drepper <drepper@gmail.com>
10835
d9a8d0ab
UD
10836 * math/math_private.h: Define defaults for libc_fetestexcept and
10837 libc_feupdateenv.
10838 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
10839 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
10840 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
10841 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
10842 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
10843 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
10844 libc_fetestexcept and libc_feupdateenv.
10845
4855e3dd
UD
10846 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
10847 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
10848 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
10849 * sysdeps/x86_64/fpu/math_private.h: Define special version of
10850 libc_feholdexcept_setround.
10851
581d30e3
UD
10852 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
10853 Add s_nearbyint-c and s_nearbyintf-c.
10854 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
10855 nearbyintf inlines.
10856 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
10857 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
10858 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
10859 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
10860
d38f1dba
UD
10861 * math/math_private.h: Define defaults for libc_fegetround,
10862 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
10863 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
10864 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
10865 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
10866 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
10867 standard functions.
10868 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
10869 Remove comments and hacks for old compiler versions.
10870 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
10871 libc_fegetround, libc_fesetround, libc_feholdexcept, and
10872 libc_feholdexceptl.
10873
caa6c9d8
AS
108742011-10-18 Andreas Schwab <schwab@redhat.com>
10875
10876 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
10877 (__feraiseexcept_renamed): Add __NTH.
10878 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
10879 namespace violations.
10880
97c066e6
UD
108812011-10-17 Ulrich Drepper <drepper@gmail.com>
10882
99ce7b04
UD
10883 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
10884
1004d182
UD
10885 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
10886
228a984d
UD
10887 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
10888 recently added interfaces.
10889 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
10890
c8553a6a
UD
10891 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
10892 about macro parameter expansion.
10893
ed22dcf6
UD
10894 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
10895 __NO_MATH_INLINES is defined. Cleanups.
10896
10897 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
10898 and __floorf is target has SSE4.1.
10899 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
10900 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
10901 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
10902 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
10903
b171c137
UD
10904 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
10905 name.
10906 (floorf): Likewise.
10907
97c066e6
UD
10908 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
10909
629f62ef
AS
109102011-10-17 Andreas Schwab <schwab@redhat.com>
10911
49a43d80
AS
10912 * misc/sys/cdefs.h: Fix last change.
10913
629f62ef
AS
10914 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
10915 database lookup.
10916
e453f6cd
UD
109172011-10-16 Ulrich Drepper <drepper@gmail.com>
10918
aa78043a
UD
10919 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
10920
ad0f5cad
UD
10921 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
10922 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
10923 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
10924 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
10925 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
10926 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
10927 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
10928 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
10929 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
10930 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
10931 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
10932 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
10933 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
10934 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
10935 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
10936 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
10937 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
10938 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
10939 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
10940 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
10941 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
10942 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
10943
10944 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
10945 ceil, ceilf, floor, floorf.
10946
10947 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
10948 Perform IRELATIVE relocations last.
10949
e453f6cd
UD
10950 * elf/do-rel.h: Add another parameter nrelative, replacing the
10951 local variable with the same name. Change name of the function
10952 to end in Rel or Rela (uppercase).
10953 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
10954 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
10955 elf_dynamic_do_##reloc function.
10956
fd5bdc09
UD
109572011-10-15 Ulrich Drepper <drepper@gmail.com>
10958
79b195b5
UD
10959 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
10960 is sufficient, at least on modern CPUs.
10961
d4a28569
UD
10962 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
10963
b61099b5
UD
10964 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
10965 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
10966
bcf01e6d
UD
10967 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
10968 __expl_finite.
10969 * math/bits/math-finite.h: Add entries for exp.
10970 * math/e_expl.c: Add __*_finite alias.
10971 * sysdeps/i386/fpu/e_exp.S: Likewise.
10972 * sysdeps/i386/fpu/e_expf.S: Likewise.
10973 * sysdeps/i386/fpu/e_expl.c: Likewise.
10974 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
10975 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
10976 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
10977 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
10978 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
10979 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
10980 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
10981
ba1a0d59
UD
10982 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
10983 is sufficient, at least on modern CPUs.
10984
fd5bdc09
UD
10985 * ctype/ctype-info.c (__ctype_init): Define.
10986 * include/ctype.h (__ctype_init): Declare.
10987 (__ctype_b_loc): The variable is always initialized.
10988 (__ctype_toupper_loc): Likewise.
10989 (__ctype_tolower_loc): Likewise.
10990 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
10991 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
10992
7872cfb0
AS
109932011-10-15 Andreas Schwab <schwab@linux-m68k.org>
10994
b468825a
AS
10995 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
10996
7872cfb0
AS
10997 * configure.in: Also look in $cxxmachine/include for C++ system
10998 headers.
10999
be13f7bf
LD
110002011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
11001
11002 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
11003 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
11004 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
11005 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
11006 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
11007 (USE_AS_WMEMCMP): New macro.
11008 Fixing indents.
11009 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
11010 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
11011 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
11012 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
11013 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
11014 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
11015 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
11016 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
11017 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
11018 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
11019 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
11020 (USE_AS_WMEMCMP): New macro.
11021 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
11022 * sysdeps/string/test-memcmp.c: Update.
11023 Fix simple_wmemcmp.
11024 Add new tests.
11025 * wcsmbs/wmemcmp.c: Update.
11026 (WMEMCMP): New macro.
11027 Fix overflow bug.
11028
556a2007
AJ
110292011-10-12 Andreas Jaeger <aj@suse.de>
11030
11031 [BZ #13268]
11032 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
11033
538faaa7
UD
110342011-10-15 Ulrich Drepper <drepper@gmail.com>
11035
ab6737ff
UD
11036 * libio/iofwide.c (do_length): Avoid warning.
11037
538faaa7
UD
11038 * ctype/ctype.h (__isctype_f): Add missing __THROW.
11039
396a21b1
UD
110402011-10-14 Ulrich Drepper <drepper@gmail.com>
11041
cdf2901f
UD
11042 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
11043
38ad40ce
UD
11044 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
11045 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
11046 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
11047 * sysdeps/i386/i686/fpu/e_log.S: New file.
11048 * sysdeps/i386/i686/fpu/e_logf.S: New file.
11049 * sysdeps/i386/i686/fpu/e_logl.S: New file.
11050
396a21b1
UD
11051 * ctype/ctype.h: Add support for inlined isXXX functions when
11052 compiling C++ code.
11053
6b1f68c9
AS
110542011-10-14 Andreas Schwab <schwab@redhat.com>
11055
349290c0
AS
11056 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
11057
6b1f68c9
AS
11058 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
11059
f2282d42
RM
110602011-10-13 Roland McGrath <roland@hack.frob.com>
11061
11062 [BZ #13291]
11063 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
11064
5298ffa8
AS
110652011-10-13 Andreas Schwab <schwab@redhat.com>
11066
714fad23
AS
11067 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
11068 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
11069 feraiseexcept.
11070
81dcc7fb
AS
11071 * sysdeps/x86_64/memrchr.S: Check for zero size.
11072
5298ffa8
AS
11073 * string/stratcliff.c: Add memrchr tests.
11074
951fbcec
LD
110752011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
11076
11077 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
11078 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
11079 rawmemchr-sse2 rawmemchr-sse2-bsf.
11080 * sysdeps/i386/i686/multiarch/memchr.S: New file.
11081 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
11082 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
11083 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
11084 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
11085 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
11086 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
11087 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
11088 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
11089 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
11090 * string/memrchr.c (MEMRCHR): New macro.
11091
0ac5ae23
UD
110922011-10-12 Ulrich Drepper <drepper@gmail.com>
11093
11094 Add integration with gcc's -ffinite-math-only and optimize wrapper
11095 functions in libm.
11096 * Versions.def: Define GLIBC_2.15 version for libm.
11097 * math/Makefile (headers): Add bits/math-finite.h.
11098 * math/bits/math-finite.h: New file.
11099 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
11100 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
11101 * math/e_acoshl.c: Add __*_finite alias.
11102 * math/e_acosl.c: Likewise.
11103 * math/e_asinl.c: Likewise.
11104 * math/e_atan2l.c: Likewise.
11105 * math/e_atanhl.c: Likewise.
11106 * math/e_coshl.c: Likewise.
11107 * math/e_exp10.c: Likewise.
11108 * math/e_exp10f.c: Likewise.
11109 * math/e_exp10l.c: Likewise.
11110 * math/e_exp2l.c: Likewise.
11111 * math/e_fmodl.c: Likewise.
11112 * math/e_gammal_r.c: Likewise.
11113 * math/e_hypotl.c: Likewise.
11114 * math/e_j0l.c: Likewise.
11115 * math/e_j1l.c: Likewise.
11116 * math/e_jnl.c: Likewise.
11117 * math/e_lgammal_r.c: Likewise.
11118 * math/e_log10l.c: Likewise.
11119 * math/e_log2l.c: Likewise.
11120 * math/e_logl.c: Likewise.
11121 * math/e_powl.c: Likewise.
11122 * math/e_sinhl.c: Likewise.
11123 * math/e_sqrtl.c: Likewise.
11124 * math/e_scalb.c: Completely rewritten and optimized.
11125 * math/e_scalbf.c: Likewise.
11126 * math/e_scalbl.c: Likewise.
11127 * math/w_acos.c: Likewise.
11128 * math/w_acosf.c: Likewise.
11129 * math/w_acosl.c: Likewise.
11130 * math/w_acosh.c: Likewise.
11131 * math/w_acoshf.c: Likewise.
11132 * math/w_acoshl.c: Likewise.
11133 * math/w_asin.c: Likewise.
11134 * math/w_asinf.c: Likewise.
11135 * math/w_asinl.c: Likewise.
11136 * math/w_atan2.c: Likewise.
11137 * math/w_atan2f.c: Likewise.
11138 * math/w_atan2l.c: Likewise.
11139 * math/w_atanh.c: Likewise.
11140 * math/w_atanhf.c: Likewise.
11141 * math/w_atanhl.c: Likewise.
11142 * math/w_exp10.c: Likewise.
11143 * math/w_exp10f.c: Likewise.
11144 * math/w_exp10l.c: Likewise.
11145 * math/w_fmod.c: Likewise.
11146 * math/w_fmodf.c: Likewise.
11147 * math/w_fmodl.c: Likewise.
11148 * math/w_j0.c: Likewise.
11149 * math/w_j0f.c: Likewise.
11150 * math/w_j0l.c: Likewise.
11151 * math/w_j1.c: Likewise.
11152 * math/w_j1f.c: Likewise.
11153 * math/w_j1l.c: Likewise.
11154 * math/w_jn.c: Likewise.
11155 * math/w_jnf.c: Likewise.
11156 * math/w_log.c: Likewise.
11157 * math/w_logf.c: Likewise.
11158 * math/w_logl.c: Likewise.
11159 * math/w_log10.c: Likewise.
11160 * math/w_log10f.c: Likewise.
11161 * math/w_log10l.c: Likewise.
11162 * math/w_log2.c: Likewise.
11163 * math/w_log2f.c: Likewise.
11164 * math/w_log2l.c: Likewise.
11165 * math/w_pow.c: Likewise.
11166 * math/w_powf.c: Likewise.
11167 * math/w_powl.c: Likewise.
11168 * math/w_remainder.c: Likewise.
11169 * math/w_remainderf.c: Likewise.
11170 * math/w_remainderl.c: Likewise.
11171 * math/w_scalb.c: Likewise.
11172 * math/w_scalbf.c: Likewise.
11173 * math/w_scalbl.c: Likewise.
11174 * math/w_sqrt.c: Likewise.
11175 * math/w_sqrtf.c: Likewise.
11176 * math/w_sqrtl.c: Likewise.
11177 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
11178 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
11179 used.
11180 * math/math_private.h: Declare __kernel_standard_f.
11181 * math/w_cosh.c: Remove cruft and optimize a bit.
11182 * math/w_coshf.c: Likewise.
11183 * math/w_coshl.c: Likewise.
11184 * math/w_exp2.c: Likewise.
11185 * math/w_exp2f.c: Likewise.
11186 * math/w_exp2l.c: Likewise.
11187 * math/w_hypot.c: Likewise.
11188 * math/w_hypotf.c: Likewise.
11189 * math/w_hypotl.c: Likewise.
11190 * math/w_lgamma.c: Likewise.
11191 * math/w_lgamma_r.c: Likewise.
11192 * math/w_lgammaf.c: Likewise.
11193 * math/w_lgammaf_r.c: Likewise.
11194 * math/w_lgammal.c: Likewise.
11195 * math/w_lgammal_r.c: Likewise.
11196 * math/w_sinh.c: Likewise.
11197 * math/w_sinhf.c: Likewise.
11198 * math/w_sinhl.c: Likewise.
11199 * math/w_tgamma.c: Likewise.
11200 * math/w_tgammaf.c: Likewise.
11201 * math/w_tgammal.c: Likewise.
11202 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
11203 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
11204 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
11205 Minor optimizations. Pretty printing. Remove cruft.
11206 * sysdeps/i386/fpu/e_acosf.S: Likewise.
11207 * sysdeps/i386/fpu/e_acosh.S: Likewise.
11208 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
11209 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
11210 * sysdeps/i386/fpu/e_acosl.c: Likewise.
11211 * sysdeps/i386/fpu/e_asin.S: Likewise.
11212 * sysdeps/i386/fpu/e_asinf.S: Likewise.
11213 * sysdeps/i386/fpu/e_atan2.S: Likewise.
11214 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
11215 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
11216 * sysdeps/i386/fpu/e_atanh.S: Likewise.
11217 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
11218 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
11219 * sysdeps/i386/fpu/e_exp10.S: Likewise.
11220 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
11221 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
11222 * sysdeps/i386/fpu/e_exp2.S: Likewise.
11223 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
11224 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
11225 * sysdeps/i386/fpu/e_fmod.S: Likewise.
11226 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
11227 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
11228 * sysdeps/i386/fpu/e_hypot.S: Likewise.
11229 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
11230 * sysdeps/i386/fpu/e_log.S: Likewise.
11231 * sysdeps/i386/fpu/e_log10.S: Likewise.
11232 * sysdeps/i386/fpu/e_log10f.S: Likewise.
11233 * sysdeps/i386/fpu/e_log10l.S: Likewise.
11234 * sysdeps/i386/fpu/e_log2.S: Likewise.
11235 * sysdeps/i386/fpu/e_log2f.S: Likewise.
11236 * sysdeps/i386/fpu/e_log2l.S: Likewise.
11237 * sysdeps/i386/fpu/e_logf.S: Likewise.
11238 * sysdeps/i386/fpu/e_logl.S: Likewise.
11239 * sysdeps/i386/fpu/e_pow.S: Likewise.
11240 * sysdeps/i386/fpu/e_powf.S: Likewise.
11241 * sysdeps/i386/fpu/e_powl.S: Likewise.
11242 * sysdeps/i386/fpu/e_remainder.S: Likewise.
11243 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
11244 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
11245 * sysdeps/i386/fpu/e_scalb.S: Likewise.
11246 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
11247 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
11248 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
11249 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
11250 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
11251 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
11252 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
11253 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
11254 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
11255 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
11256 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
11257 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
11258 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
11259 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
11260 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
11261 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
11262 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
11263 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
11264 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
11265 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
11266 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
11267 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
11268 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
11269 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
11270 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
11271 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
11272 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
11273 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
11274 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
11275 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
11276 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
11277 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
11278 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
11279 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
11280 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
11281 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
11282 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
11283 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
11284 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
11285 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
11286 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
11287 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
11288 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
11289 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
11290 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
11291 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
11292 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
11293 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
11294 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
11295 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
11296 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
11297 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
11298 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
11299 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
11300 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
11301 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
11302 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
11303 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
11304 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
11305 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
11306 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
11307 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
11308 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
11309 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
11310 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
11311 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
11312 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
11313 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
11314 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
11315 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
11316 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
11317 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
11318 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
11319 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
11320 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
11321 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
11322 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
11323 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
11324 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
11325 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
11326 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
11327 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
11328 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
11329 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
11330 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
11331 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
11332 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
11333 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
11334 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
11335 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
11336 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
11337 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
11338 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
11339 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
11340 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
11341 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
11342 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
11343 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
11344 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
11345 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
11346 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
11347 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
11348 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
11349 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
11350 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
11351 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
11352 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
11353 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
11354 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
11355 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
11356 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
11357 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
11358 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
11359 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
11360 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
11361 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
11362 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
11363 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
11364 (__isnanf): Likewise.
11365 (__isinf_ns): Likewise.
11366 (__isinf_nsf): Likewise.
11367 (__finite): Likewise.
11368 (__finitef): Likewise.
11369 (__ieee754_sqrt): Define as macro.
11370 (__ieee754_sqrtf): Define as macro.
11371 (__ieee754_sqrtl): Define as macro.
11372 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
11373 inlined copy.
11374 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
11375 __FINITE_MATH_ONLY__ consistent.
11376 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
11377
12cc2fcd
AS
113782011-10-10 Andreas Schwab <schwab@linux-m68k.org>
11379
a843a204
AS
11380 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
11381 of rawmemchr.
11382
12cc2fcd
AS
11383 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
11384
c853acd5
UD
113852011-10-09 Ulrich Drepper <drepper@gmail.com>
11386
11387 * po/ja.po: Update from translation team.
11388
c658d255
RM
113892011-10-08 Roland McGrath <roland@hack.frob.com>
11390
110946e4
RM
11391 * locale/programs/locarchive.c (prepare_address_space): New function.
11392 (create_archive, enlarge_archive, open_archive): Use it.
11393
50604220
RM
11394 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
11395 inside [SHARED], where it is used.
11396
c658d255
RM
11397 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
11398
11399 * nss/getent.c (netgroup_keys): Remove unused variable.
11400 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
11401
6a621eb7
UD
114022011-10-08 Ulrich Drepper <drepper@gmail.com>
11403
7edb55ce
UD
11404 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
11405 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
11406 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
11407 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
11408 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
11409 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
11410 * math/Makefile (libm-calls): Add s_isinf_ns.
11411 * math/divtc3.c: Use __isinf_nsl instead of isinf.
11412 * math/multc3.c: Likewise.
11413 * math/s_casin.c: Likewise.
11414 * math/s_casinf.c: Likewise.
11415 * math/s_casinl.c: Likewise.
11416 * math/s_ccos.c: Likewise.
11417 * math/s_ccosf.c: Likewise.
11418 * math/s_ccosl.c: Likewise.
11419 * math/s_ctan.c: Likewise.
11420 * math/s_ctanf.c: Likewise.
11421 * math/s_ctanh.c: Likewise.
11422 * math/s_ctanhf.c: Likewise.
11423 * math/s_ctanhl.c: Likewise.
11424 * math/s_ctanl.c: Likewise.
11425 * math/w_fmod.c: Likewise.
11426 * math/w_fmodf.c: Likewise.
11427 * math/w_fmodl.c: Likewise.
11428 * math/w_remainder.c: Likewise.
11429 * math/w_remainderf.c: Likewise.
11430 * math/w_remainderl.c: Likewise.
11431 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
11432 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
11433 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
11434 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
11435 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
11436 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
11437 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
11438 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
11439
187da0ae
UD
11440 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
11441 of the number.
11442 * stdio-common/printf_fphex.c: Likewise.
11443 * stdio-common/printf_size.c: Likewise.
11444
9277c064
UD
11445 * math/e_exp10.c: Include math_private.h using <...> not "...".
11446 * math/e_exp10f.c: Likewise.
11447 * math/e_exp10l.c: Likewise.
11448 * math/e_exp2l.c: Likewise.
11449 * math/e_j0l.c: Likewise.
11450 * math/e_j1l.c: Likewise.
11451 * math/e_jnl.c: Likewise.
11452 * math/e_lgammal_r.c: Likewise.
11453 * math/e_rem_pio2l.c: Likewise.
11454 * math/e_scalb.c: Likewise.
11455 * math/e_scalbf.c: Likewise.
11456 * math/e_scalbl.c: Likewise.
11457 * math/k_cosl.c: Likewise.
11458 * math/k_sinl.c: Likewise.
11459 * math/k_tanl.c: Likewise.
11460 * math/s_cacoshf.c: Likewise.
11461 * math/s_catan.c: Likewise.
11462 * math/s_catanf.c: Likewise.
11463 * math/s_catanh.c: Likewise.
11464 * math/s_catanhf.c: Likewise.
11465 * math/s_catanhl.c: Likewise.
11466 * math/s_catanl.c: Likewise.
11467 * math/s_ccosh.c: Likewise.
11468 * math/s_ccoshf.c: Likewise.
11469 * math/s_ccoshl.c: Likewise.
11470 * math/s_cexp.c: Likewise.
11471 * math/s_cexpf.c: Likewise.
11472 * math/s_cexpl.c: Likewise.
11473 * math/s_clog.c: Likewise.
11474 * math/s_clog10.c: Likewise.
11475 * math/s_clog10f.c: Likewise.
11476 * math/s_clog10l.c: Likewise.
11477 * math/s_clogf.c: Likewise.
11478 * math/s_clogl.c: Likewise.
11479 * math/s_csin.c: Likewise.
11480 * math/s_csinf.c: Likewise.
11481 * math/s_csinh.c: Likewise.
11482 * math/s_csinhf.c: Likewise.
11483 * math/s_csinhl.c: Likewise.
11484 * math/s_csinl.c: Likewise.
11485 * math/s_csqrt.c: Likewise.
11486 * math/s_csqrtf.c: Likewise.
11487 * math/s_csqrtl.c: Likewise.
11488 * math/s_ctan.c: Likewise.
11489 * math/s_ctanf.c: Likewise.
11490 * math/s_ctanh.c: Likewise.
11491 * math/s_ctanhf.c: Likewise.
11492 * math/s_ctanhl.c: Likewise.
11493 * math/s_ctanl.c: Likewise.
11494 * math/s_ldexp.c: Likewise.
11495 * math/s_ldexpf.c: Likewise.
11496 * math/s_ldexpl.c: Likewise.
11497 * math/s_significand.c: Likewise.
11498 * math/s_significandf.c: Likewise.
11499 * math/s_significandl.c: Likewise.
11500 * math/w_acos.c: Likewise.
11501 * math/w_acosf.c: Likewise.
11502 * math/w_acosh.c: Likewise.
11503 * math/w_acoshf.c: Likewise.
11504 * math/w_acoshl.c: Likewise.
11505 * math/w_acosl.c: Likewise.
11506 * math/w_asin.c: Likewise.
11507 * math/w_asinf.c: Likewise.
11508 * math/w_asinl.c: Likewise.
11509 * math/w_atan2.c: Likewise.
11510 * math/w_atan2f.c: Likewise.
11511 * math/w_atan2l.c: Likewise.
11512 * math/w_atanh.c: Likewise.
11513 * math/w_atanhf.c: Likewise.
11514 * math/w_atanhl.c: Likewise.
11515 * math/w_cosh.c: Likewise.
11516 * math/w_coshf.c: Likewise.
11517 * math/w_coshl.c: Likewise.
11518 * math/w_dremf.c: Likewise.
11519 * math/w_exp10.c: Likewise.
11520 * math/w_exp10f.c: Likewise.
11521 * math/w_exp10l.c: Likewise.
11522 * math/w_exp2.c: Likewise.
11523 * math/w_exp2f.c: Likewise.
11524 * math/w_fmod.c: Likewise.
11525 * math/w_fmodf.c: Likewise.
11526 * math/w_fmodl.c: Likewise.
11527 * math/w_hypot.c: Likewise.
11528 * math/w_hypotf.c: Likewise.
11529 * math/w_hypotl.c: Likewise.
11530 * math/w_j0.c: Likewise.
11531 * math/w_j0f.c: Likewise.
11532 * math/w_j0l.c: Likewise.
11533 * math/w_j1.c: Likewise.
11534 * math/w_j1f.c: Likewise.
11535 * math/w_j1l.c: Likewise.
11536 * math/w_jn.c: Likewise.
11537 * math/w_jnf.c: Likewise.
11538 * math/w_jnl.c: Likewise.
11539 * math/w_lgamma.c: Likewise.
11540 * math/w_lgamma_r.c: Likewise.
11541 * math/w_lgammaf.c: Likewise.
11542 * math/w_lgammaf_r.c: Likewise.
11543 * math/w_lgammal.c: Likewise.
11544 * math/w_lgammal_r.c: Likewise.
11545 * math/w_log.c: Likewise.
11546 * math/w_log10.c: Likewise.
11547 * math/w_log10f.c: Likewise.
11548 * math/w_log10l.c: Likewise.
11549 * math/w_log2.c: Likewise.
11550 * math/w_log2f.c: Likewise.
11551 * math/w_log2l.c: Likewise.
11552 * math/w_logf.c: Likewise.
11553 * math/w_logl.c: Likewise.
11554 * math/w_pow.c: Likewise.
11555 * math/w_powf.c: Likewise.
11556 * math/w_powl.c: Likewise.
11557 * math/w_remainder.c: Likewise.
11558 * math/w_remainderf.c: Likewise.
11559 * math/w_remainderl.c: Likewise.
11560 * math/w_scalb.c: Likewise.
11561 * math/w_scalbf.c: Likewise.
11562 * math/w_scalbl.c: Likewise.
11563 * math/w_sinh.c: Likewise.
11564 * math/w_sinhf.c: Likewise.
11565 * math/w_sinhl.c: Likewise.
11566 * math/w_sqrt.c: Likewise.
11567 * math/w_sqrtf.c: Likewise.
11568 * math/w_sqrtl.c: Likewise.
11569 * math/w_tgamma.c: Likewise.
11570 * math/w_tgammaf.c: Likewise.
11571 * math/w_tgammal.c: Likewise.
11572
6a621eb7
UD
11573 * po/ja.po: Update from translation team.
11574
bf582445
AJ
115752011-09-29 Andreas Jaeger <aj@suse.de>
11576
f9efbf3a
AJ
11577 [BZ #13179]
11578 * sunrpc/netname.c (netname2host): Fix logic.
11579
bf582445
AJ
11580 [BZ #6779]
11581 [BZ #6783]
11582 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
11583 correctly.
11584 * math/w_remainder.c (__remainder): Likewise.
11585 * math/w_remainderf.c (__remainderf): Likewise.
11586 * math/libm-test.inc (remainder_test): Add test cases.
11587
48693bea
AK
115882011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11589
11590 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
11591 sdiv_qrnnd.
11592
42622229
LD
115932011-10-07 Ulrich Drepper <drepper@gmail.com>
11594
11595 * string/test-memcmp.c: Avoid unncessary #defines.
11596 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
11597
093ecf92
LD
115982011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
11599
11600 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
11601 Use new sse2 version for core i3 - i7 as it's faster
11602 than sse42 version.
11603 (bit_Prefer_PMINUB_for_stringop): New.
11604 * sysdeps/x86_64/rawmemchr.S: Update.
11605 Replace with faster SSE2 version.
11606 * sysdeps/x86_64/memrchr.S: New file.
11607 * sysdeps/x86_64/memchr.S: Update.
11608 Replace with faster SSE2 version.
11609
fde56e5c
MP
116102011-09-12 Marek Polacek <mpolacek@redhat.com>
11611
11612 * elf/dl-load.c (lose): Add cast to avoid warning.
11613
21fd49a9
UD
116142011-10-07 Ulrich Drepper <drepper@gmail.com>
11615
5a06e643
UD
11616 * po/ca.po: Update from translation team.
11617
684ae515
UD
11618 * inet/getnetgrent_r.c: Hook up nscd.
11619 * nscd/Makefile (routines): Add nscd_netgroup.
11620 (nscd-modules): Add netgroupcache.
11621 (CFLAGS-netgroupcache.c): Define.
11622 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
11623 (cache_search): Add const to second parameter.
11624 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
11625 INNETGR.
11626 (dbs): Add netgrdb entry.
11627 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
11628 (verify_persistent_db): Handle netgrdb.
11629 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
11630 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
11631 GETFDNETGR.
11632 (netgroup_response_header): Define.
11633 (innetgroup_response_header): Define.
11634 (datahead): Add netgroup_response_header and innetgroup_response_header
11635 elements.
11636 * nscd/nscd.conf: Add entries for netgroup cache.
11637 * nscd/nscd.h (dbtype): Add netgrdb.
11638 (_PATH_NSCD_NETGROUP_DB): Define.
11639 (netgroup_iov_disabled): Declare.
11640 (xmalloc, xcalloc, xrealloc): Move declarations here.
11641 (cache_search): Adjust prototype.
11642 Add netgroup-related prototypes.
11643 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
11644 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
11645 (__nscd_innetgr): Declare.
11646 * nscd/selinux.c (perms): Use access_vector_t as element type and
11647 add netgroup-related initializers.
11648 * nscd/netgroupcache.c: New file.
11649 * nscd/nscd_netgroup.c: New file.
11650 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
11651 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
11652 For four parameters use innetgr.
11653 * nss/nss_files/files-init.c: Add definition and callback for netgr.
11654 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
11655 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
11656 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
11657
21fd49a9
UD
11658 * nscd/connections.c (register_traced_file): Don't register file
11659 for disabled databases.
11660
054c0457
UD
116612011-10-06 Ulrich Drepper <drepper@gmail.com>
11662
32b63198
UD
11663 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
11664
054c0457
UD
11665 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
11666 from tree and freeing node.
11667
64031225
JO
116682011-09-25 Jiri Olsa <jolsa@redhat.com>
11669
11670 * nss/nsswitch.c (__nss_database_lookup): Handle
11671 nss_parse_service_list out of memory case.
11672
0490345c
JO
116732011-09-15 Jiri Olsa <jolsa@redhat.com>
11674
11675 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
11676 out of memory case.
11677
3a62d00d
AS
116782011-10-04 Andreas Schwab <schwab@redhat.com>
11679
11680 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
11681 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
11682 pass it down.
11683 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
11684 elf_machine_rela, elf_machine_lazy_rel.
11685 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
11686 (ELF_DYNAMIC_DO_REL): Likewise.
11687 (ELF_DYNAMIC_DO_RELA): Likewise.
11688 (ELF_DYNAMIC_RELOCATE): Likewise.
11689 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
11690 to ELF_DYNAMIC_DO_REL.
11691 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
11692 (dl_main): In trace mode always set __RTLD_NOIFUNC.
11693 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
11694 elf_machine_rela.
11695 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
11696 skip_ifunc, don't call ifunc function if non-zero.
11697 (elf_machine_rela): Likewise.
11698 (elf_machine_lazy_rel): Likewise.
11699 (elf_machine_lazy_rela): Likewise.
11700 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
11701 (elf_machine_lazy_rel): Likewise.
11702 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
11703 Likewise.
11704 (elf_machine_lazy_rel): Likewise.
11705 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
11706 Likewise.
11707 (elf_machine_lazy_rel): Likewise.
11708 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
11709 (elf_machine_lazy_rel): Likewise.
11710 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
11711 (elf_machine_lazy_rel): Likewise.
11712 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
11713 (elf_machine_lazy_rel): Likewise.
11714 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
11715 (elf_machine_lazy_rel): Likewise.
11716 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
11717 (elf_machine_lazy_rel): Likewise.
11718 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
11719 (elf_machine_lazy_rel): Likewise.
11720
68577918
UD
117212011-09-28 Ulrich Drepper <drepper@gmail.com>
11722
11723 * nss/nss_files/files-init.c (_nss_files_init): Use static
11724 initialization for all the *_traced_file variables.
11725
68822d74
AS
117262011-09-28 Andreas Schwab <schwab@redhat.com>
11727
11728 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
11729
2056100b
RM
117302011-09-27 Roland McGrath <roland@hack.frob.com>
11731
11732 [BZ #13226]
11733 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
11734
32c76b63
AS
117352011-09-27 Andreas Schwab <schwab@redhat.com>
11736
11737 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
11738 Reread the line before reparsing it.
11739
bf972c9d
AS
117402011-09-26 Andreas Schwab <schwab@redhat.com>
11741
11742 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
11743
e057a1b5
JM
117442011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
11745 Maxim Kuvyrkov <maxim@codesourcery.com>
11746 Joseph Myers <joseph@codesourcery.com>
11747
11748 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
11749 if needed for __stack_chk_guard.
11750
bc7e1c36
RM
117512011-09-19 Roland McGrath <roland@hack.frob.com>
11752
ecb1482f
RM
11753 * sysdeps/posix/spawni.c (script_execute): Always define it.
11754 It will be optimized away if unused.
11755 (maybe_script_execute): New function.
11756 (__spawni): Call it.
11757
bc7e1c36
RM
11758 * Makerules: Don't include tls.make.
11759 (config-tls): Always set to thread.
11760 * tls.make.c: File removed.
11761
1c3b002b
MF
117622011-09-19 Mike Frysinger <vapier@gentoo.org>
11763
11764 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
11765 * config.make.in (CPPFLAGS-config): New substituted variable.
11766
2840865d
UD
117672011-09-15 Ulrich Drepper <drepper@gmail.com>
11768
88738eb6
UD
11769 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
11770
cbf645a6 11771 [BZ #13192]
2840865d
UD
11772 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
11773 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
11774
b402e91a
RM
117752011-09-15 Roland McGrath <roland@hack.frob.com>
11776
11777 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
11778 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
11779 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
11780 (CALL_FAIL): Likewise.
11781 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
11782 (CALL_FAIL): Macro removed.
11783 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
11784
4c1a1f71
UD
117852011-09-15 Ulrich Drepper <drepper@gmail.com>
11786
11787 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
11788 for __FINITE_MATH_ONLY__ == 1.
11789
edc121be
AS
117902011-09-15 Andreas Schwab <schwab@redhat.com>
11791
11792 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
11793 __ieee754_sqrt instead of sqrt.
11794 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
11795 __ieee754_sqrtf instead of sqrtf.
11796 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
11797 __floorf instead of floorf.
11798 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
11799 __floorf, __truncf instead of floorf, truncf.
11800
cd205654
UD
118012011-09-14 Ulrich Drepper <drepper@gmail.com>
11802
ee4d0315
UD
11803 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
11804
cd205654
UD
11805 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
11806 __extern_always_inline.
11807 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
11808 32-bit.
11809
48b67d71
AS
118102011-09-14 Andreas Schwab <schwab@redhat.com>
11811
11812 * elf/rtld.c (dl_main): Also relocate in dependency order when
11813 doing symbol dependency testing.
11814
1ae12c75
AS
118152011-09-13 Andreas Schwab <schwab@linux-m68k.org>
11816
11817 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
11818 Always define `refsym'.
11819
995a80df
AS
118202011-09-13 Andreas Schwab <schwab@redhat.com>
11821
e529793b
AS
11822 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
11823 (__FD_ELT): Renamed from __FDELT.
11824 * misc/bits/select2.h (__FD_ELT): Likewise.
11825 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
11826 __FD_MASK instead of __FDELT, __FDMASK.
11827 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
11828 Likewise.
11829 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
11830 Likewise.
11831
52d4fef8
AS
11832 * elf/Makefile (gen-ldd): Fix pattern.
11833
995a80df
AS
11834 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
11835 (init_tls): Likewise.
11836
8682f8b0
UD
118372011-09-12 Ulrich Drepper <drepper@gmail.com>
11838
11839 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
11840
de82006d
AS
118412011-09-12 Andreas Schwab <schwab@redhat.com>
11842
a7c8e6a1
AS
11843 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
11844 `struct cmsghdr *' instead of `void *'.
11845 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
11846 Likewise.
11847
0f31fe77
AS
118482011-09-11 Andreas Schwab <schwab@linux-m68k.org>
11849
11850 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
11851 if non-absolute.
11852 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
11853 ldd_rewrite_script.
0f31fe77 11854
32b4c839
UD
118552011-09-11 Ulrich Drepper <drepper@gmail.com>
11856
83cd1420
UD
11857 * configure.in: Remove --with-tls option.
11858 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
11859 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
11860 out in case it is missing.
11861 * sysdeps/ia64/elf/configure.in: Likewise.
11862 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
11863 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
11864 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
11865 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
11866 * sysdeps/sh/elf/configure.in: Likewise.
11867 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
11868 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
11869 * sysdeps/x86_64/elf/configure.in: Likewise.
11870 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
11871 * sysdeps/mach/hurd/tls.h: Likewise.
11872
633f745d
UD
11873 [BZ #13067]
11874 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
11875
f318beb8
UD
11876 [BZ #13090]
11877 * configure.in: Fix use of AC_INIT.
11878
32b4c839
UD
11879 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
11880
3ce1f295
UD
118812011-09-10 Ulrich Drepper <drepper@gmail.com>
11882
bb016596
UD
11883 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
11884 __set_errno.
8e58439c
UD
11885 * malloc/hooks.c: Likewise.
11886
aebae053 11887 [BZ #11929]
02d46fc4
UD
11888 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
11889 variables statically.
11890 (narenas): Initialize.
11891 (list_lock): Initialize.
bb016596
UD
11892 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
11893 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
11894 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
11895 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
11896 Add initializers to main_arena and mp_.
11897 (malloc_state): Remove pagesize member. Change all users to use
11898 GLRO(dl_pagesize).
11899
11900 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
11901 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
11902 is always initialized.
11903
22a89187
UD
11904 * malloc/malloc.c: Removed unused configurations and dead code.
11905 * malloc/arena.c: Likewise.
11906 * malloc/hooks.c: Likewise.
02d46fc4 11907 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 11908
d063d164
UD
11909 * include/tls.h: Removed. USE___THREAD must always be defined.
11910 * bits/libc-tsd.h: Don't handle !USE___THREAD.
11911 * elf/dl-libc.c: Likewise.
11912 * elf/dl-tsd.c: Likewise.
11913 * include/errno.h: Likewise.
11914 * include/netdb.h: Likewise.
11915 * include/resolv.h: Likewise.
11916 * inet/herrno-loc.c: Likewise.
11917 * inet/herrno.c: Likewise.
11918 * malloc/arena.c: Likewise.
11919 * malloc/hooks.c: Likewise.
11920 * malloc/malloc.c: Likewise.
11921 * resolv/res-state.c: Likewise.
11922 * resolv/res_libc.c: Likewise.
11923 * sysdeps/i386/dl-machine.h: Likewise.
11924 * sysdeps/ia64/dl-machine.h: Likewise.
11925 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
11926 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
11927 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
11928 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
11929 * sysdeps/sh/dl-machine.h: Likewise.
11930 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
11931 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
11932 * sysdeps/unix/i386/sysdep.S: Likewise.
11933 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
11934 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
11935 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
11936 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
11937 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
11938 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
11939 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
11940 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
11941 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
11942 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
11943 * sysdeps/unix/x86_64/sysdep.S: Likewise.
11944 * sysdeps/x86_64/dl-machine.h: Likewise.
11945 * tls.make.c: Likewise.
11946
3ce1f295
UD
11947 * configure.in: Remove --with-__thread option. Make tests for
11948 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
11949 tls_model attribute fail if no support is available. Remove
11950 USE_IN_LIBIO.
11951 * Makeconfig: Adjust for dropped configure option. All features are
11952 now mandatory.
11953 * Makerules: Likewise.
11954 * Versions.def: Likewise.
11955 * argp/argp-fmtstream.c: Likewise.
11956 * argp/argp-fmtstream.h: Likewise.
11957 * argp/argp-help.c: Likewise.
11958 * assert/assert.c: Likewise.
11959 * config.h.in: Likewise.
11960 * config.make.in: Likewise.
11961 * configure: Likewise.
11962 * configure.in: Likewise.
11963 * csu/Versions: Likewise.
11964 * csu/init.c: Likewise.
11965 * elf/tst-audit2.c: Likewise.
11966 * elf/tst-tls10.c: Likewise.
11967 * elf/tst-tls10.h: Likewise.
11968 * elf/tst-tls11.c: Likewise.
11969 * elf/tst-tls12.c: Likewise.
11970 * elf/tst-tls14.c: Likewise.
11971 * elf/tst-tlsmod11.c: Likewise.
11972 * elf/tst-tlsmod12.c: Likewise.
11973 * elf/tst-tlsmod13.c: Likewise.
11974 * elf/tst-tlsmod13a.c: Likewise.
11975 * elf/tst-tlsmod14a.c: Likewise.
11976 * elf/tst-tlsmod15b.c: Likewise.
11977 * elf/tst-tlsmod16a.c: Likewise.
11978 * elf/tst-tlsmod16b.c: Likewise.
11979 * elf/tst-tlsmod7.c: Likewise.
11980 * elf/tst-tlsmod8.c: Likewise.
11981 * elf/tst-tlsmod9.c: Likewise.
11982 * gmon/gmon.c: Likewise.
11983 * grp/fgetgrent_r.c: Likewise.
11984 * grp/putgrent.c: Likewise.
11985 * hurd/fopenport.c: Likewise.
11986 * include/libc-symbols.h: Likewise.
11987 * include/tls.h: Likewise.
11988 * intl/gettextP.h: Likewise.
11989 * intl/loadinfo.h: Likewise.
11990 * locale/global-locale.c: Likewise.
11991 * locale/localeinfo.h: Likewise.
11992 * mach/devstream.c: Likewise.
11993 * malloc/arena.c: Likewise.
11994 * malloc/set-freeres.c: Likewise.
11995 * misc/err.c: Likewise.
11996 * misc/getttyent.c: Likewise.
11997 * misc/mntent_r.c: Likewise.
11998 * posix/getopt.c: Likewise.
11999 * posix/wordexp.c: Likewise.
12000 * pwd/fgetpwent_r.c: Likewise.
12001 * resolv/Versions: Likewise.
12002 * resolv/res_hconf.c: Likewise.
12003 * shadow/fgetspent_r.c: Likewise.
12004 * shadow/putspent.c: Likewise.
12005 * stdio-common/printf_fphex.c: Likewise.
12006 * stdio-common/tmpfile.c: Likewise.
12007 * stdlib/abort.c: Likewise.
12008 * stdlib/fmtmsg.c: Likewise.
12009 * sunrpc/auth_unix.c: Likewise.
12010 * sunrpc/clnt_perr.c: Likewise.
12011 * sunrpc/clnt_tcp.c: Likewise.
12012 * sunrpc/clnt_udp.c: Likewise.
12013 * sunrpc/clnt_unix.c: Likewise.
12014 * sunrpc/openchild.c: Likewise.
12015 * sunrpc/svc_simple.c: Likewise.
12016 * sunrpc/svc_tcp.c: Likewise.
12017 * sunrpc/svc_udp.c: Likewise.
12018 * sunrpc/svc_unix.c: Likewise.
12019 * sunrpc/xdr.c: Likewise.
12020 * sunrpc/xdr_array.c: Likewise.
12021 * sunrpc/xdr_rec.c: Likewise.
12022 * sunrpc/xdr_ref.c: Likewise.
12023 * sunrpc/xdr_stdio.c: Likewise.
12024
1248c1c4
PB
120252011-09-09 Ulrich Drepper <drepper@gmail.com>
12026
12027 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
12028
120292011-07-03 Andreas Jaeger <aj@suse.de>
12030
12031 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
12032 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
12033 regenerate with gen-libm-tests.pl.
12034
120352010-05-12 Petr Baudis <pasky@suse.cz>
12036
12037 [BZ #11589]
12038 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
12039 around j0() zero points by switching to j1().
12040 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
12041 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
12042 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
12043 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
12044
f22e1074
UD
120452011-09-09 Ulrich Drepper <drepper@gmail.com>
12046
f19009c1
UD
12047 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
12048 instead of 0.
12049 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
12050 instead of 0. .
12051 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
12052 Patch in part by Pavel Roskin <proski@gnu.org>.
12053
3f8cc204
UD
12054 [BZ #13138]
12055 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
12056 realloc.
12057 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
12058 Free memory block if necessary.
12059
f22e1074
UD
12060 [BZ #12847]
12061 * libio/genops.c (INTDEF): For string streams the _lock pointer can
12062 be NULL. Don't lock in this case.
12063
0a2349f9
RM
120642011-09-09 Roland McGrath <roland@hack.frob.com>
12065
12066 * elf/elf.h (ELFOSABI_GNU): New macro.
12067 (ELFOSABI_LINUX): Define to that.
12068
f3cdd467
DZ
120692011-07-29 Denis Zaitceff <zaitceff@gmail.com>
12070
12071 * string/strncat.c (strncat): Undef the symbol in case it has been
12072 defined in bits/string.h.
12073
74718d13
UD
120742011-09-09 Ulrich Drepper <drepper@gmail.com>
12075
633e9e0f
UD
12076 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
12077
0a2349f9 12078 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
12079 link map.
12080
f9924780
AJ
120812011-08-17 Andreas Jaeger <aj@suse.de>
12082
12083 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
12084
7f5517aa
PP
120852011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
12086 Ian Lance Taylor <iant@google.com>
12087
12088 * math/libm-test.inc (lround_test): New testcase.
12089 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
12090
762011fe
UD
120912011-09-08 Ulrich Drepper <drepper@gmail.com>
12092
92963737
UD
12093 * Makefile: Remove support for automatic cvs check-ins.
12094 * Makerules: Likewise.
12095 * config.make.in: Likewise.
12096 * configure.in: Likewise.
12097 * intl/Makefile: Likewise.
12098 * locale/Makefile: Likewise.
12099 * po/Makefile: Likewise.
12100 * posix/Makefile: Likewise.
12101 * sysdeps/gnu/Makefile: Likewise.
12102 * sysdeps/mach/hurd/Makefile: Likewise.
12103 * sysdeps/sparc/sparc32/Makefile: Likewise.
12104
b0727fd8
JS
12105 [BZ #13118]
12106 * posix/Makefile (bug-regex32-ENV): Define.
12107 Patch by John Stanley <jpsinthemix@verizon.net>.
12108
a0f33f99
UD
12109 * misc/Makefile (headers): Add bits/select2.h.
12110 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
12111 * misc/bits/select2.h: New file.
12112 * include/bits/select2.h: New file.
12113 * debug/Makefile (routines): Add fdelt_chk.
12114 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
12115 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
12116 FD_ISSET.
12117 * debug/fdelt_chk.c: New file.
12118
762011fe
UD
12119 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
12120 * wcsmbs/test-wmemcmp.c: Likewise.
12121 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 12122 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
12123
121242011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12125
12126 * string/Makefile (strop-tests): Add memcmp.
12127 * string/test-wmemcmp.c: New file.
12128 * string/test-memcmp.c: Add wmemcmp support.
12129
7f513ec8
RM
121302011-09-08 Roland McGrath <roland@hack.frob.com>
12131
0442afb4
RM
12132 [BZ #13153]
12133 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
12134 2011-07-19 change.
12135
7f513ec8
RM
12136 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
12137 garbage value in a __mach_port_mod_refs call in the cases of the
12138 task-self and thread-self ports.
12139
a12b2239
ST
121402011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
12141
12142 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
12143
610f9ab4
AS
121442011-09-08 Andreas Schwab <schwab@redhat.com>
12145
7f513ec8 12146 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 12147
48882a1a
LD
121482011-09-07 Ulrich Drepper <drepper@gmail.com>
12149
b49865be
UD
12150 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
12151
fdc86bc9
UD
12152 * elf/dl-libc.c (dlerror_run): Pass back error code from
12153 dl_catch_error.
12154
c966526a
UD
12155 [BZ #13123]
12156 * elf/dl-load.c (lose): Free l_origin if it is valid.
12157
48882a1a
LD
12158 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
12159 names.
12160 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
12161 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
12162 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
12163 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
12164 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
12165 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
12166
77a2a8b4
AZ
121672011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12168
12169 * sysdeps/powerpc/fpu/e_hypot.c: New file.
12170 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
12171 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
12172 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
12173 * sysdeps/powerpc/fpu/k_cosf.c: New file.
12174 * sysdeps/powerpc/fpu/k_sinf.c: New file.
12175 * sysdeps/powerpc/fpu/s_cosf.c: New file.
12176 * sysdeps/powerpc/fpu/s_sinf.c: New file.
12177 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
12178 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
12179
24f579d8
AM
121802011-08-15 Alan Modra <amodra@gmail.com>
12181
12182 [BZ #13092]
12183 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
12184 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
12185 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
12186 ppc_mcount to static-only-routines.
12187 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
12188 __mcount_internal.
12189 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
12190 __mcount_internal with usual JUMPTARGET. Remove useless nop.
12191
3d4837df
UD
121922011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
12193
12194 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
12195 for finite and infinity parameters.
12196
22700377
WS
121972011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
12198
12199 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
12200 and add nop instructions for throughput optimization.
12201 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
12202
5025581e
WS
122032011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
12204
12205 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
12206 aligned copy for power7 with vector-scalar instructions.
12207 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
12208
08a300c9
L
122092011-07-24 H.J. Lu <hongjiu.lu@intel.com>
12210
12211 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
12212 AVX check.
12213
59178ef9
AS
122142011-09-07 Andreas Schwab <schwab@redhat.com>
12215
12216 [BZ #13144]
12217 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
12218 last change.
12219
e38ba7ab
UD
122202011-09-07 Ulrich Drepper <drepper@gmail.com>
12221
12222 * sysdeps/unix/sysv/linux/x86_64/init-first.c
12223 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
12224 syscall wrapper around clock_gettime in __vdso_clock_gettime.
12225 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
12226 clock_gettime.
12227
d53a73ac
UD
122282011-09-06 Ulrich Drepper <drepper@gmail.com>
12229
fc8bffcc
UD
12230 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
12231 Forgot to demangle the pointer.
12232
ceaa0c5d
UD
12233 * sysdeps/i386/sysdep.h: Define atom_text_section.
12234 * sysdeps/x86_64/sysdep.h: Likewise.
12235 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
12236 section with atom_text_section.
12237 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
12238 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
12239 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
12240 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
12241 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
12242
a77d3c17
UD
12243 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
12244 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
12245 already be defined. Change to take two parameters and don't assign
12246 result to variable. Adjust all users.
12247 Define INTERNAL_GETTIME if not already defined.
12248 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
12249 call.
12250 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
12251 HAVE_CLOCK_GETTIME_VSYSCALL.
12252 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
12253
d53a73ac
UD
12254 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
12255 gettimeofday vsyscall, just use time.
12256
a8f84144
AS
122572011-09-06 Andreas Schwab <schwab@redhat.com>
12258
12259 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
12260 <errno.h>.
12261
ef606249
UD
122622011-09-06 Ulrich Drepper <drepper@gmail.com>
12263
12264 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
12265 syscall on x86-64.
12266 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
12267 syscall.
12268 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
12269 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
12270 syscall if possible.
12271
6585cb60
UD
122722011-09-05 Ulrich Drepper <drepper@gmail.com>
12273
12274 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
12275 e_ident. Don't pass to find_mapsXX.
12276 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
12277
a5f524e4
LD
122782011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
12279
12280 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
12281 strchr-sse2-no-bsf strrchr-sse2-no-bsf
12282 * sysdeps/x86_64/multiarch/strchr.S: Update.
12283 Check bit_slow_BSF bit.
12284 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
12285 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
12286 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
12287
554881ef
UD
122882011-09-05 Ulrich Drepper <drepper@gmail.com>
12289
d96de963
UD
12290 [BZ #13134]
12291 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
12292 before glibc 2.15.
12293 (tryshell): Define.
12294 (__spawni): Change last parameter to be flag. Test
12295 SPAWN_XFLAGS_USE_PATH flag to use path or not.
12296 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
12297 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
12298 * posix/spawni.c: Likewise.
12299 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
12300 * posix/spawnp.c: Likewise. Change normal version to use
12301 SPAWN_XFLAGS_USE_PATH.
12302 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
12303 SPAWN_XFLAGS_TRY_SHELL.
12304
d48e5868
UD
12305 [BZ #13150]
12306 * posix/glob.h: Remove gcc 1.x support.
12307
554881ef
UD
12308 [BZ #13068]
12309 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
12310
693fb948
LD
123112011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
12312
12313 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
12314 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
12315 strrchr-sse2-bsf
12316 * sysdeps/i386/i686/multiarch/strchr.S: New file.
12317 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
12318 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
12319 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
12320 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
12321 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
12322
1b48c537
UD
123232011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12324
49d42c37
UD
12325 * sysdeps/x86_64/wcscmp.S: New file.
12326
1b48c537
UD
12327 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
12328 wcscmp-c wcscmp-sse2
12329 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
12330 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
12331 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
12332 * wcsmbs/wcscmp.c: Allow renaming.
12333
15c95c5d
DM
123342011-09-05 David S. Miller <davem@davemloft.net>
12335
12336 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
12337 stack slot, rather than the struct return pointer slot.
12338 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
12339 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
12340 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
12341 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
12342
2f0ad8f3
UD
123432011-09-05 Ulrich Drepper <drepper@gmail.com>
12344
d88ae418
UD
12345 * po/ja.po: Update from translation team.
12346
2f0ad8f3
UD
12347 [BZ #13144]
12348 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
12349 kernel in 64-bit binaries.
12350
5f4318d1
DM
123512011-09-01 David S. Miller <davem@davemloft.net>
12352
12353 * elf/elf.h (HWCAP_SPARC_*): Move to..
12354 * sysdeps/sparc/sysdep.h: this new file and add new values.
12355 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
12356 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
12357 _DL_HWCAP_COUNT to 24.
12358 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
12359 entries.
12360 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
12361 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
12362 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
12363 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
12364 instead of magic constants.
12365 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
12366
3ba57516
DM
123672011-08-31 David S. Miller <davem@davemloft.net>
12368
12369 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
12370 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
12371 Reimplement to do errno handling inline.
12372 (SYSCALL_ERROR_HANDLER): New macro.
12373 (__SYSCALL_STRING): Do not do errno handling in asm.
12374 (__CLONE_SYSCALL_STRING): Delete.
12375 (__INTERNAL_SYSCALL_STRING): Delete.
12376 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
12377 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
12378 (PSEUDO): Reimplement to do errno handling inline.
12379 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
12380 (SYSCALL_ERROR_HANDLER): New macro.
12381 (__SYSCALL_STRING): Do not do errno handling in asm.
12382 (__CLONE_SYSCALL_STRING): Delete.
12383 (__INTERNAL_SYSCALL_STRING): Delete.
12384 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
12385 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
12386 i386.
12387 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
12388 (inline_syscall*): Add 'err' argument.
12389 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
12390 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
12391 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
12392 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
12393
12394 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
12395 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
12396
2bc17433
AS
123972011-08-30 Andreas Schwab <schwab@redhat.com>
12398
12399 * elf/rtld.c (dl_main): Relocate objects in dependency order.
12400
fbeb5f4d
JO
124012011-08-29 Jiri Olsa <jolsa@redhat.com>
12402
12403 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
12404 directive.
12405
ad69cc26
DM
124062011-08-24 David S. Miller <davem@davemloft.net>
12407
12408 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
12409
39dd69df
AS
124102011-08-24 Andreas Schwab <schwab@redhat.com>
12411
12412 * elf/Makefile: Add rules to build and run unload8 test.
12413 * elf/unload8.c: New file.
12414 * elf/unload8mod1.c: New file.
12415 * elf/unload8mod1x.c: New file.
12416 * elf/unload8mod2.c: New file.
12417 * elf/unload8mod3.c: New file.
12418
12419 * elf/dl-close.c (_dl_close_worker): Reset private search list if
12420 it wasn't used.
12421
2c0b250a
DM
124222011-08-23 David S. Miller <davem@davemloft.net>
12423
12424 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
12425 subtract stack bias.
12426 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
12427 %sp not %fp in calculations.
12428 (_JMPBUF_UNWINDS_ADJ): Likewise.
12429
22044b48
DM
12430 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
12431 (aio_suspend): Call it to force an exception region around the
12432 AIO_MISC_WAIT() invocation.
12433
2cae4995
AS
124342011-08-23 Andreas Schwab <schwab@redhat.com>
12435
12436 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
12437 backslash.
12438
873a772e
AJ
124392011-07-04 Aurelien Jarno <aurelien@aurel32.net>
12440
12441 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
12442 protection macro.
12443 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
12444 and <dl-machine.h>.
12445 (Elf64_FuncDesc): Remove.
12446
25ad0df1
DM
124472011-08-22 David S. Miller <davem@davemloft.net>
12448
12449 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
12450 sigaltstack check, add missing cfi directives.
12451 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
12452 missing cfi directives, and sigaltstack handling.
12453
e888bcbe
AS
124542011-08-16 Andreas Schwab <schwab@redhat.com>
12455
12456 [BZ #11724]
12457 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
12458 object is seen twice.
12459 * elf/dl-fini.c (_dl_sort_fini): Likewise.
12460
12461 * elf/Makefile (distribute): Add tst-initorder2.c.
12462 (tests): Add tst-initorder2.
12463 (modules-names): Add tst-initorder2a tst-initorder2b
12464 tst-initorder2c tst-initorder2d. Add rules to build them.
12465 ($(objpfx)tst-initorder2.out): New rule.
12466 * elf/tst-initorder2.c: New file.
12467 * elf/tst-initorder2.exp: New file.
12468
87162f46
AS
124692011-08-22 Andreas Schwab <schwab@redhat.com>
12470
70538b7f
AS
12471 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
12472
f55ffe58
AS
12473 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
12474 dependencies back to end of function.
12475
87162f46
AS
12476 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
12477 $(elfobjdir)/ld.so.
12478
91b392a4
UD
124792011-08-21 Ulrich Drepper <drepper@gmail.com>
12480
12481 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
12482 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
12483 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
12484 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
12485 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
12486 of __vdso_gettimeofday.
12487 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
12488 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
12489 attribute_hidden.
12490 (_libc_vdso_platform_setup): Remove initialization of
12491 __vdso_gettimeofday and __vdso_time.
12492
5c43483f
UD
124932011-08-20 Ulrich Drepper <drepper@gmail.com>
12494
775a77e7
UD
12495 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
12496 and fgetc_unlocked.
12497 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
12498 getc_unlocked.
89f447ed 12499
49c74ba9
UD
12500 * elf/dl-open.c (add_to_global): Report additions to the global scope
12501 for LD_DEBUG=scopes.
12502 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 12503 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 12504
5c43483f
UD
12505 [BZ #13114]
12506 * stdio-common/Makefile (tests): Add bug24.
12507 * stdio-common/bug24.c: New file.
12508
a101b025
AJ
125092011-08-19 Andreas Jaeger <aj@suse.de>
12510
12511 [BZ #13114]
12512 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
12513 non-existant file when using close-on-exec mode.
12514
c88f1766
UD
125152011-08-20 Ulrich Drepper <drepper@gmail.com>
12516
0276a718
UD
12517 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
12518 the very first instruction.
12519
c88f1766
UD
12520 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
12521 the CFI state in the end.
12522 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
12523 inclusion of dl-trampoline.h.
12524 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
12525
51ccffa0
AS
125262011-08-19 Andreas Schwab <schwab@redhat.com>
12527
94d7165f
AS
12528 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
12529 expectations for long double.
12530
51ccffa0
AS
12531 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
12532 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
12533
fd708658 125342011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
12535
12536 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
12537 artificual limit depends upon the system page size.
12538
44f0a71e
UD
125392011-08-17 Ulrich Drepper <drepper@gmail.com>
12540
12541 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
12542 * resolv/Makefile: Define CFLAGS-libresolv.
12543
8de79a24
AS
125442011-08-17 Andreas Schwab <schwab@redhat.com>
12545
12546 * nss/makedb.c (compute_tables): Make variables used in nested
12547 function static.
12548
27724598
UD
125492011-08-17 Ulrich Drepper <drepper@gmail.com>
12550
c5305d88
UD
12551 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
12552 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
12553 if buffer was too small.
12554
27724598
UD
12555 * elf/pldd.c (main): Attach to all threads in the process.
12556 Rewrite /proc handling to use *at functions.
12557
076fe015
UD
125582011-08-16 Ulrich Drepper <drepper@gmail.com>
12559
174baab3
UD
12560 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
12561 specifies first scope to show.
12562 (dl_open_worker): Update callers. Move printing scope of new
12563 object to before the relocation.
44f0a71e 12564 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
12565 * sysdeps/generic/ldsodefs.h: Update declaration.
12566
076fe015
UD
12567 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
12568 string for the scope number.
12569
a60df2c3
UD
125702011-08-14 Ulrich Drepper <drepper@gmail.com>
12571
12572 * nscd/servicescache.c (cache_addserv): Make sure written is always
12573 initialized.
12574
5e4287d1
RM
125752011-08-14 Roland McGrath <roland@hack.frob.com>
12576
85ae0589
RM
12577 * sysdeps/i386/i486/bits/atomic.h
12578 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
12579 statement expression, so as to suppress "set but not used" warning.
12580 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
12581
69f63097
RM
12582 * string/strncat.c (STRNCAT): Use prototype definition.
12583
675456ef
RM
12584 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
12585 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
12586 -Iprograms here.
12587 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
12588 (localedef-modules): Add localedef.
12589 (locale-modules): Add locale.
12590
5e4287d1
RM
12591 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
12592 * elf/rtld.c (dl_main): Invert order of assignment in last change,
12593 to avoid a warning.
12594
9c96ff23
DM
125952011-08-14 David S. Miller <davem@davemloft.net>
12596
12597 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
12598 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
12599
f9ddf089
UD
126002011-08-13 Ulrich Drepper <drepper@gmail.com>
12601
44f0a71e 12602 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
12603 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
12604 * elf/rtld.c (dl_main): Set l_name of vDSO.
12605 Call _dl_show_scope when DL_DEBUG_SCOPES.
12606 (process_dl_debug): Recognize scopes flag and also set it for all.
12607 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
12608 Declare _dl_show_scope.
12609
1dc27704
UD
12610 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
12611 (do_dlopen): Pass caller_dlopen to dl_open.
12612 (__libc_dlopen_mode): Initialize caller_dlopen.
12613
f9ddf089
UD
12614 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
12615 of libc. Make tolower call locale-independent. Optimize a bit by
12616 using isdigit instead of isalnum.
12617 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
12618
9ac533d3
UD
126192011-08-12 Ulrich Drepper <drepper@gmail.com>
12620
12621 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
12622 was a dependency or dynamically loaded.
12623
89edf2e9
UD
126242011-08-11 Ulrich Drepper <drepper@gmail.com>
12625
8e999d29
UD
12626 * intl/l10nflist.c: Allow architecture-specific pop function.
12627 * sysdeps/x86_64/l10nflist.c: New file.
12628
89edf2e9
UD
12629 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
12630 classification.
12631
14d96785
AS
126322011-08-10 Andreas Schwab <schwab@redhat.com>
12633
12634 * include/dirent.h: Add libc_hidden_proto for scandirat and
12635 scandirat64. Don't declare __scandirat64.
12636 * dirent/scandirat.c: Add libc_hidden_def.
12637 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
12638 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
12639
6761ac04
DM
126402011-08-10 David S. Miller <davem@davemloft.net>
12641
12642 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
12643 enum.
12644 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
12645 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
12646 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
12647
c55fbd1e
UD
126482011-08-09 Ulrich Drepper <drepper@gmail.com>
12649
12650 * Versions.def [libc]: Add GLIBC_2.15.
12651 * dirent/Makefile (routines): Add scandirat and scandirat64.
12652 * dirent/Versions [libc]: Export scandirat and scandirat64 for
12653 GLIBC_2.15.
12654 * dirent/dirent.h: Declare scandirat and scandirat64.
12655 * dirent/scandirat.c: New file.
12656 * dirent/scandirat64.c: New file.
12657 * sysdeps/wordsize-64/scandirat.c: New file.
12658 * sysdeps/wordsize-64/scandirat64.c: New file.
12659 * dirent/opendir.c: Define opendirat.
12660 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
12661 using scandirat.
12662 * dirent/scandir64.c: Adjust for scandir.c change.
12663 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
12664 __scandirat64, and __scandir_cancel_handler.
12665 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
12666 additional parameter and use openat instead of open (outside of ld.so).
12667 Add new __opendir as wrapper around __opendirat.
12668 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
12669 here without requiring old scandirat implementation.
12670
879165f2
UD
126712011-08-08 Ulrich Drepper <drepper@gmail.com>
12672
12673 * dirent/scandir.c (cancel_handler): Renamed to
12674 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
12675 defined. Adjust users.
12676 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
12677 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
12678
cb7e923b
UD
126792011-08-04 Ulrich Drepper <drepper@gmail.com>
12680
16292edd
UD
12681 * string/test-string.h (IMPL): Use __STRING to expand name and then
12682 stringify it.
12683
cb7e923b
UD
12684 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
12685 of cleanups.
12686
cff82933
LD
126872011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12688
12689 * string/Makefile: Update.
12690 (strop-tests): Append strncat.
12691 * string/test-wcscmp.c: New file.
12692 New comprehensive test for wcscmp.
12693 * string/test-strcmp.c: Update.
12694 (WIDE): New define.
12695
9be9bfcc
AS
126962011-07-22 Andreas Schwab <schwab@redhat.com>
12697
12698 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
12699 line.
12700
2e96f1c7
AS
127012011-07-26 Andreas Schwab <schwab@redhat.com>
12702
12703 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
12704 encoding to ACE if AI_IDN.
12705
85188888
JJ
127062011-08-01 Jakub Jelinek <jakub@redhat.com>
12707
12708 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
12709 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
12710
5fa16e9b
LD
127112011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
12712
12713 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
12714 Fix overflow bug in strncat.
12715 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
12716
12717 * string/test-strncat.c: Update.
12718 Add new tests for checking overflow bugs.
12719
127202011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
12721
12722 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
12723 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
12724 * sysdeps/i386/i686/multiarch/strcat.S: New file.
12725 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
12726 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
12727 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
12728 * sysdeps/i386/i686/multiarch/strncat.S: New file.
12729 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
12730 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
12731
12732 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
12733 (USE_AS_STRCAT): Define.
12734 Add strcat and strncat support.
12735 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
12736
8c1a459f
AS
127372011-07-25 Andreas Schwab <schwab@redhat.com>
12738
12739 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
12740 __n bigger than INT_MAX+1.
12741 (__strncmp_g): Likewise.
12742
bba33c28
UD
127432011-07-23 Ulrich Drepper <drepper@gmail.com>
12744
798be72d
UD
12745 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
12746 * libio/stido.h: Likewise.
12747
8accd4dc
UD
12748 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
12749 (AF_NFC): Define.
12750 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
12751 (AF_NFC): Define.
12752
cbff0d96
UD
12753 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
12754 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
12755 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
12756 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
12757 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
12758
9191c04a
UD
12759 [BZ #13021]
12760 * scripts/test-installation.pl: Don't expect libnss_test1 to be
12761 installed.
12762
bba33c28
UD
12763 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
12764 typo.
12765 (_dl_x86_64_save_sse): Likewise.
12766
90f139dd
UD
127672011-07-22 Ulrich Drepper <drepper@gmail.com>
12768
1aae088a
UD
12769 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
12770 OSXSAVE.
12771 (_dl_x86_64_save_sse): Likewise.
12772
8e2045f5
UD
12773 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
12774
90f139dd
UD
12775 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
12776
1d002f25
AS
127772011-07-21 Andreas Schwab <schwab@redhat.com>
12778
12779 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
12780 change.
12781 (_dl_x86_64_save_sse): Use correct AVX check.
12782
21137f89
UD
127832011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12784
12785 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
12786 bug in strncpy/strncat.
12787 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
12788
a65c0b7a
UD
127892011-07-21 Ulrich Drepper <drepper@gmail.com>
12790
12791 * string/tester.c (test_strcat): Add tests for different alignments
12792 of source and destination.
12793 (test_strncat): Likewise.
12794
6986b98a
UD
127952011-07-20 Ulrich Drepper <drepper@gmail.com>
12796
90bb2039
UD
12797 [BZ #12852]
12798 * posix/glob.c (glob): Check passed in values before using them in
12799 expressions to avoid some overflows.
12800 (glob_in_dir): Likewise.
12801
5644ef54
UD
12802 [BZ #13007]
12803 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
12804 check for AVX enablement so that we don't crash with old kernels and
12805 new hardware.
12806 * elf/tst-audit4.c: Add same checks here.
12807 * elf/tst-audit6.c: Likewise.
12808
12809 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 12810
bfc9dc9b
AS
128112011-07-09 Andreas Schwab <schwab@linux-m68k.org>
12812
12813 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
12814
702e64bb
UD
128152011-07-20 Ulrich Drepper <drepper@gmail.com>
12816
12817 * po/cs.po: Update from translation team.
12818 * po/bg.po: Likewise.
12819
295e904f
MP
128202011-07-12 Marek Polacek <mpolacek@redhat.com>
12821
12822 * misc/sys/cdefs.h: Add support for const attribute.
12823 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
12824 to gnu_dev_{major,minor,makedev} functions.
12825
3ff94596
MP
128262011-07-20 Marek Polacek <mpolacek@redhat.com>
12827
12828 * intl/dcigettext.c (get_output_charset): Add missing bracket.
12829
28b59fca
AS
128302011-07-20 Andreas Schwab <schwab@redhat.com>
12831
12832 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
12833 strlen results.
12834
19df733e
AK
128352011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12836
12837 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
12838 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
12839 register in order to avoid conflicts with the soft frame pointer
12840 being held in r11 when necessary.
12841 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
12842 (INTERNAL_VSYSCALL_NCS): Likewise.
12843
c8835729
MP
128442011-07-14 Marek Polacek <mpolacek@redhat.com>
12845
12846 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
12847 * elf/dl-fini.c (_dl_fini): Adjust caller.
12848 * elf/dl-close.c (_dl_close_worker): Likewise.
12849 * sysdeps/generic/ldsodefs.h: Adjust declaration.
12850
b902330c
MP
128512011-07-15 Marek Polacek <mpolacek@redhat.com>
12852
8991e135
MP
12853 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
12854 "aux_cache->nlibs < 0".
12855
b902330c
MP
12856 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
12857 in the reload-count case.
12858
99710781
LD
128592011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
12860
12861 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
12862 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
12863 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
12864 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
12865 * sysdeps/x86_64/multiarch/strcat.S: New file.
12866 * sysdeps/x86_64/multiarch/strncat.S: New file.
12867 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
12868 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
12869 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
12870 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
12871 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
12872 (USE_AS_STRCAT): Define.
12873 Add strcat and strncat support.
12874 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
12875 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
12876 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
12877 * string/strncat.c: Update.
12878 (USE_AS_STRNCAT): Define.
12879 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
12880 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
12881 and i7.
12882 * sysdeps/x86_64/multiarch/init-arch.h
12883 (bit_Prefer_PMINUB_for_stringop): New.
12884 (index_Prefer_PMINUB_for_stringop): Likewise.
12885 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
12886 bit_Prefer_PMINUB_for_stringop.
12887
7dc6bd90
UD
128882011-07-19 Ulrich Drepper <drepper@gmail.com>
12889
12890 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
12891 buffer64.
12892 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
12893 of casting of buffer.
12894 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
12895 buffer32 and buffer64.
12896 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
12897 writes instead of casting of buffer.
12898 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
12899 buffer32.
12900 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
12901 casting of buffer.
12902
e0e72284
AS
129032011-07-19 Andreas Schwab <schwab@redhat.com>
12904
12905 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
12906
feb1eb0b
UD
129072011-07-19 Ulrich Drepper <drepper@gmail.com>
12908
12909 * nscd/nscd.c (termination_handler): Don't do anything for a database
12910 if it has not yet been initialized.
12911
298711ff
UD
129122011-07-18 Ulrich Drepper <drepper@gmail.com>
12913
12914 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
12915
129162011-07-15 Marek Polacek <mpolacek@redhat.com>
12917
12918 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
12919
f9d68389
UD
129202011-07-18 Ulrich Drepper <drepper@gmail.com>
12921
12922 * po/nl.po: Update from translation team.
12923 * po/sv.po: Likewise.
12924
db290cf5
RM
129252011-07-16 Roland McGrath <roland@hack.frob.com>
12926
12927 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
12928 now disallowed by GCC.
5c550700 12929
fd5e21c7
RM
12930 * configure.in (use-default-link): Default to yes if a test -shared
12931 link meets our qualifications.
12932 * configure: Regenerated.
12933
5c550700
RM
12934 * config.make.in (output-format): New variable.
12935 * configure.in: Check for ld --print-output-format support.
12936 * configure: Regenerated.
12937 * Makerules ($(common-objpfx)format.lds)
12938 [$(output-format) != unknown]: Just use $(output-format),
12939 instead of the linker-script munging.
12940
9fa2c032
RM
129412011-07-14 Roland McGrath <roland@hack.frob.com>
12942
a6928d51
RM
12943 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
12944 of $(common-objpfx)shlib.lds.
12945 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
12946
661607b3
RM
12947 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
12948 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
12949
9fa2c032
RM
12950 * configure.in (-z relro check): Adjust test code to add a large
12951 writable data section after it.
12952 * configure: Regenerated.
12953
defe9061
RM
129542011-07-11 Roland McGrath <roland@hack.frob.com>
12955
12956 * configure.in (-z relro check): Fix test code to make the variable
12957 truly const.
12958 * configure: Regenerated.
12959
319b9ad4
UD
129602011-07-11 Ulrich Drepper <drepper@gmail.com>
12961
12962 * nscd/nscd.h (struct traced_file): Define.
12963 (struct database_dyn): Remove inotify_descr, reset_res, and filename
12964 elements. Add traced_files.
12965 (inotify_fd): Declare.
12966 (register_traced_file): Declare.
12967 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
12968 (inotify_fd): Export.
12969 (resolv_conf_descr): Remove.
12970 (nscd_init): Move inotify descriptor creation to main.
12971 Don't register files for notification here.
12972 (register_traced_file): New function.
12973 (invalidate_cache): Don't use reset_res to determine whether to call
12974 res_init, go through the list of registered files.
12975 (main_loop_poll): The inotify descriptors are now stored in the
12976 structures for the traced files.
12977 (main_loop_epoll): Likewise
12978 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
12979 to __nss_disable_nscd.
12980 * nscd/cache.c (prune_cache): There is no single inotify descriptor
12981 for a database anymore. Check the records for all the registered
12982 files instead.
12983 * nss/Makefile (libnss_files-routines): Add files-init.
12984 (libnss_db-routines): Add db-init.
12985 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
12986 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
12987 * nss/nss_db/db-init.c: New file.
12988 * nss/nss_files/files-init.c: New file.
12989 * nss/nsswitch.c (nss_load_library): New function. Broken out of
12990 __nss_lookup_function.
12991 (__nss_lookup_function): Call nss_load_library.
12992 (nss_load_all_libraries): New function.
12993 (__nss_disable_nscd): Take parameter with callback function for files
12994 to register. Set is_nscd. Load all the DSOs for the NSS modules
12995 used for the cached services.
12996 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
12997 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
12998 options for features to all the files in nscd.
12999
13000 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
13001
23bee3e8
RM
130022011-07-10 Roland McGrath <roland@hack.frob.com>
13003
13004 * csu/elf-init.c (__libc_csu_init): Comment typo.
13005
46a5b7f0
UD
130062011-07-09 Ulrich Drepper <drepper@gmail.com>
13007
13008 * po/pl.po: Update from translation team.
13009 * po/ja.po: Likewise.
13010 * po/ru.po: Likewise.
13011 * po/ko.po: Likewise.
13012 * po/fr.po: Likewise.
13013
d30cf5bb
RM
130142011-07-09 Roland McGrath <roland@hack.frob.com>
13015
113ddea4
RM
13016 * configure.in (.ctors/.dtors header and trailer check):
13017 Use an empirical test on a built program.
13018 * configure: Regenerated.
13019
574920b4
RM
13020 * configure.in (-z relro check): Use an empirical test on a built DSO.
13021 Detect, but do not require, on ia64.
13022 * configure: Regenerated.
13023
d30cf5bb
RM
13024 * configure.in (READELF): Find it with AC_CHECK_TOOL.
13025 Update tests that use readelf to use $READELF instead.
13026 * configure: Regenerated.
13027
8538fdb3
UD
130282011-07-08 Ulrich Drepper <drepper@gmail.com>
13029
13030 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
13031 if the result is not used.
13032
04d08991
AJ
130332011-07-05 Andreas Jaeger <aj@suse.de>
13034
13035 [BZ#9696]
13036 * stdlib/tst-strtod.c: Add testcase.
13037
de283087
AD
130382011-07-07 Ulrich Drepper <drepper@gmail.com>
13039
4e5f31c8 13040 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 13041 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
13042 The latter has a higher limit. Take additional parameter to pass to
13043 the new function.
13044 (__pathconf): Pass file to __statfs_link_max.
13045 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
13046 __statfs_link_max.
13047 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
13048 __statfs_link_max.
13049
de283087
AD
13050 [BZ #12868]
13051 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
13052 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
13053 Handle Lustre.
13054 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
13055 (__statfs_filesize_max): Likewise.
13056 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
13057
c75fa153
AJ
130582011-07-05 Andreas Jaeger <aj@suse.de>
13059
13060 * resolv/res_comp.c (dn_skipname): Remove unused variable.
13061
1a544854
UD
130622011-07-06 Marek Polacek <mpolacek@redhat.com>
13063
13064 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
13065 `status' variable.
13066 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
13067 Likewise.
13068
6f0eec67
UD
130692011-07-04 H.J. Lu <hongjiu.lu@intel.com>
13070
13071 * Makefile (strop-tests): Add strncat.
13072 * string/test-strncat.c: New file.
13073
aae30307
UD
130742011-06-30 Marek Polacek <mpolacek@redhat.com>
13075
13076 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
13077
c0cfb5eb
UD
130782011-06-21 Andreas Jaeger <aj@suse.de>
13079
13080 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
13081 Copy rule from iconvdata/Makefile.
13082
01636b21
UD
130832011-07-06 Ulrich Drepper <drepper@gmail.com>
13084
13085 [BZ #12922]
13086 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
13087 but no long options are defined, just return 'W'.
13088
9895c8bc
UD
130892011-06-22 Marek Polacek <mpolacek@redhat.com>
13090
13091 [BZ #9696]
13092 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
13093
5d4cf042
UD
130942011-07-06 Ulrich Drepper <drepper@gmail.com>
13095
13096 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
13097 netgroups to read.
960e5535 13098 (innetgr): Likewise.
5d4cf042 13099
751eb97e
RM
131002011-07-05 Roland McGrath <roland@hack.frob.com>
13101
13102 * config.make.in (install_root): Default to $(DESTDIR).
13103
f15f1e45
UD
131042011-07-05 Ulrich Drepper <drepper@gmail.com>
13105
13106 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
13107
4e34ac6a
RM
131082011-07-02 Roland McGrath <roland@hack.frob.com>
13109
5e9b6af4
RM
13110 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
13111
84f9ea0f
RM
13112 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
13113 containing directory rather than embedding absolute directory names.
13114
ea5ee9f7
RM
13115 * scripts/check-local-headers.sh: Rewritten using awk.
13116 Match by word, not by line. Print error messages for matches.
13117 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
13118
1b74661a
RM
13119 * Makerules [shlib-lds-flags empty]:
13120 ($(common-objpfx)libc_pic.opts): New target.
13121 ($(common-objpfx)libc_pic.os.clean): New target.
13122 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
13123
13124 * config.make.in (OBJCOPY): New variable.
13125 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
13126 * configure: Regenerated.
13127
f781ef40
RM
13128 * config.make.in (use-default-link): New variable.
13129 * configure.in (use_default_link): Grok --with-default-link to set it.
13130 * configure: Regenerated.
13131 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
13132 (shlib-lds, shlib-lds-flags): Define to empty.
13133
2d4fa81e
RM
13134 * Makerules (shlib-lds): New variable.
13135 (shlib-lds-flags): New variable.
13136 (build-shlib, build-moduile, build-module-asneeded): Use it.
13137 ($(common-objpfx)libc.so): Use $(shlib-lds).
13138 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
13139 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
13140
31fffa6b
RM
13141 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
13142 DT_FLAGS/DT_FLAGS_1 with zero flags.
13143
4e34ac6a
RM
13144 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
13145 linker script munging.
13146
fcfc776b
UD
131472011-07-02 Ulrich Drepper <drepper@gmail.com>
13148
13149 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
13150 as 128-bit value.
13151 * crypt/sha512.c (sha512_process_block): Perform total addition using
13152 128-bit if possible.
13153 (__sha512_finish_ctx): Likewise.
13154 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
13155 as 64-bit value.
13156 * crypt/sha256.c (SWAP64): Define.
13157 (sha256_process_block): Perform total addition using 64-bit if
13158 possible.
13159 (__sha256_finish_ctx): Likewise.
13160
99231d9a
UD
131612011-07-01 Ulrich Drepper <drepper@gmail.com>
13162
13163 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
13164 * nscd/initgrcache.c (addinitgroupsX): Likewise.
13165 * nscd/hstcache.c (cache_addhst): Likewise.
13166 * nscd/grpcache.c (cache_addgr): Likewise.
13167 * nscd/aicache.c (addhstaiX): Likewise
13168 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
13169
445b4a53
TK
131702011-07-01 Thorsten Kukuk <kukuk@suse.de>
13171
13172 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
13173 * nscd/initgrcache.c (addinitgroupsX): Likewise.
13174 * nscd/hstcache.c (cache_addhst): Likewise.
13175 * nscd/grpcache.c (cache_addgr): Likewise.
13176 * nscd/aicache.c (addhstaiX): Likewise
13177
6d4d8e8e
AS
131782011-07-01 Andreas Schwab <schwab@redhat.com>
13179
13180 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
13181 domain only when needed.
13182
89f654c5
AS
131832011-06-30 Andreas Schwab <schwab@redhat.com>
13184
13185 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
13186 is always restored.
13187
cf3b23ff
UD
131882011-06-29 Ulrich Drepper <drepper@gmail.com>
13189
13190 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
13191 are re-adding the entry.
13192 * nscd/servicescache.c (cache_addserv): Likewise.
13193
751626f9
AJ
131942011-06-30 Aurelien Jarno <aurelien@aurel32.net>
13195
13196 * sysdeps/generic/dl-irel.h: fix protection against multiple
13197 inclusions.
13198 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
13199
9113ea1f
UD
132002011-06-28 Ulrich Drepper <drepper@gmail.com>
13201
5c0b8d90
UD
13202 [BZ #12935]
13203 * malloc/memusage.sh: Fix quoting in message.
13204 * debug/xtrace.sh: Likewise.
13205
9113ea1f
UD
13206 * configure.in: Remove support for --experimental-malloc option, make
13207 it the default.
13208 * config.make.in: Likewise.
13209 * malloc/Makefile: Likewise.
13210
a4172181
AS
132112011-06-27 Andreas Schwab <schwab@redhat.com>
13212
13213 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
13214 two-byte characters.
13215
78a7eee7
RM
132162011-06-27 Roland McGrath <roland@hack.frob.com>
13217
62bede13
RM
13218 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
13219 AC_CACHE_CHECK invocation.
13220 * configure: Regenerated.
13221
78a7eee7
RM
13222 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
13223
5ce33a62
UD
132242011-06-27 Ulrich Drepper <drepper@gmail.com>
13225
034807a9
UD
13226 [BZ #12350]
13227 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
13228 bit from old_res_options.
13229
4902da17
UD
13230 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
13231
5ce33a62
UD
13232 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
13233 value type for setfct.
13234
c2344f56
L
132352011-06-23 H.J. Lu <hongjiu.lu@intel.com>
13236
13237 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
13238 __gettimeofday instead of gettimeofday.
13239
68468076
UD
132402011-06-26 Ulrich Drepper <drepper@gmail.com>
13241
13242 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
13243
acb0d739
L
132442011-06-24 H.J. Lu <hongjiu.lu@intel.com>
13245
13246 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
13247
13248 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
13249 info.
13250
8912479f
L
132512011-06-22 H.J. Lu <hongjiu.lu@intel.com>
13252
13253 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
13254 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
13255 strcpy-sse2-unaligned strncpy-sse2-unaligned
13256 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
13257 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
13258 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
13259 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
13260 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
13261 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
13262 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
13263 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
13264 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
13265 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
13266 (STRCPY): Support SSE2 and SSSE3 versions.
13267
d5495a11
UD
132682011-06-24 Ulrich Drepper <drepper@gmail.com>
13269
13270 [BZ #12874]
13271 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
13272 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
13273 kernels which artificially limit size of requests.
13274
0b1cbaae
L
132752011-06-22 H.J. Lu <hongjiu.lu@intel.com>
13276
13277 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
13278 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
13279 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
13280 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
13281 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
13282 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
13283 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
13284 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
13285 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
13286 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
13287 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
13288 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
13289 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
13290 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
13291 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
13292 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
13293 Enable unaligned load optimization for Intel Core i3, i5 and i7
13294 processors.
13295 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
13296 Define.
13297 (index_Fast_Unaligned_Load): Define.
13298 (HAS_FAST_UNALIGNED_LOAD): Define.
13299
07f494a0
MP
133002011-06-23 Marek Polacek <mpolacek@redhat.com>
13301
13302 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
13303
fa3fc0fe
UD
133042011-06-22 Ulrich Drepper <drepper@gmail.com>
13305
13306 [BZ #12907]
13307 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
13308 until it is clear that the information is realy needed.
13309 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
13310
e12df166
AS
133112011-06-22 Andreas Schwab <schwab@redhat.com>
13312
13313 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
13314
852eb34d
UD
133152011-06-22 Ulrich Drepper <drepper@gmail.com>
13316
84e2a551
UD
13317 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
13318 /sys/devices/system/cpu/online if it is usable.
13319
852eb34d
UD
13320 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
13321 reading the information from the /proc filesystem to once a second.
13322
6e502e19
UD
133232011-06-21 Andreas Jaeger <aj@suse.de>
13324
13325 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
13326 NULL after inclusion of kernel headers.
13327
75d39ff2
UD
133282011-06-21 Ulrich Drepper <drepper@gmail.com>
13329
51f9aa6a
UD
13330 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
13331 calls to internal_setent.
13332
c0244a9d
UD
13333 [BZ #12885]
13334 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
13335 addresses using gethostbyname4_r ignore IPv4 addresses.
13336
c5e3c2ae
UD
13337 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
13338 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
13339
75d39ff2
UD
13340 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
13341
42675c6f
DM
133422011-06-20 David S. Miller <davem@davemloft.net>
13343
13344 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
13345 inclusions.
13346 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
13347
13348 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
13349 (elf_irel): Use it.
13350 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
13351 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
13352 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
13353 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
13354 * sysdeps/x86_64/dl-irel.h: Likewise.
13355
13356 * elf/dl-runtime.c: Use elf_ifunc_invoke.
13357 * elf/dl-sym.c: Likewise.
13358
57912a71
UD
133592011-06-15 Ulrich Drepper <drepper@gmail.com>
13360
13361 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
13362 need to dereference resplen2.
13363
ee22793d
AS
133642011-06-14 Andreas Schwab <schwab@redhat.com>
13365
13366 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
13367
a9e836b0
UD
133682011-06-15 Ulrich Drepper <drepper@gmail.com>
13369
77fb9117
UD
13370 * Makeconfig: Define vardbdir and inst_vardbdir.
13371 * nss/Makefile: Add rules to install db-Makefile.
13372
40c1b22c
UD
13373 * nss/nss_db/db-XXX.c: Cleanup.
13374
9f2da732
UD
13375 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
13376 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
13377 GLIBC_PRIVATE.
13378 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
13379 * nss/makedb.c: Implement -g option to specify that value strings
13380 are generated and should not be added to table iterated over for
13381 get*ent calls.
13382 * nss/nss_db/db-initgroups.c: New file.
13383
82e9a1f7
UD
13384 * nss/getent.c: Add support for initgroups lookups through getgrouplist
13385 interface.
13386
c41af17e
UD
13387 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
13388 (internal_getgrouplist): Adjust to name change.
13389 Update use_initgroups_entry if this is not the first call.
13390 * nss/databases.def: Add initgroups entry.
13391
a9e836b0
UD
13392 * nss/makedb.c (compute_tables): Check result of multiple hash table
13393 sizes to minimize maximum chain length.
13394
2666d441
UD
133952011-06-14 Ulrich Drepper <drepper@gmail.com>
13396
13397 * Versions.def: Add entry for libnss_db.
13398 * shlib-versions: Likewise.
13399 * nss/Makefile: Add rules to build libnss_db.
13400 * nss/Versions: Add libnss_db information. Organize libnss_files
13401 entries better.
13402 * nss/db-Makefile: Add gshadow support. Change rules for the new
13403 makedb progra. Some minor improvements to generate smaller files.
13404 * nss/nss_db/nss_db.h: Move NSS database header data structures to
13405 here from...
13406 * nss/makedb.c: ...here.
13407 Improve database format to be smaller and require less memory at
13408 runtime.
13409 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
13410 db anymore.
13411 * nss/nss_db/db-netgrp.c: Likewise.
13412 * nss/nss_db/db-open.c: Likewise.
13413 * nss/nss_files/flies-XXX.x: Adjust comments.
13414 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
13415 * nss/nss_files/files-grp.c: Likewise.
13416 * nss/nss_files/files-hosts.c: Likewise.
13417 * nss/nss_files/files-network.c: Likewise.
13418 * nss/nss_files/files-proto.c: Likewise.
13419 * nss/nss_files/files-pwd.c: Likewise.
13420 * nss/nss_files/files-rpc.c: Likewise.
13421 * nss/nss_files/files-service.c: Likewise.
13422 * nss/nss_files/files-sgrp.c: Likewise.
13423 * nss/nss_files/files-spwd.c: Likewise.
13424 * nss/nss_db/db-alias.c: Removed.
13425 * nss/nss_db/dummy-db.h: Removed.
13426
9ee76b5a
UD
134272011-06-02 Ulrich Drepper <drepper@gmail.com>
13428
13429 * nss/makedb.c: Rewritten to not use database library.
13430 * nss/Makefile: Update to build new makedb program.
13431
c71ca1f8
AJ
134322011-06-14 Andreas Jaeger <aj@suse.de>
13433
13434 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
13435 memset declaration.
13436
3154bfb8
UD
134372011-06-10 Andreas Schwab <schwab@redhat.com>
13438
13439 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
13440 tmpbuf.
13441
b350afab
RM
134422011-06-10 Roland McGrath <roland@hack.frob.com>
13443
decd4e50
RM
13444 * Makerules (shlib.lds): Fail if the linker script comes out empty.
13445 * elf/Makefile ($(objpfx)ld.so): Likewise.
13446
5615eaf2
RM
13447 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
13448 Don't list ld.so twice in dependencies.
13449
13450 * posix/bug-regex31.c: Include <stdlib.h>.
13451
13452 * nscd/hstcache.c (cache_addhst): Remove unused variable.
13453
13454 * nis/nss_compat/compat-spwd.c
13455 (getspent_next_nss_netgr): Remove unused variable.
13456 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
13457
13458 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
13459 nonmembers" output to use the right array.
13460
13461 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
13462
13463 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
13464
13465 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
13466 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
13467 * catgets/gencat.c (read_input_file): Likewise.
13468 * locale/programs/locarchive.c (enlarge_archive): Likewise.
13469
13470 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
13471 variable definition inside #if's controlling its use.
13472
13473 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
13474
13475 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
13476
13477 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
13478
13479 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
13480 unreachable code.
13481
13482 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
13483
b68e08db
RM
13484 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
13485 * configure: Regenerated.
13486
b350afab
RM
13487 * Makerules: Revert last change.
13488 * elf/Makefile: Likewise.
13489
28368601
RM
134902011-06-09 Roland McGrath <roland@hack.frob.com>
13491
13492 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
13493 * elf/Makefile ($(objpfx)librtld.os): Likewise.
13494 (reloc-link): Likewise.
13495
11988f8f
UD
134962011-06-09 Ulrich Drepper <drepper@gmail.com>
13497
13498 * elf/Makefile: Add rules to build pldd.
13499 * elf/pldd.c: New file.
13500 * elf/pldd-xx.c: New file.
13501
e80fab37
UD
135022011-06-07 Ulrich Drepper <drepper@gmail.com>
13503
13504 * version.h: Update for 2.15 development version.
13505
9b849836
DM
135062011-06-07 David S. Miller <davem@davemloft.net>
13507
13508 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
13509 ifuncs.
13510 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
13511 elf_machine_lazy_rel): Likewise.
13512 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
13513 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
13514 elf_machine_lazy_rel): Likewise.
13515 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
13516 dl_hwcap via passed in argument.
13517 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
13518 Likewise.
13519
5a31b283
AK
135202011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13521
13522 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
13523
069e52f8
RM
135242011-06-06 Roland McGrath <roland@hack.frob.com>
13525
13526 [BZ #12849]
13527 * manual/fdl-1.1.texi: New file, verbatim from:
13528 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
13529 * manual/lgpl-2.1.texi: New file, verbatim from:
13530 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
13531 * manual/Makefile (licenses): New variable, list those new file names.
13532 (texis): Use it.
13533 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
13534
13535 * manual/fdl.texi: File removed.
13536 * manual/lesser.texi: File removed.
13537 * manual/libc.texinfo (Copying, Documentation License):
13538 Use new @include file names, put @appendix directive before @include.
13539
f16846a5
JJ
135402011-06-04 Jakub Jelinek <jakub@redhat.com>
13541
13542 [BZ #12841]
13543 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
13544 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
13545 (mq_open): Add __NTH.
13546
3d29045b
L
135472011-06-02 H.J. Lu <hongjiu.lu@intel.com>
13548
13549 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
13550 Assume Intel Core i3/i5/i7 processor if AVX is available.
13551
8c297311
UD
135522011-05-31 Ulrich Drepper <drepper@gmail.com>
13553
13554 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
13555 typo.
13556
c8fc0c91
UD
135572011-05-31 Andreas Schwab <schwab@redhat.com>
13558
13559 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
13560 memory. Use alloca_account. Fix memory leak when retrying.
13561
5b27a807
UD
135622011-05-31 Ulrich Drepper <drepper@gmail.com>
13563
356f8bc6
UD
13564 * version.h (RELEASE): Bump for 2.14 release.
13565 * include/features.h (__GLIBC_MINOR__): Bump to 14.
13566
5b27a807
UD
13567 * config.make.in (RANLIB): Remove entry.
13568
01f16ab0
UD
135692011-05-30 Ulrich Drepper <drepper@gmail.com>
13570
41fce8bd
UD
13571 * po/Makefile (po-sed-cmd): Add ksh to extensions.
13572 (libc.pot): Work around missing support for .ksh extension in xgettext.
13573
4769ae77
UD
13574 [BZ #12684]
13575 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
13576 if both request failed.
13577 (send_dg): In case of server errors clear resplen or *resplen2.
13578
6b1e7d19
UD
13579 [BZ #12454]
13580 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
13581 when there are multiple maps.
13582 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
13583 (_dl_fini): Remove test here.
13584
01f16ab0
UD
13585 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
13586
b1ebd700
UD
135872011-05-29 Ulrich Drepper <drepper@gmail.com>
13588
7ae22829
UD
13589 [BZ #12350]
13590 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
13591 bit from old_res_options.
13592 (gaih_inet): Likewise.
13593
553149f6 13594 [BZ #11099]
18a84741 13595 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
13596 as signed.
13597
652ffab1
UD
13598 * resolv/res_init.c (res_setoptions): Make the code more compact.
13599
16985fd0
UD
13600 [BZ #11558]
13601 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
13602 set RES_USEVC.
13603
0464f746
UD
13604 [BZ #11634]
13605 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
13606
7d17596c
UD
13607 * malloc/malloc.h: Mark malloc hook variables as deprecated.
13608
cf6bbbd7
UD
13609 [BZ #11781]
13610 * malloc/malloc.h: Declare malloc hook variables as volatile.
13611
13f1ab36
UD
13612 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
13613 in last patch.
13614
b1ebd700
UD
13615 [BZ #11799]
13616 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 13617 raise in the comment.
80e2212d
UD
13618 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
13619 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
13620 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 13621
ce67228d
UD
136222011-05-28 Ulrich Drepper <drepper@gmail.com>
13623
8887a920
UD
13624 [BZ #12811]
13625 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
13626 grow the buffers more if it already has to be sufficient.
13627 (build_wcs_upper_buffer): Likewise.
13628 * posix/regexec.c (check_matching): Likewise.
13629 (clean_state_log_if_needed): Likewise.
13630 (extend_buffers): Don't enlarge buffers beyond size of the input
13631 buffer.
13632 Patches mostly by Emil Wojak <emil@wojak.eu>.
13633 * posix/bug-regex32.c: New file.
13634 * posix/Makefile (tests): Add bug-regex32.
13635
4f031072
UD
13636 * locale/findlocale.c (_nl_find_locale): Return right away if
13637 _nl_explode_name failed.
13638 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
13639
d0478f0c
UD
13640 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
13641
de81b246
UD
13642 * debug/xtrace.sh: Unify messages.
13643 * malloc/memusage.sh: Likewise.
13644
c738465a
UD
13645 [BZ #12813]
13646 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
13647 time symbol from vDSO. Substitute with vsyscall if not available.
13648 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
13649 __vdso_time.
13650
f1f929d7
UD
13651 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
13652 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
13653 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
13654 Add sendmmsg and internal_sendmmsg.
13655 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
13656 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
13657 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
13658
ce67228d
UD
13659 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
13660 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
13661 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
13662
e57420c6
UD
136632011-05-27 Ulrich Drepper <drepper@gmail.com>
13664
a8509ca5
UD
13665 [BZ #12813]
13666 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
13667 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
13668 available.
13669 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
13670 __vdso_getcpu.
13671
e57420c6
UD
13672 [BZ #12814]
13673 * iconvdata/Makefile (tests): Add bug-iconv9.
13674 * iconvdata/bug-iconv9.c: New file.
13675
4d07db15
AS
136762011-05-27 Andreas Schwab <schwab@redhat.com>
13677
13678 [BZ #12814]
13679 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
13680
ea486f69
JJ
136812011-05-25 Jakub Jelinek <jakub@redhat.com>
13682
13683 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
13684 (struct user_regs_struct): Change intcs field back to cs.
13685
6f038433
UD
136862011-05-25 Ulrich Drepper <drepper@gmail.com>
13687
13688 * po/ja.po: Update from translation team.
13689
67f86a25
UD
136902011-05-23 Ulrich Drepper <drepper@gmail.com>
13691
13692 [BZ #12795]
13693 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
13694 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
13695
def7fbd6
AS
136962011-05-20 Andreas Schwab <schwab@redhat.com>
13697
13698 * stdlib/longlong.h: Update from GCC.
13699
f50ef8f1
AS
137002011-05-23 Andreas Schwab <schwab@redhat.com>
13701
13702 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
13703 parameter name.
13704 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
13705 Add parameter name.
13706 (__sysconf): Pass it down.
13707
de7ce8f1
UD
137082011-05-22 Ulrich Drepper <drepper@gmail.com>
13709
f2962a71
UD
13710 [BZ #12671]
13711 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
13712 some situations.
13713 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
13714 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
13715 add in in __libc_use_alloca calls. Adjust callers.
13716 (glob): Use malloc in some situations.
13717
de7ce8f1
UD
13718 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
13719 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
13720 pltexit.
13721
aec84f53
UD
137222011-05-21 Ulrich Drepper <drepper@gmail.com>
13723
05bb4a68
UD
13724 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
13725 and CLOCK_BOOTTIME_ALARM.
13726
7ea72f99
UD
13727 [BZ #12782]
13728 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
13729 is returned.
13730
7e4afad5
UD
13731 * string/_strerror.c (__strerror_r): Print negative errors as signed
13732 numbers.
13733
8e211fec
UD
13734 [BZ #12777]
13735 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
13736 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
13737 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
13738
f7d82dc9
UD
13739 * configure.in: Fix typo in redirection and correct removal of test
13740 files in two cases.
13741
cc9e536d
UD
13742 [BZ #12788]
13743 * locale/setlocale.c (new_composite_name): Fix test to check for
13744 identical name of all categories.
13745
aec84f53
UD
13746 [BZ #12792]
13747 * libio/filedoalloc.c (local_isatty): New function.
13748 (_IO_file_doallocate): Use local_isatty.
13749 * stdio-common/perror.c (perror): In case a new stream is used
13750 forward the stream error.
13751 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
13752 error flag.
13753
78e64fdc
RT
137542011-05-20 Ulrich Drepper <drepper@gmail.com>
13755
34a9094f
UD
13756 [BZ #11869]
13757 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
13758 alloca.
13759 * include/alloca.h (extend_alloca_account): Define.
13760
78e64fdc
RT
13761 [BZ #11857]
13762 * posix/regex.h: Fix comments with documentation of user-accessible
13763 fields after compilation and describe correct free'ing of pattern
13764 after re_compile_pattern.
13765 Patch by Reuben Thomas <rrt@sc3d.org>.
13766
457bddfc
RA
137672011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
13768
13769 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
13770 and -mno-altivec to prevent the compiler from using Altivec and/or
13771 VSX instructions when the corresponding registers are not available.
13772
a4527b51
AS
137732011-05-19 Andreas Schwab <schwab@redhat.com>
13774
13775 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
13776
ed690b2f
UD
137772011-05-19 Ulrich Drepper <drepper@gmail.com>
13778
13779 * libio/freopen.c (freopen): Use __dup2, not dup2.
13780 * libio/freopen64.c (freopen64): Likewise.
13781
8db73634
L
137822011-05-17 H.J. Lu <hongjiu.lu@intel.com>
13783
13784 [BZ #12775]
13785 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
13786 * math/Makefile (tests): Add test-powl.
13787 (CFLAGS-test-powl.c): Define.
13788 * math/test-powl.c: New file.
13789
0a197a9d
L
137902011-05-16 H.J. Lu <hongjiu.lu@intel.com>
13791
13792 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
13793
ee30c380
UD
137942011-05-17 Ulrich Drepper <drepper@gmail.com>
13795
13796 [BZ #11837]
13797 * iconvdata/gb18030.c: Update to GB18020-2005.
13798
6ce75379
UD
137992011-05-16 Ulrich Drepper <drepper@gmail.com>
13800
a4b89fd8
AR
13801 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
13802 RE_SYNTAX_POSIX_AWK): Update to match recent development.
13803 Patch by Aharon Robbins <arnold@skeeve.com>.
13804
ea389b12
UD
13805 [BZ #11892]
13806 * stdlib/putenv.c (putenv): Don't always create copy of the variable
13807 on the stack.
13808
68a3f91f
UD
13809 [BZ #11895]
13810 * misc/pselect.c (__pselect): Handle timeout value errors hidden
13811 through underflows.
13812
15cc7dd1
UD
13813 [BZ #12766]
13814 * misc/error.c (error_at_line): Ensure file_name and old_file_name
13815 point to strings before performing equality test for error_one_per_line
13816 mode.
13817
f3799213
UD
13818 [BZ #11697]
13819 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
13820
d79a9c94
UD
13821 [BZ #11820]
13822 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
13823 (struct user_fpregs_struct): Avoid __uint*_t types.
13824
56e5eb46
UD
13825 [BZ #6420]
13826 * malloc/mtrace.c (tr_where): Add additional parameter to point to
13827 symbol info. Use it instead of calling _dl_addr locally.
13828 (lock_and_info): New function.
13829 (tr_freehook): Call lock_and_info and pass symbol info as additional
13830 parameter to tr_where.
13831 (tr_mallochook): Likewise.
13832 (tr_reallochook): Likewise.
13833 (tr_memalignhook): Likewise.
13834
6ce75379
UD
13835 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
13836 used and couldn't be at all thread-safe.
13837
f8a3b5bf
UD
138382011-05-15 Ulrich Drepper <drepper@gmail.com>
13839
94b7cc37
UD
13840 * libio/freopen.c (freopen): Don't close old file descriptor
13841 before the new one is opened. Instead dup the new file descriptor
13842 to the old one after the new stream is created.
13843 * libio/freopen64.c (freopen64): Likewise.
13844 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
13845 * libio/fileops.c (_IO_new_file_close_it): Handle new
13846 _IO_FLAGS2_NOCLOSE flag.
13847 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
13848 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
13849 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
13850 _IO_FLAGS2_NOCLOSE flag.
13851 * include/unistd.h: Add hidden_proto for dup3.
13852 Define __have_dup3.
13853 * io/dup3.c: Define hidden symbol.
13854 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
13855
bd25564e
UD
13856 [BZ #7101]
13857 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
13858 when an incomplete long option is used.
13859 * posix/tst-getopt_long1.c: New file.
13860 * posix/Makefile (tests): Add tst-getopt_long1.
13861
c84cfef4
UD
13862 [BZ #10138]
13863 * scripts/config.guess: Update from autoconf-2.68.
13864 * scripts/config.sub: Likewise.
13865
3b85df27
UD
13866 [BZ #10157]
13867 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
13868 tests into ...
13869 (has_cpuclock): ...this. New function.
13870 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
13871 macro here based on has_cpuclock code.
13872
15a856b1
UD
13873 [BZ #10149]
13874 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
13875 First byte (not low byte) is now always NUL.
13876 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
13877
05f399e6
UD
13878 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
13879 Use non-cancelable interfaces.
13880
10a52685 13881 [BZ #9809]
94ecc67d
UD
13882 * locale/iso-639.def: Add entry for Sorani.
13883
f8a3b5bf
UD
13884 [BZ #11901]
13885 * include/stdlib.h: Move include protection to the right place.
13886 Define abort_msg_s. Declare __abort_msg with it.
13887 * stdlib/abort.c (__abort_msg): Adjust type.
13888 * assert/assert.c (__assert_fail_base): New function. Majority
13889 of code from __assert_fail. Allocate memory for __abort_msg with
13890 mmap.
13891 (__assert_fail): Now call __assert_fail_base.
13892 * assert/assert-perr.c: Remove bulk of implementation. Use
13893 __assert_fail_base.
13894 * include/assert.hL Declare __assert_fail_base.
13895 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
13896 mmap.
13897 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
13898
1af4e298
UD
138992011-05-14 Ulrich Drepper <drepper@gmail.com>
13900
f8a3b5bf 13901 [BZ #11952]
d26dfc60
MG
13902 [BZ #12453]
13903 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
13904 until all modules are registered in the DTV.
13905 * elf/Makefile: Add rules to build and run tst-tls19.
13906 * elf/tst-tls19.c: New file.
13907 * elf/tst-tls19mod1.c: New file.
13908 * elf/tst-tls19mod2.c: New file.
13909 * elf/tst-tls19mod3.c: New file.
13910 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
13911
2fc54d6f
UD
13912 [BZ #12083]
13913 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
13914 correctly.
13915
98d76b46
UD
13916 [BZ #12601]
13917 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
13918 two-byte sequence errors.
13919 * iconvdata/Makefile (tests): Add bug-iconv8.
13920 * iconvdata/bug-iconv8.c: New file.
13921
da3c19ef
UD
13922 [BZ #12626]
13923 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
13924 buf2 definition.
13925
ca408c15
UD
13926 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
13927
d6f67f7d
UD
13928 [BZ #12432]
13929 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
13930 (dummy_getcfa): New function.
13931 (init): Get _Unwind_GetCFA address, use dummy if not found.
13932 (backtrace_helper): In recursion check, also check whether CFA changes.
13933 (__backtrace): Completely initialize arg.
13934
1af4e298 13935 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
13936 storing incomplete byte sequence in state object. Avoid testing for
13937 guaranteed too small input if we know there is enough data available.
1af4e298 13938
da62f81b
AS
139392011-05-11 Andreas Schwab <schwab@redhat.com>
13940
13941 * Makeconfig (+link-pie): Indent.
13942 * Rules (binaries-pie): Define if $(have-fpie) and
13943 $(build-shared).
13944 (binaries-shared): Also filter out $(binaries-pie).
13945 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
13946 * nscd/Makefile (others-pie): Add nscd.
13947 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
13948 ($(objpfx)nscd): Remove command override.
13949 * login/Makefile (others-pie): Add pt_chown.
13950 ($(objpfx)pt_chown): Remove command override.
13951 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
13952 remove command overrides.
13953
fcabc0f8
UD
139542011-05-13 Ulrich Drepper <drepper@gmail.com>
13955
20030ae6
UD
13956 * libio/tst_putwc.c: Fix error messages.
13957
fcabc0f8
UD
13958 [BZ #12724]
13959 * libio/fileops.c (_IO_new_file_close_it): Always flush when
13960 currently writing and seek to current position when not.
13961 * libio/Makefile (tests): Add bug-fclose1.
13962 * libio/bug-fclose1.c: New file.
13963
320a5dc0
PB
139642011-05-12 Ulrich Drepper <drepper@gmail.com>
13965
13966 [BZ #12511]
13967 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
13968 don't set DF_1_NODELETE here.
13969 (do_lookup_x): When entering new entry test for copy relocation
13970 and if necessary set DF_1_NODELETE flag.
13971 * elf/tst-unique4.cc: New file.
13972 * elf/tst-unique4.h: New file.
13973 * elf/tst-unique4lib.cc: New file.
13974 * elf/Makefile: Add rules to build and run tst-unique4.
13975 Patch by Piotr Bury <pbury@goahead.com>.
13976
22836f52
UD
139772011-05-11 Ulrich Drepper <drepper@gmail.com>
13978
f574184a
UD
13979 [BZ #12052]
13980 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
13981
e1fb097f
UD
13982 [BZ #12625]
13983 * misc/mntent_r.c (addmntent): Flush the stream after the output
13984
22836f52
UD
13985 [BZ #12393]
13986 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
13987 (is_trusted_path_normalize): Skip initial colon. Append slash
13988 to empty buffer. Duplicate is_trusted_path code but allow
13989 constructed patch to be prefix.
13990 (is_dst): Allow $ORIGIN followed by /.
13991 (_dl_dst_substitute): Correct clearing of check_for_trusted.
13992 Correct testing of result of is_trusted_path_normalize
13993 (decompose_rpath): Fix warning.
13994
7b3b0b2a
UD
139952011-05-10 Ulrich Drepper <drepper@gmail.com>
13996
13997 [BZ #11257]
13998 * grp/initgroups.c (internal_getgrouplist): When we found the service
13999 list through the initgroups entry in nsswitch.conf do not always
14000 continue on a successful lookup. Don't always use the
eac80ce2 14001 __nss_group_database value if it is set.
7b3b0b2a
UD
14002 * nss/nsswitch.conf (initgroups): Change action for successful db
14003 lookup to continue for compatibility.
14004
2a81eaa5
UD
140052011-05-09 Ulrich Drepper <drepper@gmail.com>
14006
be97a69e
UD
14007 [BZ #11532]
14008 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
14009 and CP774 modules.
14010 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
14011 and CP774 modules.
14012 * iconvdata/tst-tables.sh: Likewise.
14013 * iconvdata/cp770.c: New file.
14014 * iconvdata/cp771.c: New file.
14015 * iconvdata/cp772.c: New file.
14016 * iconvdata/cp773.c: New file.
14017 * iconvdata/cp774.c: New file.
14018 * iconvdata/testdata/CP770: New file.
14019 * iconvdata/testdata/CP770..UTF8: New file.
14020 * iconvdata/testdata/CP771: New file.
14021 * iconvdata/testdata/CP771..UTF8: New file.
14022 * iconvdata/testdata/CP772: New file.
14023 * iconvdata/testdata/CP772..UTF8: New file.
14024 * iconvdata/testdata/CP773: New file.
14025 * iconvdata/testdata/CP773..UTF8: New file.
14026 * iconvdata/testdata/CP774: New file.
14027 * iconvdata/testdata/CP774..UTF8: New file.
14028
14029 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
14030 END CHARMAP line.
14031 * iconvdata/gen-8bit-gap.sh: Likewise.
14032 * iconvdata/gen-8bit.sh: Likewise.
14033
c1e9e399
UD
14034 * locale/iso-639.def: Add ary entry.
14035
24c55fb3 14036 [BZ #11258]
96b4b1b0
UD
14037 * locale/C-translit.h.in: Add U20A1 transliteration.
14038
bdc2f971
KB
14039 [BZ #12178]
14040 * locale/iso-639.def: Add wae entry.
14041 Patch by Kevin Bortis <bortis@translate-wae.ch>.
14042
2952b117
UD
14043 [BZ #12545]
14044 * locale/programs/localedef.c (construct_output_path): Use ssize_t
14045 for n.
14046
2a81eaa5
UD
14047 [BZ #12711]
14048 * locale/C-translit.h.in: Add entry for U20B9.
14049 Patch by pravin.d.s@gmail.com.
14050
28377d1b
UD
140512011-05-08 Ulrich Drepper <drepper@gmail.com>
14052
7fb90fb8
UD
14053 [BZ #12713]
14054 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
14055 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
14056 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
14057 in rtld. Use *stat64.
7fb90fb8 14058 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 14059 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 14060 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
14061 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
14062 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
14063 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
14064 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
14065 __fstatat64 macros.
7fb90fb8
UD
14066 * include/dirent.h: Add libc_hidden_proto for rewinddir.
14067 * dirent/rewinddir.c: Add libc_hidden_def.
14068 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 14069 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 14070
28377d1b
UD
14071 * include/dirent.h (__alloc_dir): Add flags parameter.
14072 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
14073 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
14074 __alloc_dir.
14075 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
14076 from fdopendir if O_CLOEXEC is already set.
14077
66bdbaa4
AM
140782011-03-15 Alan Modra <amodra@gmail.com>
14079
14080 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
14081 l_tls_firstbyte_offset non-zero. Save padding offset in
14082 l_tls_firstbyte_offset for later use.
14083 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
14084 freeing static tls block.
14085
95721191
JN
140862011-03-05 Jonathan Nieder <jrnieder@gmail.com>
14087
14088 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
14089 where #ifdef was intended. The intent is to prevent ARG_MAX from
14090 being defined by the kernel headers.
14091
f87dfb1f
UD
140922011-05-07 Ulrich Drepper <drepper@gmail.com>
14093
14094 [BZ #12734]
14095 * resolv/resolv.h: Define RES_NOTLDQUERY.
14096 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
14097 no-tld-query and set RES_NOTLDQUERY.
14098 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
14099 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
14100 modern BIND to search name as TLD unless forbidden.
14101
47c3cd7a
UD
141022011-05-07 Petr Baudis <pasky@suse.cz>
14103 Ulrich Drepper <drepper@gmail.com>
14104
14105 [BZ #12393]
14106 * elf/dl-load.c (fillin_rpath): Move trusted path check...
14107 (is_trusted_path): ...to here.
c1e9ea35 14108 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 14109 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 14110 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 14111
8a35c912
PP
141122011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
14113
14114 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
14115 __BEGIN/__END_DECLS.
14116
acd41f47
UD
141172011-05-06 Ulrich Drepper <drepper@gmail.com>
14118
14119 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
14120 NSS_STATUS_NOTFOUND if no record was found.
14121
597df647
AS
141222011-05-05 Andreas Schwab <schwab@redhat.com>
14123
14124 * sunrpc/Makefile (headers): Add rpc/netdb.h.
14125 (headers-not-in-tirpc): Remove rpc/netdb.h
14126 * resolv/netdb.h: Revert last change.
14127
b9af1301
PP
141282011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
14129
14130 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
14131 circular dependency between libgcc.a and libc.a.
14132
4e34d5f5
AS
141332011-05-05 Andreas Schwab <schwab@redhat.com>
14134
14135 * resolv/netdb.h: Don't include <rpc/netdb.h>.
14136 * nis/Makefile: Don't install rpcsvc/*.
14137 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
14138 instead of <rpc/types.h>.
14139 (MAXHOSTNAMELEN): Define.
14140
00ee369c
AS
141412011-05-03 Andreas Schwab <schwab@redhat.com>
14142
14143 * elf/ldconfig.c (add_dir): Don't crash on empty path.
14144
0b592a30
MB
141452011-04-28 Maciej Babinski <mbabinski@google.com>
14146
14147 [BZ #12714]
14148 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
14149 gethostbyname4_r when IPv6 results are possible.
14150
6e04cbbe
UD
141512011-05-02 Ulrich Drepper <drepper@gmail.com>
14152
14153 [BZ #12723]
14154 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
14155 _PC_PIPE_BUF handling.
14156
e4ecafe0
BH
141572011-04-30 Bruno Haible <bruno@clisp.org>
14158
14159 [BZ #12717]
14160 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
14161 * resolv/netdb.h (getnameinfo): Change type of flags parameter
14162 to 'int'.
14163 * inet/getnameinfo.c (getnameinfo): Likewise.
14164
125ee683
UD
141652011-04-29 Ulrich Drepper <drepper@gmail.com>
14166
14167 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
14168 to groups setting in database lookup.
14169 * nss/nsswitch.conf: Add initgroups entry.
14170
b722481a
EB
141712011-04-22 Ulrich Drepper <drepper@gmail.com>
14172
14173 [BZ #12685]
14174 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
14175 mode string.
14176 Patch by Eric Blake <eblake@redhat.com>.
14177
4df46dbd
L
141782011-04-20 H.J. Lu <hongjiu.lu@intel.com>
14179
14180 * sunrpc/Makefile (need-export-routines): Add svc_run.
14181 (routines): Remove svc_run.
14182 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
14183 * sunrpc/clnt_perr.c (clnt_perrno): Export.
14184 * sunrpc/svc_run.c (svc_run): Likewise.
14185 * sunrpc/svc_udp.c (svcudp_create): Likewise.
14186
e84142d2
UD
141872011-04-21 Ulrich Drepper <drepper@gmail.com>
14188
14189 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
14190 problem in reallocation in last patch.
14191
877175d8
UD
141922011-04-20 Ulrich Drepper <drepper@gmail.com>
14193
14194 * sunrpc/Makefile: Move inclusion of Rules.
14195
ab8eed78
UD
141962011-04-19 Ulrich Drepper <drepper@gmail.com>
14197
14198 * nss/nss_files/files-initgroups.c: New file.
14199 * nss/Makefile (libnss_files-routines): Add files-initgroups.
14200 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
14201 _nss_files_initgroups_dyn.
14202
e3d8f584
RS
142032011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
14204
14205 * elf/elf.h (R_ARM_IRELATIVE): Define.
14206
af190f45
UD
142072011-04-19 Ulrich Drepper <drepper@gmail.com>
14208
14209 * po/ru.po: Update from translation team.
14210
53cf59ef
UD
142112011-04-17 Ulrich Drepper <drepper@gmail.com>
14212
14213 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
14214 dependencies.
14215
4c559bcd
MF
142162011-02-06 Mike Frysinger <vapier@gentoo.org>
14217
14218 [BZ #12653]
14219 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
14220 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
14221 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
14222 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
14223 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
14224
4420675c
AS
142252011-03-28 Andreas Schwab <schwab@linux-m68k.org>
14226
14227 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
14228 differing bytes.
14229 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
14230 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
14231 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
14232
75ea32ab
UD
142332011-04-17 Ulrich Drepper <drepper@gmail.com>
14234
14235 [BZ #12420]
14236 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
14237 storing it.
14238 * stdlib/bug-getcontext.c: New file.
14239 * stdlib/Makefile: Add rules to build and run bug-getcontext.
14240
27390476
AK
142412011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14242
14243 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
14244 instructions into .machine "z9-109".
14245 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
14246 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
14247
10442705
AK
142482011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14249
14250 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
14251 between environment variables and auxiliary vector.
14252
7b57bfe5
UD
142532011-04-16 Ulrich Drepper <drepper@gmail.com>
14254
14255 * Makefile: Add rules to build linkobj/libc.so.
14256 * include/libc-symbols.h: Define libc_hidden_nolink.
14257 * include/rpc/auth.h: Mark functions which are to be hidden.
14258 * include/rpc/auth_des.h: Likewise.
14259 * include/rpc/auth_unix.h: Likewise.
14260 * include/rpc/clnt.h: Likewise.
14261 * include/rpc/des_crypt.h: Likewise.
14262 * include/rpc/key_prot.h: Likewise.
14263 * include/rpc/pmap_clnt.h: Likewise.
14264 * include/rpc/pmap_prot.h: Likewise.
14265 * include/rpc/pmap_rmt.h: Likewise.
14266 * include/rpc/rpc_msg.h: Likewise.
14267 * include/rpc/svc.h: Likewise.
14268 * include/rpc/svc_auth.h: Likewise.
14269 * include/rpc/xdr.h: Likewise.
14270 * nis/Makefile: Link all DSOs against linkobj/libc.so.
14271 * nss/Makefile: Likewise.
14272 * sunrpc/Makefile: Don't install headers. Build library with normal
14273 entry points. Don't build rpcinfo. Link RPC tests appropriately.
14274 * sunrpc/auth_des.c: Hide exported symbols by default, export some
14275 for the compat linking library. Remove use of INTDEF/INTUSE.
14276 * sunrpc/auth_none.c: Likewise.
14277 * sunrpc/auth_unix.c: Likewise.
14278 * sunrpc/authdes_prot.c: Likewise.
14279 * sunrpc/authuxprot.c: Likewise.
14280 * sunrpc/clnt_gen.c: Likewise.
14281 * sunrpc/clnt_perr.c: Likewise.
14282 * sunrpc/clnt_raw.c: Likewise.
14283 * sunrpc/clnt_simp.c: Likewise.
14284 * sunrpc/clnt_tcp.c: Likewise.
14285 * sunrpc/clnt_udp.c: Likewise.
14286 * sunrpc/clnt_unix.c: Likewise.
14287 * sunrpc/des_crypt.c: Likewise.
14288 * sunrpc/des_soft.c: Likewise.
14289 * sunrpc/get_myaddr.c: Likewise.
14290 * sunrpc/key_call.c: Likewise.
14291 * sunrpc/key_prot.c: Likewise.
14292 * sunrpc/netname.c: Likewise.
14293 * sunrpc/pm_getmaps.c: Likewise.
14294 * sunrpc/pm_getport.c: Likewise.
14295 * sunrpc/pmap_clnt.c: Likewise.
14296 * sunrpc/pmap_prot.c: Likewise.
14297 * sunrpc/pmap_prot2.c: Likewise.
14298 * sunrpc/pmap_rmt.c: Likewise.
14299 * sunrpc/publickey.c: Likewise.
14300 * sunrpc/rpc_cmsg.c: Likewise.
14301 * sunrpc/rpc_common.c: Likewise.
14302 * sunrpc/rpc_dtable.c: Likewise.
14303 * sunrpc/rpc_prot.c: Likewise.
14304 * sunrpc/rpc_thread.c: Likewise.
14305 * sunrpc/rtime.c: Likewise.
14306 * sunrpc/svc.c: Likewise.
14307 * sunrpc/svc_auth.c: Likewise.
14308 * sunrpc/svc_authux.c: Likewise.
14309 * sunrpc/svc_raw.c: Likewise.
14310 * sunrpc/svc_run.c: Likewise.
14311 * sunrpc/svc_simple.c: Likewise.
14312 * sunrpc/svc_tcp.c: Likewise.
14313 * sunrpc/svc_udp.c: Likewise.
14314 * sunrpc/svc_unix.c: Likewise.
14315 * sunrpc/svcauth_des.c: Likewise.
14316 * sunrpc/xcrypt.c: Likewise.
14317 * sunrpc/xdr.c: Likewise.
14318 * sunrpc/xdr_array.c: Likewise.
14319 * sunrpc/xdr_float.c: Likewise.
14320 * sunrpc/xdr_intXX_t.c: Likewise.
14321 * sunrpc/xdr_mem.c: Likewise.
14322 * sunrpc/xdr_rec.c: Likewise.
14323 * sunrpc/xdr_ref.c: Likewise.
14324 * sunrpc/xdr_sizeof.c: Likewise.
14325 * sunrpc/xdr_stdio.c: Likewise.
14326
e6c61494
UD
143272011-04-10 Ulrich Drepper <drepper@gmail.com>
14328
14329 [BZ #12650]
14330 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
14331 * sysdeps/ia64/dl-tls.h: Likewise.
14332 * sysdeps/powerpc/dl-tls.h: Likewise.
14333 * sysdeps/s390/dl-tls.h: Likewise.
14334 * sysdeps/sh/dl-tls.h: Likewise.
14335 * sysdeps/sparc/dl-tls.h: Likewise.
14336 * sysdeps/x86_64/dl-tls.h: Likewise.
14337 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
14338
34fe483e
AS
143392011-03-14 Andreas Schwab <schwab@redhat.com>
14340
14341 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
14342 rpath element also skip the following colon.
14343 (expand_dynamic_string_token): Add is_path parameter and pass
14344 down to DL_DST_REQUIRED and _dl_dst_substitute.
14345 (decompose_rpath): Call expand_dynamic_string_token with
14346 non-zero is_path. Ignore empty rpaths.
14347 (_dl_map_object_from_fd): Call expand_dynamic_string_token
14348 with zero is_path.
14349
f12a32e6
AS
143502011-04-08 Andreas Schwab <schwab@linux-m68k.org>
14351
14352 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
14353 Make cancelable.
14354
38a7d692
UD
143552011-04-09 Ulrich Drepper <drepper@gmail.com>
14356
14357 [BZ #12655]
14358 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
14359 Patch by Filipe David Manana <fdmanana@apache.org>.
14360
e451d22b
AS
143612011-04-07 Andreas Schwab <schwab@redhat.com>
14362
14363 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
14364 Maintain aligned stack.
14365 (CHECK_RSP): Remove unused macro.
14366
dedc7c7b
UD
143672011-04-03 Ulrich Drepper <drepper@gmail.com>
14368
14369 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
14370 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
14371
94521213
UD
143722011-04-02 Ulrich Drepper <drepper@gmail.com>
14373
14374 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
14375
8cb700c0 14376 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 14377
0354e355
L
143782011-03-26 H.J. Lu <hongjiu.lu@intel.com>
14379
14380 [BZ #12518]
14381 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
14382 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
14383 * sysdeps/x86_64/memmove.c: New file.
14384 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
14385 (memcpy): Renamed to ...
14386 (__new_memcpy): This.
14387 (memcpy): Provide GLIBC_2_14 memcpy.
14388 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
14389 (memcpy): Provide GLIBC_2_2_5 memcpy.
14390
8593482f
UD
143912011-04-01 Ulrich Drepper <drepper@gmail.com>
14392
14393 [BZ #12631]
14394 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
14395
81a5726b
AS
143962011-03-30 Andreas Schwab <schwab@redhat.com>
14397
14398 * misc/syncfs.c: New file.
14399 * misc/Makefile (routines): Add syncfs.
14400 * posix/unistd.h: Declare syncfs.
14401 * sysdeps/unix/syscalls.list: Add syncfs.
14402
00e5419f
AS
144032011-04-01 Andreas Schwab <schwab@redhat.com>
14404
14405 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
14406 open_by_handle_at.
14407 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
14408 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
14409 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
14410 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
14411 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
14412 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
14413 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
14414
748876bf
UD
144152011-04-01 Ulrich Drepper <drepper@gmail.com>
14416
658e451d
UD
14417 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
14418 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
14419 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
14420 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
14421 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
14422 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
14423 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
14424
748876bf
UD
14425 * io/Makefile: Compile fallocate.c, fallocate64.c, and
14426 sync_file_range.c with -fexceptions.
14427 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
14428 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
14429 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
14430 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
14431 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
14432 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
14433 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
14434 sync_file_range as cancellation point
14435 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
14436 now a wrapper around __call_sync_file_range with cancellation handling.
14437 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
14438 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
14439 function name to __call_sync_file_range.
14440 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
14441 Add call_sync_file_range.
748876bf 14442
6e63d5e1
AS
144432011-04-01 Andreas Schwab <schwab@redhat.com>
14444
14445 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 14446 bits/timex.h.
6e63d5e1 14447
46998f74
UD
144482011-04-01 Ulrich Drepper <drepper@gmail.com>
14449
4c1423ed
UD
14450 * iconv/iconv.h: Fix typo in comment.
14451 * io/fcntl.h: Likewise.
14452 * libio/stdio.h: Likewise.
14453 * posix/spawn.h: Likewise.
14454 * posix/unistd.h: Likewise.
14455 * stdlib/stdlib.h: Likewise.
14456 * time/time.h: Likewise.
14457 * wcsmbs/wchar.h: Likewise.
14458
158648c0
UD
14459 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
14460 open_by_handle): Add.
14461 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
14462 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
14463 Augment a few comments.
14464 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
14465 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
14466 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
14467 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
14468 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
14469 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
14470 open_by_handle.
14471
46998f74
UD
14472 * io/fcntl.h (AT_EMPTY_PATH): Define.
14473
83fe108b
UD
144742011-03-30 Ulrich Drepper <drepper@gmail.com>
14475
14476 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
14477 * sysdeps/unix/sysv/linux/bits/time.h: New file.
14478 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
14479 to...
14480 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
14481 * Versions.def: Add GLIBC_2.14.
14482 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
14483 Export.
83fe108b 14484
bb242059
UD
144852011-03-22 Ulrich Drepper <drepper@gmail.com>
14486
14487 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
14488 round counter.
14489 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
14490
c97a1282
L
144912011-03-20 H.J. Lu <hongjiu.lu@intel.com>
14492
14493 [BZ #12597]
14494 * string/test-strncmp.c (do_page_test): New function.
14495 (check2): Likewise.
14496 (test_main): Call check2.
14497 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
14498
2a115601
UD
144992011-03-20 Ulrich Drepper <drepper@gmail.com>
14500
14501 [BZ #12587]
14502 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
14503 Handle cache information in CPU leaf 4.
14504 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
14505
8126d904
UD
145062011-03-18 Ulrich Drepper <drepper@gmail.com>
14507
042c49c6 14508 [BZ #12583]
8126d904
UD
14509 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
14510 character representation.
14511 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
14512
ccfe366e
RA
145132011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
14514
14515 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
14516 END(__isnan) to END(__isnanf) to match function entry point/label
14517 EALIGN(__isnanf,...).
14518
c6e13027
JJ
145192011-03-10 Jakub Jelinek <jakub@redhat.com>
14520
14521 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
14522
33f85a3f
UD
145232011-03-10 Ulrich Drepper <drepper@gmail.com>
14524
028478fa
UD
14525 [BZ #12510]
14526 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
14527 copy from the symbol referenced in the relocation to initialize the
14528 used variable.
14529 Patch by Piotr Bury <pbury@goahead.com>.
14530 * elf/Makefile: Add rules to build and tst-unique3.
14531 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
14532 * elf/tst-unique3.cc: New file.
14533 * elf/tst-unique3.h: New file.
14534 * elf/tst-unique3lib.cc: New file.
14535 * elf/tst-unique3lib2.cc: New file.
14536
33f85a3f
UD
14537 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
14538
03592fc7
MF
145392011-03-10 Mike Frysinger <vapier@gentoo.org>
14540
14541 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
14542 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
14543 to _start.
03592fc7 14544
6a5ee102
UD
145452011-03-06 Ulrich Drepper <drepper@gmail.com>
14546
14547 * elf/dl-load.c (_dl_map_object): If we are looking for the first
14548 to-be-loaded object along a path to loader is ld.so.
14549
7e4ba49c
HJ
145502011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
14551 Ulrich Drepper <drepper@gmail.com>
14552
14553 * sysdeps/x86_64/memset.S: After aligning destination, code
14554 branches to different locations depending on the value of
14555 misalignment, when multiarch is enabled. Fix this.
14556
145572011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
14558
14559 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
14560 Set _x86_64_preferred_memory_instruction for AMD processsors.
14561 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
14562 Set bit_Prefer_SSE_for_memop for AMD processors.
14563
13a804de
UD
145642011-03-04 Ulrich Drepper <drepper@gmail.com>
14565
14566 * libio/fmemopen.c (fmemopen): Optimize a bit.
14567
9d25c392
AS
145682011-03-03 Andreas Schwab <schwab@redhat.com>
14569
14570 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
14571
a5543c6a
RM
145722011-03-03 Roland McGrath <roland@redhat.com>
14573
14574 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
14575
012d35f7
DM
145762011-02-28 Aurelien Jarno <aurelien@aurel32.net>
14577
7e4ba49c 14578 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
14579 __bzero_ultra1 instead of __memset_ultra1.
14580
4bff6e01
AS
145812011-02-23 Andreas Schwab <schwab@redhat.com>
14582 Ulrich Drepper <drepper@gmail.com>
14583
14584 [BZ #12509]
14585 * include/link.h (struct link_map): Add l_orig_initfini.
14586 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
14587 returning unsuccessfully.
14588 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
14589 close of a file loaded at startup, restore the original l_initfini
14590 list.
14591 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
14592 list, store the pointer.
14593 * elf/Makefile ($(objpfx)noload-mem): New rule.
14594 (noload-ENV): Define.
14595 (tests): Add $(objpfx)noload-mem.
14596 * elf/noload.c: Include <memcheck.h>.
14597 (main): Call mtrace. Close all opened handles.
14598
f2092faf
AS
145992011-02-17 Andreas Schwab <schwab@redhat.com>
14600
14601 [BZ #12454]
14602 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
14603 dependencies are missing.
14604
6c8a2e88
ST
146052011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
14606
f2092faf 14607 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
14608 Hurd needs munmap.
14609 * sysdeps/mach/hurd/ifreq.h: New file.
14610
84a42118
PB
146112011-01-27 Petr Baudis <pasky@suse.cz>
14612 Ulrich Drepper <drepper@gmail.com>
14613
071f805e 14614 [BZ 12445]#
84a42118
PB
14615 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
14616 to extend_alloca().
14617 * stdio-common/bug23.c: New file.
14618 * stdio-common/Makefile (tests): Add bug23.
14619
e23fe25b
AS
146202010-09-28 Andreas Schwab <schwab@redhat.com>
14621 Ulrich Drepper <drepper@gmail.com>
14622
14623 [BZ #12489]
14624 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
14625 before performing relro protection. At old place add assertion
14626 to make sure nothing changed.
14627
d3f02e10
NS
146282011-02-17 Nathan Sidwell <nathan@codesourcery.com>
14629 Glauber de Oliveira Costa <glommer@gmail.com>
14630
14631 * elf/elf.h: Add new ARM TLS relocs.
14632
d55fd7a5
RA
146332011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
14634
14635 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
14636 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
14637 cast from r3.
14638 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
14639 'tests' variable.
14640 * sysdeps/wordsize-64/tst-writev.c: New file.
14641
2206397e
RA
146422011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
14643
14644 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
14645 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
14646 insns in _dl_start to prevent a TOC reference before relocs are
14647 resolved.
14648
e9433893
UD
146492011-02-15 Ulrich Drepper <drepper@gmail.com>
14650
14651 [BZ #12469]
14652 * Makeconfig: Remove RANLIB definition.
14653 * Makerules: Don't use RANLIB.
14654 * aclocal.m4: Remove ranlib test.
14655 * configure.in: No need to check for ranlib.
14656 * elf/rtld-Rules: Don't use RANLIB.
14657
f75286c6
ST
146582011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
14659
8e31c82d
ST
14660 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
14661 protection macro.
14662 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
14663 inclusion protection macro.
14664
f75286c6
ST
14665 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
14666 SIGRTMIN and SIGRTMAX and print information in that case only when
14667 SIGRTMIN is defined.
14668
c1d0e639
JJ
146692011-02-11 Jakub Jelinek <jakub@redhat.com>
14670
14671 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
14672 arginfo fn returning -1.
14673
14674 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
14675 and thousands string is zero terminated.
14676
edf9294e
AS
146772011-02-03 Andreas Schwab <schwab@redhat.com>
14678
14679 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
14680 sysdeps/unix/sysv/linux/bits/socket.h.
14681
2b7e92df
ST
146822011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
14683
edf9294e
AS
14684 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
14685 (__CPU_COUNT): Remove old macros.
14686 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
14687 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
14688 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
14689 (__sched_cpualloc, __sched_cpufree): Add declarations.
14690
a4c7ea7b
UD
146912011-02-05 Ulrich Drepper <drepper@gmail.com>
14692
14693 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
14694 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
14695 * nscd/aicache.c (addhstaiX): Return timeout of added value.
14696 (readdhstai): Return value of addhstaiX call.
14697 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
14698 (addgrbyX): Return value returned by cache_addgr.
14699 (readdgrbyname): Return value returned by addgrbyX.
14700 (readdgrbygid): Likewise.
14701 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
14702 (addpwbyX): Return value returned by cache_addpw.
14703 (readdpwbyname): Return value returned by addhstbyX.
14704 (readdpwbyuid): Likewise.
14705 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
14706 (addservbyX): Return value returned by cache_addserv.
14707 (readdservbyname): Return value returned by addservbyX:
14708 (readdservbyport): Likewise.
14709 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
14710 (addhstbyX): Return value returned by cache_addhst.
14711 (readdhstbyname): Return value returned by addhstbyX.
14712 (readdhstbyaddr): Likewise.
14713 (readdhstbynamev6): Likewise.
14714 (readdhstbyaddrv6): Likewise.
14715 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
14716 (readdinitgroups): Return value returned by addinitgroupsX.
14717 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
14718 (prune_cache): Keep track of timeout value of re-added entries.
14719 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
14720 * nscd/nscd.h: Adjust prototypes of readd* functions.
14721
a0bf67cc
RM
147222011-02-04 Roland McGrath <roland@redhat.com>
14723
14724 * nis/nis_server.c (nis_servstate): Use the right name for 0.
14725 (nis_stats): Likewise.
14726 * nis/nis_modify.c (nis_modify): Likewise.
14727 * nis/nis_remove.c (nis_remove): Likewise.
14728 * nis/nis_add.c (nis_add): Likewise.
14729
14730 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
14731
14732 * posix/fnmatch_loop.c: Add some consts.
14733
14734 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
14735
435b95eb
L
147362011-02-02 H.J. Lu <hongjiu.lu@intel.com>
14737
14738 [BZ #12460]
14739 * config.make.in (config-cflags-novzeroupper): Define.
14740 * configure.in: Substitute libc_cv_cc_novzeroupper.
14741 * elf/Makefile (AVX-CFLAGS): Define.
14742 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
14743 (CFLAGS-tst-auditmod4a.c): Likewise.
14744 (CFLAGS-tst-auditmod4b.c): Likewise.
14745 (CFLAGS-tst-auditmod6b.c): Likewise.
14746 (CFLAGS-tst-auditmod6c.c): Likewise.
14747 (CFLAGS-tst-auditmod7b.c): Likewise.
14748 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
14749
8517b15e
UD
147502011-02-02 Ulrich Drepper <drepper@gmail.com>
14751
14752 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
14753 function to the callback.
14754 Patch partly by Jiri Olsa <jolsa@redhat.com>.
14755
10a656fe
AS
147562011-02-02 Andreas Schwab <schwab@redhat.com>
14757
14758 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
14759 of errno.
14760
968dad0a
UD
147612011-01-19 Ulrich Drepper <drepper@gmail.com>
14762
9f94d2ea 14763 [BZ #11724]
968dad0a
UD
14764 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
14765 of constructors.
14766 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
14767 of destructors.
14768 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
14769
14770 [BZ #11724]
14771 * elf/Makefile: Add rules to build and run new test.
14772 * elf/tst-initorder.c: New file.
14773 * elf/tst-initorder.exp: New file.
14774 * elf/tst-initordera1.c: New file.
14775 * elf/tst-initordera2.c: New file.
14776 * elf/tst-initordera3.c: New file.
14777 * elf/tst-initordera4.c: New file.
14778 * elf/tst-initorderb1.c: New file.
14779 * elf/tst-initorderb2.c: New file.
14780 * elf/tst-order-a1.c: New file.
14781 * elf/tst-order-a2.c: New file.
14782 * elf/tst-order-a3.c: New file.
14783 * elf/tst-order-a4.c: New file.
14784 * elf/tst-order-b1.c: New file.
14785 * elf/tst-order-b2.c: New file.
14786 * elf/tst-order-main.c: New file.
14787 New test case by George Gensure <werkt0@gmail.com>.
14788
86e92359
UD
147892010-10-01 Andreas Schwab <schwab@redhat.com>
14790
14791 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
14792 decoding ACE if AI_CANONIDN.
14793
5d5732b0
UD
147942011-01-18 Ulrich Drepper <drepper@gmail.com>
14795
14796 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
14797
a77e8cbc
UD
147982011-01-17 Ulrich Drepper <drepper@gmail.com>
14799
6392473f
UD
14800 * version.h (RELEASE): Bump for 2.13 release.
14801 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
14802
620a0529
UD
14803 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
14804
18ba70a5
UD
14805 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
14806 MADV_NOHUGEPAGE.
32465c3e
UD
14807 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
14808 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
14809 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
14810 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
14811 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
14812 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
14813
c0dafcf1
UD
14814 * posix/getconf.c: Update copyright year.
14815 * catgets/gencat.c: Likewise.
14816 * csu/version.c: Likewise.
14817 * debug/catchsegv.sh: Likewise.
14818 * debug/xtrace.sh: Likewise.
14819 * elf/ldconfig.c: Likewise.
14820 * elf/ldd.bash.in: Likewise.
14821 * elf/sprof.c (print_version): Likewise.
14822 * iconv/iconv_prog.c: Likewise.
14823 * iconv/iconvconfig.c: Likewise.
14824 * locale/programs/locale.c: Likewise.
14825 * locale/programs/localedef.c: Likewise.
14826 * malloc/memusage.sh: Likewise.
14827 * malloc/mtrace.pl: Likewise.
14828 * nscd/nscd.c (print_version): Likewise.
14829 * nss/getent.c: Likewise.
14830
a77e8cbc
UD
14831 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
14832 PF_CAIF, and PF_ALG.
14833 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
14834
77e8bddf
AS
148352011-01-16 Andreas Schwab <schwab@linux-m68k.org>
14836
1f20b93a
AS
14837 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
14838 (modules-names): Use them.
14839 (ifunc-test-modules, ifunc-pie-tests): Define.
14840 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
14841 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
14842 (test-extras): Likewise.
14843 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
14844 $(compile-command.c).
14845 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
14846 (all-built-dso): Define.
14847 (check-textrel.out, check-execstack.out): Depend on it.
14848
77e8bddf
AS
14849 * configure.in: Don't override --enable-multi-arch.
14850
bc425b33
UD
148512011-01-15 Ulrich Drepper <drepper@gmail.com>
14852
14853 [BZ #6812]
14854 * nscd/hstcache.c (tryagain): Define.
14855 (cache_addhst): Return tryagain not notfound for temporary errors.
14856 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
14857 failed.
14858
794c3ad3
UD
148592011-01-14 Ulrich Drepper <drepper@gmail.com>
14860
70181fdd
UD
14861 [BZ #10563]
14862 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
14863 to make the syscall.
14864 * sysdeps/unix/sysv/linux/setgroups.c: New file.
14865
794c3ad3
UD
14866 [BZ #12378]
14867 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
14868 and fall back to matching as normal character if the string ends before
14869 the matching ']' is found. This is what POSIX requires.
14870 * posix/testfnm.c: Adjust test result.
14871 * posix/globtest.sh: Adjust test result. Add new test.
14872 * posix/tst-fnmatch.input: Likewise.
14873 * posix/tst-fnmatch2.c: Add new test.
14874
68dc9497
AS
148752010-12-28 Andreas Schwab <schwab@linux-m68k.org>
14876
14877 * elf/Makefile (check-execstack): Revert last change. Depend on
14878 check-execstack.h.
14879 (check-execstack.h): New target.
14880 (generated): Add check-execstack.h.
14881 * elf/check-execstack.c: Include "check-execstack.h".
14882 (main): Revert last change.
14883 (handle_file): Return zero if GNU_STACK is absent and
14884 DEFAULT_STACK_PERMS doesn't include PF_X.
14885
451f001b
UD
148862011-01-13 Ulrich Drepper <drepper@gmail.com>
14887
cfa28e56
UD
14888 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
14889 in child fails because the descriptor is already closed.
8cf8ce17
UD
14890 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
14891 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
14892 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 14893
1086d70d
UD
14894 [BZ #12397]
14895 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
14896 syscall.
14897
451f001b
UD
14898 [BZ #10484]
14899 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
14900 temporary buffer used to handle multi lookups locally.
a85b5cb4 14901 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 14902
08769175
UD
149032011-01-12 Ulrich Drepper <drepper@gmail.com>
14904
14905 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
14906 loader is ld.so.
14907
5e49c52e
UD
149082011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
14909
14910 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
14911 alignment for SSE2.
14912
60522a5f
UD
149132011-01-12 Ulrich Drepper <drepper@gmail.com>
14914
14915 [BZ #12394]
14916 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
14917 characters. When rounding increased number of integer digits recompute
14918 number of groups.
14919 * stdio-common/tst-grouping.c: New file.
14920 * stdio-common/Makefile: Add rules to build and run tst-grouping.
14921
f257bbd7
UD
149222011-01-09 Ulrich Drepper <drepper@gmail.com>
14923
14924 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
14925 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
14926
14927 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
14928 void.
14929 * bits/select.h: Likewise.
14930
fa9c15cb
UD
149312011-01-08 Ulrich Drepper <drepper@gmail.com>
14932
14933 * po/ja.po: Update from translation team.
14934
16c2895f
DM
149352011-01-04 David S. Miller <davem@sunset.davemloft.net>
14936
14937 [BZ #11155]
14938 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
14939 implementation just like for lxstat, fxstatat, et al.
14940
2543fef2
JM
149412010-12-27 Jim Meyering <meyering@redhat.com>
14942
14943 [BZ #12348]
14944 * posix/regexec.c (build_trtable): Return failure indication upon
14945 calloc failure. Otherwise, re_search_internal could infloop on OOM.
14946
98727dbe
UD
149472010-12-25 Ulrich Drepper <drepper@gmail.com>
14948
5bd6dc5c
UD
14949 [BZ #12201]
14950 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
14951 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
14952 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
14953 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
14954
97983464
UD
14955 [BZ #12207]
14956 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
14957
98727dbe
UD
14958 [BZ #12204]
14959 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
14960 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
14961
4a531bb0
L
149622010-12-15 H.J. Lu <hongjiu.lu@intel.com>
14963
14964 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
14965 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
14966 script has SORT_BY_INIT_PRIORITY.
14967 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
14968 NO_CTORS_DTORS_SECTIONS is defined.
14969 * elf/soinit.c: Likewise.
14970 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
14971 NO_CTORS_DTORS_SECTIONS is defined.
14972 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
14973 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
14974 * sysdeps/sh/init-first.c: Likewise.
14975 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
14976
07eb4b71
UD
149772010-12-24 Ulrich Drepper <drepper@gmail.com>
14978
14979 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
14980 always use the slow path.
14981
30950a5f
RA
149822010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
14983
14984 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
14985 similar rule which adds the sysdep directories to the header search in
14986 order to pick up the correct platform stackinfo.h.
14987 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
14988 perform test if it is, otherwise return successfully without testing.
14989 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
14990 DEFAULT_STACK_PERMS define in stackinfo.h.
14991 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
14992 defined in stackinfo.h.
14993 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
14994 DEFAULT_STACK_PERMS defined in stackinfo.h.
14995 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
14996 * sysdeps/ia64/stackinfo.h: Likewise.
14997 * sysdeps/s390/stackinfo.h: Likewise.
14998 * sysdeps/sh/stackinfo.h: Likewise.
14999 * sysdeps/sparc/stackinfo.h: Likewise.
15000 * sysdeps/x86_64/stackinfo.h: Likewise.
15001 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
15002 PF_X for powerpc64. Retain PF_X for powerpc32.
15003
db753e2c
UD
150042010-12-19 Ulrich Drepper <drepper@gmail.com>
15005
14b697f7
UD
15006 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
15007 accurately.
db753e2c
UD
15008 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
15009 GETDENTS_64BIT_ALIGNED.
15010
28300719
UD
150112010-12-14 Ulrich Drepper <dreper@gmail.com>
15012
14b697f7 15013 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 15014
4f197237
AS
150152010-12-10 Andreas Schwab <schwab@redhat.com>
15016
dbb0472f
AS
15017 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
15018 _GNU_SOURCE.
15019
4f197237
AS
15020 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
15021 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
15022 Remove __restrict.
15023 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
15024 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
15025
fb88ac72
UD
150262010-12-09 Ulrich Drepper <drepper@gmail.com>
15027
15028 [BZ #11655]
15029 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
15030 are initialized.
15031
42acbb92
JJ
150322010-12-09 Jakub Jelinek <jakub@redhat.com>
15033
15034 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
15035
c038d98d
UD
150362010-12-03 Ulrich Drepper <drepper@gmail.com>
15037
15038 * po/it.po: Update from translation team.
15039
3a4a2499
L
150402010-12-01 H.J. Lu <hongjiu.lu@intel.com>
15041
15042 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
15043 unused codes.
15044
1e24cf6e
UD
150452010-11-30 Ulrich Drepper <drepper@gmail.com>
15046
15047 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
15048
a7690819
AS
150492010-11-24 Andreas Schwab <schwab@redhat.com>
15050
15051 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
15052 specially.
15053 (gaih_getanswer_slice): Likewise.
15054
3bf8d1b1
JJ
150552010-10-20 Jakub Jelinek <jakub@redhat.com>
15056
15057 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
15058
6db52fbb
PB
150592010-05-31 Petr Baudis <pasky@suse.cz>
15060
15061 [BZ #11149]
15062 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
15063 silently even in the chroot mode.
15064
eaca7569
UD
150652010-11-22 Ulrich Drepper <drepper@gmail.com>
15066
15067 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
15068 last patch a bit. Pretty printing
15069
3056dcdb
UD
150702010-05-31 Petr Baudis <pasky@suse.cz>
15071
15072 [BZ #10085]
15073 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
15074 initialization of skip_initgroups_dyn.
15075
cf7c9078
UD
150762010-11-19 Ulrich Drepper <drepper@gmail.com>
15077
15078 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
15079 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
15080
a1fb5e3e
UD
150812010-11-16 Ulrich Drepper <drepper@gmail.com>
15082
15083 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
15084
3540d66b
AS
150852010-11-11 Andreas Schwab <schwab@redhat.com>
15086
15087 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
15088 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
15089 (tst-fnmatch-ENV): Set MALLOC_TRACE.
15090 ($(objpfx)tst-fnmatch-mem): New rule.
15091 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
15092 * posix/tst-fnmatch.c (main): Call mtrace.
15093
13b69574
L
150942010-11-11 H.J. Lu <hongjiu.lu@intel.com>
15095
15096 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
15097 Support Intel processor model 6 and model 0x2c.
15098
da93d214
LM
150992010-11-10 Luis Machado <luisgpm@br.ibm.com>
15100
15101 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
15102 signed comparison.
15103
8ca52c6e
L
151042010-11-09 H.J. Lu <hongjiu.lu@intel.com>
15105
15106 [BZ #12205]
15107 * string/test-strncasecmp.c (check_result): New function.
15108 (do_one_test): Use it.
15109 (check1): New function.
15110 (test_main): Use it.
15111 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
15112 Support strcasecmp and strncasecmp.
15113
69da074d
UD
151142010-11-08 Ulrich Drepper <drepper@gmail.com>
15115
15116 [BZ #12194]
15117 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
15118 * sysdeps/x86_64/bits/byteswap.h: Likewise.
15119
ff02d528
L
151202010-11-07 H.J. Lu <hongjiu.lu@intel.com>
15121
15122 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
15123 IFUNC support.
15124 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
15125 memset-x86-64.
15126 * sysdeps/x86_64/multiarch/bzero.S: New file.
15127 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
15128 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
15129 * sysdeps/x86_64/multiarch/memset.S: New file.
15130 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
15131 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
15132 Set bit_Prefer_SSE_for_memop for Intel processors.
15133 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
15134 Define.
15135 (index_Prefer_SSE_for_memop): Define.
15136 (HAS_PREFER_SSE_FOR_MEMOP): Define.
15137
344d0b54
LM
151382010-11-04 Luis Machado <luisgpm@br.ibm.com>
15139
15140 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
15141 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
15142
c0dde15b
UD
151432010-11-03 H.J. Lu <hongjiu.lu@intel.com>
15144
15145 [BZ #12191]
15146 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
15147 (__x86_64_raw_data_cache_size_half): Likewise.
15148 (__x86_64_raw_shared_cache_size): Likewise.
15149 (__x86_64_raw_shared_cache_size_half): Likewise.
15150
15151 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
15152 (__x86_64_raw_data_cache_size_half): Likewise.
15153 (__x86_64_raw_shared_cache_size): Likewise.
15154 (__x86_64_raw_shared_cache_size_half): Likewise.
15155 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
15156 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
15157 and __x86_64_raw_shared_cache_size_half. Round
15158 __x86_64_data_cache_size_half, __x86_64_data_cache_size
15159 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
15160 to multiple of 256 bytes.
15161
0e516e0e
MS
151622010-11-03 Ulrich Drepper <drepper@gmail.com>
15163
15164 [BZ #12167]
15165 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
15166 of inacessible symlinks. Verify result of symlink before returning it.
15167 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
15168 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
15169
0e012e87
ER
151702010-10-28 Erich Ritz <erichritz@gmail.com>
15171
15172 * math/math.h (isinf): Fix typo in comment.
15173
de0ff7bc
UD
151742010-11-01 Ulrich Drepper <drepper@gmail.com>
15175
15176 * po/da.po: Update from translation team.
15177
fa41c84d
UD
151782010-10-26 Ulrich Drepper <drepper@gmail.com>
15179
15180 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
15181 is added to the list.
15182
f0967738
AK
151832010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15184 Ulrich Drepper <drepper@gmail.com>
15185
15186 * elf/dl-object.c (_dl_new_object): Don't append the new object to
15187 the global list here. Move code to...
15188 (_dl_add_to_namespace_list): ...here. New function.
15189 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
15190 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
15191 * elf/dl-load.c (lose): Don't remove the element from the list.
15192 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
15193 (_dl_map_object): Likewise.
15194
151952010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
15196
15197 [BZ #12159]
15198 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
15199 into all bytes of SSE register.
15200 Patch by Richard Li <richardpku@gmail.com>.
15201
f0967738 152022010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
15203
15204 [BZ #12140]
15205 * malloc/malloc.c (_int_free): Fill correct number of bytes when
15206 perturbing.
15207
d0b9e94f
MB
152082010-10-20 Michael B. Brutman <brutman@us.ibm.com>
15209
15210 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
15211 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
15212 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
15213 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
15214 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
15215 submachine.
15216 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
15217
8e9f92e9
AS
152182010-10-22 Andreas Schwab <schwab@redhat.com>
15219
15220 * include/dlfcn.h (__RTLD_SECURE): Define.
15221 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
15222 mode & __RTLD_SECURE instead.
15223 (open_path): Rename preloaded parameter to secure.
15224 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
15225 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
15226 * elf/dl-deps.c (openaux): Likewise.
15227 * elf/rtld.c (struct map_args): Remove is_preloaded.
15228 (map_doit): Don't use it.
15229 (dl_main): Likewise.
15230 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
15231 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
15232
bc96fbda
AS
152332010-09-09 Andreas Schwab <schwab@redhat.com>
15234
15235 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
15236 (sysd-rules-targets): Remove duplicates.
15237 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
15238 rtld-%.$o dependency.
15239
22cd1c9b
AS
152402010-10-18 Andreas Schwab <schwab@redhat.com>
15241
15242 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
15243 _dl_map_object do it.
15244
18edac48
UD
152452010-10-19 Ulrich Drepper <drepper@gmail.com>
15246
15247 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
15248 fast fma builtins, define the macros in the C99 standard.
15249 (FP_FAST_FMAF): Likewise.
15250 (FP_FAST_FMAL): Likewise.
15251 * sysdeps/x86_64/bits/mathdef.h: Likewise.
15252
15253 * bits/mathdef.h: Update copyright year.
15254 * sysdeps/powerpc/bits/mathdef.h: Likewise.
15255
d2050124
MM
152562010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
15257
15258 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
15259 builtins, define the macros in the C99 standard.
15260 (FP_FAST_FMAF): Likewise.
15261 (FP_FAST_FMAL): Likewise.
15262 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
15263 multiply/add.
15264 (FP_FAST_FMAF): Likewise.
15265
475facd1
JJ
152662010-10-15 Jakub Jelinek <jakub@redhat.com>
15267
15268 [BZ #3268]
15269 * math/libm-test.inc (fma_test): Some new testcases.
15270 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
15271 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
15272 y and infinite z. Do multiplication by C already in long double.
15273 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
15274 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
15275 y and infinite z. Do bitwise or of inexact bit into u.d.
15276 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
15277 * sysdeps/i386/fpu/s_fmaf.S: Removed.
15278 * sysdeps/i386/fpu/s_fma.S: Removed.
15279 * sysdeps/i386/fpu/s_fmal.S: Removed.
15280
7c08a05c
JJ
152812010-10-16 Jakub Jelinek <jakub@redhat.com>
15282
15283 [BZ #3268]
15284 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
15285 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
15286 computation is not scheduled after fetestexcept. Fix value
15287 of minimum denormal long double.
15288
f3f7372d
JJ
152892010-10-14 Jakub Jelinek <jakub@redhat.com>
15290
15291 [BZ #3268]
15292 * math/libm-test.inc (fma_test): Add some more tests.
15293 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
15294 correctly.
15295
14d43591
AS
152962010-10-15 Andreas Schwab <schwab@redhat.com>
15297
15298 * scripts/data/localplt-s390-linux-gnu.data: New file.
15299 * scripts/data/localplt-s390x-linux-gnu.data: New file.
15300
5e908464
JJ
153012010-10-13 Jakub Jelinek <jakub@redhat.com>
15302
15303 [BZ #3268]
15304 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
15305 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
15306 instead of dbl-64.
15307 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
15308 inlines.
15309 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
15310 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
15311 if one of x and y is very large and the other is subnormal.
15312 * sysdeps/s390/fpu/s_fmaf.c: New file.
15313 * sysdeps/s390/fpu/s_fma.c: New file.
15314 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
15315 * sysdeps/powerpc/fpu/s_fma.S: New file.
15316 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
15317 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
15318 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
15319
153202010-10-12 Jakub Jelinek <jakub@redhat.com>
15321
15322 [BZ #3268]
15323 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
15324 fma tests.
15325 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
15326 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
15327 * sysdeps/i386/i686/multiarch/s_fma.c: Include
15328 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
15329 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
15330 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
15331 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
15332
b833d51f
UD
153332010-10-12 Ulrich Drepper <drepper@redhat.com>
15334
15335 [BZ #12078]
15336 * posix/regcomp.c (parse_branch): One more memory leak plugged.
15337 * posix/bug-regex31.input: Add test case.
15338
1751705d
UD
153392010-10-11 Ulrich Drepper <drepper@gmail.com>
15340
e9b9cbf5
UD
15341 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
15342 * posix/bug-regex31.input: New file.
15343
15344 [BZ #12078]
15345 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
15346 (parse_sub_exp): Fix last change, use postorder.
15347
ef06edbe
UD
15348 * posix/bug-regex31.c: New file.
15349 * posix/Makefile: Add rules to build and run bug-regex31.
15350
a129c80d
UD
15351 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
15352
15353 [BZ #12078]
15354 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
15355
b76b818e
UD
15356 [BZ #12108]
15357 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
15358 to have entries in sys_siglist.
15359
1751705d
UD
15360 [BZ #12093]
15361 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
15362 be NULL.
15363
9ff8d36f
JJ
153642010-10-07 Jakub Jelinek <jakub@redhat.com>
15365
15366 [BZ #3268]
15367 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
15368 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
15369 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
15370 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
15371 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
15372 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
15373 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
15374 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
15375 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
15376 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
15377 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
15378 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
15379 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
15380 * math/ftestexcept.c (fetestexcept): Likewise.
15381 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
15382 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
15383 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
15384 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
15385 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
15386 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
15387 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
15388
af325969
UD
153892010-10-11 Ulrich Drepper <drepper@gmail.com>
15390
c579b202 15391 [BZ #12107]
af325969
UD
15392 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
15393 newline.
15394
67a67b95
UD
153952010-10-06 Ulrich Drepper <drepper@gmail.com>
15396
15397 * string/bug-strstr1.c: New file.
15398 * string/Makefile: Add rules to build and run bug-strstr1.
15399
5fb308bc
EB
154002010-10-05 Eric Blake <eblake@redhat.com>
15401
15402 [BZ #12092]
15403 * string/str-two-way.h (two_way_long_needle): Always clear memory
15404 when skipping input due to the shift table.
15405
45db99c7
UD
154062010-10-03 Ulrich Drepper <drepper@gmail.com>
15407
3b111893
UD
15408 [BZ #12005]
15409 * malloc/mcheck.c: Handle large requests.
15410
45db99c7
UD
15411 [BZ #12077]
15412 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
15413 for strncmp and strncasecmp.
15414 * string/stratcliff.c: Add tests for strcmp and strncmp.
15415 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
15416
cf7a1eb8
NI
154172010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
15418
15419 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
15420 __set_fpscr.
15421
6484ba5e
AJ
154222010-09-30 Andreas Jaeger <aj@suse.de>
15423
15424 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
15425 (CGROUP_SUPER_MAGIC): Define.
15426 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
15427 Handle btrfs and cgroup file systems.
15428 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
15429 Likewise.
15430
91c42559
LM
154312010-09-27 Luis Machado <luisgpm@br.ibm.com>
15432
15433 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
15434 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
15435
87a97932
AK
154362010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15437
15438 [BZ #12067]
15439 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
15440 trying to locate the ELF header.
15441
c21cc9bc
AS
154422010-09-27 Andreas Schwab <schwab@redhat.com>
15443
15444 [BZ #11611]
15445 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
15446 Mask out sign-bit copies when constructing f_fsid.
15447
315970f6
PB
154482010-09-24 Petr Baudis <pasky@suse.cz>
15449
15450 * debug/stack_chk_fail_local.c: Add missing licence exception.
15451 * debug/warning-nop.c: Likewise.
15452
1ac7a2c7
JM
154532010-09-15 Joseph Myers <joseph@codesourcery.com>
15454
15455 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
15456 implementing getdents64 using getdents syscall, set d_type if
15457 __ASSUME_GETDENTS32_D_TYPE.
15458
56801c50
AS
154592010-09-16 Andreas Schwab <schwab@redhat.com>
15460
15461 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
15462 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
15463
dda51327
UD
154642010-09-21 Ulrich Drepper <drepper@redhat.com>
15465
15466 [BZ #12037]
15467 * posix/unistd.h: Undo change of feature selection for ftruncate from
15468 2010-01-11.
15469
8ffcee4a
UD
154702010-09-20 Ulrich Drepper <drepper@redhat.com>
15471
a545ecd9 15472 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
15473 detection.
15474
e24f0a8b
AS
154752010-09-20 Andreas Schwab <schwab@redhat.com>
15476
15477 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
15478 fanotify_mark.
15479 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
15480
7291c56f
AS
154812010-09-14 Andreas Schwab <schwab@redhat.com>
15482
15483 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
15484 variables after CHECK_SP call.
15485 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
15486
bc5fb037
AS
154872010-09-13 Andreas Schwab <schwab@redhat.com>
15488 Ulrich Drepper <drepper@redhat.com>
15489
15490 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
15491 re-relocationg ld.so.
15492 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
15493 _dl_init_paths call.
15494 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
15495 here anymore.
15496
e66e7419
UD
154972010-09-14 Ulrich Drepper <drepper@redhat.com>
15498
15499 * resolv/res_init.c (__res_vinit): Count the default server we added.
15500
c044aa75
CLT
155012010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
15502 Ulrich Drepper <drepper@redhat.com>
15503
15504 [BZ #11968]
15505 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
15506 (____longjmp_chk): Use %ebx for saving value across system call.
15507 Add unwind info.
15508
32cf4069
AS
155092010-09-06 Andreas Schwab <schwab@redhat.com>
15510
15511 * manual/Makefile: Don't mix pattern rules with normal rules.
15512
817328ee
AS
155132010-09-05 Andreas Schwab <schwab@linux-m68k.org>
15514
15515 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
15516 operation.
15517 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
15518 * libio/iofopncook.c (_IO_cookie_init): Likewise.
15519 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
15520 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
15521 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
15522 Likewise.
15523
29fddf61
UD
155242010-09-04 Ulrich Drepper <drepper@redhat.com>
15525
15526 [BZ #11979]
15527 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
15528 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
15529
0959ffc9
UD
155302010-09-02 Ulrich Drepper <drepper@redhat.com>
15531
15532 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
15533 * sysdeps/x86_64/addmul_1.S: Likewise.
15534 * sysdeps/x86_64/lshift.S: Likewise.
15535 * sysdeps/x86_64/mul_1.S: Likewise.
15536 * sysdeps/x86_64/rshift.S: Likewise.
15537 * sysdeps/x86_64/sub_n.S: Likewise.
15538 * sysdeps/x86_64/submul_1.S: Likewise.
15539
ece29840
ST
155402010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
15541
0959ffc9
UD
15542 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
15543 Define __sched_param instead of SCHED_* and sched_param when
ece29840 15544 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 15545 * bits/sched.h [__need_schedparam]
ece29840 15546 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
15547 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
15548 (__defined_schedparam): Define to 1.
ece29840
ST
15549 (__sched_param): New structure, identical to sched_param.
15550 (__need_schedparam): Undefine.
15551
e53a31fe
MF
155522010-08-31 Mike Frysinger <vapier@gentoo.org>
15553
fdc0c10d
MF
15554 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
15555 (epoll_create1): Declare.
15556
e53a31fe
MF
15557 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
15558
a726d796
AS
155592010-08-31 Andreas Schwab <schwab@redhat.com>
15560
15561 [BZ #7066]
15562 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
15563 shifting retval into place.
15564
2f3e3dc7
UD
155652010-09-01 Ulrich Drepper <drepper@redhat.com>
15566
f2933da9
UD
15567 * nis/rpcsvc/nis.h: Update copyright notice.
15568 * nis/rpcsvc/nis.x: Likewise.
15569 * nis/rpcsvc/nis_callback.h: Likewise.
15570 * nis/rpcsvc/nis_callback.x: Likewise.
15571 * nis/rpcsvc/nis_object.x: Likewise.
15572 * nis/rpcsvc/nis_tags.h: Likewise.
15573 * nis/rpcsvc/yp.h: Likewise.
15574 * nis/rpcsvc/yp.x: Likewise.
15575 * nis/rpcsvc/ypupd.h: Likewise.
15576 * nis/yp_xdr.c: Likewise.
15577 * nis/ypupdate_xdr.c: Likewise.
15578
2f3e3dc7
UD
15579 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
15580 mainly the body of pmap_getport. Add parameters to specify timeouts.
15581 (pmap_getport): Use __libc_rpc_getport.
15582 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
15583 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
15584 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
15585
f3dcc2f9
AS
155862010-08-31 Andreas Schwab <schwab@linux-m68k.org>
15587
15588 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
15589 fanotify_mark.
15590
6d34eb5b
RM
155912010-08-27 Roland McGrath <roland@redhat.com>
15592
15593 * sysdeps/i386/i686/multiarch/Makefile
15594 (CFLAGS-varshift.c): New variable.
15595
9ea3de11
UD
155962010-08-27 Ulrich Drepper <drepper@redhat.com>
15597
c96d23fc
UD
15598 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
15599 * sysdeps/i386/i686/multiarch/varshift.c: New file.
15600
9ea3de11
UD
15601 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
15602
15603 * sysdeps/x86_64/strlen.S: Minimal code improvement.
15604
623aac7f
L
156052010-08-26 H.J. Lu <hongjiu.lu@intel.com>
15606
15607 * sysdeps/x86_64/strlen.S: Unroll the loop.
15608 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
15609 strlen-sse2 strlen-sse2-bsf.
15610 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
15611 __strlen_no_bsf if bit_Slow_BSF is set.
15612 (__strlen_sse42): Removed.
15613 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
15614 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
15615
8b2b7715
RM
156162010-08-25 Roland McGrath <roland@redhat.com>
15617
15618 * sysdeps/x86_64/multiarch/varshift.S: File removed.
15619 * sysdeps/x86_64/multiarch/varshift.c: New file.
15620 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
15621 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
15622 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
15623 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
15624
e73015f2
L
156252010-08-25 H.J. Lu <hongjiu.lu@intel.com>
15626
15627 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
15628 strlen-sse2 strlen-sse2-bsf.
15629 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
15630 __strlen_sse2_bsf if bit_Slow_BSF is unset.
15631 (__strlen_sse2): Removed.
15632 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
15633 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
15634 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
15635 bit_Slow_BSF for Atom.
15636 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
15637 (index_Slow_BSF): Define.
15638 (HAS_SLOW_BSF): Define.
15639
df24a73e
UD
156402010-08-25 Ulrich Drepper <drepper@redhat.com>
15641
15642 [BZ #10851]
15643 * resolv/res_init.c (__res_vinit): When no server address at all
15644 is given default to loopback.
15645
f2ac4868
RM
156462010-08-24 Roland McGrath <roland@redhat.com>
15647
09055553
RM
15648 * configure.in: Remove config-name.h generation.
15649 * configure: Regenerated.
15650 * config-name.in: File removed.
15651 * scripts/config-uname.sh: New file.
15652 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
15653 ($(objdir)config-name.h): New target.
15654
f2ac4868
RM
15655 * sunrpc/rpc_parse.h: Avoid nested comment.
15656
73f27d5e
RH
156572010-08-24 Richard Henderson <rth@redhat.com>
15658 Ulrich Drepper <drepper@redhat.com>
15659 H.J. Lu <hongjiu.lu@intel.com>
15660
15661 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
15662 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
15663 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
15664 Replace _mm_srli_si128 with __m128i_shift_right. Replace
15665 _mm_alignr_epi8 with _mm_loadu_si128.
15666 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
15667 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
15668 (__m128i_shift_right): Removed.
15669 * sysdeps/i386/i686/multiarch/varshift.h: New file.
15670 * sysdeps/i386/i686/multiarch/varshift.S: New file.
15671 * sysdeps/x86_64/multiarch/varshift.h: New file.
15672 * sysdeps/x86_64/multiarch/varshift.S: New file.
15673
84b9230c
MF
156742010-08-21 Mike Frysinger <vapier@gentoo.org>
15675
15676 * configure.in: Move assembler checks to before sysdep dir checking.
15677
9bbd0ddc
PB
156782010-08-20 Petr Baudis <pasky@suse.cz>
15679
15680 * LICENSES: Sync the sunrpc license.
15681
9da4bb31
UD
156822010-08-19 Ulrich Drepper <drepper@redhat.com>
15683
a7ab6ec8
UD
15684 * sunrpc/auth_des.c: Update copyright notice once again.
15685 * sunrpc/auth_none.c: Likewise.
15686 * sunrpc/auth_unix.c: Likewise.
15687 * sunrpc/authdes_prot.c: Likewise.
15688 * sunrpc/authuxprot.c: Likewise.
15689 * sunrpc/bindrsvprt.c: Likewise.
15690 * sunrpc/clnt_gen.c: Likewise.
15691 * sunrpc/clnt_perr.c: Likewise.
15692 * sunrpc/clnt_raw.c: Likewise.
15693 * sunrpc/clnt_simp.c: Likewise.
15694 * sunrpc/clnt_tcp.c: Likewise.
15695 * sunrpc/clnt_udp.c: Likewise.
15696 * sunrpc/clnt_unix.c: Likewise.
15697 * sunrpc/des_crypt.c: Likewise.
15698 * sunrpc/des_soft.c: Likewise.
15699 * sunrpc/get_myaddr.c: Likewise.
15700 * sunrpc/getrpcport.c: Likewise.
15701 * sunrpc/key_call.c: Likewise.
15702 * sunrpc/key_prot.c: Likewise.
15703 * sunrpc/openchild.c: Likewise.
15704 * sunrpc/pm_getmaps.c: Likewise.
15705 * sunrpc/pm_getport.c: Likewise.
15706 * sunrpc/pmap_clnt.c: Likewise.
15707 * sunrpc/pmap_prot.c: Likewise.
15708 * sunrpc/pmap_prot2.c: Likewise.
15709 * sunrpc/pmap_rmt.c: Likewise.
15710 * sunrpc/rpc/auth.h: Likewise.
15711 * sunrpc/rpc/auth_unix.h: Likewise.
15712 * sunrpc/rpc/clnt.h: Likewise.
15713 * sunrpc/rpc/des_crypt.h: Likewise.
15714 * sunrpc/rpc/key_prot.h: Likewise.
15715 * sunrpc/rpc/netdb.h: Likewise.
15716 * sunrpc/rpc/pmap_clnt.h: Likewise.
15717 * sunrpc/rpc/pmap_prot.h: Likewise.
15718 * sunrpc/rpc/pmap_rmt.h: Likewise.
15719 * sunrpc/rpc/rpc.h: Likewise.
15720 * sunrpc/rpc/rpc_des.h: Likewise.
15721 * sunrpc/rpc/rpc_msg.h: Likewise.
15722 * sunrpc/rpc/svc.h: Likewise.
15723 * sunrpc/rpc/svc_auth.h: Likewise.
15724 * sunrpc/rpc/types.h: Likewise.
15725 * sunrpc/rpc/xdr.h: Likewise.
15726 * sunrpc/rpc_clntout.c: Likewise.
15727 * sunrpc/rpc_cmsg.c: Likewise.
15728 * sunrpc/rpc_common.c: Likewise.
15729 * sunrpc/rpc_cout.c: Likewise.
15730 * sunrpc/rpc_dtable.c: Likewise.
15731 * sunrpc/rpc_hout.c: Likewise.
15732 * sunrpc/rpc_main.c: Likewise.
15733 * sunrpc/rpc_parse.c: Likewise.
15734 * sunrpc/rpc_parse.h: Likewise.
15735 * sunrpc/rpc_prot.c: Likewise.
15736 * sunrpc/rpc_sample.c: Likewise.
15737 * sunrpc/rpc_scan.c: Likewise.
15738 * sunrpc/rpc_scan.h: Likewise.
15739 * sunrpc/rpc_svcout.c: Likewise.
15740 * sunrpc/rpc_tblout.c: Likewise.
15741 * sunrpc/rpc_util.c: Likewise.
15742 * sunrpc/rpc_util.h: Likewise.
15743 * sunrpc/rpcinfo.c: Likewise.
15744 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
15745 * sunrpc/rpcsvc/key_prot.x: Likewise.
15746 * sunrpc/rpcsvc/klm_prot.x: Likewise.
15747 * sunrpc/rpcsvc/mount.x: Likewise.
15748 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
15749 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
15750 * sunrpc/rpcsvc/rex.x: Likewise.
15751 * sunrpc/rpcsvc/rstat.x: Likewise.
15752 * sunrpc/rpcsvc/rusers.x: Likewise.
15753 * sunrpc/rpcsvc/sm_inter.x: Likewise.
15754 * sunrpc/rpcsvc/spray.x: Likewise.
15755 * sunrpc/rpcsvc/yppasswd.x: Likewise.
15756 * sunrpc/rtime.c: Likewise.
15757 * sunrpc/svc.c: Likewise.
15758 * sunrpc/svc_auth.c: Likewise.
15759 * sunrpc/svc_authux.c: Likewise.
15760 * sunrpc/svc_raw.c: Likewise.
15761 * sunrpc/svc_run.c: Likewise.
15762 * sunrpc/svc_simple.c: Likewise.
15763 * sunrpc/svc_tcp.c: Likewise.
15764 * sunrpc/svc_udp.c: Likewise.
15765 * sunrpc/svc_unix.c: Likewise.
15766 * sunrpc/svcauth_des.c: Likewise.
15767 * sunrpc/xcrypt.c: Likewise.
15768 * sunrpc/xdr.c: Likewise.
15769 * sunrpc/xdr_array.c: Likewise.
15770 * sunrpc/xdr_float.c: Likewise.
15771 * sunrpc/xdr_mem.c: Likewise.
15772 * sunrpc/xdr_rec.c: Likewise.
15773 * sunrpc/xdr_ref.c: Likewise.
15774 * sunrpc/xdr_sizeof.c: Likewise.
15775 * sunrpc/xdr_stdio.c: Likewise.
15776
9da4bb31
UD
15777 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
15778 handling.
15779
bdaa77bc
AS
157802010-08-19 Andreas Schwab <schwab@redhat.com>
15781
15782 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
15783
fe2f79db
LM
157842010-08-19 Luis Machado <luisgpm@br.ibm.com>
15785
15786 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
15787 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
15788 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
15789 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
15790 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
15791 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
15792 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
15793 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
15794 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
15795 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
15796 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
15797 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
15798 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
15799 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
15800
b9b42ee0
AB
158012010-07-26 Anton Blanchard <anton@samba.org>
15802
15803 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
15804 * malloc/arena.c (heap_trim): Likewise.
15805
1c06ba31
UD
158062010-08-16 Ulrich Drepper <drepper@redhat.com>
15807
15808 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
15809 here. Not...
15810 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
15811 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
15812
f8392f40
L
158132010-08-12 H.J. Lu <hongjiu.lu@intel.com>
15814
15815 * sysdeps/i386/elf/Makefile: New file.
15816
3162f12e
AS
158172010-08-14 Andreas Schwab <schwab@linux-m68k.org>
15818
15819 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
15820 from fanotify_init.
15821 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
15822 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
15823
28c90b2c
UD
158242010-08-15 Ulrich Drepper <drepper@redhat.com>
15825
15826 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
15827 of strncasecmp_l.
1feccb6c 15828 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 15829
ca6bb004
UD
158302010-08-14 Ulrich Drepper <drepper@redhat.com>
15831
e9f82e0d
UD
15832 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
15833 strncase_l-nonascii.
15834 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
15835 Add strncase_l-ssse3.
15836 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
15837 * sysdeps/x86_64/strcmp.S: Likewise.
15838 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
15839 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
15840 * sysdeps/x86_64/strncase.S: New file.
15841 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
15842 * sysdeps/x86_64/strncase_l.S: New file.
15843 * string/Makefile (strop-tests): Add strncasecmp.
15844 * string/test-strncasecmp.c: New file.
15845
15846 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
15847 warning.
15848
ca6bb004
UD
15849 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
15850 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
15851
052fa7b3
AS
158522010-08-14 Andreas Schwab <schwab@linux-m68k.org>
15853
15854 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
15855
962dba78
UD
158562010-08-12 Ulrich Drepper <drepper@redhat.com>
15857
15858 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
15859 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
15860 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
15861
bebff237
AM
158622010-05-01 Alan Modra <amodra@gmail.com>
15863
15864 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
15865 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
15866 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
15867 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
15868 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
15869 tidying. Don't tail-call __sigjmp_save for static lib.
15870 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
15871 save location.
15872 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
15873 (CALL_MCOUNT): Add eh info, and nop after bl.
15874 (TAIL_CALL_SYSCALL_ERROR): New macro.
15875 (PSEUDO_RET): Use it.
15876 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
15877 Correct save location of integer regs and cr.
15878 (_dl_profile_resolve): Correct cr save location. Delete nops
15879 after bl when SHARED. Reduce cfi size a little by better
15880 placement of cfi directives.
15881 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
15882 make a stack frame. Instead use parm save area as a temp.
15883 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
15884 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
15885 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
15886 Don't make a stack frame for parent, use parm save area.
15887 Increase child stack frame to 112 bytes. Don't save unused reg,
15888 and adjust reg usage. Set up cfi on error recovery and
15889 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
15890 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
15891 (__makecontext): Add dummy nop after jump to exit.
15892 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
15893 Use correct parm save area and cr save, reduce stack frame.
15894 Correct cfi for possible PSEUDO_RET frame setup.
15895 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
15896 Branch to local label emitted by PSEUDO_RET rather than
15897 __syscall_error.
15898
02637374
AS
158992010-08-12 Andreas Schwab <schwab@redhat.com>
15900
15901 [BZ #11904]
15902 * locale/programs/locale.c (print_assignment): New function.
15903 (show_locale_vars): Use it.
15904
c3e2f19b
UD
159052010-08-11 Ulrich Drepper <drepper@redhat.com>
15906
3cdaa6ad
UD
15907 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
15908 field.
15909 (struct statfs64): Likewise.
15910 (_STATFS_F_FLAGS): Define.
15911 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
15912 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
15913 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
15914 (ST_VALID): Define locally.
15915 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
15916 __statvfs_getflags, use the provided value.
15917 * sysdeps/unix/sysv/linux/kernel-features.h: Define
15918 __ASSUME_STATFS_F_FLAGS.
15919
754f7da3
UD
15920 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
15921
10b3bedc
UD
15922 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
15923 Add sys/fanotify.h.
15924 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
15925 fanotify_mask for GLIBC_2.13.
15926 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
15927 fanotify_init and fanotify_mark.
15928 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
15929 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
15930
c08fb0d7
UD
15931 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
15932 Add prlimit.
15933 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
15934 prlimit64 for GLIBC_2.13.
15935 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
15936 prlimit64.
15937 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
15938 syscall.
15939 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
15940 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
15941 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
15942 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
15943 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
15944 add prlimit alias.
15945 * sysdeps/unix/sysv/linux/prlimit.c: New file.
15946
15bac72b
UD
15947 [BZ #11903]
15948 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
15949 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
15950
c3e2f19b
UD
15951 * nss/Makefile: Add rules to build and run tst-nss-test1.
15952 * shlib-versions: Add entry for libnss_test1.
15953 * nss/nss_test1.c: New file.
15954 * nss/tst-nss-test1.c: New file.
15955
15956 * nss/nsswitch.c (__nss_database_custom): Define new variable.
15957 (__nss_configure_lookup): Set appropriate entry in
15958 __nss_configure_lookup to true.
15959 * nss/nsswitch.h: Define enum with indeces of databases in
15960 databases and __nss_database_custom arrays. Declare
15961 __nss_database_custom.
15962 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
15963 to avoid using nscd when custom rules are installed.
15964 * nss/getXXbyYY_r.c: Likewise.
15965 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
15966
15967 * nss/nss_files/files-parse.c: Whitespace fixes.
15968
f15ce4d8
UD
159692010-08-09 Ulrich Drepper <drepper@redhat.com>
15970
15971 [BZ #11883]
15972 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
15973 * posix/fnmatch_loop.c: Likewise.
15974
d22e4cc9
AK
159752010-07-17 Andi Kleen <ak@linux.intel.com>
15976
15977 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
15978 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
15979 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
15980 * Versions.def [GLIBC_2.13]: Add.
15981
805bc17d
UD
159822010-08-06 Ulrich Drepper <drepper@redhat.com>
15983
15984 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
15985 Also fail if tpwd after pwuid call is NULL.
15986
5a42321d
ST
159872010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
15988
15989 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
15990 when converting to ms.
15991
fd3ebeda
ST
159922010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
15993
15994 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
15995 EOPNOTSUPP errors with ENOTTY.
15996 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
15997 EOPNOTSUPP errors with ENOTTY.
15998
73507d3a
UD
159992010-07-31 Ulrich Drepper <drepper@redhat.com>
16000
16001 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
16002 Add strcasecmp_l-ssse3.
16003 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
16004 strcasecmp.
16005 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
16006 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
16007 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
16008
fe36dd02
UD
160092010-07-30 Ulrich Drepper <drepper@redhat.com>
16010
66f6765a
UD
16011 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
16012
42e08a54
UD
16013 * string/Makefile (strop-tests): Add strcasecmp.
16014 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
16015 strcasecmp_l-nonascii.
16016 (gen-as-const-headers): Add locale-defines.sym.
16017 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
16018 * sysdeps/x86_64/strcasecmp.S: New file.
16019 * sysdeps/x86_64/strcasecmp_l.S: New file.
16020 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
16021 * sysdeps/x86_64/locale-defines.sym: New file.
16022 * string/test-strcasecmp.c: New file.
16023
fe36dd02
UD
16024 * string/test-strcasestr.c: Test both ends of the range of characters.
16025 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
16026
48cbc0d6
RM
160272010-07-29 Roland McGrath <roland@redhat.com>
16028
76e6d6bc 16029 [BZ #11856]
48cbc0d6
RM
16030 * manual/locale.texi (Yes-or-No Questions): Fix example code.
16031
880113d9
UD
160322010-07-27 Ulrich Drepper <drepper@redhat.com>
16033
16034 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
16035 for ld.so.
16036
deb9cabb
AS
160372010-07-27 Andreas Schwab <schwab@redhat.com>
16038
16039 * manual/memory.texi (Malloc Tunable Parameters): Document
16040 M_PERTURB.
16041
1c7570ff
RM
160422010-07-26 Roland McGrath <roland@redhat.com>
16043
16044 [BZ #11840]
16045 * configure.in (-fgnu89-inline check): Set and substitute
16046 gnu89_inline, not libc_cv_gnu89_inline.
16047 * configure: Regenerated.
16048 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
16049
24fb0f88
UD
160502010-07-26 Ulrich Drepper <drepper@redhat.com>
16051
16052 * string/test-strnlen.c: New file.
16053 * string/Makefile (strop-tests): Add strnlen.
16054 * string/tester.c (test_strnlen): Add a few more test cases.
16055 * string/tst-strlen.c: Better error reporting.
16056
16057 * sysdeps/x86_64/strnlen.S: New file.
16058
8e96b93a
UD
160592010-07-24 Ulrich Drepper <drepper@redhat.com>
16060
16061 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
16062 lower-latency instructions.
16063
dbc676d4
UD
160642010-07-23 Ulrich Drepper <drepper@redhat.com>
16065
16066 * string/test-strcasestr.c: New file.
16067 * string/test-strstr.c: New file.
16068 * string/Makefile (strop-tests): Add strstr and strcasestr.
16069 * string/str-two-way.h: Don't undefine MAX.
16070 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
16071
f6a31e0e
AS
160722010-07-21 Andreas Schwab <schwab@redhat.com>
16073
16074 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
16075 strcasestr-nonascii.
16076 (CFLAGS-strcasestr-nonascii.c): Define.
16077 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
16078 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
16079 Remove unused attribute.
16080
5dbc3b6c
RM
160812010-07-20 Roland McGrath <roland@redhat.com>
16082
16083 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
16084 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
16085 ld.so.cache was broken. With it, there is no way to disable dsocaps
16086 like LD_HWCAP_MASK can disable hwcaps.
16087
23d101d8
EPM
160882010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
16089
16090 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
16091
cc9f2e47
UD
160922010-07-16 Ulrich Drepper <drepper@redhat.com>
16093
16094 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
16095 call in strcasestr.
16096 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
16097 __strcasestr_sse42_nonascii.
16098 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
16099 strcasestr-nonascii.c.
16100 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
16101
77c1b069
LM
161022010-06-15 Luis Machado <luisgpm@br.ibm.com>
16103
16104 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
16105 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
16106 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
16107 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
16108
440566c3
UD
161092010-07-09 Ulrich Drepper <drepper@redhat.com>
16110
16111 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
16112 fcntl.
16113
5be9d05d
AS
161142010-07-06 Andreas Schwab <schwab@redhat.com>
16115
c30b7ee2 16116 [BZ #11577]
5be9d05d
AS
16117 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
16118 dl_signal_cerror.
16119
8a492a67
UD
161202010-07-06 Ulrich Drepper <drepper@redhat.com>
16121
16122 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
16123 _PC_PIPE_BUF using F_GETPIPE_SZ.
16124
713df3d5
RM
161252010-07-05 Roland McGrath <roland@redhat.com>
16126
16127 * manual/arith.texi (Rounding Functions): Fix rint description
16128 implicit in round description.
16129
702e8f14
UD
161302010-07-02 Ulrich Drepper <drepper@redhat.com>
16131
16132 * elf/Makefile: Fix linking for a few tests to make recent linker
16133 happy.
16134
52ed8be9
AS
161352010-06-30 Andreas Schwab <schwab@redhat.com>
16136
16137 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
16138 $(common-objpfx)libc_nonshared.a.
16139
f47c9a11
LM
161402010-06-21 Luis Machado <luisgpm@br.ibm.com>
16141
16142 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
16143 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
16144 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
16145 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
16146 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
16147 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
16148 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
16149 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
16150 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
16151 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
16152 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
16153 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
16154 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
16155 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
16156 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
16157 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
16158 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
16159 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
16160 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
16161 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
16162 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
16163 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
16164 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
16165 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
16166 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
16167 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
16168 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
16169 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
16170 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
16171 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
16172 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
16173 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
16174 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
16175 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
16176 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
16177 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
16178 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
16179 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
16180 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
16181 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
16182 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
16183 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
16184 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
16185 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
16186 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
16187 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
16188 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
16189 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
16190
6fb8cbcb
L
161912010-06-25 H.J. Lu <hongjiu.lu@intel.com>
16192
16193 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
16194 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
16195 * string/memmove.c (memmove): Renamed to ...
16196 (MEMMOVE): ...this. Default to memmove.
16197 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
16198 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
16199 (END_CHK): Define.
16200 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
16201 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
16202 mempcpy-ssse3-back memmove-ssse3-back.
16203 * sysdeps/x86_64/multiarch/bcopy.S: New file .
16204 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
16205 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
16206 * sysdeps/x86_64/multiarch/memcpy.S: New file.
16207 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
16208 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
16209 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
16210 * sysdeps/x86_64/multiarch/memmove.c: New file.
16211 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
16212 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
16213 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
16214 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
16215 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
16216 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
16217 Define.
16218 (index_Fast_Copy_Backward): Define.
16219 (HAS_ARCH_FEATURE): Define.
16220 (HAS_FAST_REP_STRING): Define.
16221 (HAS_FAST_COPY_BACKWARD): Define.
16222
4e733bac 162232010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
16224
16225 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
16226 Restore proper fallback handling.
16227
63c4ed22
UD
162282010-06-19 Ulrich Drepper <drepper@redhat.com>
16229
ac2b484c
UD
16230 [BZ #11701]
16231 * posix/group_member.c (__group_member): Correct checking loop.
16232
63c4ed22
UD
16233 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
16234 OOM in getpwuid_r correctly. Return error number when the caller
16235 should return, otherwise -1.
16236 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
16237 call returning > 0 value.
16238 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
16239
765ade4b
AS
162402010-06-07 Andreas Schwab <schwab@redhat.com>
16241
16242 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
16243 libc_nonshared.a from targets in modules-names.
16244
80da2e09
KS
162452010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
16246
16247 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
16248 requires it.
16249
158db122
LM
162502010-06-10 Luis Machado <luisgpm@br.ibm.com>
16251
16252 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
16253 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
16254 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
16255 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
16256
caa78cf8
AS
162572010-06-02 Andreas Schwab <schwab@redhat.com>
16258
16259 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
16260
b2ef2c01
UD
162612010-06-14 Ulrich Drepper <drepper@redhat.com>
16262
16263 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
16264 and F_GETPIPE_SZ.
16265 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
16266 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
16267 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
16268 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
16269 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
16270 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
16271
fbd643b6
RM
162722010-06-14 Roland McGrath <roland@redhat.com>
16273
16274 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
16275
f32f2869
JJ
162762010-06-07 Jakub Jelinek <jakub@redhat.com>
16277
16278 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
16279 __REDIRECT followed by __THROW.
16280 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
16281 * posix/getopt.h (getopt): Likewise.
16282
2a50c078
EPM
162832010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
16284
16285 * hurd/lookup-at.c (__file_name_lookup_at): Accept
16286 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
16287 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
16288 in AT_FLAGS.
16289 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
16290 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
16291
eb5ad2eb
LM
162922010-05-28 Luis Machado <luisgpm@br.ibm.com>
16293
16294 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
16295
3c88fe1e
L
162962010-05-26 H.J. Lu <hongjiu.lu@intel.com>
16297
16298 [BZ #11640]
16299 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
16300 Properly check family and model.
16301
d2f73151
TY
163022010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
16303
16304 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
16305
ebd2e13d
LM
163062010-05-24 Luis Machado <luisgpm@br.ibm.com>
16307
16308 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
16309
b32b8b45
UD
163102010-05-21 Ulrich Drepper <drepper@redhat.com>
16311
16312 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
16313 symbol reference.
16314
9acbe24d
AS
163152010-05-19 Andreas Schwab <schwab@redhat.com>
16316
16317 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
16318 symbol reference.
16319
f0ccf6ea
AS
163202010-05-21 Andreas Schwab <schwab@redhat.com>
16321
3d04ff3a
AS
16322 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
16323 and internal_recvmmsg.
16324 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
16325 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
16326 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
16327 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
16328
f0ccf6ea
AS
16329 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
16330 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
16331 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
16332
5b08ac57
AS
163332010-05-20 Andreas Schwab <schwab@redhat.com>
16334
16335 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
16336
4828935d
LM
163372010-05-17 Luis Machado <luisgpm@br.ibm.com>
16338
16339 POWER7 optimizations.
16340 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
16341 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
16342
373d545e
UD
163432010-05-19 Ulrich Drepper <drepper@redhat.com>
16344
16345 * version.h: Update for 2.13 development version.
16346
21a2b1ae
AS
163472010-05-12 Andrew Stubbs <ams@codesourcery.com>
16348
16349 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
16350 exceptions. Return 0.
16351
3f7dcb2b
RM
163522010-05-07 Roland McGrath <roland@redhat.com>
16353
16354 * elf/ldconfig.c (main): Add a const.
16355
5f24d53a 163562010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 16357
a160f8d8
UD
16358 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
16359 (args_options): Add no-idn option.
16360 (ahosts_keys_int): Add idn_flags to ai_flags.
16361 (parse_option): Handle 'i' option to clear idn_flags.
16362
5f24d53a
UD
16363 * malloc/malloc.c (_int_free): Possible race in the most recently
16364 added check. Only act on the data if no current modification
16365 happened.
265bb1ce
UD
16366
16367See ChangeLog.17 for earlier changes.